/* ── CSS VARIABLES ── */
:root {
  --bg:         #F7F9F8;
  --bg-alt:     #E8F1F7;
  --bg-dark:    #0A2323;
  --accent:     #5B9EC9;
  --accent-dark:#3A7EA3;
  --text:       #0A2323;
  --text-muted: #4A6B65;
  --text-light: #8AADA8;
  --white:      #FFFFFF;
  --border:     rgba(10,35,35,0.10);
  --border-lt:  rgba(255,255,255,0.15);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --z-canvas:     0;
  --z-display:    1;
  --z-content:    3;
  --z-sticky-cta: 95;
  --z-nav:        100;
  --z-mobile:     200;
  --z-grain:      999;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-pill: 999px;

  --max-w:  1200px;
  --max-narrow: 720px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.88rem, 6.6vw, 5.76rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
h1 em { font-style: italic; color: var(--bg-dark); }
h2 em { font-style: italic; color: var(--accent); }
.h2-light { color: var(--white); }
.h2-light em { color: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--bg-alt); }
.section-sub { font-size: clamp(0.95rem, 1.1vw, 1.1rem); color: var(--text-muted); max-width: 560px; margin-top: 1rem; }
.section-sub--light { color: rgba(255,255,255,0.65); }

/* ── LAYOUT ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.container--narrow { max-width: var(--max-narrow); }
.section-light  { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--bg); }
.section-alt    { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--bg-alt); }
.section-dark   { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--bg-dark); }
.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  padding: 14px 28px; border-radius: var(--r-pill);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  cursor: pointer; border: none; text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(91,158,201,0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: rgba(10,35,35,0.05); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-light:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 72px;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
#nav.scrolled {
  background: rgba(247,249,248,0.9);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text);
}
.nav-logo-mark { color: var(--accent); font-size: 1.2rem; }
.nav-links {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.88rem; font-weight: 500;
}
.nav-links a:not(.nav-cta) {
  background: #E8F1EC;
  color: #0A2323;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}
.nav-links a:not(.nav-cta):hover {
  background: #D6E5DC;
  transform: translateY(-1px);
}
.nav-cta {
  background: rgba(10, 35, 35, 0.85);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--r-pill);
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: rgba(10, 35, 35, 1); transform: translateY(-1px); }

.nav-cta-mobile-fixed { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; z-index: var(--z-mobile);
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem; transform: translateY(-100%);
  transition: transform 0.35s var(--ease-out);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a { font-size: 1.1rem; font-weight: 500; color: var(--text); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.portal-wrapper {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.arch-portal {
  width: 100vw; height: 100vh;
  transform: scale(0.32);
  border-radius: 250px 250px 0 0;
  overflow: hidden;
  will-change: transform, border-radius;
  position: relative;
}
.portal-layer {
  position: absolute; inset: 0;
  width: 100vw; height: 100vh;
  background-size: cover;
  background-position: center;
}
.portal-layer::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.layer-before { z-index: 2; will-change: opacity; }
.layer-after  { z-index: 1; }

/* When portal has expanded enough that the hero text overlaps the image,
   swap text colors to white and add shadow to keep readability. */
