/* =============================================================
   MAID FOR YOUR CITY — styles.css
   One file, numbered sections. Breakpoints: 540 / 720 / 960.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand — the logo blue and the tints/shades derived from it */
  --blue: #2F7ABE;
  --blue-600: #2769A6;
  --blue-800: #154A7D;
  --navy: #0C2B4A;
  --navy-900: #081F37;
  --sky: #CFE3F4;
  --mist: #E9F2FA;
  --paper: #F5F9FD;
  --white: #FFFFFF;
  --glint: #BFE5F6;

  /* neutrals */
  --ink: #0F2438;
  --muted: #4F667C;
  --line: #DCE7F1;
  --line-strong: #C4D6E7;

  /* type */
  --display: "Plus Jakarta Sans", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* rhythm */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(12, 43, 74, .05), 0 12px 32px -12px rgba(12, 43, 74, .18);
  --shadow-lg: 0 2px 4px rgba(12, 43, 74, .05), 0 30px 60px -24px rgba(12, 43, 74, .30);
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.16; margin: 0; color: var(--navy); letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- 3. Buttons & links ---------- */
.btn {
  --btn-bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -12px rgba(47, 122, 190, .75); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 16px 30px -14px rgba(47, 122, 190, .85); }
.btn-ghost { background: transparent; color: var(--blue-800); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); }
.btn-text { background: none; border: 0; color: var(--muted); padding: 0 8px; min-height: 44px; }
.btn-text:hover { color: var(--blue); transform: translateX(-2px); }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.text-link, .faq-head a, .contact-list a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease), color .2s var(--ease);
}
.text-link:hover, .faq-head a:hover, .contact-list a:hover { background-size: 100% 1.5px; color: var(--blue); }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(12, 43, 74, .4); background: rgba(255, 255, 255, .92); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-icon { width: auto; height: 46px; transition: transform .4s var(--ease); }
.brand-word { width: 176px; height: auto; }
.brand:hover .brand-icon { transform: rotate(-6deg) translateY(-1px); }

.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; display: block; padding: 8px 11px; white-space: nowrap;
  font-size: .95rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--navy); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .25s var(--ease); }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linejoin: round; transition: stroke .2s var(--ease); }
.header-phone:hover { border-color: var(--blue); background: var(--blue); transform: translateY(-2px); }
.header-phone:hover svg { stroke: var(--white); }

.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; transition: border-color .2s var(--ease); }
.menu-toggle:hover { border-color: var(--blue); }
.menu-bar { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-bar:nth-of-type(2) { top: 19px; }
.menu-bar:nth-of-type(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--white); padding: 12px var(--gutter) 28px; }
.mobile-menu ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--navy); text-decoration: none; transition: color .2s var(--ease), padding-left .25s var(--ease); }
.mobile-menu li a:hover { color: var(--blue); padding-left: 6px; }
.mobile-menu .btn { width: 100%; }
.mobile-menu__phone { display: block; text-align: center; margin-top: 14px; font-weight: 600; color: var(--blue-800); text-decoration: none; }

/* ---------- 5. Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(191, 229, 246, .75), transparent 70%),
    radial-gradient(45% 45% at 5% 90%, rgba(207, 227, 244, .8), transparent 70%),
    linear-gradient(180deg, var(--white), var(--paper));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; max-width: 12ch; }
.hero-lead { margin-top: 26px; max-width: 540px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-points { list-style: none; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero-points li { display: flex; flex-direction: column; gap: 10px; font-size: .94rem; line-height: 1.45; color: var(--ink); }
.hero-points svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 13;
  border-radius: 999px 999px 28px 28px;
  background: var(--sky) url("assets/img/hero-poster.webp") center / cover;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-frame::before { /* thin inner window line, echoes a clean pane of glass */
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: inherit;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shine { /* a soft glint that crosses the glass now and then */
  position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .38) 49%, rgba(255, 255, 255, .08) 53%, transparent 58%);
  transform: translateX(-60%);
  animation: glint 7s var(--ease) 1.6s infinite;
}
@keyframes glint { 0% { transform: translateX(-60%); } 38%, 100% { transform: translateX(60%); } }

.hero-badge {
  position: absolute; left: -48px; bottom: 44px; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  max-width: 290px; padding: 16px 18px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}
