/* ==========================================================================
   styles.css — Medical landing-page template
   Mobile-first. Brand colors live in :root — swap them to re-skin the page.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS  (REPLACE these with the practice's brand colors)
   ------------------------------------------------------------------------- */
:root {
  /* Brand */
  --primary:        #0F4F4A;   /* deep evergreen — headings accents, dark sections */
  --primary-dark:   #0A3632;
  --primary-soft:   #E6EFEC;   /* tinted backgrounds for icons */
  --secondary:      #2B6F67;
  --accent:         #B7542A;   /* call-to-action color (white text passes AA) */
  --accent-dark:    #96421F;
  --accent-soft:    #F6E7DF;

  /* Neutrals */
  --background:     #F8F6F2;   /* warm paper */
  --surface:        #FFFFFF;
  --surface-alt:    #F1EEE8;
  --text:           #15222B;
  --text-soft:      #34434D;
  --muted:          #5D6A72;
  --border:         #E2DDD4;
  --border-strong:  #CBC4B8;

  /* Status */
  --success:        #1F7A4D;
  --danger:         #B42318;
  --warning-bg:     #FFF6E5;
  --warning-border: #F0D7A8;

  /* Type */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.05rem, 1.35rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-h3: 1.125rem;
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  /* Shape & depth — restrained */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(21, 34, 43, .06);
  --shadow:    0 1px 2px rgba(21, 34, 43, .05), 0 8px 24px -12px rgba(21, 34, 43, .14);
  --shadow-lg: 0 2px 4px rgba(21, 34, 43, .04), 0 24px 48px -20px rgba(21, 34, 43, .28);

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(64px, 5rem + 3vw, 120px);
  --header-h: 68px;
  --sticky-cta-h: 0px;
  --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) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-cta-h);
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .cta-section :focus-visible { outline-color: #F2C7B3; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--secondary);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.6; }
.fine-print { font-size: .8125rem; color: var(--muted); margin-top: 28px; }

/* -------------------------------------------------------------------------
   3. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); box-shadow: 0 6px 16px -8px rgba(183, 84, 42, .6); }
.btn-primary:hover { --btn-bg: var(--accent-dark); --btn-bd: var(--accent-dark); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: var(--primary); }
.btn-outline:hover { --btn-bg: var(--primary); --btn-fg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn-ghost:hover { --btn-bd: var(--text); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--primary-dark); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: #F1EEE8; --btn-bd: #F1EEE8; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: var(--border-strong); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--primary); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   4. HEADER
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 246, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; min-width: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--primary); position: relative; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: #fff; border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.brand-mark::before { width: 14px; height: 3.5px; }
.brand-mark::after { width: 3.5px; height: 14px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand img { height: 40px; width: auto; }

.primary-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--background); padding: 16px var(--gutter) 32px;
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.primary-nav ul { display: grid; }
.primary-nav ul a { display: block; padding: 14px 4px; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile-actions { display: grid; gap: 12px; margin-top: 24px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--primary); border: 1.5px solid var(--border-strong); text-decoration: none; }
.header-phone-text { display: none; }
.header-cta { display: none; }
.nav-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--text); border-radius: var(--radius); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 600px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .primary-nav { position: static; opacity: 1; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; }
  .primary-nav ul { display: flex; gap: 4px; }
  .primary-nav ul a { padding: 8px 10px; font-family: var(--font-body); font-size: .9375rem; font-weight: 500; border: 0; color: var(--text-soft); border-radius: var(--radius-sm); white-space: nowrap; }
  .brand-name { max-width: 220px; }
  .header-phone-text { white-space: nowrap; }
  .primary-nav ul a:hover { color: var(--text); background: var(--surface-alt); }
  .nav-mobile-actions, .nav-toggle { display: none; }
  .brand { margin-right: 24px; }
  .primary-nav { margin-right: auto; }
  .header-phone { width: auto; height: auto; border: 0; gap: 10px; padding: 4px 8px; }
  .header-phone .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--primary-soft); }
  .header-phone-text { display: grid; line-height: 1.2; font-weight: 700; color: var(--text); }
  .header-phone-label { font-size: .75rem; font-weight: 500; color: var(--muted); }
  .header-actions { gap: 16px; }
}
@media (min-width: 1080px) and (max-width: 1319px) {
  .header-phone-text { display: none; }
  .header-phone .icon { width: 44px; height: 44px; padding: 11px; }
}

/* -------------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 28px 0 56px;
  background:
    radial-gradient(900px 480px at 92% -10%, rgba(15, 79, 74, .07), transparent 70%),
    var(--background);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 32px; align-items: start; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text-soft); }
.hero h1 { margin-bottom: 18px; max-width: 16ch; }
.hero-lead { font-size: var(--fs-lead); color: var(--text-soft); max-width: 54ch; margin-bottom: 24px; }

.value-list { display: grid; gap: 10px; margin-bottom: 28px; }
.value-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--text); }
.value-list .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--primary); color: #fff; stroke-width: 2.5; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 220px; }

.hero-proof { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .9375rem; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.hero-proof:hover { border-color: var(--border-strong); color: var(--text); }
.hero-proof-faces { display: flex; }
.hero-proof-faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); margin-left: -10px; background: var(--surface-alt); }
.hero-proof-faces img:first-child { margin-left: 0; }

.hero-media { margin: 32px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Form card */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px;
  position: relative;
}
.form-card::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.form-card-head { margin-bottom: 18px; }
.form-title { font-size: 1.375rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .9375rem; margin: 0; }
.emergency-inline { display: flex; gap: 8px; align-items: flex-start; margin: 14px 4px 0; font-size: .8125rem; color: var(--muted); }
.emergency-inline .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }

