/* ==========================================================================
   King Kongcrete — static recreation of kingkongcretewa.com.au
   Skin measured from the live WordPress/Divi site (2026-09-22).
   ========================================================================== */

:root {
  /* colour */
  --accent: #9d7019;
  --accent-dark: #825c13;
  --accent-soft: rgba(157, 112, 25, 0.05);
  --accent-line: rgba(157, 112, 25, 0.35);
  --ink: #000000;
  --white: #fdfdfb;
  --paper: #ffffff;
  --paper-soft: #f9f9f9;
  --paper-tint: rgba(253, 253, 251, 0.97);
  --dark: #393939;
  --footer-ink: #ffffff;

  /* type */
  --heading-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Hind", "Helvetica Neue", Arial, sans-serif;
  --button-font: "Poppins", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --container: 1400px;
  --container-narrow: 1140px;
  --gutter: 5%;
  --radius: 10px;
  --radius-lg: 15px;
  --radius-img: 20px;
  --header-h: 90px;
  --utility-h: 37px;
  --section-pad: 100px;
  --card-shadow: 0 -3px 27px -9px rgba(44, 56, 84, 0.07);
  --card-shadow-soft: 0 6px 30px -14px rgba(44, 56, 84, 0.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; } /* clip on html too: a row waiting to slide in from the side must not widen the page on phones (U7) */
body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading-font); margin: 0 0 10px; font-weight: 600; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 90%; max-width: var(--container); margin: 0 auto; }
.container--narrow { width: 90%; max-width: var(--container-narrow); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--button-font); font-size: 16px; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.7;
  padding: 16px 30px; border-radius: 100px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--ghost:hover { background: #fff; color: var(--accent); }
.btn--sm {
  font-family: var(--heading-font); font-size: 12px; text-transform: none;
  letter-spacing: 0; padding: 4px 12px; border-radius: 50px; line-height: 1.7;
}
.btn .icon { width: 15px; height: 15px; flex: none; fill: currentColor; }

/* ---------- utility bar ---------- */
.utility-bar {
  background: var(--accent); color: #fff; padding: 8px 0; font-size: 13px;
  font-family: var(--body-font); letter-spacing: .2px;
}
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-bar a { display: inline-flex; align-items: center; gap: 8px; }
.utility-bar a:hover { opacity: .8; }
.utility-bar .icon { width: 14px; height: 14px; fill: currentColor; }
.utility-social { display: flex; gap: 8px; }
.utility-social a {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--accent);
  align-items: center; justify-content: center;
}
.utility-social .icon { width: 11px; height: 11px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; background: #fff;
  box-shadow: 0 2px 14px -10px rgba(0,0,0,.4);
  transition: padding .25s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; padding: 6px 0; }
.brand img { width: 100px; height: auto; transition: width .25s ease; }
body.scrolled .brand img { width: 84px; }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  display: block; padding: 31px 0; font-size: 15px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
  position: relative; transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:not([aria-current="page"]) { color: #1e1e1e; }
.main-nav a:not([aria-current="page"]):hover { color: var(--accent); }

.header-phone { padding: 16px 30px; font-size: 15px; }
.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); border: 0; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.hamburger span {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: transform .25s ease, opacity .2s ease;
}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .25s ease;
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
body.menu-open .hamburger span { background: transparent; }
body.menu-open .hamburger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile dropdown menu */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 88; background: rgba(30, 30, 30, .55);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; z-index: 89; left: 4%; right: 4%; top: calc(var(--header-h) + 8px);
  background: #1e1e1e; border-radius: 14px; padding: 18px; color: #fff;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: block; padding: 12px 6px; font-size: 16px; letter-spacing: .6px; text-transform: uppercase; font-family: var(--body-font); border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { display: flex; gap: 10px; margin-top: 16px; width: 100%; justify-content: center; } /* Rob 2026-09-29: `.mobile-menu a {display:block}` had cancelled the button's flex gap, so the icon touched the number */
