/* =========================================================
   Sultan Construction & Waterproofing — site-specific styles
   Layered on top of the BuildGo template's compiled style.css
   ========================================================= */

/* ---------- Global type-scale reduction: the template's default
   sizes (18px body copy, 56–84px headings) read oversized for this
   site's content density, especially in the footer. Dial the whole
   scale down a step; per-component overrides below (footer, cards,
   etc.) fine-tune from here. ---------- */
body,
p {
  font-size: 16px;
  line-height: 28px;
}
h1 {
  font-size: 56px;
  line-height: 66px;
}
h2 {
  font-size: 40px;
  line-height: 50px;
}
h3 {
  font-size: 28px;
  line-height: 38px;
}
h4 {
  font-size: 22px;
  line-height: 32px;
}
h5 {
  font-size: 18px;
  line-height: 28px;
}
h6 {
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  background: var(--sultan-teal);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  outline: 3px solid var(--sultan-gold);
  outline-offset: 2px;
}

/* ---------- Focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--sultan-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .wow { opacity: 1 !important; transform: none !important; }
}

/* ---------- Header phone CTA ---------- */
.header__area-menubar-right-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--sultan-teal);
  margin-right: 6px;
}
.header__area-menubar-right-call i {
  color: var(--sultan-gold);
  font-size: 18px;
}
.header__area-menubar-right-call a { color: inherit; }
@media (max-width: 1199px) {
  .header__area-menubar-right-call { display: none; }
}

/* ---------- Rating badge ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-color-1);
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(15,51,45,0.08);
}
.rating-badge .stars { color: var(--sultan-gold); font-size: 14px; letter-spacing: 2px; }
.rating-badge strong { color: var(--text-heading-color); font-family: var(--heading-font); }
.rating-badge span.muted { color: var(--body-color); font-size: 14px; }
.rating-badge a { text-decoration: underline; }

/* ---------- Trust badges row ---------- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sultan-teal);
}
.trust-badges .badge-item i { color: var(--sultan-gold); font-size: 18px; }

/* ---------- Review cards ---------- */
.review__card {
  background: var(--bg-white);
  border: 1px solid var(--border-color-1);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15,51,45,0.06);
}
.review__card .stars { color: var(--sultan-gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; display: block; }
.review__card p.quote { font-size: 17px; line-height: 28px; color: var(--text-heading-color); margin-bottom: 18px; }
.review__card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__card .reviewer .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sultan-teal); color: var(--sultan-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading-font); font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.review__card .reviewer .meta span { font-size: 13px; color: var(--body-color); }

