/* =========================================================
   SA Home Cleaning — Design System
   Brand: deep navy + ember orange (from logo)
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks reduce layout shift while fonts load */
@font-face { font-family: "Sora Fallback"; src: local("Arial"); size-adjust: 112%; ascent-override: 92%; descent-override: 26%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; }

:root {
  --navy-950: #050d18;
  --navy-900: #081425;
  --navy-800: #0b1a2e;
  --navy-700: #13263f;
  --navy-600: #1d3557;
  --orange: #ea5a22;
  --orange-600: #d1461a;
  --orange-700: #a8360f;
  --orange-soft: #fff1ea;
  --grad: linear-gradient(120deg, #ff7a3d 0%, #ea5a22 45%, #b53a12 100%);

  --bg: #f6f7fa;
  --surface: #ffffff;
  --text: #0b1a2e;
  --muted: #566276;
  --border: #e3e7ef;
  --on-dark: #e9eef6;
  --on-dark-muted: #a6b2c4;

  --font-head: "Sora", "Sora Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, .06), 0 2px 8px rgba(11, 26, 46, .05);
  --shadow: 0 10px 30px -10px rgba(11, 26, 46, .18), 0 4px 10px -4px rgba(11, 26, 46, .08);
  --shadow-lg: 0 30px 60px -20px rgba(11, 26, 46, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: middle; }
.ico-sm { width: .9em; height: .9em; }
.ico-lg { width: 2.25rem; height: 2.25rem; }
.ico-xl { width: 2.75rem; height: 2.75rem; }
.flip { transform: scaleX(-1); }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars { color: #fbbc05; letter-spacing: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--bh); padding: .55rem 1.4rem; line-height: 1.25;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-sm { --bh: 42px; padding: 0 1.1rem; font-size: .92rem; }
.btn-lg { --bh: 56px; padding: 0 1.75rem; font-size: 1.02rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
  .hero-ctas .btn { width: 100%; }
}
.btn-primary {
  background: var(--grad); background-size: 140% 100%; background-position: 0 0; color: #fff;
  box-shadow: 0 10px 24px -10px rgba(234, 90, 34, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 30px -10px rgba(234, 90, 34, .75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease);
}
.site-header.scrolled {
  --header-h: 66px;
  background: rgba(8, 20, 37, .95);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -15px rgba(0,0,0,.5);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand img { width: auto; height: 40px; }
@media (min-width: 768px) { .brand img { height: 46px; } }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: 999px;
  color: var(--on-dark); font-weight: 500; font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px;
  padding: .5rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: .6rem .85rem; border-radius: 10px; font-size: .95rem; font-weight: 500; color: var(--text); transition: background-color .2s, color .2s; }
.sub a:hover { background: var(--orange-soft); color: var(--orange-700); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; font-family: var(--font-head); font-size: .95rem; }
.header-phone .ico { color: var(--orange); }
.nav-cta-mobile { display: none; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 12px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    padding: calc(var(--header-h) + 16px) 20px 32px;
    background: var(--navy-900); overflow-y: auto;
    display: flex; flex-direction: column; gap: 1.5rem;
    clip-path: circle(0 at calc(100% - 42px) 38px);
    transition: clip-path .6s var(--ease);
  }
  .nav.open { clip-path: circle(150% at calc(100% - 42px) 38px); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link { font-size: 1.15rem; padding: 1rem .25rem; border-radius: 0; width: 100%; justify-content: space-between; }
  .nav-link:hover { background: none; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0 0 .75rem; min-width: 0; }
  .sub a { color: var(--on-dark-muted); padding: .45rem .25rem; }
  .sub a:hover { background: none; color: #fff; }
  .nav-cta-mobile { display: grid; gap: .75rem; }
  body.menu-open { overflow: hidden; }
  /* backdrop-filter would make the fixed nav size itself to the header */
  body.menu-open .site-header { background: var(--navy-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800); color: var(--on-dark);
  padding: calc(var(--header-h) + 40px) 0 56px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 45% at 85% 20%, rgba(234, 90, 34, .28), transparent 70%),
    radial-gradient(35% 40% at 10% 90%, rgba(29, 53, 87, .9), transparent 70%),
    radial-gradient(50% 60% at 50% 0%, rgba(19, 38, 63, 1), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.06); } }

.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr .95fr; gap: 56px; } .hero { padding-top: calc(var(--header-h) + 64px); } }

.pill {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  padding: .45rem 1rem .45rem .55rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: .88rem; color: var(--on-dark);
}
.pill .ico { width: 1.6rem; height: 1.6rem; background: #fff; border-radius: 50%; padding: .28rem; }
.pill strong { color: #fff; }
.hero h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4.7vw, 3.48rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04;
  color: #fff; text-wrap: balance;
}
.lead { margin-top: 1.25rem; font-size: clamp(.97rem, 1.47vw, 1.1rem); color: var(--on-dark-muted); max-width: 36rem; }
.lead strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.75rem; font-size: .93rem; color: var(--on-dark); }
.hero-checks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-checks .ico { color: var(--orange); width: 1rem; height: 1rem; }

.hero-media { position: relative; }
.hero-figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  aspect-ratio: 4 / 3.4;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; animation: heroZoom 1.6s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,13,24,.45)); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.1rem .8rem .8rem; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--text); box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.25;
}
.float-card strong { display: block; font-family: var(--font-head); }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-1 { left: 10px; bottom: 18px; }
.fc-2 { right: 10px; top: 16px; }
.fc-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-600); flex-shrink: 0; }
.fc-big { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; padding-left: .25rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 1024px) { .fc-1 { left: -36px; } .fc-2 { right: -24px; } }
.float-card { animation-name: heroIn, bob; animation-duration: .9s, 6s; animation-timing-function: var(--ease), ease-in-out; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-fill-mode: both, none; animation-delay: calc(var(--d) * 110ms + 200ms), 1.6s; }
@keyframes bob { to { transform: translateY(-8px); } }

