/*
Theme Name: Cleanzo
Theme URI: https://www.cleanzo.com.au/
Author: Cleanzo
Author URI: https://www.cleanzo.com.au/
Description: Custom WordPress theme for Cleanzo — Western Australia's premier cleaning service. End of lease, builders, regular, Airbnb and commercial cleaning across Perth and WA.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleanzo
Tags: one-page, custom-logo, cleaning, business
*/

/* ==========================================================================
   Cleanzo — Western Australia's Premier Cleaning Service
   Palette derived from the Cleanzo logo: deep navy + teal, with a warm sand
   accent picked up from the logo's tagline rule.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0F2438;
  --navy-800: #16324D;
  --navy-700: #1B3A5C;
  --navy-600: #24507B;
  --teal-600: #1F7F80;
  --teal-500: #2E9B9B;
  --teal-400: #46B3B0;
  --sand-500: #B08A4C;
  --sand-400: #C4A05C;

  /* Neutrals */
  --paper: #FFFFFF;
  --paper-soft: #F5F9F9;
  --paper-tint: #EAF2F3;
  --ink: #0F2438;
  --ink-muted: #4A6076;
  --ink-faint: #7C90A3;
  --line: #D8E4E7;

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 6px rgba(15, 36, 56, 0.06), 0 12px 32px rgba(15, 36, 56, 0.08);
  --shadow-lg: 0 4px 12px rgba(15, 36, 56, 0.08), 0 24px 60px rgba(15, 36, 56, 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 800; }
p { margin: 0; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s-3);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-200%);
  top: 8px; z-index: 200;
  background: var(--navy-700); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: 8px; font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--teal-500); color: #fff; }
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,127,128,0.32); }

.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,58,92,0.28); }

.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-700); background: var(--paper-soft); transform: translateY(-2px); }

.btn--onDark { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.32); }
.btn--onDark:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn--wa { background: #25D366; color: #06301A; }
.btn--wa:hover { background: #1FBE5A; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,0.34); }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 76px;
}
.brand {
  display: block; flex: none;
  width: 168px; height: 50px;
  overflow: hidden;
}
.brand img {
  width: 168px; height: auto;
  margin-top: -3px;
}

.nav { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav a {
  padding: 0.6rem 0.95rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink-muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--navy-700); background: var(--paper-tint); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: var(--navy-700); font-size: 0.95rem;
  padding: 0.6rem 0.5rem; min-height: 44px;
}
.header-phone svg { width: 17px; height: 17px; color: var(--teal-600); }
.header-phone:hover { color: var(--teal-600); }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  background: var(--navy-900);
}

.hero-pin {
  position: relative;
  height: clamp(560px, 88vh, 860px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(5rem, 9vw, 7.5rem);
}

.hero-media { position: absolute; inset: 0; }
.hero-media video,
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-pin::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,26,40,0.90) 0%, rgba(10,26,40,0.72) 34%, rgba(10,26,40,0.22) 64%, rgba(10,26,40,0.10) 100%),
    linear-gradient(to top, rgba(10,26,40,0.72) 0%, rgba(10,26,40,0) 42%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; color: #fff; }

.eyebrow-rule {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: var(--s-3);
}
.eyebrow-rule::before {
  content: ''; width: 38px; height: 2px; flex: none;
  background: var(--teal-500);
}
.eyebrow-rule--dark { color: var(--teal-600); }

.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  font-weight: 800;
  color: #fff;
  max-width: 16ch;
  letter-spacing: -0.03em;
}
.hero h1 em {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--teal-400);
  letter-spacing: -0.01em;
  font-size: 1.04em;
  margin-top: 0.06em;
}

.hero-lede {
  margin-top: var(--s-3);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  color: rgba(255,255,255,0.82);
  max-width: 48ch;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s-4); }

.statbar-wrap { position: relative; z-index: 3; }

@media (max-width: 700px) {
  .hero-pin {
    display: block;
    height: auto;
    min-height: 0;
    padding-bottom: 0;
  }
  .hero-pin::after { display: none; }
  .hero-media {
    position: relative;
    aspect-ratio: 16 / 9;
  }
  .hero-content {
    padding-top: var(--s-4);
    padding-bottom: 5.5rem;
  }
}


.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21 / 9;
  background: var(--navy-800);
  margin: 0;
}
.hero-figure img,
.hero-figure video { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,36,56,0.18) 0%, rgba(15,36,56,0) 45%, rgba(15,36,56,0.42) 100%);
  pointer-events: none;
}

