/* ==========================================================================
   Dr. Neha Jain — Aesthetic & Dental Care Studio
   Design system (PRD §5): cream canvas, emerald structure, gold as jewellery.
   Type: Playfair Display (display) + Poppins (interface). Mobile-first.
   Buttons 10px radius (PRD offers pill or 10px — 10px chosen), cards 12px.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, swap) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --primary: #0F4D3A;        /* emerald */
  --primary-light: #1E6B52;  /* hovers, links */
  --accent: #C9A24A;         /* gold — decorative + primary CTA bg */
  --accent-dark: #8A6A1F;    /* AA-safe gold text on cream */
  --accent-hover: #B79343;   /* gold darkened ~8% */
  --bg: #F7F5EC;             /* cream page */
  --bg-tint: #F2EFE3;        /* slightly deeper cream for bands */
  --surface: #FFFFFF;
  --text: #1F2A26;           /* ink */
  --muted: #5E6B66;
  --border: rgba(31, 42, 38, .13);
  --error: #A63D2F;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px;

  --radius-card: 12px;
  --radius-btn: 10px;
  --shadow: 0 2px 8px rgba(31, 42, 38, .08);
  --shadow-lift: 0 3px 12px rgba(31, 42, 38, .10);

  --container: 1200px;
  --header-h: 72px;
  --stickybar-h: 60px;
}

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

html { scroll-behavior: smooth; }

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

@media (min-width: 768px) {
  body { font-size: 1.0625rem; line-height: 1.65; } /* 17px, PRD §5.2 */
}

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

h1, h2, h3, h4 { margin: 0 0 var(--space-3); color: var(--primary); }
p { margin: 0 0 var(--space-3); }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--primary-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { font-weight: 600; color: inherit; }

::selection { background: var(--primary); color: var(--bg); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Type scale (PRD §5.2) ---------- */
.h1, .hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);   /* 32 → 48 */
  line-height: 1.15;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.35rem + 1.3vw, 2.25rem); /* 26 → 36 */
  line-height: 1.2;
}
.h2::after {
  content: "";
  display: block;
  width: 48px; height: 2px;
  background: var(--accent);
  margin-top: 10px;
}
.h3 { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); line-height: 1.3; }
.small, .section-sub { font-size: .875rem; color: var(--muted); }
.section-sub { font-size: 1rem; max-width: 60ch; margin-bottom: var(--space-4); }

.icon { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.icon--inline { vertical-align: -0.25em; }
.icon--chev { transition: none; }

/* ---------- Layout utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .container { padding-inline: 16px; } }

.section { padding-block: clamp(56px, 8vw, 96px); }        /* 56 mobile / 96 desktop, PRD §5.3 */
.section--tight { padding-block: clamp(24px, 3vw, 36px) clamp(40px, 5vw, 56px); }
.section__inner > .h2:first-child, .section__inner > .h2 { margin-bottom: var(--space-2); }
.section--tint { background: var(--surface); }
.narrow { max-width: 720px; }
.section-more { margin-top: var(--space-4); }

.text-link {
  color: var(--accent-dark); font-weight: 500;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px;
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link:hover { color: var(--primary); border-color: var(--primary); }

.eyebrow-plain { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons (PRD §5.3) ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-light); }

.btn-wa { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-wa:hover { background: var(--primary); color: #fff; }

.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--surface); }

/* On the emerald CTA band, secondary buttons flip to outlined-on-emerald */
.cta-band .btn-secondary, .cta-band .btn-wa {
  background: transparent; color: var(--bg); border-color: rgba(247, 245, 236, .55);
}
.cta-band .btn-secondary:hover, .cta-band .btn-wa:hover {
  background: rgba(247, 245, 236, .1); border-color: var(--bg);
}

/* ---------- Badges & chips ---------- */
.tbc-chip {
  display: inline-block; padding: 1px 7px; border-radius: 5px;
  border: 1px solid var(--accent); background: #FBF6E9; color: var(--accent-dark);
  font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  vertical-align: middle; white-space: nowrap; cursor: help;
}

.open-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: .8125rem; font-weight: 500; color: var(--text);
  white-space: nowrap;
}
.open-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-badge--open .open-badge__dot { background: var(--primary-light); }
.open-badge--open { color: var(--primary); border-color: rgba(30, 107, 82, .4); }
.open-badge--appointment .open-badge__dot { background: var(--accent); }
.open-badge--appointment { color: var(--accent-dark); border-color: rgba(201, 162, 74, .55); }
.open-badge--closed .open-badge__dot { background: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--primary); line-height: 1.1; white-space: nowrap; }
.brand__sub { font-size: .625rem; font-weight: 600; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--accent-dark); max-width: 176px; }
@media (max-width: 599px) {
  .brand__mark { width: 38px; }
  .brand__name { font-size: 1.0625rem; }
}

