/* =========================================================
   Grin & Brace — design system (landing pages + main site)
   Fonts: Newsreader (headings), DM Sans (body)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap");

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --green-900: #12291F;   /* footer */
  --green-800: #183530;   /* hero, dark bands, primary text on light */
  --green-700: #2A4A44;
  --ink:       #1E3530;   /* body headings */
  --body:      #4A5B57;   /* body text (AA on cream/white) */
  --muted:     #6B7A76;
  --on-dark:   #C8D3CF;   /* body text on green */
  --on-dark-2: #A9B8B3;

  --gold:      #C9A766;   /* primary button, accents on dark */
  --gold-soft: #D9BE86;   /* italic headline accent on dark */
  --gold-ink:  #7A5E2C;   /* gold for TEXT on light backgrounds (eyebrows, links) */
  --gold-icon: #9A7A3E;   /* icon strokes on light */

  --cream:     #F7F3EA;   /* page background */
  --sand:      #EFE9DC;   /* alternate section */
  --white:     #FFFFFF;
  --line:      #E6E0D2;
  --line-2:    #DDD5C4;
  --field:     #CFC8B8;

  --whatsapp:  #1F7A4D;

  /* Type */
  --serif: "Newsreader", Georgia, serif;
  --sans:  "DM Sans", system-ui, sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --pill:      999px;

  /* Layout */
  --container: 1240px;
  --gutter:    24px;
  --section-y: 96px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); }
a:hover { color: #5C4620; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- 3. Typography ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); }

.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h1 em, .h1 .accent { font-style: italic; color: var(--gold-soft); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
}
.h3-serif {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.2;
}
.h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 560px; }
.text { color: var(--body); }
.small { font-size: 14px; line-height: 1.5; color: var(--body); }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head--split {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-head--split > p { max-width: 420px; margin: 0; color: var(--body); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 17px; height: 17px; flex: none; }

/* Primary = gold. Use for ONE action only: the booking CTA */
.btn--primary { background: var(--gold); color: var(--green-800); font-weight: 700; }
.btn--primary:hover { background: #BB9852; color: var(--green-800); }
.btn--lg { min-height: 54px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--outline { background: transparent; border-color: var(--green-800); color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--white); }

.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: #18663F; color: var(--white); }

/* On dark backgrounds */
.btn--ghost-light { background: transparent; border-color: rgba(201,167,102,.5); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--green-800);
}

/* ---------- 5. Landing-page header (no nav) ---------- */
.lp-header { background: var(--green-800); border-bottom: 1px solid rgba(255,255,255,.08); }
.lp-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.lp-header__logo img { height: 34px; width: auto; }   /* original logo file, no CSS filter */
.lp-header__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream); text-decoration: none; font-weight: 500; font-size: 15px;
}
.lp-header__phone svg { stroke: var(--gold); }
.lp-header__phone:hover { color: var(--white); }

/* ---------- 6. Hero ---------- */
.hero { background: var(--green-800); color: var(--cream); }
.hero__inner {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start;
  padding-top: 64px; padding-bottom: 72px;
}
.hero__copy {
  flex: 1 1 520px; min-width: 0;
  display: flex; flex-direction: column; gap: 24px; padding-top: 12px;
}
.hero .eyebrow { color: var(--gold); }
.hero .h1 { color: var(--white); }
.hero .lead { color: var(--on-dark); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(201,167,102,.45);
  border-radius: var(--pill);
  font-size: 14px; color: var(--cream);
}
.badge svg { width: 16px; height: 16px; stroke: var(--gold); flex: none; }

.hero__reassure {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 15px; line-height: 1.5; color: var(--on-dark);
}
.hero__reassure img { width: 56px; height: 56px; border-radius: var(--pill); object-fit: cover; flex: none; }
.hero__reassure strong { color: var(--white); font-weight: 600; }

