/* =========================================================================
   Cedarwell Clinic · SF-02-01 General & Multispeciality Clinics (Softfire)
   Contents: 1 Tokens · 2 Base · 3 Buttons & labels · 4 Top bar & header
             5 Hero slider · 6 Values · 7 About · 8 Services · 9 Doctors
             10 Why · 11 Facilities strip · 12 Your visit · 13 FAQs
             14 Final CTA · 15 Contact form · 16 Footer · 17 Lightbox · 18 Motion
   Edit the theme in section 1: colours, fonts, spacing, radius, shadows.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Brand */
  --teal-deep: #1F6560;
  --teal: #2C8279;
  --teal-soft: #A9D8D1;
  --mint: #E5F2EF;
  --mint-2: #D3EAE5;
  --warm: #FBF8F2;
  --sand: #F3EADC;
  --white: #FFFFFF;
  --ink: #183230;
  --ink-soft: #3D5452;
  --muted: #5B6E6B;
  --line: #E2E6DF;
  --line-teal: #C9E1DC;
  --peach: #F2C9A8;
  --danger: #A63A2E;
  --warn-bg: #FFF4E5;

  /* Type */
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --fs-sm: clamp(0.86rem, 0.84rem + 0.1vw, 0.93rem);
  --fs-base: clamp(1.02rem, 0.99rem + 0.15vw, 1.1rem);
  --fs-lead: clamp(1.12rem, 1.04rem + 0.4vw, 1.32rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-h2: clamp(2rem, 1.55rem + 2vw, 3.2rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);

  /* Space & shape */
  --space-s: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  --space-m: clamp(1.25rem, 1rem + 1vw, 2rem);
  --space-l: clamp(2.25rem, 1.8rem + 2vw, 3.75rem);
  --space-xl: clamp(4.5rem, 3.4rem + 5vw, 8rem);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(24, 50, 48, .05), 0 6px 18px -8px rgba(24, 50, 48, .12);
  --shadow-m: 0 2px 6px rgba(24, 50, 48, .06), 0 26px 50px -24px rgba(24, 50, 48, .3);
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body { margin: 0; background: var(--warm); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); }
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--teal); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-soft); color: var(--ink); }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 760px) { .container { width: min(100% - 4rem, var(--container)); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .75rem 1.1rem; background: var(--teal-deep); color: var(--white); border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.section { padding-block: var(--space-xl); }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.6; }
.note { margin-top: var(--space-m); font-size: var(--fs-sm); color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- 3. Buttons & labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border: 1.5px solid transparent; border-radius: 999px; font-weight: 650; font-size: .97rem; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: .9rem 1.75rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-deep); color: var(--white); box-shadow: 0 10px 22px -14px rgba(31, 101, 96, .9); }
.btn-primary:hover { background: #17504C; }
.btn-ghost { border-color: var(--line-teal); color: var(--teal-deep); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-soft { background: var(--mint); color: var(--teal-deep); }
.btn-soft:hover { background: var(--mint-2); }
.btn-light { background: var(--white); color: var(--teal-deep); }
.btn-light:hover { background: var(--mint); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.sample-tag { display: inline-block; padding: .08rem .55rem; border: 1px dashed var(--teal); border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--teal-deep); background: var(--white); vertical-align: middle; max-width: 100%; }
.section-head { max-width: 46rem; margin-bottom: var(--space-l); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: var(--fs-lead); }

/* ---------- 4. Top bar & header ---------- */
.topbar { background: var(--teal-deep); color: rgba(255, 255, 255, .88); font-size: .83rem; }
.topbar-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem 1.5rem; padding-block: .55rem; }
.demo-pill { display: inline-block; margin-right: .45rem; padding: .05rem .5rem; border-radius: 999px; background: var(--peach); color: var(--ink); font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.topbar-emergency { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
@media (max-width: 700px) { .topbar-row { justify-content: flex-start; } }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--warm); transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled { background: rgba(251, 248, 242, .97); box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(24, 50, 48, .5); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-scrolled { background: rgba(251, 248, 242, .85); backdrop-filter: saturate(1.4) blur(14px); } }
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; }
.brand-sub { margin-top: .28rem; font-size: .74rem; font-weight: 600; color: var(--muted); }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: .2rem; padding: .3rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.nav-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.nav-list a:hover { color: var(--teal-deep); background: var(--mint); }
.nav-list a[aria-current="true"] { background: var(--teal-deep); color: var(--white); }
.nav-cta, .menu-toggle { display: none; }

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .45rem 1.1rem; border: 0; border-radius: 999px; background: var(--teal-deep); color: var(--white); font-weight: 700; font-size: .92rem; cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; width: 18px; }
  .menu-icon span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .js .site-nav { position: fixed; inset: calc(var(--header-top, 0px) + var(--header-h)) .75rem auto .75rem; z-index: 55; flex-direction: column; align-items: stretch; gap: 1rem; max-height: calc(100dvh - var(--header-h) - 1.5rem); overflow-y: auto; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-m); visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s var(--ease); }
  .js .nav-list { flex-direction: column; gap: .2rem; padding: 0; border: 0; background: none; }
  .js .nav-list a { width: 100%; min-height: 52px; padding: 0 1rem; font-size: 1.12rem; border-radius: var(--radius-s); }
  .js .nav-cta { display: inline-flex; }
  .no-js .header-row { flex-wrap: wrap; padding-bottom: .6rem; }
  .no-js .site-nav { width: 100%; overflow-x: auto; }
  .no-js .nav-list { flex-wrap: wrap; border-radius: var(--radius-m); }
}