.pullquote-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}
.pullquote-strip blockquote {
  flex: 1 1 280px;
  background: var(--color-2);
  border-left: 4px solid var(--sultan-gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0;
  font-style: italic;
  color: var(--text-heading-color);
}

/* ---------- Service area chips ---------- */
.area-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-chip-list li {
  background: var(--bg-white);
  border: 1px solid var(--border-color-1);
  border-radius: 50px;
  padding: 12px 22px;
  font-weight: 600;
  color: var(--sultan-teal);
  display: flex;
  align-items: center;
  gap: 8px;
}
.area-chip-list li i { color: var(--sultan-gold); }

/* ---------- Service detail blocks ---------- */
.service-detail-block {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-color-1);
}
.service-detail-block:last-of-type { border-bottom: none; }
.service-detail-block .service-icon {
  width: 68px; height: 68px;
  border-radius: 16px;
  background: var(--sultan-teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-detail-block .service-icon i { color: var(--sultan-gold); font-size: 30px; }
.service-detail-block ul.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.service-detail-block ul.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px; font-size: 16px; color: var(--body-color);
}
.service-detail-block ul.check-list li i { color: var(--sultan-gold); margin-top: 5px; }

/* ---------- Verification / evidence note ---------- */
.evidence-note {
  font-size: 13px;
  color: var(--body-color);
  background: var(--color-2);
  border-radius: 8px;
  padding: 10px 16px;
  display: inline-block;
  margin-top: 14px;
}

/* ---------- Contact channel cards ---------- */
.contact-channels { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-channel-card {
  flex: 1 1 220px;
  background: var(--bg-white);
  border: 1px solid var(--border-color-1);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}
.contact-channel-card i { font-size: 34px; color: var(--sultan-gold); margin-bottom: 14px; }
.contact-channel-card h3 { margin-bottom: 8px; font-size: 22px; line-height: 32px; }
.contact-channel-card .build_button { margin-top: 16px; }

/* ---------- Map ---------- */
.map-area iframe { width: 100%; height: 420px; border: 0; border-radius: 16px; }

/* ---------- Misc ---------- */
.section-eyebrow-icon { color: var(--sultan-gold); margin-right: 8px; }
.about__one-left-list-item i,
.experience__area-list-item i,
.choose__us-right-skill i { color: var(--sultan-gold); }

img[loading="lazy"] { background: var(--color-2); }

/* ---------- Visual panels ---------- */
img[src*="illustration/"],
img[src*="photos/"] {
  box-shadow: 0 18px 40px rgba(15,51,45,0.14);
  object-fit: cover;
}
.banner__one-image img[src*="illustration/"],
.banner__one-image img[src*="photos/"] { box-shadow: none; }

@media (max-width: 575px) {
  .review__card { padding: 24px; }
  .contact-channels { flex-direction: column; }
}

/* ---------- FAQ heading semantics (h3 wraps a real <button> toggle,
   styled to match the template's original h5 treatment) ---------- */
.faq-item h2 { margin: 0; }
.faq-item h2 button.icon {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 16px 25px;
  margin: 0;
  font-size: 18px;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--text-heading-color);
  background: transparent;
  border: none;
  border-radius: 10px 10px 0 0;
}
.faq__page .faq-item h2 button.icon { padding: 20px 25px; }

/* ---------- Heading-order fixes: several template components used
   h4/h5/h6 purely for font size, which breaks heading hierarchy for
   assistive tech. These classes give the same visuals to the correct
   heading level (or a non-heading tag where no heading is needed). ---------- */
.footer__one-widget .footer-tagline {
  color: var(--text-white);
  font-size: 17px;
  font-weight: 400;
  line-height: 26px;
  font-family: var(--heading-font);
  margin: 0;
}
.footer__one-widget-title {
  color: var(--text-white);
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 28px;
  font-family: var(--heading-font);
  font-weight: 500;
}
.footer__one-widget-address .footer-address-line {
  color: var(--color-6);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}
.footer__one-widget-address .footer-address-line a { transition: 0.4s; }
.footer__one-widget-address .footer-address-line a:hover { color: var(--primary-color-1); }
.footer__one-widget-address .footer-phone-line {
  margin: 16px 0 0;
}
.footer__one-widget-address .footer-phone-line a {
  color: var(--primary-color-1);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  line-height: 26px;
}
.footer-widget-menu ul li a {
  font-size: 15px;
  line-height: 24px;
}
.services__one-item h3.card-title,
.about__one-left-list-item h3.card-title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  margin: 0;
}
.services__one-item h3.card-title { margin-top: 90px; }
.review__card .reviewer .meta p.reviewer-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--text-heading-color);
}

/* ---------- Breadcrumb background: brand gradient + subtle pattern
   (no stock photography used — see note in about/services copy) ---------- */
.breadcrumb__area-brand {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(184,135,42,0.18) 0, transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(184,135,42,0.14) 0, transparent 45%),
    linear-gradient(135deg, var(--sultan-teal-light), var(--sultan-teal));
}
.breadcrumb__area-brand::after { display: none; }
.breadcrumb__area-brand .breadcrumb__area-content ul li,
.breadcrumb__area-brand .breadcrumb__area-content ul li i,
.breadcrumb__area-brand .breadcrumb__area-content ul li a:hover {
  color: var(--color-4);
}