.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: var(--space-4); }
.nav-list > li { position: relative; }
.nav-list a {
  font-weight: 500; font-size: .9375rem; color: var(--text);
  text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-list a:hover { color: var(--primary); }
.nav-list a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--accent); }

.nav-drop__btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; padding: 8px 2px; cursor: pointer;
  font: inherit; font-weight: 500; font-size: .9375rem; color: var(--text);
}
.nav-drop__btn .icon--chev { color: var(--muted); }
.nav-drop__panel {
  display: none;
  position: absolute; top: calc(100% + 6px); left: -12px;
  min-width: 270px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
}
.nav-drop__panel a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .875rem; border-bottom: 0 !important;
}
.nav-drop__panel a:hover { background: var(--bg); }
.nav-drop__all { font-weight: 600; color: var(--accent-dark) !important; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 10px !important; }
.nav-drop.is-open .nav-drop__panel, .nav-drop:hover .nav-drop__panel, .nav-drop:focus-within .nav-drop__panel { display: block; }
.nav-drop.is-open .icon--chev { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.header-cta__badge { display: none; }
.header-cta__phone {
  display: none; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9375rem; color: var(--primary); text-decoration: none;
  white-space: nowrap;
}
.header-cta__phone:hover { color: var(--primary-light); }
.header-cta__wa {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--primary); border-radius: var(--radius-btn);
  color: var(--primary);
  transition: background-color .15s ease, color .15s ease;
}
.header-cta__wa:hover { background: var(--primary); color: #fff; }
@media (max-width: 599px) {
  /* Sticky action bar carries the CTAs on small screens (PRD F1) */
  .header-cta .btn { display: none; }
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--primary);
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 1399px) {
  /* Tighter chrome below the badge threshold so the header never overlaps */
  .nav-list { gap: 13px; }
  .header-cta { gap: 14px; }
}
@media (min-width: 1050px) {
  .header-cta__phone { display: inline-flex; }
  .header-cta__wa { display: inline-flex; }
}
@media (min-width: 1440px) {
  .header-cta__badge { display: inline-flex; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; margin-bottom: var(--space-3);
}
.mobile-menu__head .brand__name { font-size: 1.375rem; }
.nav-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; border-radius: 8px;
  cursor: pointer; color: var(--primary);
}
.mobile-list li { border-bottom: 1px solid var(--border); }
.mobile-list a, .mobile-acc__btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 1.0625rem; color: var(--text); text-decoration: none;
}
.mobile-acc__panel { padding: 0 0 12px 16px; }
.mobile-acc__panel a { padding: 10px 4px; font-size: .9375rem; color: var(--muted); }
.mobile-acc.is-open .icon--chev { transform: rotate(180deg); }
.mobile-menu__cta { margin-top: auto; padding-top: var(--space-4); display: grid; gap: 10px; }
.mobile-menu__cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='420' viewBox='0 0 460 420'%3E%3Cg fill='none' stroke='%23C9A24A' stroke-width='1.5' opacity='.20'%3E%3Cpath d='M-20 330 C 120 260, 300 400, 480 300'/%3E%3Cpath d='M-20 372 C 150 310, 330 440, 480 350'/%3E%3Cpath d='M-20 292 C 100 240, 280 360, 470 262'/%3E%3C/g%3E%3C/svg%3E")
    no-repeat right -40px bottom -50px,
    var(--bg);
}
.hero__inner {
  display: grid; gap: var(--space-4);
  padding-block: clamp(44px, 6vw, 72px) clamp(24px, 3vw, 40px);
}
.hero__badge {
  margin-bottom: var(--space-3);
  font-size: .875rem; color: var(--muted);
}
.hero__title { color: var(--primary); margin-bottom: var(--space-3); }
.hero__sub { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: var(--space-5); }
.hero__actions { gap: 12px; }
.hero__actions .btn { padding-inline: 18px; }
.hero__actions .btn span { white-space: nowrap; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__photo { position: relative; }
/* Soft cream fades so the portrait dissolves into the page (left + top) */
.hero__photo::before, .hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero__photo::before { background: linear-gradient(97deg, var(--bg) 3%, rgba(247, 245, 236, 0) 34%); }
.hero__photo::after { background: linear-gradient(to bottom, var(--bg), rgba(247, 245, 236, 0) 14%); }
@media (max-width: 899px) {
  .hero__photo {
    display: block;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: clamp(260px, 90vw, 420px);
  }
  .hero__photo::before, .hero__photo::after { display: none; } /* stacked layout needs no fade */
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 460px; }
  .hero__photo { display: block; align-self: stretch; height: clamp(360px, 44vw, 520px); }
}
@media (min-width: 1200px) {
  .hero__actions { flex-wrap: nowrap; }
}