.statbar {
  position: relative;
  margin-top: clamp(-4.5rem, -5vw, -3rem);
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  z-index: 2;
}
.statbar--three { grid-template-columns: repeat(3, 1fr); }
.stat { padding: var(--s-4) var(--s-3); text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.13); }
.stat dt {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.1;
}
.stat dd {
  margin: 0.35rem 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.62);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------ sections -- */
.section { padding: var(--s-7) 0; }
.section--tint { background: var(--paper-soft); }
.section--navy { background: var(--navy-800); color: #fff; }

.section-head { max-width: 62ch; margin-bottom: var(--s-5); }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  color: var(--navy-800);
}
.section-head h2 .light { font-weight: 400; color: var(--ink-faint); }
.section--navy .section-head h2 { color: #fff; }
.section--navy .section-head h2 .light { color: rgba(255,255,255,0.5); }
.section-head p {
  margin-top: var(--s-2); color: var(--ink-muted); font-size: 1.05rem;
}
.section--navy .section-head p { color: rgba(255,255,255,0.72); }

/* ------------------------------------------------------------ services -- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s-3);
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-tint); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service:hover .service-img img { transform: scale(1.05); }
.service-body { padding: var(--s-3); display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 1.2rem; color: var(--navy-800); margin-bottom: 0.5rem; }
.service p { font-size: 0.95rem; color: var(--ink-muted); flex: 1; }
.service-link {
  margin-top: var(--s-2); display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.925rem; color: var(--teal-600); min-height: 44px;
}
.service-link svg { width: 16px; height: 16px; transition: transform 0.24s var(--ease); }
.service:hover .service-link svg { transform: translateX(4px); }

/* -------------------------------------------------------- before/after -- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-3);
}
.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}

.ba-slider {
  --split: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: var(--paper-tint);
}
/* Before and after are separate image files, each covering the slider at
   its own natural aspect ratio — no stretching, whatever the source photo's
   proportions are. */
.ba-layer {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.ba-layer--before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--split);
  width: 3px; margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15,36,56,0.18), 0 0 14px rgba(15,36,56,0.34);
  z-index: 3;
}
.ba-handle::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3A5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  box-shadow: 0 3px 12px rgba(15,36,56,0.32);
}
.ba-range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.ba-range::-moz-range-thumb { width: 46px; height: 100%; border: 0; background: transparent; }
.ba-range:focus-visible { opacity: 1; outline: 3px solid var(--teal-500); outline-offset: -3px; }

.ba-tag {
  position: absolute; bottom: 12px; z-index: 2;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  background: rgba(15,36,56,0.72); color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-tag--before { left: 12px; }
.ba-tag--after  { right: 12px; }

.ba-caption { padding: var(--s-2) var(--s-3) var(--s-3); }
.ba-caption h3 { font-size: 1.05rem; color: var(--navy-800); }
.ba-caption p { font-size: 0.9rem; color: var(--ink-muted); margin-top: 0.3rem; }

.ba-hint {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: var(--s-3);
  font-size: 0.9rem; color: var(--ink-muted);
}
.ba-hint svg { width: 17px; height: 17px; color: var(--teal-600); }

/* --------------------------------------------------------------- trust -- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
}
.trust-item {
  padding: var(--s-3);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}
.trust-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(46,155,155,0.2);
  display: grid; place-items: center;
  margin-bottom: var(--s-2);
}
.trust-icon svg { width: 21px; height: 21px; color: var(--teal-400); }
.trust-item h3 { font-size: 1.05rem; color: #fff; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.925rem; color: rgba(255,255,255,0.68); }

/* --------------------------------------------------------------- steps -- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--s-3);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-4) var(--s-3) var(--s-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.step-num {
  display: inline-block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.4rem; line-height: 1;
  color: var(--teal-500);
  margin-bottom: var(--s-2);
}
.step h3 { font-size: 1.08rem; color: var(--navy-800); margin-bottom: 0.45rem; }
.step p { font-size: 0.94rem; color: var(--ink-muted); }

@media (min-width: 980px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute; top: calc(var(--s-4) + 1.1rem); right: calc(var(--s-3) * -1);
    width: var(--s-3); height: 1px;
    background: var(--line);
  }
}

/* --------------------------------------------------------- image bands -- */
.band {
  position: relative;
  width: 100%;
  min-height: clamp(340px, 46vw, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--navy-900);
  background-repeat: no-repeat;
  background-size: cover;
}
.band--commercial { background-position: 34% 22%; }
.band--team       { background-position: 50% 30%; }

.band-img { display: none; }

@media (max-width: 700px) {
  .band {
    background-image: none !important;
    display: block;
    min-height: 0;
    background-color: var(--navy-800);
  }
  .band::before { display: none; }
  .band-img { display: block; width: 100%; height: auto; }
  .band-inner { padding: var(--s-4) var(--s-3) var(--s-5); }
}

.band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,36,56,0.92) 0%, rgba(15,36,56,0.55) 26%, rgba(15,36,56,0) 55%),
    linear-gradient(to left, rgba(15,36,56,0.80) 0%, rgba(15,36,56,0.25) 22%, rgba(15,36,56,0) 46%);
}