/* Mobile/tablet: bring the form up right after the headline so it's reachable
   without a long scroll; value points and secondary CTAs follow it. */
@media (max-width: 959px) {
  .hero-copy { display: contents; }
  .hero-grid { gap: 0; }
  .hero-grid > * { min-width: 0; }
  .breadcrumb, .hero .eyebrow, .hero h1 { order: 1; }
  .hero-lead { order: 2; margin-bottom: 24px; }
  .hero-form-wrap { order: 3; margin-bottom: 32px; }
  .value-list { order: 4; }
  .hero-actions { order: 5; }
  .hero-proof { order: 6; justify-self: start; }
  .hero-media { order: 7; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); gap: 56px; }
  .hero-copy { padding-top: 24px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .form-card { padding: 32px 30px; }
  .hero-form-wrap { position: relative; }
}
@media (min-width: 1200px) {
  .hero-grid { gap: 88px; }
}

/* -------------------------------------------------------------------------
   6. FORMS
   ------------------------------------------------------------------------- */
.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; /* 16px prevents iOS zoom */
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6A72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field select:invalid, .field select option[value=""] { color: var(--muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 79, 74, .16); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field.has-error input:focus, .field.has-error select:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.field.is-valid input { border-color: var(--success); }
.field-error { margin: 0; font-size: .8125rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }

.field-more summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--primary); list-style: none; display: inline-flex; gap: 6px; align-items: center; padding: 4px 0; }
.field-more summary::-webkit-details-marker { display: none; }
.field-more summary::before { content: "+"; font-size: 1.1rem; line-height: 1; }
.field-more[open] summary::before { content: "−"; }
.field-more .field { margin-top: 8px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form button[type="submit"] { position: relative; margin-top: 4px; }
.spinner { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.lead-form.is-loading .spinner { display: inline-block; }
.lead-form.is-loading button[type="submit"] { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.privacy-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.privacy-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--radius); font-size: .9375rem; background: #FDECEA; color: var(--danger); border: 1px solid #F5C2BD; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #E3F2EA; color: var(--success); }
.success-icon .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.25rem; }
.form-success p { color: var(--text-soft); margin: 0; }

/* -------------------------------------------------------------------------
   7. TRUST BAR
   ------------------------------------------------------------------------- */
.trust-bar { background: var(--surface); border-block: 1px solid var(--border); padding: 20px 0; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.trust-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); }
.badge-list { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.badge-list li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); }
.badge-list img { height: 40px; width: auto; }
@media (min-width: 900px) {
  .trust-bar { padding: 26px 0; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li + li { border-left: 1px solid var(--border); padding-left: 20px; }
}

/* -------------------------------------------------------------------------
   8. SECTIONS (shared)
   ------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .lead { margin: 0; }
.section-head-split { max-width: none; display: grid; gap: 12px 48px; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head-split h2 { margin-bottom: 0; }
  .section-head { margin-bottom: 56px; }
}
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 20px; margin-top: 48px; }
.center-cta-or { color: var(--muted); }
.center-cta-or a { font-weight: 600; }

/* -------------------------------------------------------------------------
   9. PROBLEM
   ------------------------------------------------------------------------- */
.problem-grid { display: grid; gap: 40px; }
.problem-copy h2 { max-width: 20ch; }
.problem-note { font-size: .9375rem; color: var(--muted); border-left: 3px solid var(--border-strong); padding-left: 14px; }
.problem-note:empty { display: none; }
.problem-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.panel-title { font-family: var(--font-body); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.symptom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.symptom-grid li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--background); border: 1px solid var(--border); font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.symptom-grid .icon { width: 36px; height: 36px; padding: 8px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-dark); }
.emergency-card { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--warning-bg); border: 1px solid var(--warning-border); font-size: .875rem; line-height: 1.5; color: #5C4310; }
.emergency-card p { margin: 0; }
.emergency-card .icon { width: 20px; height: 20px; color: #A86A00; margin-top: 1px; }
@media (min-width: 960px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .problem-panel { padding: 32px; }
}

/* -------------------------------------------------------------------------
   10. CONDITIONS GRID
   ------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.condition-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.condition-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.condition-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); margin-bottom: 4px; }
.condition-card h3 { margin: 0; }
.condition-card p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.condition-card a { font-size: .875rem; font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 4px; }
.condition-card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* -------------------------------------------------------------------------
   11. TIMELINE (vertical mobile → horizontal desktop)
   ------------------------------------------------------------------------- */
.timeline { display: grid; gap: 0; counter-reset: step; position: relative; }
.timeline li { position: relative; padding: 0 0 32px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .9375rem;
  color: var(--primary); background: var(--surface); border: 1.5px solid var(--primary); border-radius: 50%;
  z-index: 1;
}
.timeline li:first-child::before { background: var(--primary); color: #fff; }
.timeline li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(var(--border-strong), var(--border)); }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: 8px 0 6px; font-size: 1.1875rem; }
.timeline p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .timeline li { padding: 68px 0 0; }
  .timeline li::before { width: 52px; height: 52px; font-size: 1rem; }
  .timeline li::after { left: 60px; right: -24px; top: 25px; bottom: auto; width: auto; height: 2px; background: var(--border-strong); }
}