/* ---------- 5. Hero slider (split layout) ---------- */
.hero { padding-block: clamp(1rem, .5rem + 2vw, 2.25rem) var(--space-l); }
.hero-frame { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 900px) { .slide { grid-template-columns: 1fr 1.12fr; min-height: clamp(520px, calc(100svh - var(--header-h) - 150px), 680px); } }
.slide-copy { padding-block: 1rem 4.5rem; }
@media (max-width: 899px) { .slide-copy { order: 2; padding-block: 0 5rem; } }
.slide-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem; padding: .4rem .9rem .4rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .85rem; font-weight: 650; color: var(--teal-deep); }
.pulse-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--mint); }
.slide-title { max-width: 12ch; font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.slide-text { max-width: 33rem; margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.6; }
.slide-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.slide-media { position: relative; margin: 0; height: 100%; min-height: 260px; border-radius: var(--radius-l); overflow: hidden; background: var(--mint); box-shadow: var(--shadow-m); }
.slide-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(24, 50, 48, .2), transparent); pointer-events: none; }
.slide-media picture, .slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-media img { object-fit: cover; object-position: var(--focus, 50% 50%); transform: scale(1.03); transition: transform 7s ease-out; }
@media (max-width: 899px) { .slide { grid-template-columns: minmax(0, 1fr); } .slide-media { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }
@media (min-width: 900px) { .slide-media { border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 120px; } }

.js .slide { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.js .slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.js .slide.is-active .slide-media img { transform: scale(1); }
.js .slide .slide-copy > * { transform: translateY(10px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.js .slide.is-active .slide-copy > * { transform: none; opacity: 1; }
.js .slide.is-active .slide-copy > :nth-child(2) { transition-delay: .06s; }
.js .slide.is-active .slide-copy > :nth-child(3) { transition-delay: .12s; }
.js .slide.is-active .slide-copy > :nth-child(4) { transition-delay: .18s; }
.no-js .slide:not(:first-child), .no-js .slider-ui { display: none; }

.slider-ui { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 1rem; padding: .45rem .5rem .45rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
@media (min-width: 900px) { .slider-ui { bottom: clamp(.5rem, 2vw, 1.5rem); } }
.dots { display: flex; }
.dot { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot span { display: block; width: 9px; height: 9px; border-radius: 999px; background: var(--line-teal); transition: width .3s var(--ease), background-color .3s; }
.dot:hover span { background: var(--teal-soft); }
.dot[aria-current="true"] span { width: 26px; background: var(--teal-deep); }
.slide-count { font-size: .85rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide-count span { color: var(--ink); }
.slider-buttons { display: flex; gap: .35rem; }
.round-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--warm); color: var(--teal-deep); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.round-btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.round-btn .i-play { display: none; }
.round-btn.is-paused .i-play { display: block; }
.round-btn.is-paused .i-pause { display: none; }
@media (max-width: 420px) { .slide-count { display: none; } .slider-ui { gap: .4rem; } }

/* ---------- 6. Values ---------- */
.values { padding-bottom: var(--space-m); }
.values-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .75rem; }
.values-list li { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--line); }
.v-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--teal-deep); }
.values-list strong { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.values-list span:not(.v-icon) { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }

/* ---------- 7. About ---------- */
.about-grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 6vw, 6rem); } }
.about-copy h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.about-copy > p + p { margin-top: 1rem; color: var(--ink-soft); }
.about-facts { display: grid; gap: .6rem; margin: 2rem 0 0; }
.about-facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); }
.about-facts dt { font-weight: 700; color: var(--teal-deep); font-size: var(--fs-sm); }
.about-facts dd { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }
@media (max-width: 480px) { .about-facts div { grid-template-columns: 1fr; gap: .1rem; } }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 5 / 4.2; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius-l); }
.about-badge { position: absolute; left: clamp(-1.5rem, -2vw, -.5rem); bottom: 1.5rem; display: flex; align-items: center; gap: .9rem; max-width: 19rem; padding: 1rem 1.2rem; border-radius: var(--radius-m); background: var(--white); box-shadow: var(--shadow-m); font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
.about-badge strong { color: var(--ink); }
.badge-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--ink); }
@media (max-width: 959px) { .about-badge { left: 1rem; } }

