/* ==========================================================================
   Vital RM Cleaning — 2026 redesign
   Vanilla CSS, no framework. Tokens first, then layout, then sections.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #d6286f;          /* logo pink, deepened for AA contrast with white */
  --brand-deep: #ad1c58;
  --brand-soft: #fce6ef;
  --brand-tint: #fff3f7;
  --gold: #b8913f;           /* logo gold, used sparingly */

  /* Neutrals (warm, pink-tinted) */
  --bg: #fbf7f5;
  --surface: #ffffff;
  --surface-2: #f6eeeb;
  --ink: #23151d;
  --ink-2: #5d4a54;
  --ink-3: #8a7781;
  --line: rgba(35, 21, 29, 0.09);
  --line-strong: rgba(35, 21, 29, 0.16);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(90, 25, 60, 0.04), 0 24px 48px -28px rgba(90, 25, 60, 0.28);
  --shadow-lift: 0 2px 4px rgba(90, 25, 60, 0.05), 0 36px 70px -30px rgba(90, 25, 60, 0.38);
  --shadow-brand: 0 14px 32px -12px rgba(214, 40, 111, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 11vw, 144px);

  /* Layers */
  --z-nav: 20;
  --z-fab: 30;
  --z-menu: 15;
  --z-banner: 50;
  --z-dialog: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-dialog);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Subtle paper grain, fixed so it never repaints on scroll */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.06; }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--brand); }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 34em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.eyebrow .dot .icon { width: 13px; height: 13px; stroke-width: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 24px; min-height: 52px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease), box-shadow 0.5s var(--ease), color 0.3s var(--ease);
}
.btn__ic {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: transform 0.5s var(--ease);
}
.btn__ic .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn:hover .btn__ic { transform: translate(2px, -2px) scale(1.06); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary .btn__ic { background: rgba(255, 255, 255, 0.18); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.btn--light .btn__ic { background: var(--brand-soft); color: var(--brand); }
.btn--light:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-lift); }
.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white .btn__ic { background: var(--brand); color: #fff; }
.btn--sm { min-height: 44px; padding: 5px 5px 5px 18px; font-size: 0.94rem; gap: 10px; }
.btn--sm .btn__ic { width: 34px; height: 34px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink);
  padding: 8px 4px; border-radius: 999px;
}
.text-link .icon { color: var(--brand); }
.text-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.5s var(--ease); }
.text-link:hover span { background-size: 100% 1.5px; }

