/* ============================================================
   CKS PROJECTS, KNOCK DOWN REBUILD WOLLONGONG
   Coastal Structural Integrity Design System
   Corporate Modernism · Navy + Steel Blue · Libre Franklin · Sharp Corners
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --surface: #fcf9f8;
  --surface-dim: #dcd9d9;
  --surface-bright: #fcf9f8;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f6f3f2;
  --surface-container: #f0eded;
  --surface-container-high: #eae7e7;
  --surface-container-highest: #e5e2e1;

  /* On-surfaces */
  --on-surface: #1c1b1b;
  --on-surface-variant: #43474d;
  --inverse-surface: #313030;
  --inverse-on-surface: #f3f0ef;

  /* Outlines */
  --outline: #73777e;
  --outline-variant: #c3c7ce;

  /* Brand (Navy) */
  --primary: #001324;
  --on-primary: #ffffff;
  --primary-container: #002845;
  --on-primary-container: #7190b2;
  --inverse-primary: #aac9ee;
  --primary-fixed: #cfe4ff;
  --primary-fixed-dim: #aac9ee;
  --on-primary-fixed: #001d34;
  --on-primary-fixed-variant: #294968;

  /* Steel Blue (Secondary) */
  --secondary: #22609e;
  --on-secondary: #ffffff;
  --secondary-container: #87bcff;
  --on-secondary-container: #004b84;
  --secondary-fixed: #d3e4ff;
  --secondary-fixed-dim: #a1c9ff;
  --on-secondary-fixed: #001c38;
  --on-secondary-fixed-variant: #004880;

  /* Tertiary (Near-black) */
  --tertiary: #0f1112;
  --on-tertiary: #ffffff;
  --tertiary-container: #242626;
  --on-tertiary-container: #8c8d8d;

  /* Status */
  --error: #ba1a1a;
  --on-error: #ffffff;
  --success: #1b5e3b;

  /* Backgrounds */
  --background: #fcf9f8;
  --on-background: #1c1b1b;

  /* Spacing */
  --section-pad-y: 80px;
  --section-pad-y-mobile: 48px;
  --gutter: 24px;
  --gutter-mobile: 16px;
  --container-max: 1200px;
  --stack-gap: 16px;
  --header-h: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Libre Franklin', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--on-background);
  background:
    linear-gradient(rgba(252, 249, 248, 0.90), rgba(252, 249, 248, 0.90)),
    url('img/Background_1500x750.jpg') center / cover fixed,
    var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--on-secondary-container); }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul { padding-left: 0; }

html, body { overflow-x: hidden; max-width: 100%; }
img, iframe, video, embed, object { max-width: 100%; }
.about-grid > *, .contact-grid > *, .areas-grid > *, .convert-grid > *, .compare-body > *, .footer-grid > *, .why-grid > *, .services-grid > *, .projects-grid > *, .review-grid > *, .hero .container > * { min-width: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Franklin', sans-serif;
  color: var(--on-surface);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.5vw, 32px); font-weight: 600; line-height: 1.2; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; }
h5 { font-size: 14px; font-weight: 600; line-height: 1.4; }
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  /* Avoid fixed-attachment jank / over-zoom on phones: flat warm cream */
  body { background: var(--background); }
}
p { margin: 0 0 1em; font-size: 16px; line-height: 1.5; }
.lead { font-size: 18px; line-height: 1.6; color: var(--on-surface-variant); }
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  display: inline-block;
  line-height: 1.4;
}

/* ---------- Containers ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-pad-y) 0; position: relative; }
section.compact { padding: calc(var(--section-pad-y) * .6) 0; }
.center { text-align: center; }
@media (max-width: 640px) {
  section { padding: var(--section-pad-y-mobile) 0; }
  .container { padding: 0 var(--gutter-mobile); }
}

/* ---------- Buttons (Sharp, Navy + Steel Blue) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 16px 28px;
  border-radius: 0; /* Sharp corners */
  border: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  text-transform: none;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-container); color: var(--on-primary); }