/* ---------- 8. Services ---------- */
.services { background: var(--white); border-radius: var(--radius-l) var(--radius-l) 0 0; padding-bottom: var(--space-l); }
.doctors-head { padding-top: var(--space-l) !important; }
.service-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; border-radius: var(--radius-m); background: var(--warm); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background-color .25s; }
.service:hover { border-color: var(--teal-soft); background: var(--white); box-shadow: var(--shadow-m); transform: translateY(-3px); }
.s-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .4rem; border-radius: 18px; background: var(--mint); color: var(--teal-deep); transition: background-color .25s, color .25s; }
.service:hover .s-icon { background: var(--teal-deep); color: var(--white); }
.service h3 { font-size: var(--fs-h3); }
.service > p { color: var(--muted); font-size: .98rem; }
.s-more { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: auto; }
.s-more summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 650; font-size: .94rem; color: var(--ink); cursor: pointer; list-style: none; }
.s-more summary::-webkit-details-marker { display: none; }
.s-more summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--teal-deep); font-weight: 700; transition: transform .25s var(--ease); }
.s-more[open] summary::after { transform: rotate(45deg); }
.s-more p { padding-bottom: .6rem; font-size: .95rem; color: var(--ink-soft); }
.s-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; font-size: .95rem; color: var(--teal-deep); text-decoration: none; }
.s-link:hover { text-decoration: underline; }

/* ---------- 9. Doctors ---------- */
.doctors { background: var(--white); padding-top: 0; }
.doctors-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: var(--space-l); padding-top: var(--space-xl); border-top: 1px solid var(--line); }
.doctors-head h2 { font-size: var(--fs-h2); }
.doctors-head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.filters { display: inline-flex; padding: .3rem; border-radius: 999px; background: var(--warm); border: 1px solid var(--line); }
.filters[hidden] { display: none; }
.chip { min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: none; font-weight: 650; font-size: .92rem; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.chip:hover { color: var(--teal-deep); }
.chip[aria-pressed="true"] { background: var(--teal-deep); color: var(--white); }
.doctor-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.doctor { display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; border-radius: var(--radius-m); background: linear-gradient(180deg, var(--mint) 0, var(--mint) 92px, var(--warm) 92px); border: 1px solid var(--line); }
.doctor[hidden] { display: none; }
.doc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .8rem; }
.doc-avatar { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--teal-deep); color: var(--white); font-family: var(--font-accent); font-size: 1.7rem; box-shadow: 0 0 0 5px var(--warm); }
.doc-kind { padding: .2rem .65rem; border-radius: 999px; background: var(--white); font-size: .74rem; font-weight: 700; color: var(--teal-deep); }
.doctor h3 { font-size: 1.25rem; }
.doc-role { color: var(--teal); font-weight: 650; font-size: .95rem; }
.doc-meta { display: grid; gap: .35rem; margin: .9rem 0 1.2rem; padding-top: .9rem; border-top: 1px dashed var(--line-teal); font-size: .9rem; }
.doc-meta div { display: grid; grid-template-columns: 5.5rem 1fr; }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; color: var(--ink); font-weight: 550; }
.doctor .btn { margin-top: auto; }