/* ---------- 7. Forms ---------- */
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.hero .form-card {
  flex: 1 1 380px; max-width: 460px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.form-card__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 28px; line-height: 1.15; color: var(--green-800);
}
.form-card__sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input,
.field select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;               /* 16px stops iOS zoom on focus */
  color: var(--ink);
}
.field select { padding: 0 10px; }
.field input:focus,
.field select:focus { outline: none; border: 2px solid var(--green-800); padding-left: 13px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.45; color: var(--body);
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green-800); flex: none; }

.form-divider {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--muted);
}
.form-divider::before, .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-alt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-note { margin: 0; font-size: 13px; color: var(--body); text-align: center; }

/* ---------- 8. Fact strip (under hero) ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts__inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; padding-top: 28px; padding-bottom: 28px;
}
.fact { display: flex; gap: 14px; align-items: center; }
.fact svg { width: 34px; height: 34px; stroke: var(--gold-icon); flex: none; }
.fact__title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.fact__sub { font-size: 14px; color: var(--body); }

/* ---------- 9. Sections + backgrounds ---------- */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section > .container { display: flex; flex-direction: column; gap: 40px; }
.section--white { background: var(--white); }
.section--sand  { background: var(--sand); }
.section--dark  { background: var(--green-800); color: var(--cream); }
.section--dark .h2, .section--dark .h3 { color: var(--white); }
.section--dark .text, .section--dark p { color: var(--on-dark); }
/* Rhythm: cream → white → cream → dark → cream → sand. Max two dark bands per page. */

/* ---------- 10. Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.section--white .card { background: var(--cream); }
.card svg.icon { width: 40px; height: 40px; stroke: var(--gold-icon); }
.card p { margin: 0; font-size: 16px; color: var(--body); }

.card--outline {
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 24px;
  gap: 10px;
}
.card__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold-icon); }
.card--outline p { font-size: 15px; line-height: 1.55; }

/* ---------- 11. Steps ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.split > * { flex: 1 1 420px; min-width: 0; }

.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  flex: none; width: 40px; height: 40px; border-radius: var(--pill);
  background: var(--green-800); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }

.photo { border-radius: var(--radius-xl); object-fit: cover; width: 100%; height: 100%; min-height: 420px; }

/* ---------- 12. Doctor ---------- */
.doctor { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.doctor__photo { flex: 1 1 360px; max-width: 460px; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); object-fit: cover; }
.doctor__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.doctor__name { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 48px); line-height: 1.05; }
.doctor__creds { margin: 0; font-size: 16px; font-weight: 600; color: var(--green-800); }
.doctor__quote {
  margin: 8px 0 0; padding: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 24px; line-height: 1.45; color: var(--ink);
}
.doctor__quote::before {
  content: "\201C"; display: block;
  font-size: 64px; line-height: .6; color: var(--gold); font-style: normal;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; background: var(--white); border-radius: var(--pill); font-size: 14px; }

