/* MyDoctorAway — concierge clinic site
   Palette: warm sand + deep teal accent. Friendly, premium, not sterile. */
:root {
  --bg: #f5efe6;
  --bg-soft: #ece2d2;
  --bg-card: #ffffff;
  --ink: #1a1d1c;
  --ink-soft: #4a534f;
  --ink-mute: #7a847f;
  --teal: #0e5b56;
  --teal-deep: #093f3c;
  --coral: #d96a52;
  --line: rgba(26, 29, 28, 0.08);
  --shadow-sm: 0 1px 2px rgba(9, 63, 60, 0.04), 0 2px 8px rgba(9, 63, 60, 0.06);
  --shadow-md: 0 4px 12px rgba(9, 63, 60, 0.08), 0 16px 40px rgba(9, 63, 60, 0.10);
  --shadow-lg: 0 12px 32px rgba(9, 63, 60, 0.10), 0 32px 80px rgba(9, 63, 60, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Prevent any decorative element (e.g. the hero chat card pinned
     to `right: -24px`) from creating horizontal scroll on narrow
     phones. `overflow-x: clip` doesn't establish a new scroll
     containing block the way `overflow-x: hidden` does, so the
     scenarios scrolly's sticky positioning still works. */
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Language banner (Apple-style strip above the header) */
.lang-banner {
  background: var(--teal-deep);
  color: rgba(245, 239, 230, 0.9);
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lang-banner span { color: rgba(245, 239, 230, 0.78); }
.lang-banner a {
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 150ms ease;
}
.lang-banner a:hover { color: #fff; }
.lang-banner a span {
  color: inherit;
  transition: transform 200ms ease;
  display: inline-block;
}
.lang-banner a:hover span { transform: translateX(2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow 200ms ease, background 200ms ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(9, 63, 60, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
@media (max-width: 480px) {
  /* On the smallest phones the wordmark + WhatsApp pill + hamburger
     can collide. Drop the wordmark a couple of pixels — the logo
     mark next to it still identifies the brand. */
  .brand { font-size: 17px; gap: 8px; }
  .brand svg { width: 24px; height: 24px; }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 15px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 150ms ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .lang-switch {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.site-nav .nav-cta {
  background: var(--teal);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 150ms ease, transform 150ms ease;
}
.site-nav .nav-cta:hover {
  background: var(--teal-deep);
  color: var(--bg);
}

/* Mobile-only header cluster (WhatsApp CTA + drawer trigger). The
   desktop .site-nav and this .site-nav-mobile swap at the breakpoint
   below; on desktop both .drawer and .drawer-backdrop are display:none. */
.site-nav-mobile {
  display: none;
  align-items: center;
  gap: 10px;
}
.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--bg);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease;
}
.nav-cta-mobile:hover { background: var(--teal-deep); color: var(--bg); }
.drawer-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.drawer-trigger:hover {
  background: var(--bg-soft);
  border-color: var(--ink-soft);
}
.drawer-bars { display: block; }
.drawer-bars .bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), opacity 160ms ease;
}
.drawer-trigger[aria-expanded="true"] .bar-top {
  transform: translateY(5px) rotate(45deg);
}
.drawer-trigger[aria-expanded="true"] .bar-mid { opacity: 0; }
.drawer-trigger[aria-expanded="true"] .bar-bot {
  transform: translateY(-5px) rotate(-45deg);
}

.drawer,
.drawer-backdrop { display: none; }

@media (max-width: 800px) {
  .site-nav { display: none; }
  .site-nav-mobile { display: inline-flex; }

  .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 15, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 49;
  }
  .drawer-backdrop[hidden] { display: block; }
  .drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px clamp(20px, 5vw, 32px) 32px;
    z-index: 50;
    transform: translateY(-100%);
    transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 16px 40px rgba(9, 63, 60, 0.10);
    max-height: 100dvh;
    overflow-y: auto;
  }
  .drawer.is-open { transform: translateY(0); }
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }
  .drawer-title {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 150ms ease;
  }
  .drawer-close:hover { background: var(--bg-soft); }
  .drawer-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
  }
  .drawer-nav a {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drawer-nav a::after {
    content: "›";
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink-mute);
    font-size: 22px;
    transition: transform 200ms ease, color 200ms ease;
  }
  .drawer-nav a:hover { color: var(--teal); }
  .drawer-nav a:hover::after { color: var(--teal); transform: translateX(3px); }
  .drawer-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
  }
  .drawer-foot .lang-switch {
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  .drawer-foot .nav-cta {
    flex: 1;
    background: var(--teal);
    color: var(--bg);
    text-align: center;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
  }

  body.drawer-open { overflow: hidden; }
}


/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px) clamp(60px, 9vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
  font-feature-settings: "ss01", "ss02";
}
.hero .lede {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); }
.hero-note {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 8px 0 24px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-badges li {
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-soft);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #d8c9b1, #b8a78a);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
}
.hero-card-chat {
  right: -24px;
  bottom: -16px;
  width: min(82%, 340px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-us { justify-content: flex-end; }
.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 12px;
}
.chat-bubble {
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 84%;
}
.chat-bubble-us {
  background: #dbf3ec;
  color: var(--teal-deep);
  border-radius: 14px 14px 4px 14px;
}
.chat-time {
  text-align: right;
  font-size: 11px;
  color: var(--ink-mute);
}
.hero-card-stats {
  left: -20px;
  top: -12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(58%, 200px);
}
.stat { display: grid; gap: 2px; }
.stat-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.stat-label { font-size: 12px; color: var(--ink-mute); }

@media (max-width: 900px) {
  .hero-visual { min-height: 380px; max-width: 480px; margin: 0 auto; width: 100%; }
  /* On phones the floating cards eat the hero photo, which is the
     most expensive thing on the page; shrink them and reposition
     so they read as overlays, not full-frame UI elements. */
  .hero-card-chat {
    right: -8px;
    bottom: -8px;
    width: min(68%, 260px);
    padding: 12px 14px;
    border-radius: 14px;
  }
  .hero-card-chat .chat-bubble { font-size: 12px; padding: 6px 10px; }
  .hero-card-chat .chat-time { font-size: 10px; }
  .hero-card-chat .chat-avatar { width: 22px; height: 22px; font-size: 10px; }
  .hero-card-stats {
    left: -8px;
    top: -8px;
    width: min(46%, 150px);
    padding: 10px 12px;
    border-radius: 14px;
    gap: 8px;
  }
  .hero-card-stats .stat-num { font-size: 17px; }
  .hero-card-stats .stat-label { font-size: 11px; line-height: 1.25; }
}

/* Services grid */
.services {
  padding: clamp(60px, 9vw, 120px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.services-intro {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.services-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.services-lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0;
}
/* City marquee — kinetic strip dividing sections */
.marquee {
  background: var(--teal-deep);
  color: var(--bg);
  padding: clamp(22px, 3.4vw, 40px) 0;
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--teal-deep), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--teal-deep), transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  /* Duration is set by JS to keep velocity (~60 px/s) constant
     regardless of viewport / font size. The `s` here is a sane
     fallback before the JS hydrates. */
  animation: marquee-slide var(--marquee-duration, 30s) linear infinite;
  will-change: transform;
}
.marquee-content {
  display: flex;
  align-items: center;
  /* The gap inside each copy + a matching padding-right means the
     seam between copy 1 and copy 2 has identical spacing to the
     seams within a single copy. With two copies we animate to -50%
     and the loop is visually seamless. */
  gap: clamp(32px, 5vw, 80px);
  padding-right: clamp(32px, 5vw, 80px);
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 64px);
  letter-spacing: -0.02em;
  color: var(--bg);
}
.marquee-dot {
  font-style: normal;
  color: var(--coral);
  font-size: 0.5em;
  line-height: 1;
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Scenarios scrolly — paired conditions ("when this happens")
   with responses ("here's what we do"). Photo column is sticky on
   desktop and crossfades via scrollama; on mobile each scene's photo
   renders inline next to its text and the sticky behavior is off. */
.scenarios {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.scenarios-intro {
  max-width: 720px;
  margin: 0 auto clamp(48px, 8vw, 96px);
  text-align: center;
}
.scenarios-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.scenarios-lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 56ch;
}

.scn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.scn-media {
  position: sticky;
  top: 88px;
  height: calc(100vh - 130px);
  min-height: 520px;
  display: grid;
  place-items: center;
}
.scn-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.scn-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 600ms ease, transform 1200ms ease;
}
.scn-figure.is-active {
  opacity: 1;
  transform: scale(1);
}
.scn-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* The inline photo (next to each scene) is desktop-hidden, only used
   in the mobile fallback where the sticky stage is suppressed. */