/* ---------- 10. Why ---------- */
.why { background: var(--teal-deep); color: var(--white); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(169, 216, 209, .22), transparent); }
.why-grid { position: relative; display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); } }
.why .eyebrow { background: rgba(255, 255, 255, .1); color: var(--teal-soft); }
.why h2 { font-size: var(--fs-h2); color: var(--white); }
.why h2 em { color: var(--teal-soft); }
.why-list { display: grid; gap: .9rem; counter-reset: why; }
@media (min-width: 600px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-list li { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; border-radius: var(--radius-m); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); counter-increment: why; transition: background-color .25s; }
.why-list li:hover { background: rgba(255, 255, 255, .12); }
.why-list li::before { content: counter(why, decimal-leading-zero); display: block; margin-bottom: .7rem; font-family: var(--font-accent); font-style: italic; font-size: 1.6rem; color: var(--peach); line-height: 1; }
.why-list h3 { font-size: 1.15rem; color: var(--white); margin-bottom: .4rem; }
.why-list p { font-size: .95rem; color: rgba(255, 255, 255, .78); }

/* ---------- 11. Facilities strip ---------- */
.facilities { overflow: hidden; }
.facilities-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: var(--space-l); }
.facilities-head > div:first-child { max-width: 40rem; }
.facilities-head h2 { font-size: var(--fs-h2); }
.facilities-head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: var(--fs-lead); }
.strip-controls { display: flex; gap: .5rem; }
.strip-controls[hidden] { display: none; }
.round-btn.dark { background: var(--white); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 32vw, 420px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1rem, calc((100% - var(--container)) / 2)); padding: .25rem max(1rem, calc((100% - var(--container)) / 2)) 1.25rem; scrollbar-width: thin; scrollbar-color: var(--teal-soft) transparent; }
@media (min-width: 760px) { .strip { scroll-padding-inline: max(2rem, calc((100% - var(--container)) / 2)); padding-inline: max(2rem, calc((100% - var(--container)) / 2)); } }
.strip li { scroll-snap-align: start; }
.strip li:nth-child(even) { margin-top: 2.5rem; }
@media (max-width: 600px) { .strip li:nth-child(even) { margin-top: 0; } }
.strip a { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: var(--radius-m); overflow: hidden; background: var(--mint); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.strip a:hover img { transform: scale(1.05); }
.cap { position: absolute; left: .85rem; bottom: .85rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .86rem; font-weight: 700; color: var(--ink); }

/* ---------- 12. Your visit ---------- */
.visit { background: var(--sand); }
.journey { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-bottom: var(--space-l); }
.journey li { position: relative; padding: 1.5rem; border-radius: var(--radius-m); background: var(--warm); }
.j-no { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 .7rem; margin-bottom: 1rem; border-radius: 999px; background: var(--teal-deep); color: var(--white); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.journey h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.journey p { color: var(--muted); font-size: .96rem; }
@media (min-width: 1000px) { .journey li:not(:last-child)::after { content: ""; position: absolute; top: 2.25rem; right: -.85rem; width: .7rem; height: .7rem; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); } }
.visit-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.panel { padding: 1.6rem; border-radius: var(--radius-m); background: var(--white); border: 1px solid rgba(24, 50, 48, .08); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.panel h3 { font-size: 1.2rem; }
.hours table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours th, .hours td { padding: .75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 650; color: var(--ink); padding-right: 1rem; }
.hours td { color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
.panel-note { margin-top: .9rem; font-size: var(--fs-sm); color: var(--muted); }
.checklist { display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink-soft); line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F6560' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.access p { color: var(--ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .8rem; font-weight: 700; color: var(--teal-deep); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- 13. FAQs ---------- */
.faqs-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .faqs-grid { grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 6vw, 6rem); } .faqs-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faqs-head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.faqs-head p:not(.eyebrow) { color: var(--muted); }
.faq-list { display: grid; gap: .65rem; }
.faq { border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--teal-soft); box-shadow: var(--shadow-s); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 1rem 4rem 1rem 1.4rem; font-weight: 650; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231F6560' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--teal-deep); }
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ---------- 14. Final CTA ---------- */
.final-cta { padding-bottom: var(--space-xl); }
.cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 380px; padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); border-radius: var(--radius-l); color: var(--white); }
.cta-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 80, 76, .95) 0%, rgba(31, 101, 96, .85) 50%, rgba(31, 101, 96, .35) 100%); }
.cta-copy { max-width: 36rem; }
.cta-card h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 3rem); color: var(--white); margin-bottom: 1rem; }
.cta-card h2 em { color: var(--teal-soft); }
.cta-card p { font-size: var(--fs-lead); color: rgba(255, 255, 255, .88); margin-bottom: 1.75rem; }