.hero-portal-open .hero-h1,
.hero-portal-open .hero-sub,
.hero-portal-open .hero-badge {
  color: #fff;
  transition: color 0.3s ease;
}
.hero-portal-open .hero-stat-number,
.hero-portal-open .hero-stat-label {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  transition: color 0.3s ease;
}
.hero-portal-open .hero-stat-unit { color: #fff; }
.hero-portal-open .hero-stats { border-color: rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-portal-open .hero-stat-divider { background: rgba(255, 255, 255, 0.35); }
.hero-portal-open .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-portal-open .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.hero-display {
  position: absolute;
  z-index: var(--z-display);
  font-family: var(--font-display);
  font-size: clamp(120px, 25vw, 320px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(10,35,35,0.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.hero-content {
  position: relative; z-index: var(--z-content);
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(72px + 4rem) clamp(1.5rem, 5vw, 4rem) 5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
}
.hero-badge {
  display: block;
  background: rgba(10, 35, 35, 0.08);
  border-left: 3px solid var(--bg-dark);
  padding: 12px 20px;
  font-size: 0.82rem; color: var(--text);
  font-weight: 500;
  opacity: 0;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.hero-h1 { opacity: 0; }
.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted); max-width: 520px;
  opacity: 0;
}
.hero-sub-aside { display: inline; color: var(--text-light); font-style: italic; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; }
.hero-actions .btn { padding: 20px 40px; font-size: 1rem; }
/* transparent border on primary so its height matches ghost's 1.5px border */
.hero-actions .btn-primary { border: 1.5px solid transparent; }

/* ── HERO STATS BAR (new) ── */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  opacity: 0; /* animated in by JS */
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 1.75rem;
  gap: 2px;
  flex: 1;
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hero-stat-unit {
  font-size: 0.75em;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Trust bar (kept below stats) */
/* ── HERO MARQUEE ── */
.hero-marquee {
  /* break out of hero-content padding to span full viewport */
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee-scroll 40s linear infinite;
}
.hero-marquee-item {
  flex-shrink: 0;
  padding: 0 1.75rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
@keyframes hero-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.service-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(10,35,35,0.08); }
.service-card--tall   { grid-column: span 5; }
.service-card--arch   { grid-column: span 4; }
.service-card--square { grid-column: span 3; }
.service-card--wide   { grid-column: span 7; flex-direction: row; }
.service-card-img {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.service-card-img--arch { border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.service-card-img--wide { width: 45%; aspect-ratio: unset; flex-shrink: 0; }
.service-card-img-placeholder { opacity: 0.5; }
.service-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.card-eyebrow {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.service-list { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; color: var(--text-muted); }
.service-list li::before { content: '— '; color: var(--accent); }
.card-link { margin-top: auto; font-size: 0.85rem; font-weight: 500; color: var(--accent); }
.card-link:hover { text-decoration: underline; }
.upsells { margin-top: 3rem; }
.upsells-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 1rem; }
.upsell-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.upsell-pill {
  padding: 6px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border); font-size: 0.85rem;
  color: var(--text-muted); background: var(--white);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.upsell-pill:hover { border-color: var(--accent); color: var(--accent); }
.detailing-cta-banner { background: var(--bg-dark); border-radius: var(--r-lg); padding: 3rem 2.5rem; margin-top: 3rem; text-align: center; }
.detailing-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.detailing-cta-text { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.detailing-cta-text h3 { color: white; margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; }
.detailing-cta-text p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; line-height: 1.7; }
.detailing-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.btn-detailing { background: #0A2323; color: white; border-radius: var(--r-pill); padding: 14px 32px; font-size: 0.92rem; font-weight: 500; border: none; cursor: pointer; transition: background 0.2s, transform 0.2s; display: inline-flex; align-items: center; }
.btn-detailing:hover { background: #1a3a3a; transform: translateY(-1px); }

/* ── PLANS (two-column tab switcher) ── */
.plans-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
.plans-tabs {
  display: flex; justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.plans-tab {
  padding: 10px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.plans-tab:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.plans-tab--active,
.plans-tab--active:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: none;
}
.plans-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.plans-card-stack {
  position: relative;
  min-height: 380px;
}
.plan-card {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  padding: 2rem 1.75rem;
  padding-bottom: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.plan-card--active {
  opacity: 1;
  pointer-events: auto;
}
.plan-card--featured { border-color: var(--accent); }

.plans-summary {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.plans-summary-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.plans-summary-name {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  margin: 0; line-height: 1.1;
}
.plans-summary-freq { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.plans-summary-price { display: flex; align-items: baseline; gap: 6px; margin-top: 0.25rem; }
.plans-summary-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; }
.plans-summary-per    { font-size: 0.9rem; color: var(--text-light); }
.plans-summary-note   { font-size: 0.84rem; color: var(--text-muted); }
.plans-summary-cta    { margin-top: 0.5rem; justify-content: center; }
.plans-summary-micro  { text-align: center; font-size: 0.78rem; color: var(--text-light); margin-top: -0.25rem; }

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 0.75rem; font-weight: 500; padding: 4px 14px;
  border-radius: var(--r-pill); white-space: nowrap;
}
.plan-header { display: flex; justify-content: space-between; align-items: baseline; }
.plan-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.plan-freq { font-size: 0.82rem; color: var(--text-light); }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-from { font-size: 0.8rem; color: var(--text-light); }
.plan-amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.plan-per { font-size: 0.82rem; color: var(--text-light); }
.plan-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-features li { font-size: 0.88rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-size: 0.8rem; }

/* ── PRICE CALCULATOR (new) ── */
.calc-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.calc-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.calc-row-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-opt {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.calc-opt:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.calc-opt--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.calc-opt--active:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}
.calc-row--hidden { display: none; }
.calc-freq--onetime-only .calc-opt:not([data-freq="onetime"]) { display: none; }
.calc-fine-print { font-size: 0.78rem; color: var(--text-light); font-style: italic; text-align: center; margin-top: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── STICKY CTA BAR ── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  display: flex; justify-content: center;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease-out, ease-out), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}
.sticky-cta--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta-btn {
  width: 100%;
  max-width: 480px;
  justify-content: center;
}
.calc-stepper {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calc-step-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 1;
}
.calc-step-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,158,201,0.06);
}
.calc-step-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  min-width: 2rem;
  text-align: center;
}
.calc-step-hint {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Result panel */
.calc-result {
  background: #E8F1EC;
  border-radius: var(--r-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(10, 35, 35, 0.15);
}
.calc-result-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.calc-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.calc-price-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-right: 4px;
}
.calc-price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.calc-price-per {
  font-size: 0.88rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 4px;
}
.calc-saving-badge {
  display: inline-block;
  background: rgba(91,158,201,0.15);
  color: var(--accent-dark);
  border: 1px solid rgba(91,158,201,0.3);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 500;
}
.calc-cta {
  align-self: flex-start;
}
.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

/* ── AUTO DETAILING ── */
.detailing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 2.5rem; }
.detailing-card {
  background: rgba(255,255,255,0.05); border-radius: var(--r-lg);
  border: 1px solid var(--border-lt); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.3s;
}
.detailing-card:hover { background: rgba(255,255,255,0.08); }
.detailing-card--featured { background: rgba(91,158,201,0.15); border-color: rgba(91,158,201,0.4); }
.detailing-card-img {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: -2.5rem -2rem 1rem -2rem;
  width: calc(100% + 4rem);
}
.detailing-icon { font-size: 2rem; }
.detailing-card h3 { color: var(--white); font-size: 1.3rem; }
.detailing-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.detailing-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); font-weight: 400; }
.detailing-note { text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.link-light { color: var(--bg-alt); text-decoration: underline; }

/* ── EDITORIAL SPLIT / ABOUT ── */
.section-editorial { overflow: hidden; }
.editorial-split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 600px; max-width: var(--max-w); margin: 0 auto;
}
.editorial-cta { text-align: center; padding: 2rem 0 4rem; }
.editorial-text {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
}
.about-list { display: flex; flex-direction: column; gap: 10px; margin-top: 0.5rem; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.about-check { color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }

.editorial-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
}
.editorial-image-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
}

/* ── TEAM GRID (new — replaces placeholder) ── */
.team-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 1.5rem;
}
.team-member {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.team-info span {
  font-size: 0.75rem;
  color: var(--text-light);
}
.team-group-photo {
  grid-column: span 3;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.team-group-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Rotating badge */
.rotating-badge {
  display: none;
}
.rotating-badge svg {
  position: absolute; width: 100%; height: 100%;
  animation: rotateBadge 12s linear infinite;
}
.badge-text-path {
  font-family: var(--font-body); font-size: 9px;
  letter-spacing: 0.18em; fill: var(--text-muted); text-transform: uppercase;
}
.badge-center-icon { font-size: 1.4rem; color: var(--accent); position: relative; z-index: 1; }
@keyframes rotateBadge { to { transform: rotate(360deg); } }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--white); border-radius: 200px 200px var(--r-lg) var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(10,35,35,0.08); }
.testimonial-banner { height: 120px; }
.testimonial-body {
  display: flex; align-items: center; gap: 12px;
  padding: 0 1.5rem; margin-top: -24px; position: relative; z-index: 1;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-alt); border: 3px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  flex-shrink: 0;
}
.testimonial-meta { padding-top: 1.2rem; }
.testimonial-meta strong { display: block; font-size: 0.9rem; }
.testimonial-meta span { font-size: 0.78rem; color: var(--text-light); }
.testimonial-stars { padding: 1rem 1.5rem 0; color: var(--accent); font-size: 0.85rem; }
blockquote { padding: 0.75rem 1.5rem 1rem; font-size: 0.9rem; color: var(--text-muted); font-style: italic; line-height: 1.6; }
.testimonial-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); margin: 0 1.5rem 1.5rem;
}
.stat-item { padding: 0.75rem 0; text-align: center; border-left: 1px solid var(--border); }
.stat-item:first-child { border-left: none; }
.stat-val { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.stat-label { display: block; font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── BOOKING FORM ── */
.booking-form {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border); padding: clamp(2rem, 5vw, 3.5rem);
  margin-top: 2rem;
}
.form-step--hidden { display: none; }
.booking-actions {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-top: 2rem;
}
.booking-actions--hidden { display: none; }
.booking-form--hidden { display: none; }
.form-field-optional { color: var(--text-light); font-weight: 400; font-size: 0.78rem; }
.form-field textarea { resize: vertical; min-height: 96px; font-family: var(--font-body); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 0.92rem; color: var(--text);
  background: var(--bg); transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-action-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.5rem; gap: 12px; flex-wrap: wrap;
}
.form-action-bar--centered { justify-content: center; }
.form-microcopy {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
}
.btn-sub { font-size: 0.72rem; color: var(--text-light); margin-left: 4px; font-style: italic; }
.step2-label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 1.5rem; }
.choice-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 2rem 1.5rem; border-radius: var(--r-lg);
  border: 1.5px solid var(--border); background: var(--bg);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.choice-btn:hover { border-color: var(--accent); background: var(--bg-alt); }