/* ---------- Trust strip: single row on desktop, 2-col grid on mobile ---------- */
.trust-strip-wrap { margin-top: calc(-1 * clamp(8px, 1vw, 14px)); padding-bottom: clamp(8px, 1vw, 12px); }
.trust-strip {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 6px;
}
.trust-strip__item {
  padding: 11px 10px;
  font-size: .8438rem; font-weight: 500; color: var(--primary);
  text-align: center;
}
@media (min-width: 900px) {
  .trust-strip { display: flex; flex-wrap: nowrap; padding: 6px 8px; }
  .trust-strip__item {
    padding: 10px 16px;
    border-left: 1px solid var(--border);
    flex: 1 1 auto; white-space: nowrap;
  }
  .trust-strip__item:first-child { border-left: 0; }
}

/* ---------- Facilities strip ---------- */
.facility-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.facility-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn);
  font-size: .875rem; font-weight: 500; color: var(--text);
}
.facility-chip .icon { color: var(--primary); }

/* ---------- Service cards ---------- */
.featured-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-5);
}
@media (min-width: 768px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 20px;
  text-decoration: none; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.service-card__icon { color: var(--primary); margin-bottom: 6px; }
.service-card__name { font-weight: 600; font-size: 1.0625rem; color: var(--primary); line-height: 1.3; }
.service-card__desc { font-size: .9063rem; color: var(--muted); line-height: 1.55; flex-grow: 1; }
.service-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 500; color: var(--accent-dark);
  margin-top: 8px;
}
.service-card--featured { padding: 24px; }
.service-card--featured .service-card__icon { margin-bottom: 10px; }
.service-card--featured .service-card__name { font-size: 1.1875rem; }
.service-card--featured .service-card__desc { font-size: .9688rem; }

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

/* ---------- Meet the doctor ---------- */
.meet { display: grid; gap: var(--space-5); align-items: center; }
.meet__photo img {
  width: 100%; max-width: 440px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--shadow);
  margin-inline: auto;
}
.meet__creds { font-size: .9063rem; font-weight: 500; color: var(--accent-dark); margin-bottom: var(--space-2); }
.meet__bio { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--primary); margin-bottom: var(--space-3); }
.meet__langs { display: inline-flex; align-items: center; gap: 7px; font-size: .9063rem; color: var(--muted); }
@media (min-width: 860px) { .meet { grid-template-columns: 5fr 6fr; } }

/* ---------- Studio strip (scroll-snap carousel) ---------- */
.studio-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px);
  gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.studio-strip::-webkit-scrollbar { height: 6px; }
.studio-strip::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.studio-strip__slide { margin: 0; scroll-snap-align: start; }
.studio-strip__slide img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius-card); border: 1px solid var(--border);
}
.studio-strip__hint { display: flex; justify-content: center; margin-top: 2px; }
.studio-strip__hint span { font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) { .studio-strip__hint { display: none; } .studio-strip { grid-auto-columns: 280px; } }

/* ---------- Why patients choose us ---------- */
.why-list {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 18px 20px;
}
.why-item__icon { color: var(--primary); margin-top: 2px; }
.why-item__body { font-size: .9375rem; line-height: 1.6; color: var(--text); }
.why-item__body strong { color: var(--primary); }

/* ---------- Location ---------- */
.location { display: grid; gap: var(--space-5); }
.location__photo img {
  width: 100%; max-width: 380px; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--shadow);
  margin-inline: auto;
}
.location__address { font-style: normal; line-height: 1.7; margin-bottom: var(--space-3); }
.location__note { font-size: .9063rem; color: var(--muted); max-width: 52ch; }
.location__map-note { font-size: .8125rem; color: var(--muted); margin-top: var(--space-3); }
@media (min-width: 860px) { .location { grid-template-columns: 4fr 6fr; align-items: start; } }