/* -------------------------------------------------------------------------
   12. VIDEO — featured + library (dark section)
   ------------------------------------------------------------------------- */
.section-dark { background: var(--primary-dark); color: #E7EFEC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #C3D3CF; }
.section-dark .eyebrow { color: #9EC9BF; }

.featured-video { display: grid; gap: 20px; }
@media (min-width: 1000px) { .featured-video { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; } }

/* Lite YouTube player — thumbnail first, iframe on click */
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #0b1a18;
  border: 0; padding: 0; cursor: pointer; color: #fff;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.yt:hover img { transform: scale(1.03); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.yt-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .95); color: var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease), background-color .2s;
}
.yt-play .icon { width: 28px; height: 28px; margin-left: 4px; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.yt-sm .yt-play { width: 48px; height: 48px; }
.yt-sm .yt-play .icon { width: 20px; height: 20px; }
.yt-badge { position: absolute; z-index: 1; right: 10px; bottom: 10px; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .7); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing::after, .yt.is-playing .yt-play { display: none; }

.featured-main .yt { border-radius: var(--radius-lg); }
.featured-meta { padding: 18px 2px 0; }
.featured-meta .tag { margin-bottom: 8px; }
.featured-meta h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); margin-bottom: 6px; }
.featured-meta p { color: #C3D3CF; margin: 0; }

.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #9EC9BF; }

.featured-list { display: grid; gap: 4px; }
.featured-list button {
  width: 100%; display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center;
  text-align: left; padding: 8px; border-radius: var(--radius);
  background: transparent; border: 1px solid transparent; color: #E7EFEC;
  transition: background-color .2s, border-color .2s;
}
.featured-list button:hover { background: rgba(255, 255, 255, .06); }
.featured-list button[aria-current="true"] { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); }
.featured-list .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #0b1a18; }
.featured-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-list .thumb .icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--accent); }
.featured-list .title { font-weight: 600; font-size: .9375rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-list .now { display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: #F2C7B3; margin-bottom: 2px; font-weight: 700; }
@media (max-width: 999px) {
  .featured-list { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .featured-list li { scroll-snap-align: start; }
  .featured-list button { grid-template-columns: 1fr; }
}

.library-toggle { display: flex; justify-content: center; margin-top: 40px; }
.library-toggle .icon { transition: transform .25s var(--ease); }
.library-toggle [aria-expanded="true"] .icon { transform: rotate(180deg); }
.library-toggle .count { font-weight: 500; opacity: .7; }

.video-library { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.chip {
  flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #E7EFEC;
  font-size: .875rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: rgba(255, 255, 255, .6); }
.chip[aria-pressed="true"] { background: #fff; color: var(--primary-dark); border-color: #fff; }
.chip .n { opacity: .6; font-weight: 500; margin-left: 4px; }

.video-grid { display: grid; gap: 28px 20px; }
@media (min-width: 600px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card h3 { font-size: 1.0625rem; margin: 14px 0 6px; }
.video-card p { font-size: .9375rem; color: #C3D3CF; margin: 0; }
.video-card .tag { margin-top: 14px; }
.video-card .tag + h3 { margin-top: 4px; }
.library-more { display: flex; justify-content: center; margin-top: 36px; }

/* -------------------------------------------------------------------------
   13. TREATMENTS
   ------------------------------------------------------------------------- */
.treatment-grid { display: grid; border-top: 1px solid var(--border); }
.treatment-item { display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.treatment-item .icon { grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--primary); }
.treatment-item h3 { margin: 2px 0 0; }
.treatment-item p { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (min-width: 700px) {
  .treatment-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1080px) {
  .treatment-grid { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .treatment-item { padding: 28px 0; }
}

/* -------------------------------------------------------------------------
   14. TESTIMONIALS
   ------------------------------------------------------------------------- */
.testimonial-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-sm); }
.testimonial-card .yt { aspect-ratio: 4 / 5; border-radius: var(--radius); }
@media (max-width: 699px) { .testimonial-card .yt { aspect-ratio: 16 / 10; } }
.testimonial-card .yt img { object-position: center 30%; }
.testimonial-body { padding: 14px 8px 6px; }
.testimonial-body blockquote { margin: 0 0 10px; font-size: .9375rem; color: var(--text-soft); }
.testimonial-name { font-weight: 700; margin: 0; }
.testimonial-ctx { font-size: .8125rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------------------
   15. DOCTOR
   ------------------------------------------------------------------------- */
.doctor-grid { display: grid; gap: 36px; align-items: center; }
.doctor-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-alt); position: relative; max-width: 480px; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo.is-placeholder { display: grid; place-items: center; border: 1px dashed var(--border-strong); background: linear-gradient(160deg, var(--primary-soft), var(--surface-alt)); }
.doctor-photo.is-placeholder .icon { width: 96px; height: 96px; color: var(--secondary); opacity: .35; stroke-width: 1; }
.doctor-name { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.doctor-specialty { color: var(--secondary); font-weight: 600; margin: 2px 0 16px; }
.doctor-name:empty, .doctor-specialty:empty, .doctor-bio:empty { display: none; }
.doctor-bio { color: var(--text-soft); font-size: 1.0625rem; }
.doctor-facts { display: grid; gap: 0; margin: 24px 0; border-top: 1px solid var(--border); }
.doctor-facts:empty { display: none; }
.doctor-facts div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.doctor-facts dt { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.doctor-facts dd { margin: 0; font-weight: 500; }
.doctor-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 8px; }
@media (min-width: 600px) { .doctor-facts div { grid-template-columns: 180px 1fr; gap: 16px; } }
@media (min-width: 900px) {
  .doctor-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
}

/* -------------------------------------------------------------------------
   16. WHY CHOOSE US
   ------------------------------------------------------------------------- */
.why-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.why-grid li { background: var(--surface); padding: 28px 24px; }
.why-grid .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.why-grid h3 { margin-bottom: 6px; }
.why-grid p { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } .why-grid li { padding: 36px 32px; } }

/* -------------------------------------------------------------------------
   17. FAQ ACCORDION
   ------------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 36px; }
.faq-intro .btn { margin-top: 4px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; color: var(--text); letter-spacing: -.01em;
}
.acc-trigger:hover { color: var(--primary); }
.acc-sign { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border-strong); position: relative; transition: background-color .2s, border-color .2s; }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; transition: transform .25s var(--ease); }
.acc-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-sign { background: var(--primary); border-color: var(--primary); color: #fff; }
.acc-trigger[aria-expanded="true"] .acc-sign::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 48px 24px 0; color: var(--text-soft); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* -------------------------------------------------------------------------
   18. FINAL CTA
   ------------------------------------------------------------------------- */
.cta-section {
  padding-block: var(--section-y);
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(255,255,255,.06), transparent 60%),
    var(--primary);
  color: #E7EFEC;
}
.cta-section h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 18ch; }
.cta-section .lead { color: #CFE0DB; max-width: 48ch; }
.cta-grid { display: grid; gap: 40px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: #CFE0DB; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 3px; color: #9EC9BF; }
.contact-list a { color: #fff; }
.form-card-compact { color: var(--text); }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1fr minmax(380px, 460px); gap: 80px; } }

/* -------------------------------------------------------------------------
   19. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: #0D1B19; color: #A9BAB6; padding: 56px 0 24px; font-size: .9375rem; }
.site-footer a { color: #E7EFEC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-address { font-style: normal; margin-bottom: 10px; line-height: 1.6; }
.footer-phone { font-weight: 700; font-size: 1.0625rem; }
.footer-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.site-footer nav ul, .footer-hours { display: grid; gap: 8px; }
.footer-legal { padding-top: 24px; font-size: .8125rem; color: #8DA09B; }
.footer-legal p { margin-bottom: 8px; max-width: 90ch; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* -------------------------------------------------------------------------
   20. MOBILE STICKY CTA
   ------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -12px rgba(21,34,43,.25);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 50px; padding-inline: 12px; }
body.has-sticky-cta { --sticky-cta-h: 76px; }
@media (min-width: 900px) { .mobile-cta { display: none; } body.has-sticky-cta { --sticky-cta-h: 0px; } }

/* -------------------------------------------------------------------------
   21. MOTION (subtle; disabled for reduced-motion)
   ------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .condition-card:hover { transform: none; }
}

/* -------------------------------------------------------------------------
   22. PRINT
   ------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-cta, .hero-form-wrap, .cta-section .form-card, .featured-video, .library-toggle, .video-library { display: none !important; }
  .acc-panel { grid-template-rows: 1fr !important; }
  body { background: #fff; }
}