/* ---------- 15. Contact & form ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.contact-info h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.contact-cards { display: grid; gap: .7rem; margin-top: 2rem; }
.contact-cards li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-m); background: var(--warm); border: 1px solid var(--line); }
.cc-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--teal-deep); }
.contact-cards strong { display: block; font-size: .95rem; }
.contact-cards span:not(.cc-icon):not(.sample-tag) { display: block; color: var(--ink-soft); font-size: .95rem; }
.contact-cards .sample-tag { margin-top: .35rem; }
.contact-cards a { color: var(--teal-deep); font-weight: 650; }
.emergency-box { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-m); background: var(--warn-bg); border: 1px solid #F0D3A8; font-size: .95rem; color: var(--ink); }

.request-form { padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); border-radius: var(--radius-l); background: var(--warm); border: 1px solid var(--line); }
.demo-banner { margin-bottom: 1.5rem; padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--white); border: 1px dashed var(--teal); font-size: var(--fs-sm); color: var(--ink-soft); }
.field { display: grid; gap: .4rem; margin: 0 0 1.15rem; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; width: 100%; padding: 0; font-weight: 650; font-size: .94rem; color: var(--ink); }
.req, .opt { font-size: .74rem; font-weight: 700; color: var(--muted); }
.req { color: var(--teal-deep); }
.field input:not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231F6560' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 1rem center / 16px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44, 130, 121, .18); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.time-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.time-options label { position: relative; display: block; width: auto; }
.time-options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.time-options span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .94rem; color: var(--ink-soft); transition: background-color .2s, border-color .2s, color .2s; }
.time-options input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.time-options input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hint { font-size: .84rem; color: var(--muted); }
.error { display: flex; gap: .4rem; font-size: .86rem; font-weight: 650; color: var(--danger); }
.error::before { content: "!"; display: grid; place-items: center; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .12rem; border-radius: 50%; background: var(--danger); color: #fff; font-size: .7rem; font-weight: 800; }
.error[hidden] { display: none; }
.field.is-flash select { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 5px rgba(44, 130, 121, .35); } }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-s); font-weight: 650; font-size: .96rem; }
.form-status.is-demo { background: var(--warn-bg); border: 1px solid #F0D3A8; color: var(--ink); }
.form-status.is-error { background: #FBEDEB; border: 1px solid var(--danger); color: var(--danger); }
.form-status.is-success { background: var(--mint); border: 1px solid var(--teal); color: var(--teal-deep); }
.fine { margin-top: 1rem; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: var(--space-xl); font-size: .96rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: var(--space-l); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.brand-light { color: var(--white); margin-bottom: 1.1rem; }
.brand-light .brand-sub { color: var(--teal-soft); }
.footer-brand p { max-width: 22rem; }
.footer-col h2 { margin-bottom: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-soft); }
.footer-col ul { display: grid; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: rgba(255, 255, 255, .85); transition: color .2s; }
.footer-col a:hover { color: var(--teal-soft); }
.footer-col p + p { margin-top: .6rem; }
.footer-col .muted { color: rgba(255, 255, 255, .5); font-size: .86rem; }
.legal summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; color: rgba(255, 255, 255, .85); }
.legal summary:hover { color: var(--teal-soft); }
.legal p { margin: .3rem 0 .6rem; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-base a { color: var(--teal-soft); text-decoration: none; }

/* ---------- 17. Lightbox ---------- */
.lightbox { width: min(100% - 1.5rem, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(14, 30, 29, .9); }
.lightbox[open] { animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lb-figure { margin: 0; }
.lb-figure img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius-m); background: var(--ink); }
.lb-figure figcaption { margin-top: .9rem; color: var(--white); font-weight: 600; text-align: center; }
.lightbox .round-btn { background: rgba(255, 255, 255, .92); }
.lb-close { position: absolute; top: -3.5rem; right: 0; }
.lb-prev, .lb-next { position: absolute; top: calc(39vh - 22px); }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }
.lb-count { margin-top: .3rem; text-align: center; color: rgba(255, 255, 255, .6); font-size: .86rem; }
body.lb-open { overflow: hidden; }

/* Small-screen brand */
@media (max-width: 560px) { .brand-tag { display: none; } }

/* ---------- 18. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .slide-media img { transform: none !important; }
}