/* ---------- Hours tables ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: .9063rem; }
.hours-table th {
  text-align: left; font-weight: 500; color: var(--muted);
  padding: 9px 16px 9px 0; white-space: nowrap;
}
.hours-table td { padding: 9px 0; }
.hours-table tbody tr { border-bottom: 1px solid var(--border); }
.hours-table tbody tr:last-child { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: var(--bg); }
.cta-band__inner { position: relative; padding-block: clamp(48px, 6vw, 72px); text-align: center; }
.cta-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); color: var(--bg); margin-bottom: var(--space-2); }
.cta-band__sub { color: rgba(247, 245, 236, .82); max-width: 56ch; margin: 0 auto var(--space-5); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band__art { display: none; }
@media (min-width: 768px) {
  .cta-band__art {
    display: flex; align-items: center; justify-content: center;
    position: absolute; right: clamp(8px, 4vw, 64px); top: 50%;
    transform: translateY(-50%);
    width: 128px; height: 150px;
  }
  .cta-band__tooth { width: 96px; height: 96px; color: var(--accent); opacity: .9; }
  .cta-band__art.is-live .cta-band__tooth { display: none; }
  .cta-band__art canvas { width: 100% !important; height: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__art canvas { display: none; }
  .cta-band__art .cta-band__tooth { display: block !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: var(--bg); }
.footer-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
  padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1.1fr .8fr 1fr; } }
.footer-logo { width: 72px; margin-bottom: 10px; }
.footer-tagline { font-family: var(--font-display); font-size: 1.125rem; color: var(--bg); margin-bottom: var(--space-4); }
.footer-col { font-size: .9063rem; }
.footer-heading {
  font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--space-3);
}
.nap { font-style: normal; line-height: 1.75; color: rgba(247, 245, 236, .88); }
.nap a { color: var(--bg); text-decoration: none; border-bottom: 1px solid rgba(247, 245, 236, .3); }
.nap a:hover { border-color: var(--accent); }
.footer-directions {
  display: inline-flex; align-items: center; gap: 7px; margin-top: var(--space-3);
  color: var(--accent); font-weight: 500; text-decoration: none;
}
.footer-directions:hover { color: #E3C87F; }
.hours-table--dark th { color: rgba(247, 245, 236, .6); }
.hours-table--dark td { color: var(--bg); }
.site-footer .hours-table tbody tr { border-bottom-color: rgba(247, 245, 236, .16); }
.footer-note { font-size: .8125rem; color: rgba(247, 245, 236, .65); margin-top: var(--space-3); }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(247, 245, 236, .88); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(247, 245, 236, .16); background: #0C4132; }
.footer-bottom__inner {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  padding-block: 16px; font-size: .8125rem; color: rgba(247, 245, 236, .75);
}
.footer-bottom__inner p { margin: 0; }
.footer-legal a { color: rgba(247, 245, 236, .88); text-decoration: none; border-bottom: 1px solid rgba(247, 245, 236, .3); }
.footer-legal a:hover { color: var(--accent); }
.footer-badge { display: inline-flex; border-radius: 999px; }
.footer-badge img { width: 320px; max-width: 100%; height: auto; }
@media (max-width: 599px) { .footer-badge img { width: 260px; } }

/* ---------- Sticky mobile action bar (PRD F1) ---------- */
.sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 8px rgba(31, 42, 38, .07);
}
@media (max-width: 767px) {
  .sticky-bar { display: grid; }
  body { padding-bottom: calc(var(--stickybar-h) + env(safe-area-inset-bottom)); }
}
.sticky-bar__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--stickybar-h);
  font-size: .8125rem; font-weight: 600; color: var(--primary);
  text-decoration: none;
  border-right: 1px solid var(--border);
}
.sticky-bar__btn:last-child { border-right: 0; }
.sticky-bar__btn--wa { color: var(--primary-light); }
.sticky-bar__btn--book { background: var(--accent); color: var(--text); }
.sticky-bar__btn--book:hover { background: var(--accent-hover); }
.sticky-bar__btn:hover { background: var(--bg-tint); }
.sticky-bar__btn--book:hover { background: var(--accent-hover); color: var(--text); }