.btn-secondary { background: var(--secondary); color: var(--on-secondary); }
.btn-secondary:hover { background: var(--on-secondary-container); color: var(--on-secondary); }
.btn-outline { background: transparent; color: var(--on-surface); border: 1px solid var(--outline); }
.btn-outline:hover { background: var(--surface-container); color: var(--on-surface); border-color: var(--on-surface); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.btn-lg { padding: 20px 36px; font-size: 16px; }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-arrow::after { content: "→"; font-weight: 600; transition: transform .2s ease; display: inline-block; }
.btn-arrow:hover::after { transform: translateX(3px); }
@media (max-width: 600px) {
  .btn { white-space: normal; padding: 14px 22px; font-size: 14.5px; }
  .btn-lg { padding: 16px 24px; font-size: 15px; }
}

/* ---------- Header (Sticky, navy on white) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: var(--surface-container-lowest);
  border-bottom: 1px solid var(--outline-variant);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand a { display: flex; gap: 12px; align-items: center; }
.brand a:hover { opacity: .85; }
.brand-name { font-weight: 700; font-size: 17px; color: var(--primary); line-height: 1.1; letter-spacing: -.005em; white-space: nowrap; }
.brand-tag { font-size: 10.5px; color: var(--on-surface-variant); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }

.nav-primary { flex: 1; display: flex; justify-content: center; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-primary a {
  color: var(--on-surface);
  font-weight: 500;
  font-size: 14.5px;
  padding: 10px 13px;
  border-radius: 0;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
  letter-spacing: .005em;
}
.nav-primary a:hover { color: var(--primary); background: var(--surface-container-low); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}
.tel-link:hover { color: var(--secondary); }
.tel-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.tel-label { white-space: nowrap; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); position: relative; transition: background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--primary); transition: transform .2s ease, top .2s ease; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-primary {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    background: var(--surface-container-lowest);
    border-bottom: 1px solid var(--outline-variant);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 16px var(--gutter);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    display: block;
    z-index: -1;
  }
  body.nav-open .nav-primary { transform: translateY(0); visibility: visible; z-index: 1; }
  .nav-primary ul { flex-direction: column; gap: 0; }
  .nav-primary a { display: block; padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--surface-container-high); border-radius: 0; }
  .nav-primary li:last-child a { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .tel-link span.tel-label { display: none; }
  .header-cta .btn { padding: 11px 14px; font-size: 13px; }
}
@media (max-width: 540px) {
  .brand-tag { display: none; }
  .header-cta .btn-text-long { display: none; }
  .header-cta .btn-text-short { display: inline; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 15px; }
}
.btn-text-short { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(112deg, rgba(0,19,36,.88) 0%, rgba(0,19,36,.74) 42%, rgba(0,19,36,.34) 70%, rgba(0,19,36,.06) 100%),
    linear-gradient(180deg, rgba(0,19,36,.10), rgba(0,19,36,.18)),
    url('img/Split-level+designed+home.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 64px;
  align-items: center;
}
.hero .eyebrow { color: var(--primary-fixed-dim); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 1px 14px rgba(0,12,24,.45); }
.hero h1 .accent { color: #9db4ce; display: inline; }
.hero .lead {
  color: rgba(255,255,255,.85);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  max-width: 58ch;
  margin-bottom: 30px;
}
.hero-bullets {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.hero-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,.92);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.5;
  min-width: 0;
}
.hero-bullets li span { flex: 1 1 auto; min-width: 0; }
.hero-bullets svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; color: var(--secondary-container); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* Hero side card */
.hero-card {
  background: rgba(0,19,36,.55);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  padding: 30px;
}
.hero-card-title {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 22px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-card-title svg { width: 20px; height: 20px; color: var(--secondary-container); flex-shrink: 0; }
.badge-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}
.badge-stack img {
  background: #fff;
  padding: 10px;
  max-height: 88px;
  width: auto;
  margin: 0 auto;
}
.hero-card-cta { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-card-cta p { color: rgba(255,255,255,.85); margin: 12px 0 0; font-size: 14px; line-height: 1.55; }

/* Hero review badge (Google rating) */
.review-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.review-badge-g {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 50%;
  font-weight: 700; font-size: 20px;
  font-family: Arial, sans-serif;
  color: #4285F4;
  line-height: 1;
}
.review-badge-body { min-width: 0; }
.review-badge-stars { color: #F2A43A; font-size: 17px; letter-spacing: 2px; line-height: 1; }
.review-badge-count {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.review-badge-count b { color: var(--secondary-container); }
.review-badge-tag { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; text-transform: none; }
.urgency-banner, .hero-card-cta .urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(135,188,255,.14);
  color: var(--secondary-container);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(135,188,255,.3);
}
.urgency-banner .pulse, .hero-card-cta .pulse {
  width: 7px; height: 7px;
  background: var(--secondary-container);
  display: inline-block;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(135,188,255,.5); }
  50% { opacity: .85; box-shadow: 0 0 0 6px rgba(135,188,255,0); }
}

@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { order: 2; }
  .hero { padding-bottom: 64px; }
}

/* Phones: tighten hero so the primary CTA sits within the first screen */
@media (max-width: 600px) {
  .hero {
    padding-top: calc(var(--header-h) + 18px);
    padding-bottom: 32px;
  }
  .hero .container { gap: 24px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .hero h1 { font-size: 27px; line-height: 1.12; }
  .hero .lead { font-size: 15.5px; line-height: 1.5; margin-bottom: 16px; }
  .hero-bullets { margin: 0 0 18px; gap: 9px; }
  .hero-bullets li { font-size: 14.5px; }
  .hero-bullets svg { flex-basis: 20px; width: 20px; height: 20px; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--surface-container-lowest);
  border-bottom: 1px solid var(--outline-variant);
  padding: 28px 0;
}
.trust-bar .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.trust-logos {
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
}
.trust-logos img { max-height: 72px; width: auto; }
.trust-points {
  display: flex; flex-wrap: wrap; gap: 22px 30px;
  align-items: center; justify-content: flex-end;
}
.trust-point {
  display: flex; align-items: center; gap: 10px;
  color: var(--on-surface);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .005em;
}
.trust-point svg { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }
@media (max-width: 900px) {
  .trust-bar .row { grid-template-columns: 1fr; }
  .trust-logos { justify-content: center; }
  .trust-points { justify-content: center; }
}

/* ---------- Section Heads ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head .lead { color: var(--on-surface-variant); }

/* ---------- Why KDR Cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--outline-variant);
  background: var(--outline-variant);
}
.why-card {
  background: var(--surface-container-lowest);
  padding: 36px 30px;
  transition: background .2s ease;
}
.why-card:hover { background: var(--surface-container-low); }
.why-card .icon-circle, .why-card .icon-box {
  width: 48px; height: 48px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--secondary-container);
}
.why-card .icon-circle svg, .why-card .icon-box svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 18px; margin-bottom: 12px; font-weight: 600; color: var(--primary); }
.why-card p { color: var(--on-surface-variant); font-size: 15px; margin: 0; line-height: 1.6; }

/* Compare Table */
.compare {
  margin-top: 64px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
}
.compare-head {
  background: var(--primary);
  color: #fff;
  padding: 32px 36px;
}
.compare-head h3 { color: #fff; font-size: 22px; margin: 0 0 6px; font-weight: 600; }
.compare-head p { color: rgba(255,255,255,.75); margin: 0; font-size: 14.5px; line-height: 1.5; }
.compare-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--outline-variant);
}
.compare-cell {
  background: var(--surface-container-lowest);
  padding: 32px;
  border-right: 1px solid var(--outline-variant);
}
.compare-cell:last-child { border-right: 0; }
.compare-cell h4 { font-size: 16px; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.compare-cell p { color: var(--on-surface-variant); font-size: 14.5px; margin: 0; line-height: 1.6; }
.compare-cell .pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 11px;
  margin-bottom: 14px;
  border: 1px solid;
}
.compare-cell .pill.warn { background: var(--surface-container); color: var(--on-surface-variant); border-color: var(--outline-variant); }
.compare-cell .pill.warn2 { background: var(--surface-container); color: var(--on-surface-variant); border-color: var(--outline-variant); }
.compare-cell .pill.good { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 800px) {
  .compare-body { grid-template-columns: 1fr; }
  .compare-cell { border-right: 0; border-bottom: 1px solid var(--outline-variant); }
  .compare-cell:last-child { border-bottom: 0; }
}

/* ---------- About / Team ---------- */
.about { background: var(--surface-container); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px;
  align-items: center;
}
.about-grid img { width: 100%; }
.quote-block {
  margin: 28px 0 0;
  padding: 26px 28px;
  border-left: 3px solid var(--secondary);
  background: var(--surface-container-lowest);
}
.quote-block p {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
  margin: 0 0 10px;
  font-style: normal;
}
.quote-block cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-variant);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Services List ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--outline-variant);
  background: var(--outline-variant);
}
.service-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  background: var(--surface-container-lowest);
  transition: background .2s ease;
  color: var(--on-surface);
}
.service-card:hover {
  background: var(--surface-container-low);
  color: var(--primary);
}
.service-card .num {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: .1em;
  min-width: 28px;
}
.service-card h4 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }

/* ---------- Projects Grid ---------- */
.projects { background: var(--surface-container-lowest); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--surface-container);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,19,36,0) 35%, rgba(0,19,36,.92) 100%);
  display: flex; align-items: flex-end;
  padding: 24px;
}
.project-card h4 { color: #fff; margin: 0; font-size: 18px; font-weight: 600; }
.project-card .region {
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.project-card.featured { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 700px) { .project-card.featured { grid-column: span 1; } }

/* ---------- Testimonials ---------- */
.reviews-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--on-surface-variant);
}
.reviews-meta .star-row { display: inline-flex; gap: 3px; color: #F2A43A; }
.reviews-meta strong { color: var(--on-surface); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.review-stars { color: #F2A43A; font-size: 17px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card .body { color: var(--on-surface); font-size: 15px; line-height: 1.65; flex: 1; }
.review-card .body p:last-child { margin-bottom: 0; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--outline-variant);
}
.review-author .avatar {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
}
.review-author .meta { line-height: 1.2; }
.review-author .name { font-weight: 600; color: var(--on-surface); font-size: 14px; }
.review-author .src { color: var(--on-surface-variant); font-size: 12px; margin-top: 3px; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--on-surface-variant);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Service Areas ---------- */
.areas { background: var(--surface-container); }
.areas-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 16px;
}
.areas-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--on-surface);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 0;
}
.areas-list li svg { width: 13px; height: 13px; color: var(--secondary); flex-shrink: 0; }
.areas-map {
  overflow: hidden;
  min-height: 400px;
  border: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
}
.areas-map iframe { width: 100%; height: 100%; border: 0; min-height: 400px; display: block; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ / Pricing ---------- */
.faq-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--on-surface-variant);
  font-size: 17px;
  line-height: 1.6;
}
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
}
.faq-item {
  background: transparent;
  border-bottom: 1px solid var(--outline-variant);
  transition: background .15s ease;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item.open { background: var(--surface-container-low); }
.faq-q {
  width: 100%;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--primary);
  background: transparent;
}
.faq-q:hover { color: var(--secondary); }
.faq-item.open .faq-q { color: var(--primary); padding-left: 22px; padding-right: 22px; }
.faq-q .ico {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary);
  position: relative;
}
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.faq-q .ico::before { width: 14px; height: 2px; left: 5px; top: 11px; }
.faq-q .ico::after { width: 2px; height: 14px; left: 11px; top: 5px; }
.faq-item.open .faq-q .ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > div { padding: 0 22px 28px; color: var(--on-surface-variant); font-size: 15.5px; line-height: 1.7; }
.faq-a > div p { margin-bottom: 12px; }
.faq-a > div p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--secondary); font-weight: 600; }
.faq-a strong { color: var(--on-surface); }