.scn-step-photo { display: none; }

.scn-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20vh, 30vh, 40vh);
  padding-block: 30vh;
}
.scn-step {
  opacity: 0.35;
  transform: translateY(0);
  transition: opacity 400ms ease, transform 400ms ease;
}
.scn-step.is-active { opacity: 1; }

.scn-tag {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.scn-condition {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.scn-response {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}

@media (max-width: 900px) {
  .scn {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .scn-media { display: none; }
  .scn-steps {
    gap: clamp(60px, 12vw, 100px);
    padding-block: 0;
  }
  /* Step becomes a centered reading column on mobile. The single
     max-width keeps the photo from eating a whole tall phone screen
     and the response from running out to a hard-to-read length, while
     keeping every element inside aligned to the same edges. */
  .scn-step {
    opacity: 1;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
  }
  .scn-step-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
  }
  .scn-step-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* On mobile the response paragraph spans the full step width instead
     of being constrained to the desktop reading column. */
  .scn-response { max-width: none; }
}


/* How it works */
.steps {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.steps-inner { max-width: 1000px; margin: 0 auto; }
.steps h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 48px;
  max-width: 22ch;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}
.step-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-item .step-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.step-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.step-item p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 800px) {
  .steps-list { grid-template-columns: 1fr; }
}

/* Coverage */
.coverage {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.coverage h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.coverage-lede {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 28px;
}
.coverage-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}
.coverage-meta div {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.coverage-meta dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.coverage-meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.coverage-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.coverage-cities li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.coverage-cities strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.coverage-cities span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.coverage-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.coverage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-cities li { grid-template-columns: 1fr; gap: 4px; }
  .coverage-photo { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* Testimonials — dark cinema */
.testimonials {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px);
  background: var(--teal-deep);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 106, 82, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(14, 91, 86, 0.4) 0%, transparent 50%);
  pointer-events: none;
}
.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.testimonials .eyebrow { color: rgba(245, 239, 230, 0.65); }
.testimonials-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.testimonials h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--bg);
  max-width: 18ch;
}
.testimonials-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.t-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 230, 0.25);
  background: transparent;
  color: rgba(245, 239, 230, 0.85);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.t-arrow:hover {
  background: rgba(245, 239, 230, 0.08);
  border-color: rgba(245, 239, 230, 0.5);
  color: var(--bg);
}
.t-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Carousel track — native horizontal scroll with snap-points so it
   works on touch (swipe), trackpad, and clicked arrow buttons alike.
   The arrows just programmatically scroll the track; no JS slide
   state machine needed. */