/* ---------- 13. "Why" points (dark band) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.why {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(201,167,102,.5);
}
.why svg { width: 30px; height: 30px; stroke: var(--gold-soft); }
.why h3 { font-size: 19px; font-weight: 700; color: var(--white); }
.why p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark); }

/* ---------- 14. FAQ (use <details>/<summary>, no JS needed) ---------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.faq-layout__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.faq-layout__list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line-2); }

.faq { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 0;
  font-size: 18px; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-size: 26px; font-weight: 400; line-height: 1; color: var(--gold-icon);
}
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0; padding: 0 40px 22px 0; font-size: 16px; line-height: 1.65; color: var(--body); }

.help-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.help-card a { font-weight: 700; font-size: 18px; color: var(--green-800); text-decoration: none; }

/* ---------- 15. Final CTA + location ---------- */
.cta-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.cta-layout .form-card { flex: 1 1 420px; max-width: 520px; padding: 36px; }
.cta-layout__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.map { width: 100%; min-height: 260px; flex: 1 1 auto; border: 0; border-radius: var(--radius-xl); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.info-grid .eyebrow { font-size: 12px; letter-spacing: .14em; margin-bottom: 6px; }
.info-grid p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ---------- 16. Footer ---------- */
.lp-footer { background: var(--green-900); color: var(--on-dark-2); font-size: 14px; }
.lp-footer__inner {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  padding-top: 32px; padding-bottom: 32px;
}
.lp-footer a { color: var(--gold-soft); }

/* ---------- 17. Mobile sticky bar ---------- */
.sticky-bar { display: none; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 900px) {
  :root { --section-y: 72px; }
  .hero__inner { gap: 32px; padding-top: 32px; padding-bottom: 40px; }
  .hero .form-card { max-width: none; }
  .doctor { gap: 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 56px; }
  body { font-size: 16px; padding-bottom: 76px; }   /* room for sticky bar */
  .lead { font-size: 16px; }
  .lp-header__phone span { display: none; }         /* icon only on phone */
  .form-card { padding: 22px 20px; }
  .form-card__title { font-size: 23px; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .faq summary { font-size: 16px; }
  .faq p { padding-right: 0; }

  .sticky-bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0,0,0,.12);
  }
  .sticky-bar .btn { min-height: 48px; padding: 0 8px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Main-site and existing-content adapters. This is the sole stylesheet; no Version 1 CSS is retained. */
[hidden]{display:none!important}
[id]{scroll-margin-top:24px}
p{margin:0 0 1em}
.hero__copy p{margin:0}
.hero__copy .hero-note,.hero__copy .small{color:var(--on-dark)}
.hero .doctor__creds{color:var(--gold-soft)}
.hero .text-link{color:var(--gold-soft)}
.hero .btn--outline{border-color:var(--gold-soft);color:var(--cream)}
.hero .form-card .btn--outline{color:var(--green-800);border-color:var(--green-800)}
.section .h1 em{color:var(--gold-ink)}
.hero .h1 em{color:var(--gold-soft)}
.doctor__quote::before,.card__num{color:var(--gold-ink)}
.card__num::before{content:attr(data-number)}
.hero__inner>.lp-placeholder{flex:0 0 100%;width:100%;min-width:0}
.lp-placeholder,.treatment-placeholder,.card-photo-placeholder{position:relative;display:grid;place-items:center;min-height:190px;padding:28px;border:1.5px dashed var(--gold-ink);border-radius:var(--radius-lg);background:var(--sand);color:var(--body);text-align:center;overflow:hidden}
.pending-photo{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;opacity:0}
.lp-placeholder>span,.treatment-placeholder>span,.card-photo-placeholder>span{position:relative}
.form-status{margin:0;color:#8B3027;font-size:14px;line-height:1.5}
.form-status:empty{display:none}
.form-status a{color:inherit}
.form-card .btn:disabled{opacity:.6;cursor:wait}
.lp-header__phone{white-space:nowrap}
.lp-header__phone>svg{width:18px;height:18px}
.site-header .lp-header__inner{gap:22px}
.brand img{width:190px;height:auto}
.desktop-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.desktop-nav a{color:var(--cream);font-size:14px;text-decoration:none}
.desktop-nav a:hover,.desktop-nav a[aria-current=page]{color:var(--gold-soft)}
.mobile-menu{display:none;background:transparent;border:1px solid var(--gold);border-radius:var(--radius-sm);color:var(--cream);padding:10px 14px;font:inherit}
.mobile-menu svg{width:18px;height:18px;vertical-align:middle;margin-left:5px}
.menu-panel{display:flex;flex-wrap:wrap;gap:20px;padding:8px var(--gutter) 20px;max-width:var(--container);margin:auto}
.menu-panel a{color:var(--cream);text-decoration:none}
.skip-link{position:absolute;left:20px;top:-100px;background:var(--green-800);color:var(--white);padding:12px;z-index:100}
.skip-link:focus{top:12px}
main>.container:has(>.hero){max-width:none;padding:0}
.breadcrumbs,.jump-nav{max-width:var(--container);margin:auto;padding:20px var(--gutter);font-size:14px;display:flex;gap:12px;flex-wrap:wrap}
.breadcrumbs span{color:var(--gold-ink)}
.hero__inner>.home-image,.hero__inner>.hero-visual,.hero__inner>.doctor-image{flex:1 1 440px;min-width:0;margin:0}
.home-image img,.hero-visual img:not(.pending-photo),.doctor-image img{width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:var(--radius-xl)}
.hero-visual.treatment-placeholder{min-height:330px}
.clinic-photo-caption{font-size:14px;margin:12px 0 0;color:var(--on-dark)}
.hero-actions,.contact-options{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.doctor__photo{min-width:0;width:100%;height:auto}
.doctor__body p{margin:0;color:var(--body)}
.section--dark .card{background:transparent;border:1px solid rgba(201,167,102,.35)}
.section--dark .card h3,.section--dark h2,.section--dark .h3-serif{color:var(--white)}
.section--dark .card p,.section--dark .small{color:var(--on-dark)}
.section--dark .text-link{color:var(--gold-soft)}
.section--dark .btn--outline{border-color:var(--gold-soft);color:var(--cream)}
.section--dark .eyebrow{color:var(--gold)}
.treatment-card,.directory-card,.guide-card,.concern-link{text-decoration:none;color:var(--ink)}
.treatment-card .picture{overflow:hidden;border-radius:var(--radius)}
.treatment-card .picture>img{width:100%;height:220px;object-fit:cover}
.treatment-card .soft-link{color:var(--gold-ink);font-weight:600}
.photo-grid,.photo-strip,.photo-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.photo-grid figure,.photo-strip figure,.instrument-photo{margin:0}
.photo-grid img,.photo-strip img,.photo-story img{width:100%;height:350px;object-fit:cover;border-radius:var(--radius-lg)}
figcaption{margin-top:10px;font-size:14px;color:var(--body)}
.clinic-photo-group{margin:0 0 44px}.clinic-photo-group h2{margin-bottom:24px}
.clinic-story,.visit{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.clinic-story>*,.visit>*{flex:1 1 420px;min-width:0}
.clinic-story img,.visit-photo,.instrument-photo img{width:100%;height:auto;max-height:480px;object-fit:cover;border-radius:var(--radius-xl)}
.visit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}
.map-card{padding:28px;background:var(--white);border-radius:var(--radius-lg);border:1px solid var(--line)}
.map-card iframe{width:100%;min-height:300px;border:0;border-radius:var(--radius)}
.map-note,.field-note{font-size:14px;color:var(--body)}
.guide-article,.privacy-content{max-width:850px;display:block!important}
.guide-article>.h1,.privacy-content>.h1{margin:16px 0 28px}
.guide-article nav{padding:24px;background:var(--sand);border-radius:var(--radius);margin:28px 0}
.guide-article section{margin:42px 0}.guide-article .h2,.privacy-content .h2{margin:28px 0 18px}
.guide-article p,.privacy-content p{color:var(--body)}
.callout-box{margin:32px 0;padding:24px;background:var(--sand);border-left:3px solid var(--gold-ink);border-radius:var(--radius-sm)}
.page-title{padding-top:56px;padding-bottom:48px}.page-title>.h1{max-width:850px;margin:18px 0 24px}
.directory-filter{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}
.directory-filter button{font:inherit;border:1px solid var(--line-2);padding:12px 18px;border-radius:var(--pill);background:var(--white);color:var(--ink);cursor:pointer}
.directory-filter button[aria-pressed=true]{background:var(--green-800);color:var(--white)}
.footer-grid{width:100%}.footer-grid a:not(.brand){display:block;text-decoration:none;margin:9px 0;font-size:14px}
.footer-grid h3{color:var(--cream);margin-bottom:16px}.footer-grid p{font-size:14px}
.footer-bottom{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;border-top:1px solid rgba(255,255,255,.12);padding-top:24px}
.whatsapp-float{position:fixed;right:24px;bottom:24px;z-index:30}
.related{gap:24px!important}.related>div{flex:0 1 auto}
.lp-thankyou-content{max-width:950px;padding:70px var(--gutter)}
.lp-thankyou-content>.h1{margin:16px 0 28px}
.lp-thankyou-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:40px}.lp-thankyou-grid .h2{margin:24px 0 16px}
@media(max-width:1100px){.site-header .desktop-nav{display:none}.site-header .header-inner>.btn{display:none}.mobile-menu{display:block}.site-header .lp-header__inner{padding-top:16px;padding-bottom:16px}}
@media(max-width:640px){
 .brand img{width:165px}.lp-header__logo img{height:28px}.lp-header__actions{gap:12px}.lp-header__inner{gap:12px}
 .lp-header__actions>.btn{font-size:14px;padding:10px 14px}.lp-header__actions{width:100%;justify-content:space-between}
 .lp-header__phone{font-size:14px}.lp-header__phone span{display:inline}
 .site-header .lp-header__actions{width:auto}
 .hero__inner>.home-image,.hero__inner>.hero-visual,.hero__inner>.doctor-image{flex-basis:100%}
 .home-image img,.hero-visual img:not(.pending-photo),.doctor-image img{max-height:340px}
 .hero-visual.treatment-placeholder{min-height:220px}.doctor__photo{max-width:100%;max-height:400px;object-position:center}
 .cta-layout .form-card{padding:22px 20px;min-width:0;max-width:100%}
 .photo-grid,.photo-strip,.photo-story,.lp-thankyou-grid{grid-template-columns:1fr}
 .photo-grid img,.photo-strip img,.photo-story img{height:290px}
 .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}
 .whatsapp-float{display:none}.menu-panel{display:grid;grid-template-columns:1fr 1fr;gap:15px}
 .lp-thankyou-content{padding-top:42px}.info-grid{grid-template-columns:1fr}
 .hero-actions .btn{width:100%}.fact{min-width:0}.facts__inner{grid-template-columns:1fr}
}
@media(max-width:1100px){.site-header .header-inner>.mobile-menu{display:inline-flex;align-items:center;gap:5px;color:var(--cream);border-color:var(--gold);min-height:44px}}

/* Requested Version 2 landing-page phone layout; design tokens remain unchanged. */
.eyebrow--mobile{display:none}
@media(max-width:640px){
 .lp-page .lp-header__actions>.btn{display:none}
 .lp-page .lp-header__actions{width:auto}
 .lp-page .lp-header__inner{flex-wrap:nowrap;padding-top:14px;padding-bottom:14px}
 .lp-page .hero__inner{padding-top:22px;gap:22px}
 .lp-page .hero__copy{padding-top:0;gap:14px}
 .lp-page .hero .h1{font-size:32px;line-height:1.05}
 .lp-page .hero .lead{font-size:16px;line-height:1.45}
 .lp-page .badges{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:4px}
 .lp-page .badge{flex:none;white-space:nowrap;padding:7px 10px;font-size:12px}
 .lp-page .eyebrow--desktop{display:none}
 .lp-page .eyebrow--mobile{display:block;letter-spacing:.1em}
 .lp-page .hero .form-card{padding:20px;gap:12px}
 .lp-page .hero .form-card__title{font-size:23px}
 .lp-page .hero .field-row{grid-template-columns:1fr}
 .lp-page .hero .field input{width:100%;min-width:0}
}

/* Educational implant diagrams preserve their complete labels at all sizes. */
.implant-visual{width:100%;flex:0 0 100%;min-width:0}.implant-visual img{display:block;width:100%;height:auto;border-radius:var(--radius-xl)}

.aligner-stock-visual{flex:1 1 440px;min-width:0;width:100%;margin:0}.aligner-stock-visual img{width:100%;height:420px;object-fit:cover;object-position:50% 56%;border-radius:var(--radius-xl)}.lp-page .hero__inner>.aligner-stock-visual{flex:0 0 100%}@media(max-width:640px){.aligner-stock-visual{flex-basis:100%}.aligner-stock-visual img{height:280px}}

/* Review fixes: full-size diagrams, call-first acute care and usable mobile fields. */
#full-arch-options .card{margin:0;align-self:start}
#full-arch-options .card img{display:block;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;aspect-ratio:auto}
.urgent-call{align-self:flex-start;min-height:56px;font-size:19px;font-weight:700}
.hero .urgent-call{border-color:var(--gold-soft);color:var(--cream)}
.process-photo{min-height:0;height:auto;object-fit:cover;align-self:stretch}
@media(max-width:640px){
 .field-row,.lp-page .hero .field-row{grid-template-columns:1fr}
 .field input,.field select{width:100%;min-width:0}
 .hero .urgent-call{align-self:stretch;width:100%}
 .process-photo{height:auto;min-height:0;max-height:none}
}

/* Shared layout repairs: content determines section height on desktop and mobile. */
.section>.container.related{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px}
.related>div{min-width:0}.related .contact-options{justify-content:flex-end}
.contact-invitation .h2{margin:10px 0 16px}.contact-invitation p:last-child{margin-bottom:0}
.directory-card .text-link{margin-top:auto}
.doctor-care-links{display:flex;flex-wrap:wrap;gap:14px 24px}.doctor-care-links a{font-weight:600}
.urgent-notice{background:var(--sand);padding:24px 0;border-bottom:1px solid var(--line)}
.urgent-notice .container{max-width:1000px}.urgent-notice .h3{margin:0 0 10px;font-size:18px}.urgent-notice p{max-width:78ch;font-size:16px;line-height:1.55;margin:0;color:var(--body)}
.lp-header__logo img,.site-header .brand img{width:240px;height:auto;max-width:100%}
.lp-header__context{font-size:14px;color:var(--on-dark);margin:6px 0 0}
.lp-header__inner{padding-top:16px;padding-bottom:16px}
.aligner-stock-visual{max-width:900px;margin-inline:auto;background:#254D47;border-radius:var(--radius-xl);overflow:hidden}
.aligner-stock-visual img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;aspect-ratio:auto}
.implant-treatment-picture{background:var(--sand)}
.treatment-card .picture.implant-treatment-picture>img{height:auto;aspect-ratio:3/2;object-fit:contain}
@media(max-width:900px){.section>.container.related{grid-template-columns:1fr}.related .contact-options{justify-content:flex-start}}
@media(max-width:640px){
 .lp-header__logo img,.site-header .brand img{width:180px;height:auto}
 .lp-header__context{font-size:11px;line-height:1.4}.lp-header__phone{font-size:13px}
 .contact-invitation{padding-block:40px}.section>.container.related{gap:22px}
 .related .contact-options{width:100%;gap:10px}.related .contact-options .btn{width:100%}
 .directory-card .h2{font-size:27px}.urgent-notice{padding:20px 0}.urgent-notice p{font-size:15px}
 .aligner-stock-visual img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
 .grid-3,.grid-4{grid-template-columns:1fr}
}

/* Mobile-only navigation and content density; desktop sections retain their copy and layout. */
.home-eyebrow-mobile,.mobile-treatment-cta,.mobile-directions{display:none}
.mobile-section-details>summary{display:block;list-style:none}.mobile-section-details>summary::-webkit-details-marker{display:none}.mobile-section-details>summary .h2{margin-top:12px}.mobile-section-body{margin-top:24px}
@media(max-width:640px){
 .site-header .brand img{height:28px;width:auto;max-width:100%}
 .jump-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;white-space:nowrap;padding-block:12px;scrollbar-width:thin}
 .jump-nav>span,.jump-nav>strong{display:none}
 .jump-nav a{display:inline-flex;flex:none;align-items:center;min-height:40px;padding:8px 14px;border:1px solid var(--line-2);border-radius:var(--pill);text-decoration:none}
 .home-concern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .home-concern-grid .card{padding:18px 14px;gap:12px;min-width:0}
 .home-concern-grid .card__num,.home-concern-grid p{display:none}
 .home-concern-grid .h3{font-size:15px;line-height:1.4}.home-concern-grid svg.icon{width:28px;height:28px}
 .clinic-photo-group .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .clinic-photo-group .photo-grid img{height:auto;aspect-ratio:4/3;object-fit:cover}
 .clinic-photo-group figcaption{font-size:13px;line-height:1.4}
 .menu-panel{grid-template-columns:1fr;gap:0;padding-top:4px}
 .menu-panel>a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid rgba(255,255,255,.16)}
 .mobile-menu-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px}
 .mobile-menu-actions .btn{width:100%;min-height:48px}.mobile-menu-actions .btn--outline{border-color:var(--gold-soft);color:var(--cream)}
 .mobile-directions{display:flex;width:100%;margin-bottom:16px}
 .footer-secondary-links{display:none!important}.footer-grid{grid-template-columns:1fr}.footer-grid>div{grid-column:1/-1}
 .text-link{min-height:44px;padding-block:10px;align-items:center}
 .lp-page .hero .badge{font-size:13px}
 .directory-filter{flex-wrap:nowrap;overflow-x:auto;gap:8px;white-space:nowrap;max-width:100%;padding-bottom:8px}.directory-filter button{flex:none}
 .home-eyebrow-desktop{display:none}.home-eyebrow-mobile{display:block}
 .mobile-section-details{width:100%;border-top:1px solid var(--line-2)}
 .mobile-section-details>summary{display:flex;list-style:none;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:20px 0}
 .mobile-section-details>summary::-webkit-details-marker{display:none}
 .mobile-section-details>summary::after{content:'+';font-size:25px;line-height:1;color:var(--gold-ink);flex:none}
 .mobile-section-details[open]>summary::after{content:'−'}
 .mobile-section-details>summary .h2{font-size:24px;line-height:1.2}.mobile-section-details>summary .eyebrow{font-size:11px;margin-bottom:8px}
 .section:has(>.container>.mobile-section-details){padding-block:0}
 .mobile-section-body{padding:0 0 24px}.mobile-section-body>p:last-child{margin-bottom:0}
 .mobile-treatment-cta{display:grid;grid-template-columns:1fr;gap:10px;padding:22px 16px;background:var(--sand)}
 .mobile-treatment-cta .btn{width:100%}
}