/* ---------- Conversion Section ---------- */
.convert {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.convert::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, rgba(0,19,36,.90) 0%, rgba(0,19,36,.64) 50%, rgba(0,19,36,.46) 100%),
    url('img/CKS-Team-Shot-Edited_2500x1319-1024x540_1024x540.jpg');
  background-size: cover;
  background-position: center top;
}
.convert .container { position: relative; z-index: 1; }
.convert-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.convert h2 { color: #fff; max-width: 18ch; }
.convert .eyebrow { color: var(--primary-fixed-dim); margin-bottom: 12px; }
.convert .lead { color: rgba(255,255,255,.82); margin-bottom: 30px; font-size: 18px; }
.convert .urgency-banner { margin-bottom: 18px; }
.convert .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.convert .reassure {
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.convert .reassure span { display: inline-flex; align-items: center; gap: 8px; }
.convert .reassure svg { width: 15px; height: 15px; color: var(--secondary-container); }

.convert-form-card {
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  padding: 0;
  overflow: hidden;
  min-height: 540px;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,.08);
}
.convert-form-card .head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--outline-variant);
  background: var(--surface-container-low);
}
.convert-form-card .head h3 { margin: 0 0 4px; font-size: 18px; color: var(--primary); }
.convert-form-card .head p { margin: 0; font-size: 14px; color: var(--on-surface-variant); }
.convert-form-card .iframe-wrap { padding: 0; width: 100%; overflow: hidden; }
.convert-form-card iframe { width: 100% !important; max-width: 100% !important; height: 540px; border: 0; display: block; background: #fff; }
@media (max-width: 900px) { .convert-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  padding: 36px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 6px; color: var(--primary); font-weight: 600; }
.contact-info-card .sub { color: var(--on-surface-variant); margin-bottom: 24px; font-size: 15px; }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--surface-container-high);
}
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row .ic {
  width: 38px; height: 38px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-container);
  flex-shrink: 0;
}
.contact-row .ic svg { width: 17px; height: 17px; }
.contact-row .lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 4px;
}
.contact-row a, .contact-row .val {
  font-size: 15px;
  color: var(--on-surface);
  font-weight: 600;
  display: block;
  line-height: 1.4;
}
.contact-row a:hover { color: var(--secondary); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .contact-info-card { padding: 28px 22px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img { width: 56px; height: 56px; margin-bottom: 18px; }
.footer-brand h4 { color: #fff; margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.65); }
.footer-col h5 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 14.5px; font-weight: 400; }
.footer-col a:hover { color: var(--secondary-container); }
.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 9px 14px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
  letter-spacing: .03em;
}
.footer-license svg { width: 15px; height: 15px; color: var(--secondary-container); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Sticky Mobile CTA Bar ---------- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface-container-lowest);
  border-top: 1px solid var(--outline-variant);
  padding: 10px 12px env(safe-area-inset-bottom, 10px);
  z-index: 80;
  display: none;
}
.mobile-sticky-cta .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.mobile-sticky-cta .btn { padding: 14px 6px; font-size: 14px; }
@media (max-width: 840px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- Modal (Booking Popup) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,19,36,.78);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%;
  max-width: 640px;
  background: var(--surface-container-lowest);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  animation: pop .22s ease;
}
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--outline-variant);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-container-low);
}
.modal-head h3 { font-size: 20px; margin: 0 0 4px; color: var(--primary); font-weight: 600; }
.modal-head p { margin: 0; color: var(--on-surface-variant); font-size: 14px; line-height: 1.5; }
.modal-close {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.modal-close:hover { border-color: var(--outline); color: var(--primary); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 0; }
.modal-body iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  min-height: 580px;
  border: 0;
  display: block;
  background: #fff;
}
body.modal-open { overflow: hidden; }