.hero-badge:hover { transform: translateY(-3px); }
.badge-logos { display: flex; align-items: center; gap: 14px; }
.badge-logos .logo-iicrc { width: 34px; height: auto; flex-shrink: 0; }
.badge-logos .logo-osha { width: 132px; height: auto; padding-left: 14px; border-left: 1px solid var(--line); box-sizing: content-box; }
.hero-badge p { font-size: .88rem; line-height: 1.35; color: var(--muted); }
.hero-badge strong { color: var(--navy); font-weight: 600; }

/* hero load-in (only with JS; see noscript) */
.js .hero-in { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.is-loaded .hero-in { opacity: 1; transform: none; }
.js.is-loaded .hero-in:nth-child(2) { transition-delay: .08s; }
.js.is-loaded .hero-in:nth-child(3) { transition-delay: .16s; }
.js.is-loaded .hero-in:nth-child(4) { transition-delay: .24s; }
.js.is-loaded .hero-media.hero-in { transition-delay: .12s; }

/* ---------- 6. Reveals & the signature wipe ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Signature: every photo is revealed like a pane of glass being wiped clean —
   the image uncovers left to right while a soft glint rides the edge. */
.wipe { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); isolation: isolate; }
.wipe img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wipe::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7) 55%, rgba(191, 229, 246, .5) 70%, transparent);
  transform: translateX(-110%); opacity: 0;
}
.js .wipe img { clip-path: inset(0 100% 0 0); transform: scale(1.06); transition: clip-path 1.25s var(--ease) var(--d, 0s), transform 1.6s var(--ease) var(--d, 0s); }
.js .wipe.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .wipe.is-visible::after { animation: wipe-glint 1.35s var(--ease) var(--d, 0s) both; }
@keyframes wipe-glint { 0% { transform: translateX(-110%); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(290%); opacity: 0; } }
.wipe:hover img { transform: scale(1.04); }
.js .wipe.is-visible:hover img { transform: scale(1.04); transition: transform .8s var(--ease); }

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-media { position: relative; padding-bottom: 90px; }
.about-photo--main { aspect-ratio: 4 / 5; }
.about-photo--small {
  position: absolute; right: -28px; bottom: 0; width: 52%; aspect-ratio: 4 / 3;
  border: 6px solid var(--white); box-shadow: var(--shadow-lg);
}
.about-figures {
  position: absolute; left: 22px; top: 22px; z-index: 3;
  display: flex; gap: 6px; padding: 8px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 18px; box-shadow: var(--shadow);
}
.about-figures p { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 12px; }
.about-figures p + p { border-left: 1px solid var(--line); border-radius: 0; }
.about-figures strong { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--blue); }
.about-figures span { margin-top: 6px; font-size: .78rem; line-height: 1.3; color: var(--muted); max-width: 12ch; }

.about-copy { padding-top: 8px; }
.about-copy .lead { margin-top: 26px; font-size: 1.16rem; color: var(--ink); }
.story { margin-top: 26px; display: grid; gap: 16px; color: var(--muted); }
.who { margin-top: 36px; padding: 28px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.who:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.who p { margin-top: 12px; color: var(--muted); }

/* ---------- 8. Quality (blue band) ---------- */
.quality { color: #DCEAF7; overflow: hidden; }
.quality-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(47, 122, 190, .55), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(47, 122, 190, .35), transparent 70%),
    var(--navy);
}
.quality h2, .quality h3 { color: var(--white); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.quality-copy > p { margin-top: 20px; color: #C5D9EC; }
.quality-copy > h2 + p { margin-top: 26px; }
.promise {
  margin: 30px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--glint);
  font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--white);
}
.cert-list { display: grid; gap: 12px; margin-top: 34px; }
.cert-card {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px 18px 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.cert-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(191, 229, 246, .45); transform: translateY(-2px); }
.cert-card img { width: 64px; flex-shrink: 0; padding: 6px; background: var(--white); border-radius: 12px; }
.cert-card--wide img { width: 150px; padding: 14px 14px; box-sizing: content-box; }
.cert-card--wide { align-items: center; }
.cert-card h3 { font-size: 1.12rem; }
.cert-card p { margin-top: 6px; font-size: .95rem; color: #B8CFE5; }
.quality .btn-light { margin-top: 34px; }

.quality-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.q-photo { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.q-photo--a { grid-row: 1 / 3; aspect-ratio: 2 / 3; align-self: center; }
.q-photo--b { aspect-ratio: 4 / 3; margin-top: 40px; }
.q-photo--c { aspect-ratio: 4 / 5; }

/* ---------- 9. Our work ---------- */
.work { background: var(--white); }
.work .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; max-width: none; align-items: end; }
.work .section-head p { margin-top: 0; max-width: 460px; justify-self: end; }
.work-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 230px);
}
.work-item { grid-column: span 3; grid-row: span 2; }
.work-item--tall { grid-column: span 4; grid-row: span 3; }
.work-item--wide { grid-column: span 5; grid-row: span 1; }
.work-grid > :nth-child(2) { grid-column: 5 / span 4; }
.work-grid > :nth-child(3) { grid-column: 9 / span 4; }
.work-grid > :nth-child(4) { grid-column: 5 / span 5; }
.work-grid > :nth-child(5) { grid-column: 10 / span 3; grid-row: 3 / span 1; }
.work-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 28px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.work-cta p { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }

/* ---------- 10. Who we work with ---------- */
.clients { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.clients-copy p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; max-width: 520px; }
.clients-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clients-list li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--navy); line-height: 1.3;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.clients-list li:last-child { grid-column: 1 / -1; }
.clients-list li:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); }
.clients-list svg { width: 40px; height: 40px; padding: 8px; flex-shrink: 0; border-radius: 12px; background: var(--mist); fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: background-color .25s var(--ease), stroke .25s var(--ease); }
.clients-list li:hover svg { background: var(--blue); stroke: var(--white); }

/* ---------- 11. Steps ---------- */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step {
  position: relative; padding: 34px 30px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.step:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-4px); }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px;
  border-radius: 50%; background: var(--mist); color: var(--blue);
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.step:hover .step-num { background: var(--blue); color: var(--white); }
.step p { margin-top: 12px; color: var(--muted); }
.steps-list .step:not(:last-child)::after { /* connector between steps */
  content: ""; position: absolute; top: 60px; right: -21px; width: 22px; height: 1.5px; background: var(--line-strong);
}

/* ---------- 12. Reviews ---------- */
.reviews { background: linear-gradient(180deg, var(--white), var(--paper)); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.review {
  display: flex; flex-direction: column; padding: 34px 30px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.review--featured { background: var(--blue); border-color: var(--blue); color: var(--white); }
.review--featured:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.stars { color: #E7B43C; letter-spacing: .18em; font-size: 1rem; }
.review--featured .stars { color: #FFD774; }
.review blockquote { margin: 18px 0 26px; flex: 1; font-family: var(--display); font-weight: 500; font-size: 1.08rem; line-height: 1.6; color: var(--navy); }
.review--featured blockquote { color: var(--white); font-size: 1.2rem; font-weight: 600; }
.review figcaption { font-weight: 600; font-size: .95rem; color: var(--blue-800); padding-top: 18px; border-top: 1px solid var(--line); }
.review--featured figcaption { color: var(--white); border-top-color: rgba(255, 255, 255, .25); }

/* ---------- 13. Service area ---------- */
.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.area-copy p { margin-top: 24px; color: var(--muted); font-size: 1.08rem; }
.area-copy .btn { margin-top: 32px; }
.area-map { padding: clamp(18px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); }
.area-map__svg { width: 100%; height: auto; overflow: visible; }
.map-state { fill: var(--white); stroke: var(--line-strong); stroke-width: 1.5; }
.map-dot { fill: #C9D9E8; }
.map-glow circle { fill: var(--blue); }
.map-ring { fill: rgba(47, 122, 190, .06); stroke: var(--blue); stroke-width: 1.2; stroke-dasharray: 4 6; }
.map-pin { fill: var(--blue); stroke: var(--white); stroke-width: 3; }
.map-pulse { fill: none; stroke: var(--blue); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.map-label { font: 600 21px var(--sans); fill: var(--navy); paint-order: stroke; stroke: var(--white); stroke-width: 5px; stroke-linejoin: round; }
.map-state-label { font: 600 15px var(--sans); letter-spacing: .32em; fill: #9DB3C8; }

/* ---------- 14. Booking ---------- */
.book { overflow: hidden; overflow: clip; }
.book-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 100% 0%, rgba(191, 229, 246, .6), transparent 70%), var(--mist); }
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.book-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.book-aside > p { margin-top: 22px; color: var(--muted); }
.contact-card { margin-top: 32px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h3 { font-size: 1.25rem; }
.contact-card > p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list svg { width: 42px; height: 42px; padding: 10px; flex-shrink: 0; border-radius: 50%; background: var(--mist); fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.contact-list span { display: flex; flex-direction: column; font-weight: 600; color: var(--navy); line-height: 1.35; word-break: break-word; }
.contact-list small { font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }

.form-shell { position: relative; padding: clamp(22px, 3.4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); }

.form-tabs { position: relative; display: none; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.js .form-tabs { display: grid; }
.form-tabs button { position: relative; z-index: 1; min-height: 46px; border: 0; background: none; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; transition: color .25s var(--ease); }
.form-tabs button[aria-selected="true"] { color: var(--white); }
.form-tabs button:hover:not([aria-selected="true"]) { color: var(--navy); }
.form-tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--blue); box-shadow: 0 8px 18px -10px rgba(47, 122, 190, .8); transition: transform .45s var(--ease); }
.form-tabs[data-active="question"] .form-tabs__pill { transform: translateX(100%); }

/* without JS both forms simply stack */
.form-panel + .form-panel { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.js .form-panel + .form-panel { margin-top: 0; padding-top: 0; border-top: 0; }

.form-progress { display: none; list-style: none; margin: 0 0 28px; padding: 0; gap: 8px; grid-template-columns: repeat(3, 1fr); counter-reset: none; }
.js .form-progress { display: grid; }
.form-progress li { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; font-size: .86rem; font-weight: 600; color: #8CA2B7; transition: color .3s var(--ease); }
.form-progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--line); }
.form-progress li::before { content: ""; position: absolute; left: 0; bottom: 0; z-index: 1; height: 3px; width: 100%; border-radius: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.form-progress li span { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid currentColor; font-size: .8rem; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.form-progress li.is-active, .form-progress li.is-done { color: var(--navy); }
.form-progress li.is-active::before, .form-progress li.is-done::before { transform: scaleX(1); }
.form-progress li.is-done span, .form-progress li.is-active span { background: var(--blue); border-color: var(--blue); color: var(--white); }

.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step + .form-step { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.js .form-step + .form-step { margin-top: 0; padding-top: 0; border-top: 0; }
.form-step legend { padding: 0; margin-bottom: 20px; font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.js .form-step.is-entering { animation: step-in .5s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

.form-note { margin: -6px 0 22px; font-size: .95rem; color: var(--muted); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { margin-bottom: 20px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field-label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.field em, .consent em { font-style: normal; color: var(--blue); }
.opt { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%232F7ABE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #8AA0B5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 122, 190, .14); }
.field .is-invalid, .choices.is-invalid .choice span { border-color: #C2413A !important; }
.field-error { display: block; margin-top: 6px; font-size: .84rem; color: #B3362F; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--ink); line-height: 1.25;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.choice:hover span { border-color: var(--blue); transform: translateY(-1px); }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue); cursor: pointer; }
.consent.is-invalid { color: #B3362F; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.step-nav { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.js .step-nav { display: flex; }
.step-nav--final, .step-nav--always { display: flex; }

.form-status { min-height: 0; font-size: .92rem; color: #B3362F; }
.form-status:not(:empty) { margin-bottom: 12px; padding: 12px 14px; background: #FDF1F0; border-radius: 12px; }
.form-status.is-info { color: var(--blue-800); background: var(--mist); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn-arrow { animation: nudge .8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.form-success { padding: clamp(24px, 4vw, 48px) 8px; text-align: center; }
.form-success:focus { outline: none; }
.success-mark svg { width: 76px; height: 76px; margin: 0 auto 22px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { fill: var(--mist); stroke: var(--sky); stroke-width: 1.5; }
.success-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.form-success p { margin: 14px auto 0; max-width: 440px; color: var(--muted); }
.success-note { font-size: .88rem; padding: 10px 14px; background: var(--mist); border-radius: 12px; color: var(--blue-800) !important; }
.form-success .btn { margin-top: 28px; }

/* ---------- 15. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-head p { margin-top: 20px; color: var(--muted); }
.faq-head a { color: var(--blue-800); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; display: block; padding: 24px 56px 24px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.4; color: var(--navy);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' fill='none' stroke='%232F7ABE' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease), background-color .2s var(--ease);
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary:hover::after { background-color: var(--sky); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 56px 26px 0; color: var(--muted); }
.faq-item[open] p { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--navy-900); color: #B6CADD; padding: clamp(64px, 8vw, 96px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .5fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-logo img:first-child { width: auto; height: 58px; }
.footer-logo img:last-child { width: 240px; }
.footer-tagline { margin-top: 22px; max-width: 340px; font-size: .98rem; }
.footer-tagline strong { color: var(--white); font-weight: 600; }
.footer-title { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; }
.footer-col a { color: #B6CADD; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s var(--ease), background-size .3s var(--ease); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); background-size: 100% 1px; }
.footer-cert { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-cert__logos { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--white); border-radius: 14px; transition: transform .3s var(--ease); }
.footer-cert__logos:hover { transform: translateY(-3px); }
.footer-cert__logos .logo-iicrc { width: 36px; height: auto; }
.footer-cert__logos .logo-osha { width: 118px; height: auto; padding-left: 14px; border-left: 1px solid var(--line); box-sizing: content-box; }
.footer-cert p { font-size: .88rem; line-height: 1.4; max-width: 230px; }
.footer-bottom { padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #88A0B7; }
.site-footer :focus-visible { outline-color: var(--glint); }

/* ---------- 17. Floating CTA (phones) ---------- */
.float-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; justify-content: center; min-height: 54px;
  background: var(--blue); color: var(--white); border-radius: 999px; font-weight: 600; text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(12, 43, 74, .6);
  transform: translateY(140%); transition: transform .45s var(--ease), background-color .2s var(--ease);
}
.float-cta.is-visible { transform: none; }
.float-cta:hover { background: var(--blue-600); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; } /* lets the video sit between the buttons and the three points */
  .hero-title { max-width: 13ch; }
  .hero-media { order: 4; justify-self: center; max-width: 420px; margin-top: 44px; }
  .hero-points { order: 5; }
  .hero-badge { left: -20px; }

  .about-grid, .quality-grid, .clients-grid, .area-grid, .book-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .about-photo--small { right: 0; }
  .book-aside { position: static; }

  .work .section-head { grid-template-columns: 1fr; }
  .work .section-head p { justify-self: start; }
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .work-grid > * { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 3 / 4; }
  .work-grid > .work-item--wide { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }

  .steps-list, .reviews-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .steps-list .step:not(:last-child)::after { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand-word { width: 168px; }
  .brand-icon { height: 40px; }
  .header-actions .btn-sm { display: none; }

  .hero-points { grid-template-columns: 1fr; gap: 14px; }
  .hero-points li { flex-direction: row; align-items: center; }
  .hero-points svg { flex-shrink: 0; }
  .hero-badge { left: 12px; right: 12px; bottom: 16px; max-width: none; }
  .hero-frame { aspect-ratio: 4 / 5; }

  .quality-media { gap: 10px; }
  .q-photo--b { margin-top: 20px; }

  .clients-list { grid-template-columns: 1fr; }

  .field-grid, .field-grid--3 { grid-template-columns: 1fr; }
  .form-progress li { font-size: 0; gap: 0; }
  .form-progress li span { font-size: .8rem; }

  .work-cta { flex-direction: column; align-items: flex-start; padding: 24px; }

  .float-cta { display: flex; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 540px) {
  .cert-card--wide { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand-word { width: 138px; }
  .brand-icon { height: 36px; }
  .brand { gap: 8px; }
  .header-actions { gap: 8px; }
  .header-phone, .menu-toggle { width: 42px; height: 42px; }
  .menu-bar:nth-of-type(2) { top: 17px; }
  .menu-bar:nth-of-type(3) { top: 24px; }
  .menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2), .menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { top: 20px; }
  .about-media { padding-bottom: 70px; }
  .about-figures { left: 12px; top: 12px; }
  .about-figures strong { font-size: 1.8rem; }
  .about-photo--small { width: 58%; }
  .who { padding: 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo img:last-child { width: 200px; }
  .form-tabs button { font-size: .86rem; }
  .step-nav .btn-primary { flex: 1; }
}

/* ---------- 19. Reduced motion: only the intrusive loops go quiet ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shine, .map-pulse { animation: none; }
}