.testimonials-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials-track:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 8px;
}
.testimonial {
  flex: 0 0 100%;
  width: 100%;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 100%;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--bg);
  padding-left: 0;
  text-wrap: balance;
  max-width: 56ch;
}
.testimonial blockquote::after {
  content: "\201D";
  display: block;
  font-size: 0.9em;
  line-height: 0;
  color: var(--coral);
  margin-top: 0.3em;
}
.testimonial blockquote::before { display: none; }
.testimonial blockquote::after {
  content: "\201D";
  display: block;
  font-size: 1em;
  line-height: 0;
  color: var(--coral);
  margin-top: 0.4em;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.testimonial figcaption div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.testimonial figcaption strong {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--bg);
  font-size: 15px;
}
.testimonial figcaption span {
  color: rgba(245, 239, 230, 0.6);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(245, 239, 230, 0.2);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(20px, 3vw, 28px);
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(245, 239, 230, 0.25);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.t-dot.is-active {
  background: var(--bg);
  transform: scale(1.25);
}

@media (max-width: 640px) {
  .testimonials-controls { display: none; }
}

/* FAQ */
.faq {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
  max-width: 22ch;
}
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 150ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 200ms ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  padding: clamp(60px, 9vw, 110px) clamp(20px, 4vw, 48px);
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: var(--bg);
}
.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.final-cta h2 em {
  font-style: italic;
  font-feature-settings: "ss01";
}
.final-cta p {
  font-size: 17px;
  color: rgba(245, 239, 230, 0.85);
  margin: 0 0 32px;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.final-cta .btn-primary {
  background: var(--bg);
  color: var(--teal-deep);
}
.final-cta .btn-primary:hover {
  background: #fff;
  color: var(--teal-deep);
}
.btn-ghost-light {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(245, 239, 230, 0.3);
}
.btn-ghost-light:hover { border-color: var(--bg); }

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: rgba(245, 239, 230, 0.85);
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px) 32px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--bg);
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 22ch;
}
/* Branded "powered by" badge — leans into ClinDesk's signature
   palette (electric blue → teal → lime gradient, anchored by the
   lime accent). Distinct from regular text links so the cross-link
   reads as a co-brand, not a credit line. */
.powered-badge {
  --cd-blue: #2b7cff;
  --cd-teal: #14a078;
  --cd-lime: #b4dc00;
  --cd-gradient: linear-gradient(120deg, var(--cd-blue) 0%, var(--cd-teal) 55%, var(--cd-lime) 100%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(180, 220, 0, 0.06);
  border: 1px solid rgba(180, 220, 0, 0.22);
  border-radius: 999px;
  text-decoration: none;
  color: rgba(245, 239, 230, 0.72);
  font-size: 12.5px;
  line-height: 1.2;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  max-width: 100%;
}
.powered-badge:hover {
  background: rgba(180, 220, 0, 0.12);
  border-color: rgba(180, 220, 0, 0.55);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(180, 220, 0, 0.06);
}
.powered-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.powered-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.powered-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.powered-brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}
.powered-spark {
  color: var(--cd-lime);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(180, 220, 0, 0.5));
}
.powered-arrow {
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 200ms ease, opacity 200ms ease;
  color: var(--cd-lime);
}
.powered-badge:hover .powered-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.footer-contact a {
  text-decoration: none;
  color: rgba(245, 239, 230, 0.85);
  transition: color 150ms ease;
}
.footer-contact a:hover { color: var(--bg); }
.footer-hours {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}
.footer-hours div { display: grid; gap: 4px; }
.footer-hours dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.55);
}
.footer-hours dd {
  margin: 0;
  color: rgba(245, 239, 230, 0.85);
  line-height: 1.4;
}
.footer-rights {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 12px;
  color: rgba(245, 239, 230, 0.5);
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  padding-top: 20px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-tagline { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-tagline { grid-column: auto; }
}

/* Global reduced-motion: short-circuit transitions and animations,
   disable smooth scrolling, and stop the city marquee outright (it'd
   loop with duration 0.001ms otherwise). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