/* ---------- Utilities ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--surface-container);
  color: var(--on-surface);
  border: 1px solid var(--outline-variant);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Print friendly ---------- */
@media print {
  .site-header, .mobile-sticky-cta, .modal-backdrop { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}

/* ========== VIDEO TESTIMONIALS ========== */
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.video-testimonial {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-container-lowest);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--outline-variant);
}

.video-testimonial wistia-player {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
}

/* Location + project chip */
.video-testimonials__chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
}
.video-testimonials__chip svg {
  width: 16px; height: 16px;
  flex: 0 0 auto;
  color: var(--secondary);
}
.video-testimonials__loc {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: -.005em;
}
.video-testimonials__proj {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--on-secondary);
  background: var(--secondary);
  padding: 3px 9px;
}

@media (max-width: 1024px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .video-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  grid-auto-rows: auto;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
  aspect-ratio: auto;
  background: var(--on-surface);
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 17, 18, 0.98) 40%);
  color: var(--on-primary);
  opacity: 1;
}

.gallery-location {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.gallery-item h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--on-primary);
  line-height: 1.2;
}

.gallery-item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--large {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    gap: 12px;
  }
}

/* ========== PROCESS VIDEO ========== */
.process-video-wrap {
  margin: 48px auto 40px;
  max-width: 900px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--outline-variant);
}

.process-video-wrap wistia-player {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
}

@media (max-width: 640px) {
  .process-video-wrap {
    margin: 32px auto 28px;
  }
}

/* ========== GOOGLE REVIEWS ========== */
.reviews-widget {
  max-width: 1000px;
  margin: 40px auto;
}

/* ========== CTA IMPROVEMENTS ========== */
/* WCAG 2.5.5 minimum tap target + tactile press feedback */
.btn {
  min-height: 48px;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* Hero CTAs go full-width stacked on phones for thumb-friendly taps */
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}


/* ---------- Utilities (migrated from inline styles) ---------- */
.badge-span2 { grid-column: span 2; }
.cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.center-cta { text-align: center; margin-top: 48px; }
.section-head--wide { max-width: none; }
.text-white { color: #fff; }
.contact-grid--solo { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
.contact-cta-sep { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--outline-variant); }
.w-full { width: 100%; }
.footer-note { color: rgba(255,255,255,.55); }
.footer-note--gap { margin-top: 6px; }