/* Hero load-in (CSS only, runs immediately) */
.hero-anim { animation: heroIn .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Stats */
.stats {
  margin: 56px 0 0; display: grid; grid-template-columns: repeat(2, 1fr);
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.stat { padding: 1.4rem 1rem; text-align: center; display: flex; flex-direction: column-reverse; gap: .2rem; border: 1px solid rgba(255,255,255,.06); }
.stat dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: #fff; line-height: 1.1; }
.stat dt { font-size: .85rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .08em; }
.stat-star { color: #fbbc05; margin-left: .15rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy-800); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; text-align: left; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .9rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow-light { color: #ff8a55; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; text-wrap: balance; }
.section-dark h2 { color: #fff; }
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e9edf3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { font-size: 1.18rem; }
.card-body p { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.card-more { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--orange-600); }
.card-more .ico { transition: transform .35s var(--ease); }
.service-card:hover .card-more .ico { transform: translateX(4px); }
.service-cta {
  background: var(--navy-800); color: var(--on-dark); border: 0;
  padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  background-image: radial-gradient(80% 60% at 100% 0%, rgba(234,90,34,.45), transparent 70%);
}
.service-cta .ico-xl { color: var(--orange); }
.service-cta h3 { color: #fff; font-size: 1.35rem; }
.service-cta p { color: var(--on-dark-muted); font-size: .97rem; }
.service-cta .btn { align-self: flex-start; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba figcaption { margin-top: .9rem; font-weight: 600; font-family: var(--font-head); font-size: .98rem; text-align: center; }
.ba-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow); user-select: none; touch-action: pan-y; background: #e9edf3;
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; letter-spacing: 2px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 4px rgba(255,255,255,.9);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * { outline: none; }
.ba-frame:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.ba-tag { position: absolute; top: 14px; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; pointer-events: none; }
.ba-tag-before { left: 14px; background: rgba(5,13,24,.7); }
.ba-tag-after { right: 14px; background: var(--orange-600); }

.gallery { margin: 40px 0 44px; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery li { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: #e9edf3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery li:hover img { transform: scale(1.08); }
.lb-item { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.lb-item::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: rgba(11,26,46,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 40px no-repeat;
}
.lb-item:hover::after, .lb-item:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; animation: lbFade .35s var(--ease); }
.lightbox::backdrop { background: rgba(5,13,24,.92); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); display: grid; gap: .85rem; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 80dvh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lbZoom .45s var(--ease); }
.lightbox figcaption { font-size: .95rem; color: var(--on-dark-muted); text-align: center; padding: 0 60px; }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.lb-close:hover, .lb-nav:hover { background: var(--orange); transform: scale(1.06); }
.lb-close { top: 18px; right: 18px; font-size: 2rem; line-height: 1; }
.lb-nav { top: 50%; margin-top: -26px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: 22px; margin: 0; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }
@keyframes lbFade { from { opacity: 0; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } }
body.lb-open { overflow: hidden; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .why-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 55% at 0% 100%, rgba(234,90,34,.18), transparent 70%), radial-gradient(40% 50% at 100% 0%, rgba(29,53,87,.9), transparent 70%);
}
.why-head p { margin-top: 1.1rem; color: var(--on-dark-muted); font-size: 1.08rem; }
.badge-line { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.6rem 0 2rem !important; }
.badge-line span { padding: .4rem .95rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: #fff; }
.features { display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .5s var(--ease), border-color .3s, background-color .3s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(234,90,34,.5); }
.feature-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 10px 24px -10px rgba(234,90,34,.8); }
.feature-ico .ico { width: 1.5rem; height: 1.5rem; }
.feature h3 { color: #fff; font-size: 1.15rem; margin-bottom: .45rem; }
.feature p { color: var(--on-dark-muted); font-size: .97rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 2rem 1.75rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 3.1rem; right: -22px; width: 22px; height: 2px; background: var(--grad); }
}
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 1rem 0 .5rem; font-size: 1.2rem; }
.step p { color: var(--muted); }
.step a { color: var(--orange-600); font-weight: 600; }

/* ---------- Personas ---------- */
.persona-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }
.persona { border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.persona:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.persona img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.persona-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .7rem; }
.persona-tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-600); }
.persona h3 { font-size: 1.3rem; }
.persona-body > p:not(.persona-tag) { color: var(--muted); font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .3rem; }
.chips li { padding: .35rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .84rem; font-weight: 500; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 40px; }
.g-rating { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.g-score { font-family: var(--font-head); font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; }
.g-count { font-size: .88rem; color: var(--muted); }
.carousel { position: relative; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 24px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.review { gap: .85rem; }
.review-top { display: flex; align-items: center; gap: .8rem; }
.avatar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.g-badge { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.review-name { font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.review-time { font-size: .84rem; color: var(--muted); min-height: 1.2em; }
.review .stars { display: flex; align-items: center; gap: 2px; font-size: 1.15rem; letter-spacing: 1px; }
.verified { width: 17px; height: 17px; margin-left: 6px; }
.review-text { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.review.expanded .review-text { -webkit-line-clamp: unset; line-clamp: unset; }
.review-more { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.review-more:hover { color: var(--orange-600); }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.g-summary { font-size: .95rem; color: var(--muted); }
.g-summary strong { color: var(--text); }
.g-summary a { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.carousel-nav { display: flex; justify-content: flex-end; gap: .6rem; margin-left: auto; }
.c-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.c-btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: scale(1.06); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.about-media { position: relative; isolation: isolate; max-width: 460px; margin-inline: auto; }
.about-media img { border-radius: var(--radius-lg); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-media::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; z-index: -1; border-radius: var(--radius-lg); background: var(--grad); opacity: .9; }
.about-badge { position: absolute; left: -12px; bottom: 32px; padding: .9rem 1.2rem; border-radius: 16px; background: var(--navy-800); color: var(--on-dark-muted); font-size: .88rem; box-shadow: var(--shadow-lg); max-width: 200px; line-height: 1.35; }
.about-badge strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.4rem; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy > p:not(.eyebrow):not(.signature) { color: var(--muted); margin-bottom: 1rem; font-size: 1.07rem; }
.signature { display: flex; flex-direction: column; margin: 1.5rem 0 1.75rem; padding-left: 1rem; border-left: 3px solid var(--orange); }
.signature strong { font-family: var(--font-head); font-size: 1.15rem; }
.signature span { color: var(--muted); font-size: .92rem; }

/* ---------- Service areas ---------- */
.areas-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.areas-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) { .areas-media { position: sticky; top: calc(var(--header-h) + 24px); } }
.regions { display: grid; gap: 18px; }
@media (min-width: 640px) { .regions { grid-template-columns: 1fr 1fr; } }
.region { padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.region h3 { font-size: 1.1rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.region h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--orange-soft); }
.towns { display: flex; flex-wrap: wrap; gap: .4rem; }
.towns li { padding: .3rem .7rem; border-radius: 8px; background: var(--bg); font-size: .9rem; }
.towns strong { color: var(--orange-700); }
.towns a { color: var(--orange-700); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.footer-hours { margin-top: .9rem; }
.areas-note { margin-top: 32px; text-align: center; color: var(--muted); }
.areas-note a, .faq-head a, .faq-a a { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq-head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); transition: border-color .3s, background-color .3s; }
.faq[open] { background: var(--surface); border-color: rgba(234,90,34,.35); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.04rem; font-weight: 600; letter-spacing: -.01em; }
.faq summary .ico { transition: transform .35s var(--ease); color: var(--orange-600); }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 1.3rem 1.25rem; color: var(--muted); }
.faq[open] .faq-a { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Blog ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--orange-600); }
.blog-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }
.post { position: relative; overflow: hidden; padding: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: .75rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.post::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.post:hover::before { transform: scaleX(1); }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf3; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .65rem; }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.post h3 { font-size: 1.08rem; line-height: 1.35; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p:last-child { color: var(--muted); font-size: .95rem; }

/* ---------- Quote ---------- */
.quote .hero-bg { z-index: -1; }
.quote-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .quote-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.quote-copy > p:not(.eyebrow) { margin-top: 1.1rem; color: var(--on-dark-muted); font-size: 1.08rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list small { display: block; color: var(--on-dark-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list li > span:last-child { color: #fff; font-weight: 600; word-break: break-word; }
.contact-list .fc-icon { background: rgba(255,255,255,.08); color: var(--orange); }

.quote-form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .88rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(234,90,34,.15); }
.field .invalid { border-color: #d93025; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; }
.form-note.ok { color: #137333; font-weight: 600; }
.form-note.err { color: #d93025; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 72px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.footer-col li + li { margin-top: .55rem; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; }
.footer-col address { line-height: 1.9; }
.footer-col address strong { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-size: .87rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px;
    border-radius: 999px; background: rgba(8,20,37,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -10px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; }
  .mb-call { background: rgba(255,255,255,.1); }
  .mb-quote { background: var(--grad); }
  .site-footer { padding-bottom: 100px; }
}

/* =========================================================
   Scroll-reveal entrance effects (only when JS is active)
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.js [data-reveal="left"]  { transform: translate3d(-48px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.js [data-reveal="zoom"]  { transform: scale(.92); filter: blur(4px); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
/* main.js removes [data-reveal] after the entrance ends so cards get their own hover transitions back */

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ---------- Overflow guards (grid items must be allowed to shrink) ---------- */
.hero-grid > *, .ba-grid > *, .why-grid > *, .about-grid > *, .areas-grid > *, .faq-grid > *, .quote-grid > *, .carousel { min-width: 0; }
.ba-range { min-width: 0; }
@media (max-width: 899px) { .about-badge { left: 12px; } }
/* Off-screen reveal transforms (left/right) must not widen the page */
main { overflow-x: clip; }

/* ---------- Hero compact tweaks ---------- */
/* Contact buttons −20% */
.hero-ctas .btn-lg { --bh: 45px; padding: .45rem 1.4rem; font-size: .82rem; gap: .45rem; }
.hero-ctas .btn-lg .ico { width: .95em; height: .95em; }
/* Stats card: narrower and shorter, centered */
.stats { max-width: 600px; margin: 48px auto 0; border-radius: 14px; }
.stat { padding: .8rem .6rem; gap: .1rem; }
.stat dd { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.stat dt { font-size: .68rem; letter-spacing: .07em; }
.review-note { color: var(--muted); font-size: .92rem; font-style: italic; }

/* ---------- GoHighLevel forms ---------- */
.ghl-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(.75rem, 2vw, 1.25rem); box-shadow: var(--shadow-lg); }
.ghl-card iframe { display: block; background: #fff; }
.ghl-full { min-height: 660px; }
.ghl-simple { min-height: 480px; padding: 0; box-shadow: none; }
.ghl-fallback { padding: 1rem; }
.ghl-fallback a { color: var(--orange-600); font-weight: 600; }

/* Quote modal */
.form-modal { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; overflow: auto; }
.form-modal[open] { display: grid; place-items: center; padding: 16px; animation: lbFade .35s var(--ease); }
.form-modal::backdrop { background: rgba(5,13,24,.78); backdrop-filter: blur(6px); }
.fm-card { position: relative; width: min(100%, 560px); background: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 1.75rem) 1rem; box-shadow: var(--shadow-lg); animation: fmIn .5s var(--ease); }
@keyframes fmIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.fm-head { text-align: center; padding: 0 1.5rem .5rem; }
.fm-head .eyebrow { margin-bottom: .5rem; }
.fm-head h2 { font-size: clamp(1.45rem, 3.5vw, 1.9rem); }
.fm-head p:not(.eyebrow) { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.fm-head a { color: var(--orange-600); font-weight: 600; white-space: nowrap; }
.fm-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg); color: var(--text); font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background-color .25s, color .25s; }
.fm-close:hover { background: var(--orange); color: #fff; }

/* =========================================================
   Inner pages (services, contact)
   ========================================================= */
.page-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(1.95rem, 4.3vw, 3.2rem); }
.page-hero .hero-figure { aspect-ratio: 4 / 3; }
.page-hero-compact { text-align: center; }
.page-hero-compact .lead { margin-inline: auto; }
.page-hero-compact .breadcrumb ol { justify-content: center; }

.breadcrumb { margin-bottom: 1.1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumb a { color: var(--on-dark); transition: color .2s; }
.breadcrumb a:hover { color: #ff8a55; }
.breadcrumb [aria-current] { color: #ff8a55; font-weight: 600; }

.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }

.trust-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.trust-item .feature-ico { margin: 0; flex-shrink: 0; }
.trust-item p { color: var(--muted); font-size: .96rem; margin-top: .3rem; }

.intro-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.intro-grid > * { min-width: 0; }
.intro-copy h2 { margin-bottom: 1rem; }
.intro-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; }
.perfect-for { margin: 1.5rem 0 1.75rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--orange-soft); border-left: 4px solid var(--orange); }
.perfect-for h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-700); margin-bottom: .4rem; }
.perfect-for p { color: var(--text); }

.checklist-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .checklist-grid { grid-template-columns: repeat(2, 1fr); } .check-card-wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .checklist-grid { grid-template-columns: repeat(4, 1fr); } .check-card-wide .check-list { columns: 2; column-gap: 2rem; } }
.check-card { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.check-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.check-card h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.1rem; margin-bottom: 1.1rem; }
.check-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; flex-shrink: 0; box-shadow: 0 8px 20px -10px rgba(234,90,34,.8); }
.check-list li { position: relative; padding-left: 1.75rem; font-size: .96rem; line-height: 1.5; break-inside: avoid; }
.check-list li + li { margin-top: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1461a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.check-card-wide .check-list li + li { margin-top: 0; }
.check-card-wide .check-list li { margin-bottom: .6rem; }
.check-list-light li { color: var(--on-dark); }
.check-list-light li::before { background-color: rgba(234,90,34,.18); }

.note-box { margin-top: 28px; display: flex; gap: 1rem 1.25rem; align-items: center; flex-wrap: wrap; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--navy-800); color: var(--on-dark); }
.note-box > div { flex: 1 1 320px; }
.note-box h3 { color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.note-box p { color: var(--on-dark-muted); font-size: .96rem; }
.note-box a:not(.btn) { color: #ff8a55; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(234,90,34,.18); color: #ff8a55; flex-shrink: 0; }
.note-ico .ico { width: 1.4rem; height: 1.4rem; }

.section-sub-light { color: var(--on-dark-muted); }
.plans-grid { display: grid; gap: 20px; max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .plans-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); transition: transform .5s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(234,90,34,.55); }
.plan h3 { color: #fff; font-size: 1.6rem; }
.plan > p { color: var(--on-dark-muted); }
.plan .check-list { flex: 1; }
.plan-featured { border-color: rgba(234,90,34,.6); background: linear-gradient(180deg, rgba(234,90,34,.16), rgba(255,255,255,.03)); }

.related-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-quick { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.contact-quick a, .contact-quick .cq-static { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; text-align: left; transition: background-color .25s, border-color .25s; }
.contact-quick a:hover { background: rgba(255,255,255,.1); border-color: rgba(234,90,34,.6); }
.contact-quick small { display: block; color: var(--on-dark-muted); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.contact-quick .fc-icon { background: rgba(255,255,255,.08); color: var(--orange); }
.towns-center { justify-content: center; max-width: 900px; margin-inline: auto; }
.towns-center li { background: var(--surface); border: 1px solid var(--border); }
.fm-head { padding-bottom: 0; } .fm-head .eyebrow { margin-bottom: 0; }

/* ---------- Service pages: extra components ---------- */
.ba-portrait .ba-frame { aspect-ratio: 3 / 4; max-width: 440px; margin-inline: auto; }
.benefits-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-700); margin: 1.5rem 0 .8rem; }
.benefits { display: grid; gap: .65rem; margin-bottom: 1.75rem; }
@media (min-width: 560px) { .benefits:not(.benefits-detail) { grid-template-columns: 1fr 1fr; } }
.benefits li { position: relative; padding: .8rem 1rem .8rem 2.75rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; font-size: .96rem; line-height: 1.45; }
.benefits li::before { content: ""; position: absolute; left: .9rem; top: .95rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat, var(--grad); }
.benefits-detail li { font-weight: 400; color: var(--muted); }
.benefits-detail strong { display: block; color: var(--text); font-family: var(--font-head); font-weight: 600; margin-bottom: .15rem; }
@media (min-width: 1100px) { .checklist-grid-2 { grid-template-columns: repeat(2, 1fr); } .checklist-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.gallery-3 { max-width: 960px; margin-inline: auto; }
@media (min-width: 900px) { .gallery-3 { grid-template-columns: repeat(3, 1fr); } }
.extras-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .extras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .extras-grid { grid-template-columns: repeat(3, 1fr); } }
.extra-card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.extra-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.extra-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-800); color: #ff8a55; margin-bottom: 1.1rem; box-shadow: 0 0 0 6px var(--orange-soft); }
.extra-ico .ico { width: 1.75rem; height: 1.75rem; }
.extra-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.extra-card p { color: var(--muted); font-size: .97rem; }
.extras-cta { margin-top: 36px; }
.inline-link { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Blog: listing, article, legal pages
   ========================================================= */
.blog-grid-3 { display: grid; gap: 20px; }
@media (min-width: 720px) { .blog-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .blog-grid-all { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .post-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
  .post-featured .post-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .post-featured .post-body { padding: 2.25rem; justify-content: center; }
  .post-featured h3 { font-size: 1.6rem; }
}

.post-hero { padding-bottom: clamp(100px, 12vw, 150px); }
.post-hero-inner { max-width: 860px; }
.post-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.post-hero-meta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; color: var(--on-dark-muted); }
.post-hero-meta > * + *::before { content: "•"; margin-right: 1.2rem; color: var(--orange); }

.post-section { padding-top: 0; }
.post-layout { display: grid; gap: 40px; margin-top: clamp(-90px, -9vw, -60px); position: relative; z-index: 2; }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 56px; } }
.post-feature { margin: 0 0 2.25rem; }
.post-feature img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #e9edf3; }
.post-feature figcaption { margin-top: .75rem; font-size: .9rem; color: var(--muted); font-style: italic; text-align: center; }

.prose { font-size: 1.07rem; line-height: 1.78; color: #26324a; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.45rem, 2.6vw, 1.85rem); color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin-top: 1.9rem; font-size: 1.2rem; color: var(--text); }
.prose a { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-ghost { color: #fff; }
.prose a.btn-light { color: var(--navy-800); }
.prose figure { margin-block: 2rem; }
.prose figure img { width: 100%; height: auto; border-radius: 14px; }
.prose figcaption { margin-top: .6rem; font-size: .9rem; color: var(--muted); text-align: center; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.85rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1461a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose .callout { padding: 1.1rem 1.3rem 1.1rem 3.2rem; border-radius: 14px; background: var(--orange-soft); border-left: 4px solid var(--orange); position: relative; color: var(--text); }
.prose .callout::before { content: "💡"; position: absolute; left: 1.05rem; top: 1rem; font-size: 1.25rem; }
.prose .callout-cta { background: #eef3fb; border-left-color: var(--navy-600); }
.prose .callout-cta::before { content: "📞"; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; min-width: 520px; }
.prose th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; text-align: left; padding: .85rem 1rem; }
.prose td { padding: .8rem 1rem; border-top: 1px solid var(--border); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--bg); }

.post-cta { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius-lg); background: var(--navy-800); color: var(--on-dark); background-image: radial-gradient(70% 90% at 100% 0%, rgba(234,90,34,.35), transparent 70%); }
.post-cta h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.post-cta p { margin-top: .6rem; color: var(--on-dark-muted); }
.post-cta-btns { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.post-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1100px) { .post-aside { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 2rem; } }
.toc { padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.toc-title { font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-600); margin-bottom: .8rem; }
.toc ol { counter-reset: t; display: grid; gap: .15rem; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: .6rem; padding: .45rem .5rem; border-radius: 8px; font-size: .93rem; line-height: 1.4; color: var(--muted); transition: background-color .2s, color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--orange); padding-top: .12rem; }
.toc a:hover, .toc a.active { background: var(--orange-soft); color: var(--text); }
.aside-cta { padding: 1.5rem; border-radius: var(--radius); background: var(--navy-800); color: var(--on-dark); }
.aside-cta .eyebrow { margin-bottom: .4rem; }
.aside-cta-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 1rem; line-height: 1.3; }
.aside-phone { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: .85rem; color: #fff; font-weight: 600; font-size: .95rem; }
.aside-phone .ico { color: var(--orange); }
@media (max-width: 1099px) { .toc { display: none; } }

.legal-hero { padding-bottom: clamp(48px, 7vw, 80px); }
.legal { max-width: 860px; }
.legal .prose h2 { font-size: 1.35rem; }
.legal .prose h2:first-child { margin-top: 0; }
.contact-lines li::before { display: none; }
.prose .contact-lines li, .policy-card .contact-lines li { padding-left: 0; }
.policy-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .policy-grid { grid-template-columns: 1fr 1fr; } .policy-card-wide { grid-column: 1 / -1; } }
.policy-card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.policy-card .check-ico { margin-bottom: 1rem; }
.policy-card h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.policy-card p, .policy-list li { color: var(--muted); }
.policy-list { display: grid; gap: .6rem; }
.policy-list li { position: relative; padding-left: 1.2rem; }
.policy-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.policy-card .contact-lines { margin-top: .6rem; display: grid; gap: .3rem; }
.policy-card a, .legal .contact-lines a { color: var(--orange-600); font-weight: 600; }
/* Blog fixes: alignment with the article column, sticky sidebar, no overflow on phones */
.post-hero .post-hero-inner { max-width: var(--container); }
.post-hero-inner > * { max-width: 820px; }
.post-layout > * { min-width: 0; }
.post-aside { align-self: start; }
/* Mobile: leave room on the right for the LeadConnector chat bubble */
@media (max-width: 767px) { .mobile-bar { right: 84px; grid-template-columns: 1fr 1.4fr; } .mobile-bar a { font-size: .9rem; } }

/* ---------- Back to top (bottom-left) ---------- */
.to-top {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 95;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy-800); color: #fff; cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(5,13,24,.6), 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s, background-color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange-600); }
.to-top:hover .ico { transform: translateY(-2px); }
.to-top .ico { position: relative; width: 20px; height: 20px; transition: transform .3s var(--ease); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 150.8px; stroke-dashoffset: calc(150.8px - 150.8px * var(--p, 0)); transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top-ring circle { stroke: #fff; }
/* Phones: sit above the sticky Call / Get 20% Off bar */
@media (max-width: 767px) { .to-top { left: 14px; bottom: calc(94px + env(safe-area-inset-bottom)); width: 46px; height: 46px; } }
.thank-ctas { justify-content: center; }
.notfound-links a { display: block; font-weight: 600; color: var(--text); transition: color .2s; }
.notfound-links a:hover { color: var(--orange-600); }