/* ---------- Breadcrumb page titles use <h1> for correct heading order;
   the base h1 rule (84px, no responsive scaling) is not appropriate here,
   so give the breadcrumb its own responsive sizing. ---------- */
.breadcrumb__area-content h1 {
  color: var(--text-white);
  margin-bottom: 10px;
  font-size: 48px;
  line-height: 58px;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 767px) {
  .breadcrumb__area-content h1 {
    font-size: 32px;
    line-height: 42px;
  }
}
@media (max-width: 430px) {
  .breadcrumb__area-content h1 {
    font-size: 26px;
    line-height: 34px;
  }
}

/* ---------- Responsive layout audit fixes ---------- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.banner__one {
  position: relative;
  overflow: hidden;
  padding: 78px max(16px, calc((100vw - 1320px) / 2)) 86px;
  background: var(--bg-white);
}

.banner__one .container {
  max-width: none;
  padding: 0;
}

.banner__one-content {
  max-width: 820px;
  min-width: 0;
  width: 100%;
}

.banner__one-content h1 {
  max-width: 100%;
  width: 100%;
  display: block;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.hero-break {
  display: none;
}

.banner__one-content p {
  color: var(--body-color);
  font-size: 17px;
  line-height: 28px;
}

.banner__one-content-user {
  margin-top: 28px;
}

.banner__one .item_bounce.mt-40 {
  margin-top: 34px;
}

.banner__one-image {
  position: relative;
  z-index: 1;
  margin: 42px 0 0;
  width: 100%;
}

.banner__one-image img {
  display: block;
  width: 100%;
  height: clamp(280px, 44vw, 590px);
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1200px) {
  .banner__one {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.85fr);
    align-items: center;
    gap: 48px;
    min-height: calc(100vh - 100px);
  }

  .banner__one .container,
  .banner__one .row,
  .banner__one .col-xl-12 {
    display: contents;
  }

  .banner__one-image {
    margin: 0;
  }

  .banner__one-image img {
    height: min(62vh, 650px);
    min-height: 500px;
  }
}

@media (max-width: 1199px) {
  .banner__one {
    padding-top: 64px;
  }

  .banner__one-content {
    max-width: 760px;
  }
}

@media (max-width: 767px) {
  .banner__one {
    padding: 44px 12px 64px;
  }

  .banner__one-content h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.16;
  }

  .hero-break {
    display: block;
  }

  .banner__one-content p {
    font-size: 16px;
    line-height: 28px;
    max-width: 335px !important;
  }

  .rating-badge {
    align-items: flex-start;
    border-radius: 14px;
    flex-direction: column;
    gap: 4px;
  }

  .banner__one-image {
    margin-top: 32px;
  }
}

@media (max-width: 430px) {
  .banner__one-content h1 {
    font-size: clamp(31px, 8.8vw, 36px);
  }

  .banner__one-image img {
    height: 280px;
  }
}

.about__one-left-image img,
.about__one-right img,
.choose__us-left img,
.service-detail-block img,
.about__one > .container img[src*="photos/"] {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.about__one-right img,
.choose__us-left img {
  max-height: 560px;
}

.about__one-left-image img {
  aspect-ratio: 1 / 1.15;
}

.services__page p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575px) {
  .section-padding,
  .service-detail-block {
    padding: 64px 0;
  }

  .section-padding.pb-0,
  .services__page.pb-0 {
    padding-bottom: 0;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .build_button {
    max-width: 100%;
    min-height: 52px;
    white-space: normal;
    text-align: left;
  }

  .build_button i {
    flex: 0 0 auto;
  }

  .services__page p,
  .t-center p {
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .service-detail-block .service-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .service-detail-block img,
  .about__one > .container img[src*="photos/"] {
    aspect-ratio: 1 / 1.05;
    max-height: 420px;
  }

  .contact-channel-card,
  .review__card {
    border-radius: 12px;
  }

}