.mobile-menu .menu-contact { margin: 14px 4px 0; font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- section headings ---------- */
.section { padding: var(--section-pad) 0; }
.section-title {
  font-size: 45px; line-height: 1.05; font-weight: 500; color: var(--accent);
  margin: 0 0 10px; position: relative; display: inline-block;
}
.section-title--center { display: block; text-align: center; }
.swoosh { display: inline-block; position: relative; }
.swoosh svg {
  position: absolute; left: 0; bottom: -0.18em; width: 100%; height: .38em; overflow: visible;
}
.swoosh path {
  fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 520; stroke-dashoffset: 520;
  transition: stroke-dashoffset .8s ease-out .15s;
}
.swoosh.is-in path, .is-in .swoosh path { stroke-dashoffset: 0; }   /* the underline draws in on entry */
.section-intro { max-width: 820px; margin: 0 auto 10px; text-align: center; }
.section-title--inner { font-size: 40px; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; padding: 200px 0 290px; overflow: hidden;
  background: var(--dark); text-align: center; color: var(--white);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
/* The live site runs the video with no overlay; a light one is added here so the
   heading stays readable on the video's brighter frames (logged in BUILD-NOTES). */
.hero__overlay { display: none; }   /* no tint over the video: the live hero has none (Rob's rule, 2026-09-29) */
.hero .container { position: relative; z-index: 2; }
.hero__logo { width: 130px; margin: 0 auto 18px; }
.hero h1 {
  font-size: 50px; line-height: 60px; font-weight: 600; text-transform: uppercase;
  color: var(--white); margin: 0 auto 10px; padding: 0 31vh; /* live: 31vh side padding on the text module */
}
.hero h1 .nowrap { white-space: nowrap; } /* Rob 2026-09-29: "King Kongcrete" stays on one line, as on the live site */
.hero p { font-size: 17px; line-height: 25.6px; margin: 0 auto 30px; padding: 0 31vh; }

/* hero feature cards */
/* live: the carousel row overlaps the hero by 150px and sits 20px above the About section */
.feature-strip { position: relative; z-index: 3; margin-top: -150px; padding-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 22px; color: #fff; text-align: center;
  background-size: cover; background-position: center;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(360deg, rgb(57,57,57) 40%, rgba(57,57,57,0) 100%);
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card h2 { font-size: 20px; line-height: 1.15; font-weight: 600; margin: 0 0 14px; }
.feature-card .btn--sm { align-self: center; }

/* ---------- about (home) ---------- */
.about-section { position: relative; background: #fff url("/images/world-map.webp") center right / contain no-repeat; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid img { border-radius: var(--radius-img); width: 100%; }
.about-copy h2 { margin-bottom: 35px; } /* live: 35px text-module gap under the heading */
.about-copy p { margin-bottom: 16px; }
.counter { margin: 10px 0 30px; }
.counter .value { font-family: var(--body-font); font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1.2; display: block; }
.counter .label { font-family: var(--heading-font); font-size: 15px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }

/* ---------- services ---------- */
.services-section { background: var(--paper-soft); padding-bottom: 140px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; margin-top: 40px; }
.service-grid + .service-grid { margin-top: 40px; } /* live: two Divi rows of three, 40px apart */
.service-cards + .service-cards { margin-top: 35px; }
.service-item img { width: 40px; height: 40px; margin-bottom: 25px; } /* live: 30px blurb-image margin less 5px */
.service-item h3 { font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.service-item p { font-size: 16px; line-height: 2; margin: 0; }

/* card variant (services page) */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 40px; }
.service-cards .service-item {
  background: var(--white); border-radius: 20px; padding: 30px; text-align: center;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .05); transition: transform .25s ease, box-shadow .25s ease;
}
.service-cards .service-item:hover { transform: translateY(-4px); box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .1); }
.service-cards .service-item img { margin: 0 auto 14px; }
.service-cards .service-item p { line-height: 1.8; }

/* ---------- quote form band (home) ---------- */
.quote-band {
  position: relative; padding: 1px 0 100px; color: #fff; /* live: 1px top, the card pulled up 50px into the Services band */
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url("/images/form-bg.webp") center / cover fixed;
}
.quote-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.quote-band__grid > .quote-card { grid-column: 2; }
.quote-card {
  background: #fff; border: 1px solid var(--accent-line); border-radius: var(--radius);
  margin-top: -50px; padding: 40px; color: var(--ink); box-shadow: var(--card-shadow-soft);
}
.quote-card h2 { font-size: 26px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.quote-form iframe { width: 100%; border: 0; display: block; }

/* ---------- why choose us ---------- */
.why-section { background: var(--paper-tint); }
.why-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.why-col--left { text-align: right; }
.why-item { margin-bottom: 28px; }
.why-item:last-child { margin-bottom: 0; }
.why-item h3 { font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.why-item p { font-size: 15px; line-height: 1.7; margin: 0; }
.why-grid img { border-radius: var(--radius-lg); width: 400px; max-width: 100%; }

/* ---------- before / after ---------- */
.ba-section {
  background: linear-gradient(var(--paper-tint), var(--paper-tint)), url("/images/texture-bg.webp") center / cover;
}
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: ew-resize;
  aspect-ratio: 617 / 419; user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 3;
  box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px;
  transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #fff;
  background: rgba(255,255,255,.2); backdrop-filter: blur(2px);
}
.ba__label {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 12px; letter-spacing: .5px; padding: 5px 12px; border-radius: 4px;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0;
  cursor: ew-resize; z-index: 4;
}

/* ---------- reviews ---------- */
/* live: an empty white Divi section (56px + 80px padding) sits between the reviews and the footer */
.reviews-section { background: var(--paper-tint); margin-bottom: 136px; }
.reviews { position: relative; margin-top: 30px; }
.reviews__viewport { overflow: hidden; min-height: 447px; } /* live carousel height at 1440 */
.reviews__track { display: flex; will-change: transform; }
.review {
  flex: 0 0 33.3333%; padding: 10px 26px; text-align: center;
  opacity: .35; transition: opacity .4s ease;
}
.review.is-active { opacity: 1; }
.review h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.review p { font-family: var(--body-font); font-style: italic; font-size: 15px; line-height: 1.8; margin: 0 0 12px; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 16px; }
.reviews__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 28px; height: 28px; border: 0; background: var(--accent); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1;
}
.reviews__nav--prev { left: 0; }
.reviews__nav--next { right: 0; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: #cfcfcf; transition: background-color .2s ease, transform .2s ease;
}
.dots button[aria-selected="true"] { background: var(--accent); transform: scale(1.25); }

/* ---------- inner page banner ---------- */
.page-banner {
  position: relative; padding: 150px 0; text-align: center;
  /* Measured off the live site: Divi sets background-color rgba(57,57,57,.85) with
     background-blend-mode: multiply over the banner photo, so the banner is dark. */
  background-color: rgba(57,57,57,.85);
  background-image: url("/images/inner-banner.webp");
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-blend-mode: multiply;
}
.page-banner h1 { font-size: 50px; line-height: 1.4; font-weight: 600; text-transform: uppercase; color: var(--white); margin: 0; }
/* about + contact overlap a card into the banner, so theirs is taller */
.page-banner--tall { padding: 120px 0 300px; }
.section--inner { padding: 100px 0 220px; }

/* about page */
.about-page-section { padding: 1px 0 180px; background: #fff; } /* live: process section 180px bottom */
.about-panel { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; margin-top: -100px; position: relative; z-index: 2; } /* live: row margin-top -100px */
.about-panel__copy { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--card-shadow-soft); }
.about-panel__copy h2 { font-size: 40px; line-height: 1.05; font-weight: 500; color: var(--accent); margin-bottom: 20px; }
.about-panel__copy p { font-size: 15px; line-height: 1.75; }
.about-panel__copy p:last-child { margin-bottom: 0; }
.about-panel__img { position: relative; margin-left: -20px; }
.about-panel__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--card-shadow-soft);
}