@media(min-width:641px){.mobile-section-details>summary{pointer-events:none}.mobile-section-details>summary::marker{content:""}}

/* The unchanged desktop content stays separate from the mobile disclosure presentation. */
.mobile-section-desktop{display:flex;flex-direction:column;gap:40px}.mobile-section-details{display:none}
@media(max-width:640px){.mobile-section-desktop{display:none}.mobile-section-details{display:block}.mobile-section-body{margin-top:0}}

@media(max-width:640px){.lp-header__context{display:none}}

.mobile-menu-actions{display:none}
@media(max-width:640px){.mobile-menu-actions{display:grid}.lp-header__logo img,.site-header .brand img{height:28px;width:auto}}

/* Product photography and compact desktop card layout. */
.treatment-card .picture>img.braces-model-photo{object-fit:contain;background:var(--sand);object-position:center}
.hero-visual img.braces-model-photo,.split img.braces-model-photo{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;object-fit:contain;border-radius:var(--radius-xl)}
.doctor-approach-layout{align-items:flex-start}
.doctor-approach-layout>.qualifications-card{flex-grow:1;align-self:flex-start;height:auto;min-height:0}
.qualifications-card ul{margin:0;padding-left:22px}.qualifications-card li{margin:0 0 6px}
@media(min-width:1200px){
 .directory-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
 .directory-grid .directory-card{padding:22px 18px}.directory-grid .h2{font-size:29px}
 .directory-grid .eyebrow{font-size:11px;letter-spacing:.12em}.directory-grid p{font-size:16px}
}

/* Accessible header contact and mobile booking contrast. */
.lp-header__phone{min-height:44px;min-width:44px;padding:11px 10px}
@media(max-width:640px){.menu-panel .mobile-menu-actions .btn--primary{color:var(--green-800)}}