/* ---------- Cookie banner: slim bar along the bottom (PRD F9) ---------- */
.cookie-banner {
  position: fixed; z-index: 45;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(31, 42, 38, .07);
  padding: 10px clamp(16px, 3vw, 24px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .875rem; margin: 0; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 767px) {
  .cookie-banner {
    bottom: calc(var(--stickybar-h) + env(safe-area-inset-bottom));
    padding: 8px 16px;
  }
  .cookie-banner p { font-size: .8125rem; }
}

/* ---------- FAQ accordions (PRD F11 — Milestone B uses these) ---------- */
.faq-group + .faq-group { margin-top: var(--space-6); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 2px; cursor: pointer; list-style: none;
  font-weight: 500; color: var(--text);
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent-dark); }
.faq-item[open] summary { color: var(--primary); }
.faq-item[open] summary .icon--chev { transform: rotate(180deg); }
.faq-item__a { padding: 0 2px 18px; color: var(--text); font-size: .9688rem; max-width: 70ch; }

/* ---------- Forms (Milestone B) ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px);
}
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.field .req { color: var(--error); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-btn);
  background: var(--surface); color: var(--text);
  font: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 1px;
}
.field__hint { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.field__error { font-size: .8438rem; color: var(--error); margin-top: 6px; }
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.field--check label { font-weight: 400; font-size: .875rem; margin: 0; }

/* ---------- Reduced motion (PRD §5.5) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Milestone B: service pages, contact, legal
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: 14px 0; background: var(--bg); }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); }
.breadcrumb__list li { display: inline-flex; align-items: center; }
.breadcrumb__list li + li::before { content: "›"; margin: 0 7px; color: var(--accent-dark); }
.breadcrumb__list a { color: var(--muted); text-decoration: none; }
.breadcrumb__list a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb__list [aria-current] { color: var(--primary); font-weight: 500; }

/* ---------- Service page ---------- */
.service-hero__icon { display: inline-flex; color: var(--primary); margin-bottom: var(--space-3); }
.service-hero__icon .icon { width: 40px; height: 40px; }
.service-hero__intro { font-size: 1.0625rem; max-width: 65ch; margin-bottom: var(--space-4); }

.service-cols { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .service-cols { grid-template-columns: 1fr 1fr; } }
.service-col p { color: var(--text); max-width: 62ch; }
.service-col strong { color: var(--primary); }

.steps { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: var(--bg);
  font-weight: 600; font-size: .9375rem;
}
.step__text { padding-top: 5px; max-width: 70ch; }

.related-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 18px; text-decoration: none; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.related-card__name { font-weight: 600; color: var(--primary); }
.related-card__desc { font-size: .875rem; color: var(--muted); flex-grow: 1; }
.related-card__hint { font-size: .7813rem; color: var(--accent-dark); margin-top: 6px; }

.disclaimer {
  display: block;
  font-size: .8125rem; color: var(--muted); font-style: italic;
  padding-block: 0 clamp(16px, 2vw, 24px);
}

/* ---------- Services overview ---------- */
.listed-strip { display: flex; flex-direction: column; gap: 10px; margin: 0 0 var(--space-3); }
@media (min-width: 768px) { .listed-strip { flex-direction: row; flex-wrap: wrap; } .listed-strip .facility-chip { flex: 1 1 42%; } }
.listed-strip strong { color: var(--primary); font-weight: 600; }
.listed-note { font-size: .8438rem; color: var(--muted); }
.facility-strip--col { flex-direction: column; gap: 10px; }
.facility-strip--col .facility-chip { width: 100%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.btn--wide { width: 100%; }
.field__hint-inline { color: var(--muted); font-weight: 400; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-note { color: var(--muted); }
.contact-actions { margin-block: var(--space-4); }

.map-box {
  margin-top: var(--space-3);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; background: var(--bg-tint);
}
.map-box__placeholder { padding: 28px 24px; text-align: center; }
.map-box__placeholder .icon { color: var(--primary); margin-bottom: 8px; }
.map-box__placeholder p { font-size: .8438rem; color: var(--muted); max-width: 42ch; margin: 0 auto 12px; }
.map-box iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Legal pages ---------- */
.legal__body h2 { margin-top: var(--space-5); }
.legal__body p { max-width: 70ch; }
.legal__body strong { color: var(--primary); }
.faq-more { margin-top: var(--space-4); }