/* process timeline */
.process { margin-top: 200px; } /* live: 100px section bottom + 100px section top */
.process__list { position: relative; margin-top: 50px; }
.process__list::before { /* live Divi Pixel timeline: solid 2px line; shown in its scrolled (active) gold state */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: translateX(-50%);
}
.process__step { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; margin-bottom: 36px; }
.process__step:last-child { margin-bottom: 0; }
.process__card { background: #f2f3f3; border-radius: var(--radius); padding: 25px; position: relative; }
.process__card::after { /* the card's 12px arrow pointing at the line, as live */
  content: ""; position: absolute; top: 50%; transform: translateY(-50%); border: 12px solid transparent;
}
.process__step--left .process__card::after { right: -24px; border-left-color: #f2f3f3; }
.process__step--right .process__card::after { left: -24px; border-right-color: #f2f3f3; }
.process__card h3 { font-size: 24px; line-height: 1.5; font-weight: 500; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.process__card p { font-size: 14px; line-height: 1.7; font-weight: 300; margin: 0; }
.process__num { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; }
.process__num .n {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--heading-font); font-size: 20px; font-weight: 500; color: var(--accent);
}
.process__step--left .process__num .n { left: calc(50% + 34px); }
.process__step--right .process__num .n { right: calc(50% + 34px); }
.process__num span.dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #2c3d49; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1;
}
.process__step--right .process__card { grid-column: 3; }
.process__step--right .process__num { grid-column: 2; grid-row: 1; }
.process__step--left .process__card { grid-column: 1; }
.process__step--left .process__num { grid-column: 2; grid-row: 1; }

/* gallery page */
.gallery-section { padding: 100px 0 220px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.gallery-grid a {
  display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 400 / 284; background: #eee;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 88vh; width: auto; border-radius: 6px; }
.lightbox__btn {
  position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1;
  cursor: pointer; padding: 10px; opacity: .8;
}
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 18px; font-size: 34px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* contact page */
.contact-section { padding: 1px 0 210px; background: #fff; }
.contact-card {
  display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--radius);
  overflow: hidden; margin-top: -100px; position: relative; z-index: 2; background: var(--accent); /* live: row margin-top -100px */
  box-shadow: var(--card-shadow-soft);
}
.contact-card__form { padding: 40px; color: #fff; }
.contact-card__form h2 { font-size: 40px; line-height: 1.05; font-weight: 500; color: #fff; margin-bottom: 14px; }
.contact-card__form .swoosh path { stroke: #fff; }
.contact-card__form > p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.contact-card__form .quote-form { background: #fff; border-radius: 8px; padding: 8px; }
.contact-card__details {
  padding: 50px 36px; color: #fff;
  background: linear-gradient(rgba(157,112,25,.82), rgba(157,112,25,.82)), url("/images/form-bg.webp") center / cover;
}
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail__icon {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-detail__icon .icon { width: 16px; height: 16px; fill: currentColor; }
.contact-detail h3 { font-size: 17px; line-height: 1.5; text-transform: uppercase; font-weight: 600; margin: 0 0 2px; }
.contact-detail p, .contact-detail a { font-size: 15px; line-height: 1.6; margin: 0; }
.contact-detail a:hover { text-decoration: underline; }

/* ---------- CTA card + footer ---------- */
.site-footer {
  position: relative; padding: 80px 0 30px; color: var(--footer-ink);
  background: linear-gradient(rgba(0,0,0,.9), rgba(0,0,0,.9)), url("/images/footer-bg.webp") center / cover;
}
.cta-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 40px 40px 35px; margin-top: -200px; margin-bottom: 80px;
  box-shadow: var(--card-shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-card h2 { font-size: 31px; line-height: 1; font-weight: 500; color: var(--accent); margin-bottom: 18px; }
.cta-card p { font-size: 14px; margin: 0 0 4px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 35px; }
.footer-brand img { width: 100px; margin-bottom: 26px; }
.footer-brand p { font-size: 14px; line-height: 1.6; padding-right: 60px; margin: 0; }
.site-footer h3 { font-size: 21px; line-height: 1; font-weight: 700; color: #fff; margin-bottom: 15px; }
.site-footer li { margin-bottom: 6px; }
.site-footer li a { font-size: 14px; color: rgba(255,255,255,.82); transition: color .2s ease; }
.site-footer li a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; margin: 0 0 8px; color: rgba(255,255,255,.82); }
.footer-contact .lbl { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a .icon { width: 17px; height: 17px; fill: currentColor; } /* live Divi follow icons: 34px circle, 17px glyph */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; text-align: center;
  font-size: 13px; color: rgba(255,255,255,.75);
}
.footer-bottom p { margin: 0; }
.site-footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--accent); }

/* ---------- floating buttons ---------- */
.to-top, .call-fab {
  position: fixed; right: 18px; z-index: 80; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top {
  bottom: calc(18px + env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 16px; height: 16px; fill: currentColor; }
.call-fab { display: none; }
.reveal-pop { opacity: 0; transform: scale(.8); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swoosh path { stroke-dashoffset: 0 !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav ul { gap: 22px; }
  .main-nav a { font-size: 14px; letter-spacing: .5px; }
  .header-phone { padding: 14px 22px; font-size: 14px; }
}

@media (max-width: 980px) {
  .quote-band { background-attachment: scroll; } /* U12: fixed "parallax" background off on tablets and phones (980px and below) */
  :root { --section-pad: 80px; --header-h: 78px; }
  body { font-size: 18px; } /* live: Divi tablet/phone body size */
  .utility-bar { display: none; } /* live hides the gold email bar below 980px */
  .main-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 130px 0 250px; }
  .hero h1 { font-size: 37px; line-height: 44px; padding: 0; }
  .hero p { padding: 0; max-width: 640px; }
  .section-title { font-size: 36px; }
  .section-title--inner { font-size: 32px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 30px; } /* live keeps two columns on tablet */
  .service-grid { gap: 34px 30px; } /* live keeps three columns on tablet */
  .service-cards { grid-template-columns: 1fr; } /* live: one full-width card per row on tablet */
  .quote-band__grid { grid-template-columns: 1fr; }
  .quote-band__grid > .quote-card { grid-column: auto; }
  .quote-band { padding-top: 60px; } /* live phone: the card sits inside the photo band, no overlap */
  .quote-card { margin-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid img { width: 100%; }
  .review { flex-basis: 100%; opacity: 1; padding: 10px 40px; }
  .reviews__viewport { min-height: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .about-panel { grid-template-columns: 1fr; }
  .about-panel__img { position: static; margin: 20px 0 0; }
  .about-panel__img img { position: static; aspect-ratio: 4 / 3; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; } /* live stacks the footer on tablet */
  .footer-brand p { padding-right: 0; }
  .page-banner { padding: 110px 0; }
  .page-banner--tall { padding: 90px 0 250px; }
  .section--inner { padding: 80px 0 180px; }
  .page-banner h1 { font-size: 37px; }
  .process__list::before { left: 20px; }
  .process__step { grid-template-columns: 40px 1fr; gap: 22px; }
  .process__step .process__card { grid-column: 2 !important; padding-top: 58px; } /* live phone: the step number sits at the top of the card */
  .process__step .process__card::after { left: -24px; right: auto; border-color: transparent; border-right-color: #f2f3f3; }
  .process__step .process__num { grid-column: 1 !important; position: static; }
  .process__step .process__num .n { left: 87px !important; right: auto !important; top: 25px; transform: none; }
}

@media (max-width: 720px) {
  :root { --section-pad: 65px; }
  .hero { padding: 90px 0 215px; }
  .hero h1 { font-size: 32px; line-height: 40px; }
  .hero p { font-size: 17px; }
  .ba-grid { grid-template-columns: 1fr; }
  .hero__logo { width: 100px; }
  .feature-strip { margin-top: -185px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-card { min-height: 240px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-title { font-size: 32px; }
  .section-title--inner { font-size: 30px; }
  .process__card h3 { font-size: 22px; }
  .service-grid, .service-cards { grid-template-columns: 1fr; gap: 26px; }
  .service-grid + .service-grid { margin-top: 26px; }
  .service-cards + .service-cards { margin-top: 26px; }
  .reviews-section { margin-bottom: 60px; } /* U6: the live blank section is 136px; kept to a phone-sized gap */
  .quote-card { padding: 24px 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; } /* U7: the live gallery shows one full photo per row on phones (Divi's 767px breakpoint) */
  .gallery-grid a { aspect-ratio: auto; }
  .ba-grid > .ba:first-child { order: 2; } /* live row_10 is column-reverse below 767px: the pool slider shows first on phones */
  .gallery-grid img { height: auto; }
  .about-panel__copy { padding: 28px 22px; }
  .process { margin-top: 120px; }
  .about-panel__copy h2 { font-size: 30px; }
  .contact-card__form, .contact-card__details { padding: 28px 22px; }
  .contact-card__form h2 { font-size: 30px; }
  .cta-card { margin-top: -160px; padding: 28px 22px; text-align: left; }
  .cta-card h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 160px; } /* U5: the © line sits clear of the call and back-to-top buttons (they reach 134px up) */
  .page-banner { padding: 80px 0; }
  .page-banner--tall { padding: 70px 0 210px; }
  .section--inner { padding: 65px 0 150px; }
  .brand img { width: 78px; }
  body.scrolled .brand img { width: 66px; }
  .page-banner h1 { font-size: 32px; }
  .gallery-section { padding-bottom: 190px; }
  .about-page-section, .contact-section { padding-bottom: 180px; }

  .call-fab {
    display: flex; width: 60px; height: 60px; border-radius: 50%;
    right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
    background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
  }
  .call-fab .icon { width: 24px; height: 24px; fill: currentColor; }
  .to-top { width: 44px; height: 44px; bottom: calc(90px + env(safe-area-inset-bottom)); background: #fff; color: var(--accent); border: 2px solid var(--accent); }
}