.band-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--s-5) var(--s-3);
  color: #fff;
}
.band-inner h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  color: #fff;
  max-width: 18ch;
}
.band-inner h2 .light { font-weight: 400; color: rgba(255,255,255,0.62); }
.band-inner p {
  margin-top: var(--s-2);
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  font-size: 1.02rem;
}
.band-actions { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: 0.7rem; }

@media (max-width: 560px) {
  .band { min-height: 420px; }
  .band-actions .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- team -- */
.team-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-5);
  align-items: center;
}
.team-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
}
.team-figure img { width: 100%; height: 100%; object-fit: cover; }

.team-points { display: flex; flex-direction: column; gap: var(--s-3); }
.team-point { display: flex; gap: var(--s-2); align-items: flex-start; }
.team-point h3 { font-size: 1.08rem; color: var(--navy-800); margin-bottom: 0.3rem; }
.team-point p { font-size: 0.95rem; color: var(--ink-muted); }

.trust-icon--light { background: var(--paper-tint); flex: none; margin-bottom: 0; }
.trust-icon--light svg { color: var(--teal-600); }

/* -------------------------------------------------------- review CTA -- */
.review-cta {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
}
.review-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; margin-bottom: 0.6rem; }
.review-cta h2 .light { font-weight: 400; color: rgba(255,255,255,0.55); }
.review-cta p { color: rgba(255,255,255,0.72); max-width: 52ch; }
.stars--lg { margin-bottom: var(--s-2); }
.stars--lg svg { width: 22px; height: 22px; }
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.02rem; flex: none; }

.review-text { display: flex; flex-direction: column; }
.review-text .btn--lg { align-self: flex-start; width: auto; margin-top: var(--s-3); }

/* Right-hand QR panel: stretches to match the height of the text column */
.review-qr-panel {
  display: flex; align-items: center; justify-content: center;
  flex: none;
  padding: var(--s-3);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.review-qr-panel img { width: 100%; max-width: 200px; height: auto; border-radius: var(--radius); }

/* ------------------------------------------------------------- reviews -- */
.reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-4);
}
.rating-badge {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s-2) var(--s-3);
  box-shadow: var(--shadow);
}
.rating-score { font-size: 2rem; font-weight: 800; color: var(--navy-800); line-height: 1; }
.rating-meta { font-size: 0.85rem; color: var(--ink-muted); }
.stars { display: flex; gap: 2px; margin-bottom: 0.2rem; }
.stars svg { width: 15px; height: 15px; color: #F5A623; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-3);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.review-body { font-size: 0.975rem; color: var(--ink-muted); flex: 1; }
.review-author { display: flex; align-items: center; gap: 0.7rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--paper-tint); color: var(--navy-700);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.review-name { font-weight: 700; font-size: 0.925rem; color: var(--navy-800); }
.review-place { font-size: 0.8rem; color: var(--ink-faint); }

.is-placeholder {
  background: repeating-linear-gradient(45deg, #FFF6E5, #FFF6E5 10px, #FFEFD1 10px, #FFEFD1 20px);
  border: 1.5px dashed #E0A63C;
  color: #7A5410;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------- form -- */
.quote-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--s-5);
  align-items: start;
}
.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: var(--s-3); position: relative; }
.field label {
  display: block; font-weight: 700; font-size: 0.9rem;
  color: var(--navy-800); margin-bottom: 0.45rem;
}
.field .hint { font-weight: 500; color: var(--ink-faint); font-size: 0.825rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9CCD1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: var(--paper);
  box-shadow: 0 0 0 4px rgba(46,155,155,0.15);
}
/* Only flag a field red once the visitor has actually left it, so the form
   doesn't greet them with red borders before they've typed anything. */