.choice-btn.selected { border-color: var(--accent); background: rgba(91,158,201,0.08); }
.choice-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice-icon { font-size: 1.8rem; }
.choice-btn strong { font-size: 0.95rem; color: var(--text); }
.choice-btn span { font-size: 0.8rem; color: var(--text-muted); }
.form-confirm { text-align: center; padding: 2rem 0; }
.confirm-icon { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.form-confirm h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1rem; }
.form-confirm p { color: var(--text-muted); max-width: 440px; margin: 0 auto 2rem; }

/* ── FOOTER ── */
#footer { background: var(--bg-dark); color: var(--white); padding: 5rem 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
  border-bottom: 1px solid var(--border-lt);
}
.footer-brand .nav-logo { color: var(--white); }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-top: 1rem; line-height: 1.6; }
.footer-social { display: flex; gap: 16px; margin-top: 1.5rem; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-col li:not(:has(a)) { font-size: 0.88rem; color: rgba(255,255,255,0.4); }
.footer-hours { margin-top: 1.5rem; }
.footer-hours p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-hours-aside { font-size: 0.78rem; color: rgba(255,255,255,0.25); font-style: italic; margin-top: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }
.site-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.site-credit:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* H2 section-heading horizontal reveal (added by JS on desktop, non-reduced-motion) */
.h2-reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.h2-reveal--left  { transform: translateX(-40px); }
.h2-reveal--right { transform: translateX(40px); }
.h2-reveal--in    { opacity: 1; transform: translateX(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav: burger + logo only — hide CTA pill */
  #nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 249, 248, 0.95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 56px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: var(--z-nav);
  }
  .nav-links { display: none; }
  .nav-cta   { display: none !important; }
  .nav-logo  {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--text) !important;
    font-size: 1rem;
  }
  .nav-burger { display: flex; }
  .mobile-menu {
    display: block;
    top: 56px;
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .mobile-menu.open {
    visibility: visible;
    transition: transform 0.35s var(--ease-out), visibility 0s linear 0s;
  }

  .hero-badge {
    background: rgba(10, 35, 35, 0.08);
    border-left: 3px solid var(--bg-dark);
    border-radius: var(--r-sm);
    color: var(--text);
  }

  .hero-h1  { margin-bottom: 1.5rem; }
  .hero-sub { margin-top: 1rem; }

  .nav-cta-mobile-fixed {
    display: inline-block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-sticky-cta);
    background: #5B9EC9;
    color: white;
    border-radius: var(--r-pill);
    padding: 14px 24px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(91,158,201,0.5);
    text-decoration: none;
  }

  .hero-marquee { margin-top: 1.5rem; }

  /* Hero: hide arch portal, restore normal top-down flow */
  .portal-wrapper { display: none; }
  #hero { align-items: flex-start; min-height: auto; }
  .hero-content { padding-top: 120px; }
  .hero-display {
    position: relative;
    top: auto; left: auto;
    transform: none;
    font-size: clamp(60px, 18vw, 100px);
    color: rgba(10,35,35,0.06);
    align-self: center;
    margin: 0.5rem 0;
  }

  .hero-content { display: flex; flex-direction: column; }
  .hero-stats   { order: 4; }
  .hero-marquee { order: 5; }
  .hero-display { order: 6; }

  .dust-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='dust'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeBlend in='SourceGraphic' mode='multiply'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23dust)' opacity='0.12'/%3E%3C/svg%3E");
    background-size: cover;
  }
  .dust-overlay.cleared {
    opacity: 0;
  }

  /* Mobile: drop the duplicate primary CTA from hero (sticky bar + nav pill cover conversion) */
  .hero-actions .btn-primary { display: none; }

  /* Mobile: animated shimmer behind the stats bar for a subtle "wow" */
  .hero-stats { position: relative; isolation: isolate; }
  .hero-stats::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bg-alt) 0%, #fff 50%, var(--bg-alt) 100%);
    background-size: 200% 100%;
    animation: hero-stats-shimmer 3s ease-in-out infinite;
    opacity: 0.55;
  }
  @keyframes hero-stats-shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }

  /* Stats bar on mobile: 2x2 grid with proper inner borders.
     The 3 dividers between stats are display:none but still count in
     :nth-child(), so positions are: 1=TL, 3=TR, 5=BL, 7=BR. */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-md);
    width: 100%;
  }
  .hero-stat { padding: 0.875rem 1rem; }
  .hero-stat-number { font-size: 1.4rem; }
  .hero-stat-divider { display: none; }
  .hero-stat:nth-child(1),  /* Top-left */
  .hero-stat:nth-child(5) { /* Bottom-left */
    border-right: 1px solid var(--border);
  }
  .hero-stat:nth-child(5),  /* Bottom-left */
  .hero-stat:nth-child(7) { /* Bottom-right */
    border-top: 1px solid var(--border);
  }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--tall,
  .service-card--arch,
  .service-card--square,
  .service-card--wide { grid-column: 1; }
  .service-card--wide { flex-direction: column; }
  .service-card-img--wide { width: 100%; aspect-ratio: 4/3; }

  /* Plans: stack tabs → card → summary vertically */
  .plans-main { grid-template-columns: 1fr; }
  .plans-card-stack { min-height: 360px; }

  .detailing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .editorial-split { grid-template-columns: 1fr; }
  .editorial-image { display: none; }

  /* Calculator on mobile */
  .calc-options { gap: 6px; }
  .calc-opt { padding: 8px 14px; font-size: 0.82rem; }
  .calc-result-inner { flex-direction: column; align-items: flex-start; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-choice { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  section { min-height: unset; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .service-card--tall   { grid-column: span 3; }
  .service-card--arch   { grid-column: span 3; }
  .service-card--square { grid-column: span 3; }
  .service-card--wide   { grid-column: span 6; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .detailing-grid { grid-template-columns: repeat(2, 1fr); }
  .detailing-card:last-child { grid-column: span 2; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ── ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  @keyframes rotateBadge { to { transform: none; } }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── BEFORE / AFTER SLIDER ── */
.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  --ba: 50%;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-img--after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--ba));
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--ba);
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.28);
}
.ba-handle-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #333;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}
.ba-label {
  position: absolute;
  bottom: 12px;
  z-index: 3;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--r-pill, 999px);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ba-label--before { left: 12px; }
.ba-label--after  { right: 12px; }