/* ---------- Double-bezel frame ---------- */
.bezel {
  padding: 6px; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(35, 21, 29, 0.06), var(--shadow-lift);
}
.bezel > .bezel__core { border-radius: calc(var(--r-xl) - 6px); overflow: hidden; position: relative; background: var(--surface); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 12px; z-index: var(--z-nav); margin-top: 12px; }
.nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 1px var(--line), 0 10px 30px -22px rgba(90, 25, 60, 0.4);
  transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
}
.site-header.is-scrolled .nav-shell { background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 1px var(--line), 0 18px 44px -20px rgba(90, 25, 60, 0.35); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; display: inline-block; padding: 9px 15px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="true"] { color: var(--brand-deep); background: var(--brand-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.nav-phone .icon { color: var(--brand); width: 18px; height: 18px; }
.nav-phone:hover { background: var(--surface-2); }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; position: relative; z-index: calc(var(--z-menu) + 1); }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 110px var(--gutter) 40px;
  background: rgba(251, 247, 245, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu ul a {
  display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.15; color: var(--ink); letter-spacing: -0.02em;
  transform: translateY(110%); transition: transform 0.7s var(--ease-out);
}
.mobile-menu.is-open ul a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-menu__foot { display: grid; gap: 14px; opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease) 0.25s, transform 0.6s var(--ease) 0.25s; }
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; }
.mobile-menu__foot .btn { justify-content: space-between; }
.mobile-menu__hours { font-size: 0.92rem; color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 var(--section); overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 40, 111, 0.16), rgba(214, 40, 111, 0) 70%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; left: -220px; bottom: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 145, 63, 0.12), rgba(184, 145, 63, 0) 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__copy .lead { color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__ctas .text-link { font-variant-numeric: tabular-nums; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 8px; border-top: 1px solid var(--line); width: 100%; max-width: 560px; padding-top: 22px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.hero__facts .icon { color: var(--brand); width: 18px; height: 18px; }

.hero__media { position: relative; min-height: 560px; }
.hero__video { position: relative; width: 60%; max-width: 340px; margin-left: 4%; }
.hero__video .bezel__core { aspect-ratio: 9 / 16; }
.hero__video video, .hero__video img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo { position: absolute; right: 0; bottom: 6%; width: 64%; transform: rotate(2deg); }
.hero__photo .bezel__core { aspect-ratio: 16 / 9; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  font-size: 0.9rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.chip__ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.chip__ic .icon { width: 16px; height: 16px; stroke-width: 2; }
.chip--a { top: 8%; right: 2%; }
.chip--b { left: 0; bottom: 2%; }
.chip--b .chip__ic { background: #e9f1e4; color: #4c7a3a; }
.badge-live {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(35, 21, 29, 0.55); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5c9a; box-shadow: 0 0 0 3px rgba(255, 92, 154, 0.3); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 0; padding-right: 0; }
.marquee li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); opacity: 0.8; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__title { display: grid; gap: 20px; justify-items: start; }
.section-head__body { display: grid; gap: 16px; max-width: 36em; }
.section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head--center .section-head__title { justify-items: center; }

/* ---------- Services bento ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.svc__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.svc__ic .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.svc p { font-size: 0.98rem; line-height: 1.6; }
.svc__tag { margin-top: auto; padding-top: 10px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }

.svc--feature {
  grid-column: span 4; grid-row: span 2; min-height: 460px; justify-content: flex-end;
  color: rgba(255, 255, 255, 0.86); overflow: hidden; padding: clamp(28px, 3.5vw, 44px);
  background: var(--ink);
}
.svc--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc--feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(35, 21, 29, 0) 30%, rgba(35, 21, 29, 0.82) 100%); }
.svc--feature:hover img { transform: scale(1.04); }
.svc--feature > *:not(img) { position: relative; z-index: 2; }
.svc--feature h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc--feature .svc__ic { background: rgba(255, 255, 255, 0.16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: 4px; }
.svc--feature p { max-width: 30em; font-size: 1.04rem; }
.svc-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }

/* ---------- Process ---------- */
.process { background: var(--surface-2); border-radius: clamp(28px, 4vw, 48px); padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 40, 111, 0.12), transparent 70%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__num {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  font-family: var(--font-display); font-style: italic; font-size: 1.7rem; color: var(--brand); margin-bottom: 12px;
}
.step p { max-width: 24em; }
.process__ctas { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: clamp(40px, 5vw, 56px); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__media { position: relative; padding-bottom: 72px; }
.about__media .bezel__core { aspect-ratio: 16 / 11; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__quote {
  position: absolute; right: -4%; bottom: 0; width: min(78%, 400px);
  padding: 26px 28px; border-radius: var(--r-lg);
  background: var(--brand); color: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-brand);
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; font-style: italic;
}
.about__quote .icon { width: 26px; height: 26px; color: #fff; margin-bottom: 10px; }
.about__copy { display: grid; gap: 24px; justify-items: start; }
.values { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.values li {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; color: var(--ink); transition: transform 0.5s var(--ease);
}
.values li:hover { transform: translateX(4px); }
.values .v-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #e9f1e4; color: #4c7a3a; flex: none; }
.values .v-ic .icon { width: 21px; height: 21px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(500px 400px at 0% 110%, rgba(35, 21, 29, 0.28), transparent 60%),
    linear-gradient(135deg, #db3176 0%, #b81d5e 100%);
  color: rgba(255, 255, 255, 0.88);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px clamp(32px, 5vw, 80px); align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band h2 em { color: #ffd7e7; }
.cta-band .eyebrow { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #fff; }
.cta-band .eyebrow .dot { background: #fff; color: var(--brand); }
.cta-band__copy { display: grid; gap: 20px; justify-items: start; }
.cta-band__call { display: grid; gap: 18px; justify-items: start; }
.cta-band__label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.cta-band__phone { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: opacity 0.3s var(--ease); }
.cta-band__phone:hover { opacity: 0.85; }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.gallery-head .section-head__title { max-width: 640px; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background-color 0.3s var(--ease), transform 0.4s var(--ease); }
.rail-ctrl button:hover { background: var(--ink); color: #fff; }
.rail-ctrl button:active { transform: scale(0.95); }
.rail-ctrl .icon { width: 20px; height: 20px; stroke-width: 1.8; }

.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 272px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 8px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-soft); cursor: pointer; isolation: isolate; }
.reel video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel:hover video { transform: scale(1.03); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(35, 21, 29, 0.7)); pointer-events: none; }
.reel__label { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; color: #fff; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reel__play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.3s var(--ease); flex: none; }
.reel__play .icon { width: 16px; height: 16px; }
.reel__play .i-pause { display: none; }
.reel.is-playing .reel__play .i-play { display: none; }
.reel.is-playing .reel__play .i-pause { display: block; }
.reel:hover .reel__play { background: var(--brand); }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); gap: 16px; margin-top: 24px; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.photo:first-child { grid-column: span 2; grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo__zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.photo:hover .photo__zoom, .photo:focus-visible .photo__zoom { opacity: 1; transform: none; }
.gallery-foot { margin-top: 32px; display: flex; justify-content: center; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(25, 14, 20, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in 0.5s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }
.lightbox img { width: 100%; border-radius: var(--r-lg); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: rgba(255, 255, 255, 0.85); gap: 12px; }
.lightbox__bar p { font-size: 0.95rem; }
.lightbox__btns { display: flex; gap: 8px; }
.lightbox__btns button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff; transition: background-color 0.3s var(--ease); }
.lightbox__btns button:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__copy { display: grid; gap: 24px; justify-items: start; }
.info { display: grid; gap: 4px; width: 100%; margin-top: 12px; }
.info__row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info__row:last-child { border-bottom: 0; }
.info__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.info dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.info dd { font-weight: 600; color: var(--ink); font-size: 1.05rem; word-break: break-word; }
.info dd a { transition: color 0.3s var(--ease); }
.info dd a:hover { color: var(--brand); }

.form-card .bezel__core { padding: clamp(24px, 4vw, 44px); }
.form-card h3 { margin-bottom: 6px; }
.form-card__sub { font-size: 0.96rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 0;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px rgba(214, 40, 111, 0.12); }
.field input:user-invalid { box-shadow: inset 0 0 0 1.5px #c0392b; }
.field__err { display: none; font-size: 0.84rem; color: #b03227; }
.field input:user-invalid + .field__err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--ink-3); font-size: 0.86rem; }

.map { margin-top: clamp(48px, 6vw, 80px); }
.map .bezel__core { height: clamp(300px, 38vw, 440px); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.6) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: #1e1219; color: rgba(255, 255, 255, 0.62); padding: clamp(64px, 8vw, 104px) 0 32px; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer__brand img.logo { height: 56px; width: auto; }
.footer__brand p { max-width: 28em; font-size: 0.96rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color 0.3s var(--ease), transform 0.4s var(--ease); }
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }
.awards { display: flex; gap: 10px; }
.awards img { width: 54px; height: 54px; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color 0.3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: #ff7aad; width: 18px; height: 18px; margin-top: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 0.88rem; }
.footer__bottom a { color: #fff; }
.footer__bottom a:hover { color: #ff7aad; }

/* ---------- SMS floating button ---------- */
.sms { position: fixed; right: 20px; bottom: calc(20px + var(--banner-h, 0px)); z-index: var(--z-fab); display: grid; justify-items: end; gap: 12px; transition: bottom 0.5s var(--ease); }
.sms__fab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.95rem; box-shadow: 0 18px 40px -14px rgba(35, 21, 29, 0.6); transition: transform 0.5s var(--ease); }
.sms__fab:hover { transform: translateY(-2px); }
.sms__fab:active { transform: scale(0.97); }
.sms__fab-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); }
.sms__fab-ic .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.sms__card {
  width: min(320px, calc(100vw - 40px)); padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px rgba(35, 21, 29, 0.45);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.sms.is-open .sms__card { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.sms__inner { background: #fff; border-radius: 20px; padding: 20px; display: grid; gap: 16px; }
.sms__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.sms__head strong { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.sms__close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.sms__close .icon { width: 16px; height: 16px; }
.sms__person { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg); }
.sms__person img { width: 48px; height: 48px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 4px; }
.sms__person b { display: block; color: var(--ink); }
.sms__person span { font-size: 0.85rem; color: var(--ink-3); }
.sms__status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #3f7a2f !important; font-weight: 600; }
.sms__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #48a832; }
.sms__inner .btn { justify-content: space-between; width: 100%; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: var(--z-banner); max-width: 440px;
  display: flex; gap: 16px; align-items: center; padding: 16px 16px 16px 20px; border-radius: 22px;
  background: var(--ink); color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; line-height: 1.5;
  box-shadow: 0 24px 50px -18px rgba(35, 21, 29, 0.6);
}
.cookie[hidden] { display: none; }
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie button { flex: none; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; transition: transform 0.4s var(--ease); }
.cookie button:active { transform: scale(0.97); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 70dvh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound__inner { display: grid; gap: 22px; justify-items: center; max-width: 560px; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-size: clamp(6rem, 18vw, 10rem); line-height: 0.9; color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-btn { display: block; }
  .brand img { height: 40px; }
  .hero__grid, .about__grid, .contact__grid, .cta-band { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; padding-bottom: 40px; max-width: 560px; width: 100%; margin-inline: auto; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--feature { grid-column: span 1; grid-row: auto; }
  .svc--feature { grid-column: 1 / -1; min-height: 380px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 8%; bottom: 8%; left: 36px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .step { grid-template-columns: 72px 1fr; column-gap: 20px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .about__media { max-width: 620px; }
  .about__quote { right: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-header { top: 8px; margin-top: 8px; }
  .nav-shell { padding-left: 14px; }
  .hero__video { width: 62%; margin-left: 0; }
  .hero__photo { width: 70%; bottom: 10%; }
  .chip { font-size: 0.8rem; padding: 7px 12px 7px 7px; gap: 8px; }
  .chip__ic { width: 26px; height: 26px; }
  .chip--a { top: 4%; right: 0; }
  .badge-live { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding: 24px; }
  .svc--feature { min-height: 360px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 10px; }
  .photo:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .about__media { padding-bottom: 120px; }
  .about__quote { width: 92%; font-size: 1.05rem; padding: 22px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 14px 14px 16px; font-size: 0.82rem; }
  .cookie button { padding: 9px 18px; }
  .sms { right: 12px; bottom: calc(12px + var(--banner-h, 0px)); }
  .sms__fab-label { display: none; }
  .sms__fab { padding: 6px; }
  .btn { font-size: 0.97rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee__track { animation: none; }
}

/* Hide floating widgets while the mobile menu is open */
.menu-open .sms, .menu-open .cookie { opacity: 0; pointer-events: none; }
.js .hero .reveal { transition-duration: 0.7s; }

/* ==========================================================================
   Areas we serve
   ========================================================================== */
.areas {
  --map-land: #f6f1ea;
  --map-park: rgba(122, 163, 104, 0.16);
  --map-water: #cfe2f0;
  --map-water-line: #9cc4e2;
  --map-road: #ffffff;
  --map-road-casing: #e4d9d2;
  --map-road-minor: #ebe1da;
  --map-line: rgba(35, 21, 29, 0.28);
  --gold-soft: #f6ecd6;
}
.areas .section-head { margin-bottom: 36px; }
.areas .section-head .lead { max-width: 40em; }

.area-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.area-filter {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 10px 9px 16px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.area-filter i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.area-filter--state i { background: var(--gold); }
.area-filter span { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); font-size: 0.78rem; color: var(--ink-2); transition: inherit; }
.area-filter:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); }
.area-filter:active { transform: scale(0.97); }
.area-filter.is-active { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(35, 21, 29, 0.6); }
.area-filter.is-active span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.area-filter.is-active i { background: #ff7aad; }

.areas__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }

/* Map */
.areas-map {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 700 / 620;
  background: var(--map-land); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); isolation: isolate;
}
.areas-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-county { font: 600 9.5px/1 var(--font-body); letter-spacing: 0.14em; fill: var(--ink-3); }
.map-water-label { font: italic 500 10px/1 var(--font-body); fill: #6c9cc4; }
.map-shield { font: 700 9px/1 var(--font-body); fill: #fff; text-anchor: middle; }
.areas-map__pins { position: absolute; inset: 0; }

.pin {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 1;
  display: flex; align-items: center; gap: 5px; transform: translate(-7px, -50%);
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.pin[data-side="l"] { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.pin__dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--brand); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(35, 21, 29, 0.3); transition: transform 0.4s var(--ease); }
.pin__label {
  padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 0.74rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(35, 21, 29, 0.55);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s var(--ease);
}
.pin:hover { z-index: 3; }
.pin:hover .pin__label { transform: translateY(-2px); }
.pin:hover .pin__dot { transform: scale(1.15); }
.pin--hub .pin__label { font-size: 0.86rem; padding: 7px 13px; }
.pin--hub .pin__dot { width: 18px; height: 18px; }
.pin.is-active { z-index: 4; }
.pin.is-active .pin__label { background: var(--brand); box-shadow: var(--shadow-brand); }
.pin.is-active .pin__dot { background: #fff; box-shadow: 0 0 0 4px var(--brand), 0 0 0 10px rgba(214, 40, 111, 0.18); }
.areas-map.is-filtered .pin:not(.is-match) { opacity: 0.28; filter: grayscale(1); }
.areas-map.is-state .pin { opacity: 0.28; filter: grayscale(1); }

.map-badge {
  position: absolute; z-index: 5; border-radius: var(--r-md); padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink);
}
.map-badge--count { top: 16px; left: 16px; display: grid; gap: 2px; }
.map-badge--count span { font-size: 0.74rem; font-weight: 500; color: var(--ink-3); }
.map-badge--count strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.1; }
.map-badge--area { left: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; }
.map-badge--area .icon { color: var(--brand); width: 22px; height: 22px; }
.map-badge--area strong { display: block; font-size: 0.92rem; }
.map-badge--area span { font-size: 0.78rem; color: var(--ink-3); font-style: italic; }

.map-inset {
  position: absolute; z-index: 5; top: 16px; right: 16px; width: 27%; max-width: 190px; padding: 10px 10px 6px;
  border-radius: var(--r-md); background: rgba(255, 255, 255, 0.92); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-align: left;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.map-inset:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-lift); }
.map-inset__title { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px 2px; }
.map-inset svg { width: 100%; height: auto; }
.inset-state { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.2; stroke-linejoin: round; }
.inset-zone { fill: rgba(214, 40, 111, 0.14); stroke: var(--brand); stroke-width: 1; stroke-dasharray: 3 2; }
.inset-hub { fill: var(--brand); }
.inset-city { fill: var(--gold); stroke: #fff; stroke-width: 1.4; transition: r 0.3s var(--ease); }
.inset-city.is-active { r: 5.5; fill: var(--brand); }
.inset-label { font: 600 8.5px/1 var(--font-body); fill: var(--ink-2); }
.inset-label--hub { fill: var(--brand-deep); }
.areas-map.is-state .map-inset { box-shadow: 0 0 0 2px var(--gold), var(--shadow-lift); }

/* Detail card */
.area-detail {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); overflow: hidden;
}
.area-detail::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--brand), #f07aa8); }
.area-detail.is-state::before { background: linear-gradient(90deg, var(--gold), #dcc07f); }
.area-detail__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.area-detail.is-state .area-detail__badge { background: var(--gold-soft); color: #7d5f1f; }
.area-detail h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.05; }
.area-detail__region { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-deep); font-size: 0.95rem; margin-top: -6px; }
.area-detail__region .icon { width: 17px; height: 17px; }
.area-detail__desc { font-size: 0.98rem; line-height: 1.65; }
.area-detail__label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.area-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-detail__ctas { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.area-detail__ctas .btn { justify-content: space-between; white-space: normal; text-align: left; }
.area-detail__facts { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 0.88rem; font-weight: 500; }
.area-detail__facts li { display: flex; align-items: center; gap: 8px; }
.area-detail__facts .icon { width: 17px; height: 17px; color: var(--brand); }
.area-detail [data-area] { transition: opacity 0.25s var(--ease); }
.area-detail.is-swapping [data-area] { opacity: 0; }

/* Chips (shared by detail card and region cards) */
.area-chip {
  padding: 7px 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.area-chip:hover { background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(214, 40, 111, 0.35); }
.area-chip:active { transform: scale(0.96); }
.area-chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }

/* Region cards */
.areas__list-title { text-align: center; font-weight: 700; color: var(--ink); margin: clamp(48px, 6vw, 72px) 0 24px; font-size: 1.05rem; }
.area-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card {
  position: relative; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.area-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand); opacity: 0.55; transition: opacity 0.4s var(--ease); }
.area-card--state::before { background: var(--gold); }
.area-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 16px; }
.area-card h3 .icon { color: var(--brand); width: 22px; height: 22px; flex: none; }
.area-card--state h3 .icon { color: var(--gold); }
.area-card ul { display: flex; flex-wrap: wrap; gap: 8px; }
.area-card:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); transform: translateY(-3px); }
.area-card.is-current { box-shadow: inset 0 0 0 1.5px rgba(214, 40, 111, 0.45), var(--shadow-lift); }
.area-card.is-current::before { opacity: 1; }
.area-card--state.is-current { box-shadow: inset 0 0 0 1.5px rgba(184, 145, 63, 0.6), var(--shadow-lift); }

@media (max-width: 1100px) {
  .areas__grid { grid-template-columns: 1fr; }
  .areas-map { max-width: 760px; width: 100%; margin-inline: auto; }
  .area-detail { max-width: 760px; width: 100%; margin-inline: auto; }
  .area-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .area-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .area-filters::-webkit-scrollbar { display: none; }
  .area-filter { flex: none; font-size: 0.86rem; }
  .areas-map { border-radius: var(--r-lg); }
  .pin__label { display: none; }
  .pin, .pin[data-side="l"] { transform: translate(-50%, -50%); }
  .pin::after { content: ""; position: absolute; inset: -10px; }
  .pin__dot { width: 12px; height: 12px; }
  .pin--hub .pin__dot { width: 16px; height: 16px; }
  .pin.is-active .pin__label, .pin--hub .pin__label { display: block; font-size: 0.72rem; padding: 4px 9px; }
  .pin.is-active[data-side="l"], .pin--hub[data-side="l"] { transform: translate(calc(-100% + 6px), -50%); }
  .pin.is-active[data-side="r"] { transform: translate(-6px, -50%); }
  .map-inset { display: none; }
  .map-badge { padding: 8px 12px; }
  .map-badge--count { top: auto; bottom: 10px; left: 10px; }
  .map-badge--count strong { font-size: 0.95rem; }
  .map-badge--area { display: none; }
  .area-cards { grid-template-columns: 1fr; }
}