.field input.is-touched:invalid,
.field select.is-touched:invalid,
.field textarea.is-touched:invalid {
  border-color: #D64545;
  background: #FFF6F6;
}
.field input.is-touched:invalid:focus,
.field select.is-touched:invalid:focus,
.field textarea.is-touched:invalid:focus {
  box-shadow: 0 0 0 4px rgba(214,69,69,0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }

/* -------------------------------------------------------- field info -- --
   Each field label has a small "i" button. Click it to reveal a short
   tooltip explaining what's expected — kept off by default so the form
   isn't cluttered with help text no one asked for.
   ------------------------------------------------------------------------ */
.field-label-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 0.45rem;
}
.field-label-row label { margin-bottom: 0; }
.info-btn {
  flex: none;
  width: 19px; height: 19px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-faint);
  background: transparent;
  color: var(--ink-faint);
  font-size: 0.72rem; font-weight: 800; font-style: italic;
  line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.info-btn:hover, .info-btn:focus-visible, .info-btn[aria-expanded="true"] {
  border-color: var(--teal-500); color: var(--teal-600); background: rgba(46,155,155,0.1);
}
.info-tip {
  display: none;
  position: absolute; z-index: 20; top: -0.35rem; right: 0;
  transform: translateY(-100%);
  width: max-content; max-width: 240px;
  background: var(--navy-800); color: rgba(255,255,255,0.92);
  font-size: 0.8rem; font-weight: 500; line-height: 1.45;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.info-tip::after {
  content: ''; position: absolute; bottom: -5px; right: 8px;
  width: 10px; height: 10px; background: var(--navy-800);
  transform: rotate(45deg);
}
.info-tip.is-open { display: block; }

.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: var(--s-2); }

.form-success {
  background: #E8F6EF;
  border: 1.5px solid #2E9B6B;
  border-radius: var(--radius);
  padding: var(--s-3);
  color: #14532D;
  font-size: 1rem;
  line-height: 1.6;
}
.form-success strong { display: block; margin-bottom: 0.35rem; font-size: 1.1rem; }
.form-success a { font-weight: 700; text-decoration: underline; }

.contact-panel { padding-top: var(--s-2); }
.contact-list { display: flex; flex-direction: column; gap: var(--s-2); margin: var(--s-3) 0; }
.contact-row {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); min-height: 64px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
a.contact-row:hover { border-color: var(--teal-500); transform: translateX(3px); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--paper-tint); display: grid; place-items: center;
}
.contact-icon svg { width: 19px; height: 19px; color: var(--teal-600); }
.contact-label { font-size: 0.78rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.contact-value { font-weight: 700; color: var(--navy-800); }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.66); padding: var(--s-6) 0 var(--s-4); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-4);
  padding-bottom: var(--s-4); border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--s-2); background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-2); }
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.95rem; min-height: 24px; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--teal-400); }
.footer-bottom {
  padding-top: var(--s-3); display: flex; justify-content: space-between;
  gap: var(--s-2); flex-wrap: wrap; font-size: 0.875rem;
}

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37,211,102,0.42);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
  .quote-layout { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); margin-top: -2rem; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.13); }
  .statbar--three { grid-template-columns: 1fr; }
  .statbar--three .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.13); }
  .team-layout { grid-template-columns: 1fr; gap: var(--s-4); }
  .review-cta { flex-direction: column-reverse; align-items: center; text-align: center; }
  .review-text { align-items: center; }
  .review-text .btn--lg { align-self: stretch; width: 100%; }
  .review-qr-panel { width: 100%; max-width: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: var(--s-2); gap: 0.15rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 0.85rem 1rem; min-height: 48px; display: flex; align-items: center; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 46px; height: 46px; margin-left: auto;
    background: transparent; border: 1.5px solid var(--line);
    border-radius: 10px; cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; color: var(--navy-700); }
  .header-phone span { display: none; }
}

@media (max-width: 560px) {
  :root { --s-7: 3.5rem; --s-6: 2.5rem; }
  .section { padding: var(--s-6) 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }

  .brand { width: 128px; height: 40px; }
  .brand img { width: 128px; margin-top: -2px; }

  .header-cta .btn--navy { display: none; }

  .header-phone {
    width: 44px; min-height: 44px; padding: 0;
    justify-content: center;
    border: 1.5px solid var(--line); border-radius: 50%;
  }

  .footer-links a { min-height: 40px; display: flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service:hover, .btn:hover, .wa-float:hover, a.contact-row:hover { transform: none; }
}
