@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --forest-950: #102a25;
  --forest-900: #173a33;
  --forest-800: #205348;
  --forest-700: #2d6a58;
  --sage-100: #edf3ec;
  --sage-200: #dce9dc;
  --clay-100: #f5e8da;
  --clay-500: #c97845;
  --clay-600: #a95f34;
  --ink: #20312d;
  --muted: #64736e;
  --paper: #fbfaf7;
  --line: rgba(32, 49, 45, 0.14);
  --white: #fff;
  --shadow: 0 22px 60px rgba(16, 42, 37, 0.12);
  --shadow-soft: 0 10px 32px rgba(16, 42, 37, 0.08);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--clay-500); outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--clay-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(3.1rem, 6vw, 6.3rem); max-width: 850px; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.lede { max-width: 620px; color: var(--muted); font-size: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.topbar { background: var(--forest-950); color: rgba(255,255,255,.82); font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 20px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 16px; height: 16px; flex: 0 0 16px; }
.topbar strong { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--white); }

.site-header { position: relative; z-index: 20; background: rgba(251,250,247,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--clay-500); border-radius: 50%; color: var(--clay-600); font-family: 'Fraunces', serif; font-size: 1.45rem; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--forest-900); font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; }
.brand-copy span { color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 27px; font-size: .87rem; }
.nav-links a { position: relative; color: var(--muted); padding: 10px 0; }
.nav-links a::after { content: ''; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--clay-500); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--forest-900); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--forest-900); cursor: pointer; padding: 10px; }
.menu-toggle svg { width: 24px; height: 24px; }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; padding: 0 21px; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay-500); color: var(--white); }
.btn-primary:hover { background: var(--clay-600); }
.btn-dark { background: var(--forest-900); color: var(--white); }
.btn-dark:hover { background: var(--forest-950); }
.btn-outline { border-color: rgba(32,49,45,.28); color: var(--forest-900); background: transparent; }
.btn-outline:hover { border-color: var(--forest-900); background: var(--sage-100); }
.btn-light { background: var(--white); color: var(--forest-900); }
.btn-link { min-height: auto; padding: 0; border: 0; border-radius: 0; color: var(--clay-600); background: transparent; }
.btn-link:hover { transform: none; color: var(--forest-900); }

.hero { position: relative; overflow: hidden; background: var(--forest-900); color: var(--white); }
.hero::after { content: ''; position: absolute; right: -6%; bottom: -22%; width: 48vw; height: 48vw; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; padding-top: 78px; padding-bottom: 70px; }
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { color: #eab08d; }
.hero h1 { margin: 20px 0; color: var(--white); }
.hero h1 em { color: #eab08d; font-style: normal; }
.hero .lede { color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.hero .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.hero-aside { position: relative; z-index: 1; }
.hero-image { position: relative; min-height: 560px; overflow: hidden; border-radius: 180px 180px 24px 24px; background: var(--forest-800); }
.hero-image img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; opacity: .92; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16,42,37,.6)); }
.hero-caption { position: absolute; right: 24px; bottom: 22px; left: 24px; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 18px; color: rgba(255,255,255,.85); font-size: .8rem; }
.hero-caption strong { display: block; color: white; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.hero-badge { position: absolute; left: -24px; bottom: 38px; z-index: 2; width: 160px; height: 160px; display: grid; place-items: center; padding: 23px; border-radius: 50%; background: var(--clay-500); color: var(--white); text-align: center; font-family: 'Fraunces', serif; font-size: 1.05rem; line-height: 1.15; box-shadow: var(--shadow); }
.hero-badge span { display: block; margin-top: 8px; font-family: 'DM Sans', sans-serif; font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta strong { font-family: 'Fraunces', serif; font-size: 1.25rem; color: #f4c7a8; }
.hero-meta span { color: rgba(255,255,255,.62); font-size: .77rem; }

.section { padding: 112px 0; }
.section-sm { padding: 78px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-head h2 { max-width: 680px; margin: 14px 0 0; }
.section-head p { max-width: 470px; margin: 0; color: var(--muted); }
.section-tint { background: var(--sage-100); }
.section-clay { background: var(--clay-100); }
.section-dark { background: var(--forest-900); color: var(--white); }
.section-dark .eyebrow { color: #eab08d; }
.section-dark .muted, .section-dark p { color: rgba(255,255,255,.7); }

.trust-strip { position: relative; z-index: 3; margin-top: -32px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 27px 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-soft); }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 5px 22px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; padding-right: 0; }
.trust-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 50%; background: var(--clay-100); color: var(--clay-600); }
.trust-item strong { display: block; font-family: 'Fraunces', serif; font-size: 1.13rem; }
.trust-item span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.25; }

.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pathway { position: relative; min-height: 360px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border-radius: var(--radius-lg); background: var(--forest-900); color: var(--white); }
.pathway img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .5s ease; }
.pathway:hover img { transform: scale(1.05); }
.pathway::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(16,42,37,.88) 92%); }
.pathway-content { position: relative; z-index: 1; padding: 27px; }
.pathway-no { color: #f0b88d; font-family: 'Fraunces', serif; font-size: 1.1rem; }
.pathway h3 { margin: 10px 0 8px; color: white; }
.pathway p { margin-bottom: 18px; color: rgba(255,255,255,.75); font-size: .9rem; }
.pathway .btn-link { color: #f4c7a8; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.rounded-image { width: 100%; min-height: 560px; object-fit: cover; border-radius: 200px 22px 22px 22px; }
.image-note { position: absolute; right: -24px; bottom: 25px; max-width: 210px; padding: 17px 19px; border-left: 3px solid var(--clay-500); background: var(--paper); box-shadow: var(--shadow-soft); font-size: .8rem; }
.list-check { display: grid; gap: 15px; margin: 28px 0 32px; padding: 0; list-style: none; }
.list-check li { display: flex; gap: 13px; align-items: start; }
.list-check svg { flex: 0 0 19px; margin-top: 4px; color: var(--clay-600); }
.list-check strong { display: block; font-size: .95rem; }
.list-check span { display: block; color: var(--muted); font-size: .86rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 25px 0 0; }
.process-step:not(:last-child)::after { content: ''; position: absolute; top: 18px; right: 20px; left: 82px; height: 1px; background: var(--line); }
.process-number { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 25px; border-radius: 50%; background: var(--clay-500); color: var(--white); font-size: .76rem; font-weight: 700; }
.process h3 { margin-bottom: 10px; }
.process p { max-width: 220px; margin: 0; color: var(--muted); font-size: .88rem; }

.doctor-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.doctor-photo { min-height: 480px; background: var(--sage-200); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor-copy { padding: 54px; }
.doctor-copy h2 { margin: 13px 0; }
.credential-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.credential { padding: 8px 12px; border-radius: 999px; background: var(--sage-100); color: var(--forest-800); font-size: .76rem; font-weight: 700; }
.doctor-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-top: 24px; border-top: 1px solid var(--line); }
.doctor-facts strong { display: block; font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--forest-900); }
.doctor-facts span { display: block; color: var(--muted); font-size: .75rem; }

.quote-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.quote-feature, .quote-small { padding: 40px; border-radius: var(--radius-lg); background: var(--white); }
.quote-feature { display: flex; flex-direction: column; justify-content: space-between; min-height: 335px; background: var(--forest-900); color: var(--white); }
.quote-mark { color: #eab08d; font-family: Georgia, serif; font-size: 4.5rem; line-height: .7; }
.quote-feature blockquote { max-width: 660px; margin: 28px 0; font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.16; }
.quote-feature cite, .quote-small cite { color: var(--muted); font-size: .8rem; font-style: normal; }
.quote-feature cite { color: rgba(255,255,255,.62); }
.quote-stack { display: grid; gap: 20px; }
.quote-small { min-height: 157px; }
.quote-small blockquote { margin: 12px 0; font-family: 'Fraunces', serif; font-size: 1.2rem; line-height: 1.23; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.article-card img { width: 100%; height: 210px; object-fit: cover; }
.article-body { padding: 24px; }
.article-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--clay-600); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-body h3 { margin: 14px 0 10px; font-size: 1.42rem; }
.article-body p { margin-bottom: 20px; color: var(--muted); font-size: .88rem; }

.cta-band { padding: 65px 0; background: var(--clay-500); color: var(--white); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { max-width: 600px; margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.cta-band .btn-light:hover { background: var(--clay-100); }

.page-hero { padding: 88px 0 94px; background: var(--forest-900); color: var(--white); }
.page-hero h1 { max-width: 800px; margin: 18px 0; font-size: clamp(3rem, 6vw, 5.3rem); }
.page-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.07rem; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.55); font-size: .78rem; }
.breadcrumb a:hover { color: white; }

.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 33px; }
.filter-btn { border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; padding: 10px 16px; font-size: .82rem; }
.filter-btn:hover, .filter-btn.active { border-color: var(--forest-900); background: var(--forest-900); color: var(--white); }
.treatment-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.treatment-card { display: grid; grid-template-columns: 120px 1fr; gap: 23px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.treatment-card[hidden] { display: none; }
.treatment-card img { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; }
.treatment-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.treatment-card p { margin-bottom: 15px; color: var(--muted); font-size: .87rem; }
.tag { display: inline-flex; padding: 6px 9px; border-radius: 6px; background: var(--sage-100); color: var(--forest-800); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.faq-list { display: grid; gap: 12px; max-width: 850px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--forest-900); cursor: pointer; padding: 22px 0; text-align: left; font-family: 'Fraunces', serif; font-size: 1.28rem; }
.faq-trigger span:last-child { font-family: 'DM Sans', sans-serif; font-size: 1.7rem; font-weight: 400; }
.faq-answer { display: none; padding: 0 45px 23px 0; color: var(--muted); font-size: .92rem; }
.faq-item.open .faq-answer { display: block; }

.booking-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.contact-stack { display: grid; gap: 22px; margin-top: 30px; }
.contact-line { display: flex; gap: 14px; align-items: start; }
.contact-line svg { flex: 0 0 20px; color: var(--clay-600); margin-top: 4px; }
.contact-bullet { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; border: 1px solid var(--clay-500); border-radius: 50%; }
.contact-line strong { display: block; margin-bottom: 2px; font-size: .87rem; }
.contact-line span, .contact-line a { color: var(--muted); font-size: .87rem; }
.contact-line a:hover { color: var(--forest-900); }
.booking-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.booking-topline { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 25px; color: var(--clay-600); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.booking-card h2 { margin: 0 0 10px; font-size: 2.3rem; }
.booking-card > p { color: var(--muted); font-size: .9rem; }
.choice-field { margin: 26px 0 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 11px; color: var(--forest-900); font-size: .78rem; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-card { min-height: 79px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); cursor: pointer; padding: 12px; text-align: left; }
.choice-card strong, .choice-card span { display: block; }
.choice-card strong { font-size: .8rem; }
.choice-card span { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.choice-card.active { border-color: var(--forest-900); background: var(--forest-900); color: var(--white); }
.choice-card.active span { color: rgba(255,255,255,.68); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--forest-900); font-size: .78rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); padding: 12px 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-700); outline: 3px solid rgba(45,106,88,.15); }
.form-consent { display: flex; align-items: start; gap: 10px; margin: 18px 0 21px; color: var(--muted); font-size: .75rem; }
.form-consent input { margin-top: 4px; accent-color: var(--clay-600); }
.form-status { display: none; margin-top: 18px; padding: 13px 15px; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--forest-900); font-size: .84rem; }
.form-status a { display: inline-block; margin-left: 5px; color: var(--clay-600); font-weight: 700; }
.form-status.show { display: block; }
.form-status.error { background: #fbe8e6; color: #8b312a; }
.map-placeholder { min-height: 320px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sage-200), var(--clay-100)); color: var(--forest-900); text-align: center; }
.map-placeholder div { padding: 30px; }
.map-placeholder strong { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; }

.footer { padding: 72px 0 28px; background: var(--forest-950); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 60px; }
.footer .brand-copy strong { color: white; }
.footer .brand-copy span, .footer p, .footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: white; }
.footer h3 { margin-bottom: 17px; color: #f4c7a8; font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; font-size: .87rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.46); font-size: .72rem; }
.footer-bottom a { color: #eab08d; }
.disclaimer { max-width: 470px; margin-top: 23px; font-size: .76rem; line-height: 1.5; }
.image-credit { margin-top: 22px; color: rgba(255,255,255,.4); font-size: .68rem; }

.floating-actions { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: flex; gap: 9px; }
.floating-actions a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: var(--shadow-soft); }
.floating-phone { background: var(--forest-900); color: white; }
.floating-wa { background: #2d9c65; color: white; }
.floating-actions svg { width: 19px; height: 19px; }

/* Editorial care finder and hospital-level service storytelling */
.care-finder { padding-top: 86px; }
.finder-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; padding: 42px; border: 1px solid rgba(32,49,45,.12); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-soft); }
.finder-intro h2 { margin: 15px 0 14px; font-size: clamp(2rem, 3.5vw, 3.1rem); }
.finder-intro p { max-width: 350px; color: var(--muted); font-size: .94rem; }
.finder-intro .btn-link { display: inline-block; margin-top: 14px; font-weight: 700; }
.finder-options { display: grid; gap: 10px; }
.finder-option { display: grid; grid-template-columns: 44px 1fr; gap: 2px 15px; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: transparent; color: var(--ink); cursor: pointer; padding: 15px 17px; text-align: left; transition: border .2s ease, background .2s ease, transform .2s ease; }
.finder-option:hover { transform: translateX(4px); border-color: var(--forest-700); }
.finder-option.active { border-color: var(--forest-900); background: var(--forest-900); color: var(--white); }
.finder-option strong { font-size: .91rem; }
.finder-option small { grid-column: 2; color: var(--muted); font-size: .76rem; }
.finder-option.active small { color: rgba(255,255,255,.68); }
.finder-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--clay-100); color: var(--clay-600); font-family: 'Fraunces', serif; font-size: .9rem; }
.finder-result { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: -5px; padding: 21px; border-radius: 13px; background: var(--sage-100); }
.finder-result h3 { margin: 9px 0 5px; font-size: 1.35rem; }
.finder-result p { max-width: 490px; margin: 0; color: var(--muted); font-size: .84rem; }
.finder-result .btn { flex: 0 0 auto; font-size: .78rem; }
.hospital-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 17px; }
.hospital-feature { min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid rgba(32,49,45,.12); border-radius: var(--radius-md); background: var(--paper); }
.hospital-feature-large { grid-row: span 2; padding: 0; overflow: hidden; }
.hospital-feature-large img { width: 100%; height: 250px; object-fit: cover; }
.hospital-feature-large > div { padding: 25px 28px 28px; }
.hospital-feature h3 { margin: 13px 0 9px; font-size: 1.45rem; }
.hospital-feature p { margin-bottom: 17px; color: var(--muted); font-size: .86rem; }
.hospital-feature .btn-link { margin-top: auto; font-weight: 700; }
.hospital-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--clay-500); border-radius: 50%; color: var(--clay-600); font-family: 'Fraunces', serif; font-size: 1.2rem; }
.hospital-feature-dark { border-color: var(--forest-900); background: var(--forest-900); color: var(--white); }
.hospital-feature-dark p { color: rgba(255,255,255,.7); }
.hospital-feature-dark .btn-link { color: #f4c7a8; }

@media (max-width: 1050px) {
  .nav-links { gap: 15px; }
  .brand { min-width: auto; }
  .nav-actions .btn { padding: 0 15px; }
  .hero-grid { gap: 25px; }
  .split { gap: 45px; }
}
@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .topbar .container { min-height: 34px; }
  .topbar span:last-child { display: none; }
  .nav { min-height: 72px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border: 0; }
  .nav-links a::after { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .hero-grid, .split, .booking-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 70px 0 62px; }
  .hero-image { min-height: 430px; border-radius: 150px 150px 18px 18px; }
  .hero-image img { min-height: 430px; }
  .hero-badge { left: 10px; bottom: 26px; width: 130px; height: 130px; font-size: .9rem; }
  .hero-meta { margin-top: 45px; }
  .section { padding: 78px 0; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head p { margin-top: 18px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { padding-left: 0; }
  .pathways, .article-grid, .treatment-list { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: initial; }
  .rounded-image { min-height: 390px; max-height: 500px; }
  .image-note { right: 10px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .process-step:not(:last-child)::after { display: none; }
  .doctor-card, .quote-grid { grid-template-columns: 1fr; }
  .finder-shell { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .finder-result { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .hospital-grid { grid-template-columns: 1fr 1fr; }
  .hospital-feature-large { grid-row: auto; grid-column: 1 / -1; }
  .doctor-photo { min-height: 390px; }
  .doctor-copy { padding: 34px 26px; }
  .quote-stack { grid-template-columns: repeat(2, 1fr); }
  .quote-small { min-height: 200px; padding: 25px; }
  .cta-band .container { display: block; }
  .cta-band .btn { margin-top: 22px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  h2 { font-size: 2.3rem; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: .56rem; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
  .hero-meta div { grid-template-columns: 100px 1fr; align-items: baseline; }
  .hero-meta strong { font-size: 1.1rem; }
  .trust-grid { display: grid; grid-template-columns: 1fr; padding: 21px; }
  .trust-item, .trust-item:first-child, .trust-item:nth-child(3) { padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .pathway { min-height: 330px; }
  .finder-shell { padding: 22px 18px; }
  .finder-option { grid-template-columns: 35px 1fr; gap: 2px 11px; padding: 13px 12px; }
  .finder-icon { width: 32px; height: 32px; }
  .hospital-grid { grid-template-columns: 1fr; }
  .hospital-feature-large { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .doctor-facts { grid-template-columns: 1fr; }
  .quote-stack { grid-template-columns: 1fr; }
  .quote-small { min-height: auto; }
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .choice-grid { grid-template-columns: 1fr; }
  .booking-topline { display: grid; gap: 4px; }
  .field.full { grid-column: auto; }
  .booking-card { padding: 26px 20px; }
  .treatment-card { grid-template-columns: 1fr; }
  .treatment-card img { width: 100%; height: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 10px; }
  .floating-actions { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Keep the reference's layered portrait hero legible at every size. */
.reference-hero-image { isolation: isolate; }
.reference-hero-image img.reference-hero-backdrop { position: absolute; inset: 0; z-index: -1; opacity: .12; }
.reference-home .reference-hero-caption, .reference-home .reference-hero-cta { z-index: 3; }
.reference-home .reference-hero-caption { line-height: 1.12; letter-spacing: -.035em; }
.reference-home .reference-hero-cta { min-height: 48px; font-size: 14px; color: #176647; }
.reference-home .reference-hero-team { height: 76%; }
.reference-home .reference-doctor-grid .public-doctor-card > img { object-position: center 30%; }
@media (max-width: 820px) {
  .reference-home .reference-hero-image { height: 480px; }
  .reference-home .reference-hero-team { display: flex; left: 8%; right: 8%; height: 72%; }
  .reference-team-center { width: 45%; }
  .reference-team-person { width: 32%; }
  .reference-hero-word { top: 26px; font-size: clamp(40px, 10vw, 76px); }
  .reference-home .reference-hero-caption { left: 24px; bottom: 92px; font-size: 28px; }
  .reference-home .reference-hero-cta { bottom: 24px; left: 24px; right: auto; width: auto; }
}
@media (max-width: 600px) {
  .public-body .reference-hero-word { top: 26px; font-size: clamp(30px, 9.5vw, 52px); }
  .reference-home .reference-hero-image { height: 440px; border-radius: 20px; }
  .reference-home .reference-hero-team { left: -12%; right: -12%; height: 73%; }
  .reference-home .reference-hero-caption { font-size: 25px; }
}

/* Reference system: soft medical platform UI for public pages */
.public-body { background: #f7fbfb; color: #111716; font-family: 'DM Sans', system-ui, sans-serif; }
.public-container { width: min(calc(100% - 64px), 1440px); margin: 0 auto; }
.public-header { position: relative; z-index: 30; background: rgba(255,255,255,.92); border-bottom: 1px solid #e4eeee; }
.public-nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; color: #121716; font-size: 1.05rem; font-weight: 500; }
.public-brand span:last-child { display: grid; gap: 0; line-height: 1; }
.public-brand strong { font-weight: 800; }
.public-logo { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 10px; background: #19ad70; color: white; font-size: 1.2rem; line-height: 1; }
.public-links { display: flex; align-items: center; gap: 30px; font-size: .8rem; }
.public-links a { padding: 10px 0; color: #626b69; }
.public-links a:hover, .public-links a.active { color: #111716; font-weight: 700; }
.public-nav-actions { display: flex; align-items: center; gap: 14px; }
.green-pill, .light-pill, .outline-pill, .text-pill, .dark-pill { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: fit-content; border: 1px solid transparent; border-radius: 999px; padding: 0 19px; cursor: pointer; font-size: .78rem; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.green-pill { background: #12ae70; color: #fff; box-shadow: 0 8px 18px rgba(18,174,112,.16); }
.green-pill:hover { transform: translateY(-2px); background: #078c59; }
.green-pill span, .light-pill span, .outline-pill span { font-size: 1rem; }
.light-pill { background: #fff; color: #111716; }
.outline-pill { border-color: #bed2cd; color: #111716; background: transparent; }
.outline-pill:hover { border-color: #12ae70; background: #effaf5; }
.text-pill { min-height: auto; padding: 0; color: #121716; background: transparent; }
.dark-pill { background: #151918; color: #fff; }
.compact { min-height: 40px; padding: 0 15px; font-size: .72rem; }
.public-menu { display: none; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
.public-hero { padding: 50px 0 62px; background: #eaf8f6; }
.hero-public-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 45px; align-items: center; }
.public-kicker { display: inline-flex; align-items: center; gap: 8px; color: #08a566; font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.public-kicker::before { content: ''; width: 18px; height: 2px; background: #08a566; }
.public-hero-copy h1, .public-page-hero h1 { margin: 17px 0; font-family: 'DM Sans', sans-serif; font-size: clamp(3.5rem, 7vw, 7.4rem); font-weight: 300; letter-spacing: -.085em; line-height: .9; }
.public-hero-copy h1 em, .public-page-hero h1 em { color: #0aaf70; font-style: normal; font-weight: 700; }
.public-hero-copy p, .public-page-hero p { max-width: 510px; color: #65716e; font-size: 1rem; }
.public-actions { display: flex; align-items: center; gap: 20px; margin-top: 27px; }
.hero-public-media { position: relative; min-height: 460px; overflow: hidden; border-radius: 30px; background: #b7dce1; }
.hero-public-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: center; opacity: .88; }
.hero-public-media::after { content: ''; position: absolute; inset: 0; background: rgba(30,117,145,.18); }
.hero-image-title { position: absolute; z-index: 1; top: 42px; left: 46px; color: white; font-size: clamp(2.6rem, 5vw, 6rem); font-weight: 300; letter-spacing: -.08em; line-height: .88; }
.hero-image-title strong { font-weight: 800; }
.hero-image-link { position: absolute; z-index: 2; right: 30px; bottom: 30px; display: inline-flex; align-items: center; gap: 14px; border-radius: 999px; background: #fff; color: #12a96c; padding: 14px 18px; font-size: .75rem; font-weight: 700; }
.public-section { padding: 105px 0; background: #fff; }
.light-blue { background: #edf8fa; }
.light-green { background: #e8f8ed; }
.center-heading { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.center-heading .public-kicker { justify-content: center; }
.center-heading h2, .section-row h2, .story-copy h2, .contact-band-grid h2, .contact-details h2, .navigator-card h2, .about-grid h2 { margin: 14px 0; font-size: clamp(2.3rem, 4.5vw, 4.8rem); font-weight: 300; letter-spacing: -.07em; line-height: .94; }
.center-heading p, .section-row > p, .story-copy > p, .contact-band-grid p, .contact-details > p, .about-grid p { color: #6b7874; font-size: .92rem; }
.public-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-tile { min-height: 135px; display: grid; align-content: center; gap: 7px; padding: 20px; border: 1px solid #dcebea; border-radius: 20px; background: rgba(255,255,255,.72); transition: transform .2s ease, box-shadow .2s ease; }
.feature-tile:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(22,77,71,.1); }
.tile-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #0aae70; font-weight: 800; }
.feature-tile strong { font-size: .9rem; }
.feature-tile small { color: #75807d; font-size: .7rem; }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-row > div { max-width: 600px; }
.section-row > p { max-width: 430px; margin: 0 0 7px; }
.doctor-public-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.public-doctor-card { overflow: hidden; border: 1px solid #e1e9e7; border-radius: 19px; background: #fff; box-shadow: 0 8px 24px rgba(27,74,66,.04); }
.public-doctor-card-top { display: flex; justify-content: space-between; gap: 10px; padding: 19px 19px 0; }
.public-doctor-card h3 { margin: 0; font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: -.03em; }
.public-doctor-card-top span:not(.rating) { color: #7a8582; font-size: .72rem; }
.rating { align-self: start; padding: 5px 9px; border-radius: 999px; background: #fff8de; color: #bd8b16; font-size: .68rem; white-space: nowrap; }
.public-doctor-card > img { display: block; width: 100%; max-width: none; height: 230px; margin: 0; padding: 0; object-fit: cover; object-position: center top; background: #e6f3f5; }
[data-appointment-form][hidden], .appointment-review[hidden] { display: none; }
.appointment-handoff-note { padding: 14px 16px; border-radius: 12px; background: #eef6f5; color: #38534b; font-size: 14px; line-height: 1.6; }
.appointment-review > p { font-size: 16px; line-height: 1.6; }
.appointment-review dl { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr); gap: 0; margin: 24px 0; }
.appointment-review dt, .appointment-review dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #dce8e4; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.appointment-review dt { color: #53665e; padding-right: 16px; }
.appointment-review dd { font-weight: 500; }
.appointment-review-actions { display: grid; gap: 12px; }
.appointment-review-actions > * { width: 100%; min-height: 48px; }
@media (max-width: 600px) {
  .appointment-review dl { grid-template-columns: minmax(0, 1fr); }
  .appointment-review dt { border: 0; padding: 16px 0 4px; font-size: 13px; }
  .appointment-review dd { padding: 0 0 14px; font-size: 16px; }
  .public-body .appointment-review-actions > * { min-height: 48px; }
}
.public-doctor-card-body { padding: 15px 19px 19px; }
.public-doctor-card-body > strong { font-size: .68rem; }
.public-doctor-card-body p { min-height: 40px; margin: 6px 0 15px; color: #74807d; font-size: .75rem; line-height: 1.45; }
.doctor-card-actions { display: flex; justify-content: space-between; gap: 8px; }
.doctor-card-actions .green-pill, .doctor-card-actions .outline-pill { min-height: 36px; padding: 0 12px; font-size: .65rem; }
.center-link { display: flex; justify-content: center; margin-top: 33px; }
.feature-story { background: #f5fbfa; }
.feature-story-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.story-copy h2 { max-width: 600px; }
.story-copy p { max-width: 500px; margin-bottom: 25px; }
.story-collage { position: relative; min-height: 430px; }
.story-circle { position: absolute; overflow: hidden; border: 9px solid #fff; border-radius: 50%; box-shadow: 0 15px 35px rgba(35,84,77,.12); }
.story-circle img { width: 100%; height: 100%; object-fit: cover; }
.story-circle-one { top: 0; right: 5%; width: 290px; height: 290px; }
.story-circle-two { bottom: 0; left: 8%; width: 210px; height: 210px; }
.story-center-card { position: absolute; top: 44%; left: 39%; display: grid; gap: 4px; width: 190px; padding: 21px; border: 1px solid #e1eeee; border-radius: 18px; background: rgba(255,255,255,.95); box-shadow: 0 12px 30px rgba(35,84,77,.12); }
.story-center-card strong { font-size: .9rem; }
.story-center-card small { color: #76827e; font-size: .68rem; }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.quote-card { min-height: 190px; padding: 24px; border: 1px solid #dfece2; border-radius: 18px; background: rgba(255,255,255,.72); }
.quote-mark { color: #11ad71; font-family: Georgia, serif; font-size: 3rem; line-height: .6; }
.quote-card p { margin: 23px 0; font-size: .95rem; line-height: 1.45; }
.quote-card small { color: #7a8582; font-size: .72rem; }
.public-contact-band { padding: 80px 0; background: #e4f7ee; }
.contact-band-grid { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-band-grid h2 { max-width: 650px; }
.contact-band-grid p { max-width: 520px; margin: 0; }
.public-contact-links { display: flex; align-items: center; gap: 13px; }
.public-footer { padding: 64px 0 25px; background: #15251f; color: #fff; }
.public-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand { color: #fff; }
.public-footer p, .public-footer a, .public-footer span { display: block; color: rgba(255,255,255,.58); font-size: .76rem; line-height: 1.55; }
.public-footer p { max-width: 250px; margin-top: 21px; }
.public-footer h3 { margin: 0 0 14px; color: #97e9c2; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.public-footer a { margin: 9px 0; }
.public-footer a:hover { color: #fff; }
.public-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.public-page-hero { padding: 95px 0 100px; background: #eaf8f6; }
.public-page-hero p { max-width: 600px; }
.emergency-hero { background: #fff0ee; }
.emergency-hero .public-kicker { color: #e85d56; }
.emergency-hero .public-kicker::before { background: #e85d56; }
.doctor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.category-pills, .dash-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.category-pill, .dash-filter-pills button { border: 1px solid #d7e5e2; border-radius: 999px; background: #fff; color: #707c79; cursor: pointer; padding: 10px 15px; font-size: .7rem; }
.category-pill.active, .category-pill:hover, .dash-filter-pills button.active { border-color: #13ae70; background: #13ae70; color: #fff; }
.search-pill, .dashboard-search { display: flex; align-items: center; gap: 10px; min-height: 43px; border: 1px solid #dce9e7; border-radius: 999px; background: #fff; padding: 0 15px; color: #73807b; }
.search-pill input, .dashboard-search input { width: 190px; border: 0; outline: 0; background: transparent; font: inherit; font-size: .72rem; }
.doctor-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pagination-row { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.page-dot { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; color: #7a8582; cursor: pointer; }
.page-dot.active { background: #12ae70; color: white; }
.journey-grid, .commitment-grid, .warning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.journey-card, .commitment-grid article, .warning-grid article { min-height: 220px; padding: 26px; border: 1px solid #e2ebe8; border-radius: 18px; background: #fff; }
.journey-card > span, .commitment-grid article > span { color: #12ae70; font-family: 'Fraunces', serif; font-size: 1.4rem; }
.journey-card h3, .commitment-grid h3, .warning-grid h3 { margin: 25px 0 9px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -.03em; }
.journey-card p, .commitment-grid p, .warning-grid p { margin: 0; color: #71807a; font-size: .78rem; }
.metrics-story, .about-grid, .contact-public-grid, .navigator-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.metrics-story h2 { max-width: 520px; margin: 14px 0; font-size: clamp(2.4rem, 4vw, 4.6rem); font-weight: 300; letter-spacing: -.07em; line-height: .94; }
.metrics-story p { max-width: 490px; margin-bottom: 24px; color: #6d7975; }
.health-score-card { padding: 29px; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(45,89,72,.08); }
.score-heading, .score-bottom { display: flex; justify-content: space-between; gap: 15px; font-size: .76rem; }
.score-heading strong { color: #12ae70; }
.score-bars { display: flex; align-items: end; gap: 6px; height: 115px; margin: 28px 0 19px; }
.score-bars i { flex: 1; min-height: 15px; border-radius: 5px 5px 0 0; background: #dcebe2; }
.score-bars i:nth-child(1) { height: 25%; }.score-bars i:nth-child(2) { height: 41%; }.score-bars i:nth-child(3) { height: 34%; }.score-bars i:nth-child(4) { height: 60%; }.score-bars i:nth-child(5) { height: 50%; }.score-bars i:nth-child(6) { height: 76%; }.score-bars i:nth-child(7) { height: 66%; }.score-bars i:nth-child(8) { height: 90%; }.score-bars i:nth-child(9) { height: 80%; }.score-bars i:nth-child(10) { height: 96%; }
.score-bars i:nth-child(n+6) { background: #12ae70; }
.score-bottom { color: #798480; }
.about-image { overflow: hidden; border-radius: 24px; }
.about-image img { width: 100%; height: 520px; object-fit: cover; }
.about-grid h2 { max-width: 560px; }
.about-grid p { max-width: 540px; margin: 20px 0; line-height: 1.7; }
.commitment-grid { grid-template-columns: repeat(3, 1fr); }
.contact-public-grid { align-items: start; }
.contact-details h2 { margin-bottom: 31px; }
.contact-detail { display: grid; gap: 3px; margin: 19px 0; }
.contact-detail strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-detail span, .contact-detail a { color: #6d7975; font-size: .84rem; }
.contact-detail a:hover { color: #12ae70; }
.contact-form-card, .navigator-card, .navigator-side { padding: 31px; border: 1px solid #e1edeb; border-radius: 23px; background: #fff; box-shadow: 0 12px 28px rgba(37,85,77,.06); }
.contact-form-card h2 { margin: 15px 0 23px; font-size: 2.1rem; font-weight: 300; letter-spacing: -.06em; }
.contact-form-card form { display: grid; gap: 15px; }
.contact-form-card label { display: grid; gap: 7px; font-size: .72rem; font-weight: 700; }
.contact-form-card input, .contact-form-card textarea, .settings-card input, .settings-card select { width: 100%; border: 1px solid #dbe8e5; border-radius: 10px; background: #fbfdfd; padding: 12px; outline: 0; font: inherit; font-size: .82rem; }
.contact-form-card textarea { resize: vertical; }
.inline-success { color: #12a96c; font-size: .75rem; }
.warning-grid { grid-template-columns: repeat(3, 1fr); }
.warning-grid article { min-height: 190px; }
.warning-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffe2df; color: #e85d56; font-weight: 800; }
.navigator-layout { align-items: start; }
.navigator-progress { display: flex; gap: 7px; margin-bottom: 28px; }
.navigator-progress span { width: 38px; height: 4px; border-radius: 9px; background: #dce9e7; }
.navigator-progress span.active { background: #12ae70; }
.navigator-card h2 { font-size: 2.5rem; }
.navigator-options { display: grid; gap: 9px; margin: 26px 0; }
.navigator-options button { display: grid; gap: 5px; border: 1px solid #dbe8e5; border-radius: 13px; background: #fff; color: #121716; cursor: pointer; padding: 16px; text-align: left; }
.navigator-options button:hover, .navigator-options button.active { border-color: #12ae70; background: #effaf5; }
.navigator-options strong { font-size: .84rem; }
.navigator-options small { color: #72807b; font-size: .7rem; }
.navigator-result { display: grid; gap: 7px; padding: 21px; border-radius: 15px; background: #eaf8f1; }
.navigator-result h3 { margin: 3px 0; font-family: 'DM Sans', sans-serif; font-size: 1.1rem; }
.navigator-result p { margin: 0 0 10px; color: #71807a; font-size: .78rem; }
.navigator-side { background: #eaf8f1; }
.navigator-side h2 { margin: 20px 0 9px; font-size: 2.8rem; font-weight: 300; letter-spacing: -.07em; }
.navigator-side p { color: #6e7c76; font-size: .85rem; }
.empty-state { grid-column: 1 / -1; padding: 50px; border: 1px dashed #cfe0dc; border-radius: 20px; color: #71807b; text-align: center; }
.appointment-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: start; }
.appointment-layout > div:first-child h2 { max-width: 520px; margin: 14px 0 30px; font-size: clamp(2.4rem, 4vw, 4.7rem); font-weight: 300; letter-spacing: -.07em; line-height: .94; }
.appointment-notes { display: grid; gap: 16px; margin: 0 0 28px; }
.appointment-notes > div { display: grid; grid-template-columns: 35px 1fr; gap: 2px 11px; align-items: start; }.appointment-notes span { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #d8f4e4; color: #0eaa6c; font-family: 'Fraunces', serif; font-size: .78rem; }.appointment-notes strong { font-size: .84rem; }.appointment-notes p { grid-column: 2; margin: 0; color: #71807b; font-size: .74rem; }
.appointment-form-card h2 { margin: 15px 0 23px; font-size: 2.4rem; font-weight: 300; letter-spacing: -.07em; }
.appointment-form-card form { display: grid; gap: 14px; }.appointment-form-card form > label:not(.appointment-consent) { display: grid; gap: 7px; color: #626f6a; font-size: .72rem; font-weight: 700; }.appointment-form-card input, .appointment-form-card textarea { width: 100%; border: 1px solid #dbe8e5; border-radius: 10px; background: #fbfdfd; padding: 12px; outline: 0; font: inherit; font-size: .82rem; }.appointment-form-card textarea { resize: vertical; }.appointment-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 3px; }.appointment-choice { display: grid; gap: 4px; min-height: 70px; border: 1px solid #dbe8e5; border-radius: 11px; background: #fff; color: #121716; cursor: pointer; padding: 11px; text-align: left; }.appointment-choice.active, .appointment-choice:hover { border-color: #12ae70; background: #effaf5; }.appointment-choice strong { font-size: .77rem; }.appointment-choice small { color: #7c8985; font-size: .66rem; }.appointment-consent { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 8px; color: #77837f; font-size: .7rem !important; font-weight: 400 !important; }.appointment-consent input { width: auto; margin-top: 3px; accent-color: #12ae70; }

/* Dashboard reference system */
.dashboard-body { min-height: 100vh; margin: 0; background: #dfe8ec; color: #121716; font-family: 'DM Sans', system-ui, sans-serif; }
.dashboard-shell { width: min(calc(100% - 56px), 1740px); min-height: calc(100vh - 56px); display: grid; grid-template-columns: 315px 1fr; margin: 28px auto; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 27px; background: #eef7fa; box-shadow: 0 20px 50px rgba(47,72,75,.12); }
.dashboard-sidebar { display: flex; flex-direction: column; min-height: calc(100vh - 56px); padding: 34px 24px 22px; background: #fbfefe; border-right: 1px solid #e5eeee; }
.dashboard-brand { display: flex; align-items: center; gap: 11px; margin: 0 0 67px 17px; color: #121716; font-size: 1.3rem; }
.dashboard-brand strong { display: grid; gap: 2px; line-height: .95; font-weight: 800; }.dashboard-brand strong span { color: #89928f; font-size: .58rem; font-weight: 500; }
.dashboard-logo { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: #17ae71; color: #fff; }
.dashboard-nav { display: grid; gap: 8px; }
.dash-nav-item { display: flex; align-items: center; gap: 15px; border: 0; border-radius: 14px; background: transparent; color: #7a8582; cursor: pointer; padding: 13px 18px; font-size: .91rem; text-align: left; }.dash-nav-item:hover, .dash-nav-item.active { background: #f2fafa; color: #111716; }.dash-nav-item.active { box-shadow: inset 3px 0 0 #12ae70; font-weight: 700; }
.dashboard-profile { display: flex; align-items: center; gap: 11px; margin-top: auto; padding: 18px 5px 13px; }.dashboard-profile img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }.dashboard-profile div { display: grid; gap: 2px; flex: 1; }.dashboard-profile strong { font-size: .78rem; }.dashboard-profile small { color: #87918e; font-size: .65rem; }.dashboard-profile button { border: 0; background: transparent; color: #87918e; }
.dashboard-ai-card { position: relative; overflow: hidden; margin: 8px 0 0; padding: 20px; border-radius: 19px; background: #ebfbdc; }.dashboard-ai-card::after { content: ''; position: absolute; right: -18px; top: 17px; width: 70px; height: 70px; border-radius: 50%; border: 13px solid #9eecc8; opacity: .65; }.ai-close { position: absolute; z-index: 1; top: 8px; right: 9px; border: 0; border-radius: 50%; background: #82dfbd; color: #fff; cursor: pointer; font-size: 1.3rem; }.dashboard-ai-card h3 { margin: 18px 0 5px; font-size: 1.1rem; font-weight: 400; }.dashboard-ai-card p { max-width: 160px; color: #718066; font-size: .69rem; }.dashboard-ai-card .dark-pill { width: 100%; min-height: 42px; }
.dashboard-main { min-width: 0; }.dashboard-topbar { display: flex; align-items: center; gap: 20px; padding: 29px 35px 19px; }.dashboard-search { flex: 1; max-width: 610px; min-height: 49px; background: #fff; }.dashboard-search input { width: 100%; }.dashboard-top-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }.dashboard-top-actions > button:not(.green-pill) { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #e0ecec; border-radius: 50%; background: #fff; cursor: pointer; }.date-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; border-radius: 999px; background: #fff; padding: 0 15px; color: #67736f; font-size: .74rem; }.dashboard-menu { display: none; }
.dashboard-content { padding: 8px 35px 45px; }.dash-page-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 22px; }.dash-page-head h1 { margin: 0 0 7px; font-family: 'DM Sans', sans-serif; font-size: 2.4rem; font-weight: 300; letter-spacing: -.07em; }.dash-page-head p { margin: 0; color: #71807c; font-size: .78rem; }.dash-live { display: inline-flex; align-items: center; gap: 7px; color: #71807c; font-size: .7rem; }.dash-live i { width: 7px; height: 7px; border-radius: 50%; background: #12ae70; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.dash-stat { min-height: 170px; padding: 19px; border: 1px solid #e4eeee; border-radius: 20px; background: #fff; }.dash-stat-top { display: flex; justify-content: space-between; gap: 10px; }.dash-stat-top span { display: block; color: #7c8784; font-size: .7rem; }.dash-stat-top strong { display: block; margin-top: 4px; font-size: 1.55rem; font-weight: 400; }.dash-stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #edf1f0; border-radius: 50%; color: #111716; font-style: normal; }.dash-bar-label, .dash-bar-values { display: flex; justify-content: space-between; gap: 10px; color: #818c89; font-size: .64rem; }.dash-bar-label { margin-top: 20px; }.dash-bars { display: flex; align-items: end; gap: 3px; height: 31px; margin-top: 7px; }.dash-bars i { flex: 1; height: 100%; border-radius: 3px; background: #e2e5e5; }.dash-bars i.filled { background: #12ae70; }.dash-bars.red i.filled { background: #fc574b; }.dash-bars.yellow i.filled { background: #f5d754; }.dash-bar-values { margin-top: 6px; }.dash-tabs { display: flex; gap: 26px; margin: 31px 0 17px; border-bottom: 1px solid #dce8e8; }.dash-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #7c8784; cursor: pointer; padding: 0 0 12px; font-size: .84rem; }.dash-tabs button.active { border-color: #121716; color: #121716; font-weight: 700; }
.dashboard-doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.dash-doctor-card { position: relative; min-height: 310px; overflow: hidden; border: 1px solid #e1eceb; border-radius: 19px; background: #fff; padding: 20px 21px 0; }.dash-doctor-card h3 { margin: 0; font-family: 'DM Sans', sans-serif; font-size: 1.25rem; font-weight: 400; letter-spacing: -.05em; }.dash-doctor-card > span { color: #87928f; font-size: .75rem; }.dash-doctor-card > img { display: block; width: 72%; height: 190px; margin: 8px auto 0; object-fit: cover; object-position: center top; mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }.card-more { position: absolute; z-index: 1; top: 19px; right: 19px; border: 1px solid #edf1f0; border-radius: 50%; background: #fff; color: #222; cursor: pointer; padding: 6px 9px; }.dash-doctor-metrics { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 14px 21px 18px; background: rgba(255,255,255,.95); }.dash-doctor-metrics span { color: #7a8582; font-size: .67rem; }.dash-doctor-metrics b { color: #121716; font-size: 1.2rem; font-weight: 400; }.dash-doctor-metrics small { display: block; margin-top: 4px; color: #12ae70; font-size: .67rem; }.dash-doctor-metrics small.down { color: #f15a58; }
.dash-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 20px 0; }.record-count { color: #82908b; font-size: .72rem; }.dash-filter-pills button { padding: 8px 13px; }.patient-table-card { overflow: hidden; border: 1px solid #e1eceb; border-radius: 19px; background: #fff; }.table-head, .patient-row, .billing-row { display: grid; grid-template-columns: 1.3fr 1.2fr 1.2fr .8fr .8fr; align-items: center; gap: 18px; padding: 17px 22px; font-size: .74rem; text-align: left; }.table-head { color: #82908b; border-bottom: 1px solid #e7eeee; font-size: .68rem; }.patient-row, .billing-row { width: 100%; border: 0; border-bottom: 1px solid #edf2f1; background: #fff; color: #52605b; cursor: pointer; }.patient-row:hover { background: #f4fbf8; }.patient-row:last-child, .billing-row:last-child { border: 0; }.patient-name { display: flex; align-items: center; gap: 11px; color: #111716; }.patient-name i, .patient-profile-card > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d9f2e7; color: #087f54; font-style: normal; font-size: .68rem; }.patient-name strong { font-size: .78rem; }.patient-row b { float: right; font-size: 1.2rem; font-weight: 400; }.status-chip { display: inline-flex; width: fit-content; border-radius: 999px; padding: 6px 9px; background: #e5f8ee; color: #12a469; font-size: .64rem; font-style: normal; }.status-chip.pending, .status-chip.new { background: #fff8dd; color: #af8012; }.status-chip.follow-up { background: #edf4ff; color: #5475b4; }
.appointment-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }.appointment-summary > div { display: grid; gap: 4px; padding: 20px; border-radius: 18px; background: #fff; }.appointment-summary span, .appointment-summary small { color: #7c8985; font-size: .7rem; }.appointment-summary strong { font-size: 2rem; font-weight: 300; }.appointment-list { overflow: hidden; border-radius: 19px; background: #fff; }.appointment-row { display: grid; grid-template-columns: .7fr 1.5fr .7fr .2fr; align-items: center; gap: 20px; padding: 19px 22px; border-bottom: 1px solid #edf2f1; }.appointment-row:last-child { border: 0; }.appointment-row > strong { color: #11a86c; font-size: .85rem; }.appointment-row div { display: grid; gap: 3px; }.appointment-row div b { font-size: .8rem; }.appointment-row div span { color: #7a8582; font-size: .7rem; }.appointment-row button { border: 0; background: transparent; color: #7a8582; }.billing-table { margin-top: 23px; }.billing-row { grid-template-columns: 1fr 1.2fr 1.6fr 1fr .8fr; }.billing-row strong { color: #121716; font-size: .75rem; }.report-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 15px; }.report-card { min-height: 240px; padding: 23px; border-radius: 19px; background: #fff; }.report-card > span, .report-card > small { color: #7e8b87; font-size: .72rem; }.report-card > strong { display: block; margin-top: 20px; font-size: 2rem; font-weight: 300; }.report-card > small { display: block; margin-top: 5px; }.report-chart { display: flex; align-items: end; gap: 9px; height: 95px; margin-top: 28px; }.report-chart i { flex: 1; border-radius: 5px 5px 0 0; background: #12ae70; }.donut { display: grid; place-items: center; width: 100px; height: 100px; margin: 26px auto 0; border: 15px solid #cfeedd; border-top-color: #12ae70; border-radius: 50%; }.donut b { font-size: 1rem; font-weight: 400; }.horizontal-progress { height: 11px; margin-top: 35px; border-radius: 9px; background: #e5edeb; }.horizontal-progress i { display: block; height: 100%; border-radius: 9px; background: #12ae70; }.settings-card { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; padding: 28px; border-radius: 19px; background: #fff; }.settings-card label { display: grid; gap: 8px; color: #65716e; font-size: .72rem; }.patient-insights-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 15px; }.body-map-card { display: grid; grid-template-columns: .75fr 1.25fr; grid-template-rows: 1fr auto; min-height: 560px; padding: 25px; border-radius: 21px; background: #e8f3f7; }.body-map-card > div:first-child { display: grid; align-content: start; gap: 5px; }.body-map-card span, .patient-profile-card span { color: #7a8784; font-size: .7rem; }.body-map-card strong { font-size: 1.3rem; font-weight: 400; }.body-map-card small { color: #7a8784; font-size: .7rem; }.body-map { display: grid; place-items: center; color: #13ad72; font-size: 16rem; }.health-index { grid-column: 1 / -1; padding: 19px; border-radius: 17px; background: #fff; }.health-index span { display: block; }.health-index strong { display: block; margin: 8px 0; font-size: 1.8rem; font-weight: 300; }.health-index strong small { font-size: .8rem; }.health-index div { height: 10px; border-radius: 9px; background: #edf1ed; }.health-index div i { display: block; width: 82%; height: 100%; border-radius: 9px; background: #cae948; }.insight-side { display: grid; align-content: start; gap: 15px; }.patient-profile-card { display: grid; grid-template-columns: auto 1fr 1fr; gap: 12px; align-items: center; padding: 17px; border-radius: 18px; background: #fff; }.patient-profile-card div { display: grid; gap: 3px; }.patient-profile-card strong, .patient-profile-card b { font-size: .78rem; font-weight: 400; }.patient-profile-card b { color: #12ae70; }.dash-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; color: #7d8986; font-size: .74rem; }.dash-breadcrumb button { border: 0; background: transparent; color: #7d8986; cursor: pointer; }.dashboard-toast { position: fixed; right: 30px; bottom: 30px; z-index: 50; display: none; border-radius: 12px; background: #14231e; color: #fff; padding: 15px 18px; box-shadow: 0 12px 25px rgba(0,0,0,.15); font-size: .76rem; }.dashboard-toast.show { display: block; }

@media (max-width: 1050px) { .public-links { gap: 15px; }.public-feature-grid { grid-template-columns: repeat(2, 1fr); }.hero-public-grid, .feature-story-grid, .metrics-story, .about-grid, .contact-public-grid, .navigator-layout { gap: 35px; }.dashboard-shell { grid-template-columns: 245px 1fr; }.dash-stats { grid-template-columns: repeat(2,1fr); }.dashboard-doctor-grid { grid-template-columns: repeat(2,1fr); }.dashboard-sidebar { padding-left: 15px; padding-right: 15px; } }
@media (max-width: 820px) { .public-container { width: min(calc(100% - 32px), 1440px); }.public-links { position: absolute; top: 72px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 18px; border: 1px solid #dce9e7; border-radius: 14px; background: #fff; box-shadow: 0 15px 30px rgba(27,75,68,.12); }.public-links.open { display: flex; }.public-links a { border-bottom: 1px solid #edf2f1; padding: 12px 0; }.public-menu { display: block; }.nav-book { display: none; }.hero-public-grid, .feature-story-grid, .metrics-story, .about-grid, .contact-public-grid, .navigator-layout, .appointment-layout { grid-template-columns: 1fr; }.public-hero-copy h1, .public-page-hero h1 { font-size: clamp(3.3rem, 15vw, 6rem); }.hero-public-media { min-height: 380px; }.hero-public-media img { min-height: 380px; }.section-row { display: block; }.section-row > p { margin-top: 18px; }.doctor-public-grid, .doctor-directory { grid-template-columns: repeat(2, 1fr); }.journey-grid { grid-template-columns: repeat(2,1fr); }.warning-grid { grid-template-columns: 1fr; }.public-footer-grid { grid-template-columns: repeat(2,1fr); }.dashboard-shell { display: block; width: calc(100% - 24px); margin: 12px auto; }.dashboard-sidebar { position: fixed; z-index: 40; top: 12px; bottom: 12px; left: -280px; width: 270px; min-height: auto; border-radius: 0 20px 20px 0; box-shadow: 10px 0 25px rgba(0,0,0,.1); transition: left .25s ease; }.dashboard-sidebar.open { left: 12px; }.dashboard-main { min-height: calc(100vh - 24px); }.dashboard-topbar { padding: 19px; }.dashboard-top-actions > button:not(.green-pill), .date-chip { display: none; }.dashboard-menu { display: block; border: 0; background: transparent; font-size: 1.3rem; }.dashboard-content { padding: 8px 19px 30px; }.patient-insights-grid, .report-grid { grid-template-columns: 1fr; }.dashboard-doctor-grid { grid-template-columns: repeat(2,1fr); }.dashboard-search { max-width: none; }.table-head { display: none; }.patient-row, .billing-row { grid-template-columns: 1fr 1fr; gap: 10px; }.patient-row > span:nth-child(2), .patient-row > span:nth-child(3), .billing-row > span:nth-child(3) { display: none; }.appointment-summary { grid-template-columns: 1fr; }.settings-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .public-feature-grid, .doctor-public-grid, .doctor-directory, .quote-row, .journey-grid, .commitment-grid { grid-template-columns: 1fr; }.public-section { padding: 75px 0; }.public-page-hero { padding: 75px 0; }.hero-image-title { left: 27px; top: 28px; }.public-contact-links, .contact-band-grid { display: grid; align-items: start; }.public-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 16px; }.public-footer-grid > :first-child { grid-column: 1 / -1; }.story-collage { min-height: 370px; }.story-circle-one { width: 230px; height: 230px; }.story-circle-two { width: 160px; height: 160px; }.story-center-card { left: 28%; width: 170px; }.doctor-toolbar { display: grid; }.category-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }.search-pill { width: 100%; }.search-pill input { width: 100%; }.appointment-choice-grid { grid-template-columns: 1fr; }.dashboard-topbar { gap: 9px; }.dashboard-search { padding: 0 11px; }.dashboard-doctor-grid, .dash-stats { grid-template-columns: 1fr; }.dash-page-head { display: block; }.dash-page-head .green-pill, .dash-page-head .dash-live { margin-top: 15px; }.dash-tabs { gap: 15px; overflow-x: auto; }.dash-tabs button { white-space: nowrap; }.dashboard-doctor-card { min-height: 295px; }.dashboard-content { padding-left: 14px; padding-right: 14px; }.body-map-card { grid-template-columns: 1fr; min-height: 540px; }.body-map { font-size: 10rem; }.patient-profile-card { grid-template-columns: auto 1fr; }.patient-profile-card > div:last-child { grid-column: 2; }.patient-row, .billing-row { padding: 15px; }.dashboard-ai-card { margin-top: 12px; } }

/* Supplied public-page composition: hero, provider directory, feature showcase, social proof, contact and photo footer */
.reference-home { background: #dceaf0; }
.reference-home .public-header { background: #fff; }
.reference-hero { padding: 28px 0 40px; background: #fff; }
.reference-hero-frame { padding: 0 25px; }
.reference-hero-image { position: relative; height: 500px; overflow: hidden; border-radius: 26px; background: linear-gradient(180deg, #75abd3 0%, #9bc4dc 100%); }
.reference-hero-image img.reference-hero-backdrop { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .28; }
.reference-hero-image::after { content: ''; position: absolute; z-index: 2; inset: 65% 0 0; background: linear-gradient(transparent, rgba(22,62,79,.6)); pointer-events: none; }
.reference-hero-team { position: absolute; z-index: 1; right: 17%; bottom: 0; left: 17%; display: flex; align-items: end; justify-content: center; height: 86%; }
.reference-team-person { position: relative; height: 78%; width: 27%; overflow: hidden; border-radius: 48% 48% 0 0; mask-image: linear-gradient(to bottom, #000 0 82%, transparent 100%); }
.reference-team-person img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .92; mix-blend-mode: multiply; }
.reference-team-center { z-index: 2; width: 34%; height: 100%; margin: 0 -2%; }
.reference-team-center img { opacity: .96; }
.reference-team-right { margin-left: -1%; }
.reference-hero-word { position: absolute; z-index: 0; top: 34px; right: 4%; left: 4%; color: #fff; font-family: 'DM Sans', sans-serif; font-size: clamp(4.8rem, 10.8vw, 10rem); font-weight: 600; letter-spacing: -.065em; line-height: 1; text-align: center; }
.reference-hero-word span { display: inline; }
.reference-hero-caption { position: absolute; z-index: 2; bottom: 46px; left: 50px; color: #fff; font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 300; letter-spacing: -.07em; line-height: .95; }.reference-hero-caption strong { font-weight: 700; }
.reference-hero-cta { position: absolute; z-index: 2; right: 40px; bottom: 33px; display: inline-flex; align-items: center; gap: 14px; border-radius: 999px; background: #fff; color: #12ae70; padding: 15px 20px; font-size: .76rem; font-weight: 700; }
.directory-section { padding: 92px 0 70px; background: #eff8fb; }
.reference-heading { text-align: center; }.reference-heading h2 { margin: 0; font-family: 'DM Sans', sans-serif; font-size: clamp(2.2rem, 4vw, 4.7rem); font-weight: 300; letter-spacing: -.08em; line-height: .95; }.reference-heading p { margin: 11px auto 33px; color: #77837f; font-size: .74rem; }
.directory-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.directory-controls .category-pills { gap: 7px; }.directory-controls .category-pill { background: #fff; }.directory-controls .search-pill { min-width: 290px; }.directory-controls .search-pill input { width: 220px; }
.directory-controls .category-pill.active { background: #12ae70; color: #fff; }
.reference-doctor-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }.reference-doctor-grid .public-doctor-card { border: 1px solid #dce8ed; border-radius: 17px; background: rgba(255,255,255,.82); box-shadow: 0 7px 16px rgba(54,94,103,.05); }.reference-doctor-grid .public-doctor-card-top { padding: 17px 17px 0; }.reference-doctor-grid .public-doctor-card h3 { font-size: 1rem; }.reference-doctor-grid .public-doctor-card > img { height: 190px; margin-top: 0; object-fit: cover; background: #deeff3; }.reference-doctor-grid .public-doctor-card-body { padding: 12px 17px 16px; }.reference-doctor-grid .public-doctor-card-body p { min-height: 45px; margin: 5px 0 11px; font-size: .69rem; }.reference-doctor-grid .doctor-card-actions .green-pill, .reference-doctor-grid .doctor-card-actions .outline-pill { min-height: 31px; padding: 0 10px; font-size: .6rem; }
.reference-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 27px; }.reference-pagination button { width: 29px; height: 29px; border: 0; border-radius: 50%; background: #fff; color: #7c8987; cursor: pointer; font-size: .7rem; }.reference-pagination button.active { background: #12ae70; color: #fff; }
.reference-features { padding: 95px 0 54px; background: #e9f7e9; }.feature-reference-frame { position: relative; min-height: 540px; }.feature-reference-copy { position: absolute; top: 15px; left: 2%; max-width: 360px; }.feature-reference-copy h2 { margin: 0 0 9px; font-family: 'DM Sans', sans-serif; font-size: clamp(1.7rem, 3vw, 3.3rem); font-weight: 300; letter-spacing: -.075em; line-height: .94; }.feature-reference-copy p { max-width: 270px; color: #79877d; font-size: .7rem; }.reference-phone { position: absolute; top: 12px; left: 50%; width: 240px; height: 465px; border: 8px solid #131818; border-radius: 34px; background: #fff; box-shadow: 0 20px 35px rgba(45,78,59,.18); transform: translateX(-50%); }.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 50px 21px 25px; border-radius: 24px; background: #f6fbf7; }.phone-notch { position: absolute; top: 9px; left: 50%; width: 83px; height: 17px; border-radius: 10px; background: #131818; transform: translateX(-50%); }.phone-label { display: block; color: #0eae6e; font-size: .55rem; font-weight: 800; }.phone-screen strong { display: block; margin-top: 45px; font-size: 1.8rem; font-weight: 300; letter-spacing: -.08em; line-height: .95; }.phone-chart { display: flex; align-items: end; gap: 5px; height: 115px; margin: 35px 0; }.phone-chart i { flex: 1; border-radius: 3px 3px 0 0; background: #b9e8d0; }.phone-chart i:nth-child(1) { height: 34%; }.phone-chart i:nth-child(2) { height: 58%; }.phone-chart i:nth-child(3) { height: 45%; }.phone-chart i:nth-child(4) { height: 78%; }.phone-chart i:nth-child(5) { height: 96%; background: #12ae70; }.phone-screen .green-pill { width: 100%; }
.feature-callout { position: absolute; top: 100px; width: 190px; display: grid; gap: 4px; color: #445750; }.feature-callout.left { left: 2%; top: 300px; }.feature-callout.right { right: 2%; top: 110px; }.feature-callout strong { font-size: .78rem; }.feature-callout small { color: #829087; font-size: .65rem; }.reference-feature-tiles { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }.reference-feature-tiles a { display: grid; gap: 5px; min-height: 95px; padding: 15px; border: 1px solid rgba(128,175,146,.22); border-radius: 14px; background: rgba(255,255,255,.75); }.reference-feature-tiles strong { font-size: .72rem; }.reference-feature-tiles small { color: #7c8980; font-size: .6rem; }
.reference-testimonials { overflow: hidden; padding: 55px 0 35px; background: #f5fbfc; }.reference-testimonial-row { display: flex; gap: 14px; width: max-content; margin-left: -50px; }.reference-testimonial-row article { width: 275px; min-height: 150px; padding: 18px; border: 1px solid #dce9e7; border-radius: 16px; background: #e9f7f4; }.reference-testimonial-row article:nth-child(2) { background: #fff; }.reference-testimonial-row span { color: #7e8d88; font-size: .6rem; font-weight: 700; }.reference-testimonial-row p { margin: 19px 0 16px; color: #202b27; font-size: .82rem; line-height: 1.35; }.reference-testimonial-row small { color: #7d8985; font-size: .62rem; }.reference-testimonial-row small b { float: right; color: #cc9c23; }.testimonial-controls { display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 27px; color: #7d8985; font-size: .75rem; }.testimonial-controls i { width: 45px; height: 2px; background: #202b27; }
.reference-community { padding: 75px 0 95px; background: #fff; }.community-gallery { display: flex; justify-content: center; align-items: end; gap: 13px; margin-top: 35px; }.community-gallery > div { width: 170px; height: 125px; overflow: hidden; border-radius: 85px 85px 15px 15px; }.community-gallery > div:nth-child(2), .community-gallery > div:nth-child(4) { width: 145px; height: 145px; border-radius: 50%; }.community-gallery > div:nth-child(3) { position: relative; width: 250px; height: 160px; border-radius: 100px 100px 15px 15px; }.community-gallery img { width: 100%; height: 100%; object-fit: cover; }.gallery-video span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #12ae70; color: #fff; transform: translate(-50%, -50%); }
.reference-contact { padding: 66px 0 80px; background: #fff; }.reference-contact-frame { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }.reference-contact-copy h2 { margin: 0 0 55px; font-family: 'DM Sans', sans-serif; font-size: clamp(4rem, 9vw, 9rem); font-weight: 300; letter-spacing: -.1em; line-height: .8; }.reference-contact-copy .contact-detail { margin: 20px 0; }.reference-contact-copy .contact-detail strong { color: #202b27; font-size: .7rem; }.reference-contact-copy .contact-detail span { color: #77837f; font-size: .72rem; }.reference-contact-form { padding-top: 72px; }.reference-contact-form form { display: grid; gap: 17px; }.reference-contact-form label { display: grid; gap: 6px; color: #4d5d56; font-size: .7rem; }.reference-contact-form input, .reference-contact-form select, .reference-contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #dce6e3; background: transparent; outline: none; padding: 9px 0; font: inherit; font-size: .74rem; }.reference-contact-form .appointment-consent { display: flex; align-items: center; gap: 7px; }.reference-contact-form .appointment-consent input { width: auto; }.reference-contact-form .green-pill { width: fit-content; margin-top: 5px; }
.reference-footer-photo { position: relative; min-height: 500px; overflow: hidden; background: #162a29; }.reference-footer-photo > img { width: 100%; height: 500px; object-fit: cover; object-position: center; opacity: .7; }.reference-footer-overlay { position: absolute; inset: auto 0 0; padding: 36px 0 21px; background: rgba(11,28,30,.74); color: #fff; }.reference-footer-overlay .public-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; padding-bottom: 35px; }.reference-footer-overlay .public-footer-bottom { border-top-color: rgba(255,255,255,.18); }.reference-footer-overlay h3 { margin: 0 0 12px; color: #9be8c2; font-size: .67rem; }.reference-footer-overlay .public-footer-grid a, .reference-footer-overlay .public-footer-grid span { display: block; color: rgba(255,255,255,.62); font-size: .68rem; }.reference-footer-overlay .public-footer-grid a { margin: 8px 0; }.reference-footer-overlay .public-footer-grid a:hover { color: #fff; }
@media (max-width: 820px) { .reference-hero { padding: 16px 0 28px; }.reference-hero-frame { padding: 0; }.reference-hero-image { height: 410px; }.reference-hero-image img.reference-hero-backdrop { height: 100%; min-height: 0; }.reference-hero-team { display: none; }.reference-hero-word { top: 55px; font-size: 4.6rem; }.reference-hero-caption { bottom: 36px; left: 28px; font-size: 1.7rem; }.reference-hero-cta { right: 20px; bottom: 21px; }.directory-controls { display: grid; }.directory-controls .category-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }.directory-controls .search-pill { min-width: 0; width: 100%; }.directory-controls .search-pill input { width: 100%; }.reference-doctor-grid { grid-template-columns: repeat(2,1fr); }.feature-reference-frame { min-height: 720px; }.feature-reference-copy { position: static; max-width: 100%; }.reference-phone { top: 150px; }.feature-callout.left { left: 0; top: 535px; }.feature-callout.right { right: 0; top: 535px; }.reference-feature-tiles { grid-template-columns: repeat(2,1fr); }.reference-feature-tiles a { min-height: 78px; }.community-gallery { flex-wrap: wrap; }.reference-contact-frame { grid-template-columns: 1fr; gap: 10px; }.reference-contact-form { padding-top: 0; }.reference-footer-overlay .public-footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .reference-doctor-grid { grid-template-columns: 1fr; }.reference-doctor-grid .public-doctor-card > img { height: 220px; }.reference-hero-word { font-size: 3.7rem; }.feature-reference-frame { min-height: 830px; }.reference-phone { width: 205px; height: 400px; }.feature-callout.left, .feature-callout.right { top: 485px; width: 145px; }.reference-feature-tiles { bottom: 0; }.community-gallery > div, .community-gallery > div:nth-child(2), .community-gallery > div:nth-child(4) { width: 95px; height: 95px; }.community-gallery > div:nth-child(3) { width: 150px; height: 105px; }.reference-contact-copy h2 { font-size: 4.6rem; }.reference-footer-photo > img { height: 610px; }.reference-footer-overlay { padding-bottom: 15px; } }

/* Fidelity pass: match the supplied long-page density and patient insights composition. */
.reference-home .public-container { width: min(calc(100% - 120px), 1740px); }
.reference-home .reference-doctor-grid { align-items: stretch; }
.reference-home .reference-doctor-grid .public-doctor-card { min-height: 378px; }
.reference-home .reference-doctor-grid .public-doctor-card > img { object-position: center top; }

.dashboard-ai-card { background: linear-gradient(135deg, #f0ffd9 0%, #dcf6d6 58%, #bceecf 100%); }
.dashboard-ai-card h3 { position: relative; z-index: 1; margin-top: 10px; font-size: 1.35rem; letter-spacing: -.06em; }
.dashboard-ai-card > p { display: none; }
.ai-advantage { position: relative; z-index: 1; margin: 14px 0 15px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.62); }
.ai-advantage strong { display: block; font-size: .78rem; font-weight: 500; }
.ai-advantage p { max-width: 175px; margin: 8px 0 13px; color: #718066; font-size: .7rem; line-height: 1.4; }
.ai-sparkline { display: flex; align-items: end; gap: 5px; height: 38px; }
.ai-sparkline i { flex: 1; height: 40%; border-top: 2px solid #cce750; transform: skewY(-15deg); }
.ai-sparkline i:nth-child(2) { height: 58%; }.ai-sparkline i:nth-child(3) { height: 35%; }.ai-sparkline i:nth-child(4) { height: 75%; border-color: #8ecf68; }.ai-sparkline i:nth-child(5) { height: 60%; }.ai-sparkline i:nth-child(6) { height: 88%; border-color: #62bc75; }.ai-sparkline i:nth-child(7) { height: 72%; }

.patient-insights-reference { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(430px, .8fr); gap: 15px; }
.patient-insights-center { min-width: 0; display: grid; grid-template-rows: auto minmax(330px, 1fr) auto; min-height: 760px; padding: 25px 25px 20px; border-radius: 21px; background: #e9f4f7; }
.patient-insights-heading { display: flex; justify-content: space-between; gap: 20px; }
.patient-insights-heading h1 { margin: 24px 0 20px; font-family: 'DM Sans', sans-serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 300; letter-spacing: -.08em; line-height: .9; }
.patient-measurements { display: grid; gap: 0; margin-bottom: 15px; }
.patient-measurements strong { font-size: 1.7rem; font-weight: 400; line-height: 1.05; }.patient-measurements span { color: #7c8987; font-size: .72rem; margin-bottom: 13px; }
.body-map-visual { display: grid; place-items: center; min-height: 350px; color: #7e918d; }
.body-map-visual svg { width: min(52%, 280px); height: 100%; max-height: 485px; filter: drop-shadow(0 15px 12px rgba(107,132,126,.12)); }
.body-map-visual svg > circle, .body-map-visual svg > path:not(.body-highlight) { fill: #839a95; stroke: #f5fbfb; stroke-width: 4; stroke-linejoin: round; }
.body-map-visual .body-highlight { stroke: #f5fbfb; stroke-width: 4; stroke-linejoin: round; }.body-map-visual .body-highlight.yellow { fill: #f5da45; }.body-map-visual .body-highlight.green { fill: #12ae70; }
.body-map-visual .body-node { fill: #fff; stroke: #fff; stroke-width: 2; }
.patient-insights-center .health-index { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 11px 20px; padding: 20px; border-radius: 17px; background: #fff; }
.patient-insights-center .health-index > div:first-child { display: grid; gap: 2px; }.patient-insights-center .health-index > div:first-child span { color: #7a8784; font-size: .7rem; }.patient-insights-center .health-index > div:first-child strong { margin: 0; font-size: 1.45rem; font-weight: 400; }
.normal-chip { align-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid #edf1ef; border-radius: 999px; color: #57655f; font-size: .67rem; }.normal-chip i { width: 7px; height: 7px; border-radius: 50%; background: #12ae70; }
.patient-insights-center .health-index label { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #515e59; font-size: .72rem; }.patient-insights-center .health-index label b { font-weight: 400; }.index-track { grid-column: 1 / -1; height: 11px; border-radius: 10px; background: #e9ecec; }.index-track i { display: block; width: 38%; height: 100%; border-radius: inherit; border-right: 3px dotted #1a2621; background: #c9c9c9; }.index-track.result i { width: 72%; border-right: 0; background: linear-gradient(90deg, #f7e14e, #65c850); }
.patient-insights-side { display: grid; align-content: start; gap: 15px; min-width: 0; }
.patient-insights-side .patient-profile-card { grid-template-columns: 92px 1fr 1fr; min-height: 132px; padding: 13px; }.patient-insights-side .patient-profile-card > img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; }.patient-insights-side .patient-profile-card div { display: grid; gap: 3px; }.patient-insights-side .patient-profile-card span { color: #7a8784; font-size: .69rem; }.patient-insights-side .patient-profile-card strong, .patient-insights-side .patient-profile-card b { font-size: .88rem; font-weight: 400; }.patient-insights-side .patient-profile-card b { color: #121716; }
.insight-metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }.insight-metric-grid article { min-height: 170px; padding: 18px; overflow: hidden; border-radius: 17px; background: #fff; }.insight-metric-grid article > span { display: block; color: #7a8784; font-size: .71rem; }.insight-metric-grid article > strong { display: block; margin-top: 5px; font-size: 1.4rem; font-weight: 400; }.metric-bars, .metric-line, .metric-waves { display: block; height: 67px; margin-top: 18px; }.metric-bars { background: repeating-linear-gradient(90deg, transparent 0 8px, #e4e5e5 8px 13px, transparent 13px 18px); border-bottom: 0; }.metric-bars::after { content: ''; display: block; width: 100%; height: 62%; background: repeating-linear-gradient(90deg, transparent 0 8px, #f04e51 8px 13px, transparent 13px 18px); clip-path: polygon(0 70%,4% 35%,8% 78%,12% 5%,16% 60%,20% 15%,24% 65%,28% 20%,32% 75%,36% 28%,40% 65%,44% 5%,48% 62%,52% 20%,56% 76%,60% 32%,64% 63%,68% 12%,72% 74%,76% 28%,80% 55%,84% 4%,88% 67%,92% 22%,96% 74%,100% 30%); }.metric-line { border-bottom: 2px solid #f1a9ad; clip-path: polygon(0 55%,10% 60%,18% 18%,25% 78%,35% 45%,42% 65%,50% 12%,58% 72%,66% 40%,75% 55%,84% 7%,92% 60%,100% 35%,100% 39%,92% 68%,84% 15%,75% 61%,66% 47%,58% 78%,50% 18%,42% 71%,35% 50%,25% 84%,18% 25%,10% 66%,0 61%); background: #ef9ba1; }.metric-line.green { background: #2cbf96; border-color: #2cbf96; }.metric-waves { border-top: 2px solid #ef9ca2; border-bottom: 2px solid #222; border-radius: 50%; transform: skewY(-4deg); }
.insight-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.insight-products article { min-height: 135px; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; border-radius: 17px; background: #fff; }.insight-products span { display: flex; justify-content: space-between; gap: 8px; font-size: .82rem; }.insight-products span b { color: #7a8784; font-weight: 400; }.insight-products strong { font-size: .8rem; font-weight: 400; }.product-bottle { align-self: end; display: block; width: 28px; height: 53px; margin-top: -24px; border-radius: 5px 5px 8px 8px; background: #20496e; box-shadow: 0 -8px 0 -2px #132a3e; }.product-bottle.purple { background: #76509d; box-shadow: 0 -8px 0 -2px #412a5f; }.product-bottle.red { background: #e6504c; box-shadow: 0 -8px 0 -2px #7e2725; }
.heart-rate-card { display: grid; grid-template-columns: 1fr 125px; min-height: 195px; padding: 20px; border-radius: 17px; background: #fff; }.heart-rate-card span { color: #121716; font-size: 1.22rem; }.heart-rate-card strong { display: block; margin-top: 25px; font-size: .82rem; font-weight: 500; }.heart-rate-card p { max-width: 310px; margin: 8px 0 10px; color: #7a8784; font-size: .72rem; line-height: 1.35; }.heart-rate-card b { display: block; font-size: 2.8rem; font-weight: 400; letter-spacing: -.08em; }.heart-rate-card b small { color: #7a8784; font-size: 1.2rem; letter-spacing: 0; }.heart-illustration { align-self: end; color: #ec5555; font-size: 6rem; line-height: 1; text-align: center; filter: drop-shadow(0 8px 5px rgba(154,44,44,.15)); }

@media (max-width: 1050px) { .reference-home .public-container { width: min(calc(100% - 64px), 1440px); }.patient-insights-reference { grid-template-columns: 1fr; }.patient-insights-center { min-height: 640px; }.patient-insights-side { grid-template-columns: 1fr 1fr; }.patient-insights-side .patient-profile-card, .heart-rate-card { grid-column: 1 / -1; } }
@media (max-width: 820px) { .reference-home .public-container { width: min(calc(100% - 32px), 1440px); }.patient-insights-side { display: grid; grid-template-columns: 1fr; }.patient-insights-side .patient-profile-card, .heart-rate-card { grid-column: auto; }.patient-insights-center { min-height: 620px; padding: 18px; }.body-map-visual svg { width: 45%; }.patient-insights-side .patient-profile-card { grid-template-columns: 76px 1fr; }.patient-insights-side .patient-profile-card > img { width: 76px; height: 76px; }.patient-insights-side .patient-profile-card > div:last-child { grid-column: 2; }.insight-metric-grid { gap: 10px; }.insight-products { gap: 10px; } }
@media (max-width: 520px) { .patient-insights-reference { gap: 12px; }.patient-insights-center { min-height: 570px; }.patient-insights-heading h1 { font-size: 2.2rem; }.body-map-visual { min-height: 245px; }.body-map-visual svg { width: 48%; }.patient-insights-center .health-index { padding: 14px; }.insight-metric-grid article { min-height: 145px; padding: 14px; }.heart-rate-card { grid-template-columns: 1fr 75px; }.heart-illustration { font-size: 4rem; }.reference-home .reference-doctor-grid .public-doctor-card { min-height: 0; } }

/* Provider card refinement: compact, portrait-led tiles matching the supplied reference. */
.reference-home .reference-doctor-grid .public-doctor-card { display: grid; grid-template-rows: auto 190px auto; min-height: 0; border: 1px solid #d7e5e8; border-radius: 22px; background: #fff; box-shadow: 0 12px 26px rgba(50,91,103,.07); }
.reference-home .reference-doctor-grid .public-doctor-card-top { align-items: start; min-height: 69px; padding: 16px 17px 11px; background: linear-gradient(135deg, #fff 0%, #f4f9fb 100%); }
.reference-home .reference-doctor-grid .public-doctor-card h3 { font-size: 1.05rem; letter-spacing: -.045em; }
.reference-home .reference-doctor-grid .public-doctor-card-top span:not(.rating) { display: block; margin-top: 4px; font-size: .68rem; }
.reference-home .reference-doctor-grid .public-doctor-card .rating { padding: 6px 10px; font-size: .66rem; }
.reference-home .reference-doctor-grid .public-doctor-card > img { width: 100%; height: 190px; margin: 0; padding: 0; object-fit: cover; object-position: center top; background: linear-gradient(145deg, #eaf3f6 0%, #dcebf0 100%); }
.reference-home .reference-doctor-grid .public-doctor-card-body { min-height: 129px; display: flex; flex-direction: column; padding: 13px 17px 15px; background: #fff; }
.reference-home .reference-doctor-grid .public-doctor-card-body > strong { color: #33433f; font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.reference-home .reference-doctor-grid .public-doctor-card-body p { display: -webkit-box; min-height: 0; overflow: hidden; margin: 6px 0 13px; color: #73817d; font-size: .7rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.reference-home .reference-doctor-grid .doctor-card-actions { margin-top: auto; }
.reference-home .reference-doctor-grid .doctor-card-actions .green-pill, .reference-home .reference-doctor-grid .doctor-card-actions .outline-pill { min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: .62rem; }
.reference-home .reference-doctor-grid .doctor-card-actions .outline-pill { border-color: #cbdcda; background: #fff; color: #23332e; }

@media (max-width: 520px) {
  .reference-home .reference-doctor-grid .public-doctor-card { grid-template-rows: auto 195px auto; }
  .reference-home .reference-doctor-grid .public-doctor-card > img { height: 195px; padding: 0; object-fit: cover; object-position: center top; }
  .reference-home .reference-doctor-grid .public-doctor-card-body { min-height: 122px; }
}

/* Patient-facing readability and responsive interaction baseline. */
.public-body .public-container { max-width: 1240px; }
.public-body h1, .public-body h2, .public-body h3 { font-family: 'DM Sans', sans-serif; letter-spacing: -.035em; line-height: 1.12; }
.public-body .reference-heading h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; }
.public-body .public-page-hero h1 { font-size: clamp(38px, 5.5vw, 68px); }
.public-body .reference-heading p { font-size: 15px; line-height: 1.6; }
.public-body .green-pill, .public-body .outline-pill, .public-body .category-pill { min-height: 44px; font-size: 14px; }
.public-body .search-pill { min-height: 48px; }
.public-body .search-pill input { font-size: 16px; min-width: 0; }
.public-body .public-links { font-size: 14px; gap: 22px; }
.public-body .public-doctor-card h3, .reference-home .reference-doctor-grid .public-doctor-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.public-body .public-doctor-card-top span:not(.rating), .reference-home .reference-doctor-grid .public-doctor-card-top span:not(.rating) { font-size: 14px; }
.public-body .public-doctor-card-body p, .reference-home .reference-doctor-grid .public-doctor-card-body p { font-size: 14px; line-height: 1.6; -webkit-line-clamp: unset; display: block; }
.public-body .doctor-card-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.public-body .doctor-card-actions a, .reference-home .reference-doctor-grid .doctor-card-actions .green-pill, .reference-home .reference-doctor-grid .doctor-card-actions .outline-pill { width: 100%; min-height: 44px; font-size: 13px; padding: 0 10px; }
.public-body .reference-doctor-grid { gap: 24px; }
.public-body .reference-contact-form label, .public-body .appointment-form-card form > label:not(.appointment-consent) { font-size: 14px; }
.public-body input, .public-body textarea, .public-body select { scroll-margin-top: 24px; }
.public-body .appointment-form-card input, .public-body .appointment-form-card textarea, .public-body .reference-contact-form input, .public-body .reference-contact-form textarea, .public-body .reference-contact-form select { font-size: 16px; }
.public-body :focus-visible { outline: 3px solid #176b58; outline-offset: 4px; }
.public-body .public-menu { width: 44px; height: 44px; }
.public-skip-link { position: fixed; top: 12px; left: 16px; z-index: 1000; padding: 14px 20px; border-radius: 8px; color: #fff; background: #176647; transform: translateY(-180%); }
.public-skip-link:focus { transform: translateY(0); }
.public-body .public-links .mobile-nav-booking { display: none; }
@media (max-width: 820px) {
  .public-body .public-links { gap: 0; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .public-body .public-links a { min-height: 48px; display: flex; align-items: center; }
  .public-body .public-links .mobile-nav-booking { display: flex; justify-content: center; margin-top: 12px; padding: 12px 16px; background: #176647; color: white; border: 0; border-radius: 12px; }
}
.public-body .pagination-row, .public-body .reference-pagination { display: none; }
.public-body .category-pill { flex-shrink: 0; white-space: nowrap; }
.directory-results-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin: 0 0 16px; }
.directory-results-summary p { margin: 0; font-size: 14px; color: #455e55; overflow-wrap: anywhere; }
.directory-reset { min-height: 44px; padding: 8px 12px; background: transparent; color: #176647; border: 0; text-decoration: underline; text-underline-offset: 4px; font: inherit; white-space: nowrap; cursor: pointer; }
.directory-reset[hidden] { display: none; }
@media (max-width: 600px) {
  .public-body .public-footer .public-footer-grid > div:last-child { grid-column: 1 / -1; }
  .public-body .public-footer .public-footer-bottom { flex-direction: column; gap: 8px; width: calc(100% - 32px); margin-inline: auto; }
}
.public-body .public-footer .footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1.15; }
.public-body .public-footer .footer-brand > span:last-child { display: grid; gap: 3px; font-size: 18px; color: #fff; line-height: 1.15; }
.public-body .public-footer .public-logo { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; }
.public-body .public-footer .public-footer-grid h3 { font-size: 13px; letter-spacing: .06em; }
.public-body .public-footer .public-footer-grid > div > a:not(.footer-brand) { display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 14px; line-height: 1.5; color: #e0eae5; overflow-wrap: anywhere; }
.public-body .public-footer .public-footer-grid p, .public-body .public-footer .public-footer-grid > div > span { font-size: 14px; line-height: 1.7; color: #c1d0c8; }
.public-body .public-footer .public-footer-bottom { font-size: 13px; line-height: 1.6; }
.public-legacy-content .container { width: min(calc(100% - 48px), 1240px); }
.public-legacy-content .page-hero { background: #edf7f5; color: #20312d; padding-block: 64px; }
.public-legacy-content .page-hero h1 { color: #20312d; }
.public-legacy-content .page-hero p, .public-legacy-content .page-hero .breadcrumb, .public-legacy-content .page-hero .breadcrumb a { color: #52635c; }
.public-legacy-content .page-hero h1 { font-size: clamp(36px, 5vw, 64px); max-width: 900px; font-weight: 500; }
.public-legacy-content .page-hero p { font-size: 17px; line-height: 1.7; }
.public-legacy-content .section { padding-block: 64px; }
.public-legacy-content .section-tint { background: #eff8fb; }
.public-legacy-content .btn, .public-legacy-content .filter-btn { min-height: 44px; font-size: 14px; }
.public-legacy-content .btn-dark, .public-legacy-content .filter-btn.active { background: #176647; color: white; }
.public-legacy-content .treatment-card p, .public-legacy-content .article-body p { font-size: 16px; line-height: 1.65; }
@media (max-width: 600px) {
  .public-legacy-content .container { width: calc(100% - 32px); }
  .public-legacy-content .page-hero, .public-legacy-content .section { padding-block: 48px; }
}
.public-body .green-pill, .dashboard-body .green-pill, .public-body .category-pill.active, .dashboard-body .dash-filter-pills button.active { background: #176647; color: #fff; }
.public-body .green-pill:hover, .dashboard-body .green-pill:hover { background: #104d35; }
.public-body .public-kicker, .public-body .phone-label { color: #176647; }
.public-body .reference-heading p, .public-body .public-doctor-card-body p, .reference-home .reference-doctor-grid .public-doctor-card-body p, .public-body .public-doctor-card-top span:not(.rating) { color: #52635c; }
.public-body .emergency-hero .public-kicker { color: #a9332c; }
.dashboard-body .record-count, .dashboard-body .table-head { color: #52635c; }
.dashboard-body .status-chip { color: #176647; }
.dashboard-body .status-chip.pending, .dashboard-body .status-chip.new { color: #78570b; }
.dashboard-body .status-chip.follow-up { color: #36598e; }
.public-body h1.reference-hero-caption { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.dashboard-settings-status, .dashboard-search-status { color: #425d52; font-size: 14px; line-height: 1.6; margin: 16px 0; }
.dashboard-body .settings-card input, .dashboard-body .settings-card select { min-height: 48px; font-size: 16px; }
.dashboard-demo-notice { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #d5e2df; border-radius: 12px; background: #f7faf9; color: #425d52; font-size: 14px; line-height: 1.6; }
.dashboard-body .dash-doctor-card[hidden], .dashboard-body .patient-row[hidden] { display: none; }
.dashboard-body .insights-empty { grid-column: 1 / -1; }
.dashboard-body .insights-empty p, .dashboard-body .health-index p, .dashboard-body .insight-metric-grid p { font-size: 14px; line-height: 1.6; color: #53665e; }
.dashboard-body .dashboard-ai-card p { font-size: 13px; line-height: 1.6; }
.dashboard-body .dashboard-menu { min-width: 44px; min-height: 44px; }
.dashboard-body :focus-visible { outline: 3px solid #176647; outline-offset: 3px; }
@media (max-width: 600px) {
  .dashboard-body .dashboard-doctor-grid { grid-template-columns: minmax(0, 1fr); }
  .dashboard-body .dashboard-topbar { flex-wrap: wrap; gap: 12px; }
  .dashboard-body .dashboard-search { min-width: 0; flex: 1 1 200px; }
  .dashboard-body .dashboard-search input { min-width: 0; width: 100%; font-size: 16px; }
  .dashboard-body .dash-tabs { overflow-x: auto; }
  .dashboard-body .dash-tabs button { flex-shrink: 0; min-height: 44px; }
}
.reference-home .reference-testimonial-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; }
.reference-home .reference-testimonial-row article { width: auto; min-width: 0; }
.reference-home .reference-footer-overlay .public-footer-grid a { min-height: 44px; display: flex; align-items: center; font-size: 14px; color: #e2eeea; margin: 0; line-height: 1.5; }
.reference-home .reference-footer-overlay h3 { font-size: 14px; }
.reference-home .reference-footer-overlay .public-footer-grid span { font-size: 14px; color: #e2eeea; }
@media (max-width: 1000px) {
  .reference-home .reference-testimonial-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .reference-home .reference-testimonial-row { grid-template-columns: minmax(0, 1fr); }
  .reference-home .reference-testimonial-row article { padding: 24px; }
  .reference-home .reference-footer-photo { min-height: 0; padding-top: 180px; }
  .reference-home .reference-footer-photo > img { position: absolute; inset: 0; height: 100%; }
  .reference-home .reference-footer-overlay { position: relative; padding-top: 28px; background: rgba(11,28,30,.92); }
  .reference-home .reference-footer-overlay .public-footer-grid { gap: 20px; }
  .reference-home .reference-footer-overlay .public-footer-grid > div:first-child { grid-column: 1 / -1; }
}
.reference-home .feature-reference-copy > p { font-size: 16px; line-height: 1.6; color: #53665e; }
.reference-home .feature-callout strong { font-size: 16px; line-height: 1.4; }
.reference-home .feature-callout small { font-size: 14px; line-height: 1.6; color: #53665e; }
.reference-home .reference-testimonial-row article > span, .reference-home .reference-testimonial-row article > small { font-size: 12px; line-height: 1.5; }
.reference-home .reference-testimonial-row article > p { font-size: 16px; line-height: 1.6; }
@media (min-width: 821px) {
  .reference-home .feature-reference-frame { min-height: 640px; }
  .reference-home .reference-phone { height: 430px; top: 0; }
  .reference-home .feature-callout { width: 220px; }
}
@media (max-width: 820px) {
  .reference-home .feature-reference-frame { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; }
  .reference-home .feature-reference-copy { position: static; max-width: none; }
  .reference-home .reference-phone { position: relative; top: auto; right: auto; bottom: auto; left: auto; transform: none; margin: 0 auto; width: 230px; height: 420px; }
  .reference-home .feature-callout.left, .reference-home .feature-callout.right { position: static; width: auto; max-width: none; margin-top: 24px; }
  .reference-home .reference-feature-tiles { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .reference-home .reference-feature-tiles a { min-width: 0; padding: 18px 14px; }
}
.phone-visit-steps { margin: 24px 0; padding-left: 20px; text-align: left; color: #35594c; font-size: 13px; line-height: 1.6; }
.phone-visit-steps li { padding-block: 7px; }
.reference-home .phone-screen > a { min-height: 44px; font-size: 12px; }
.reference-home .reference-feature-tiles strong { font-size: 15px; line-height: 1.35; }
.reference-home .reference-feature-tiles small { font-size: 13px; line-height: 1.5; }
.provider-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid #d7e5e1; border-radius: 24px; color: #182d25; background: #fff; box-shadow: 0 24px 80px #183a3440; overflow-y: auto; }
.provider-dialog::backdrop { background: #122e29a6; backdrop-filter: blur(4px); }
.provider-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; float: right; margin: -12px -12px 8px 12px; border: 1px solid #dce8e4; border-radius: 50%; background: #f4f8f6; font-size: 28px; cursor: pointer; }
.provider-dialog h2 { margin: 16px 0 8px; font-size: 30px; }
.provider-dialog-role { color: #53665e; margin-top: 0; }
.provider-dialog > img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: center 30%; border-radius: 14px; margin: 24px 0; }
.provider-dialog h3 { font-size: 17px; margin-bottom: 8px; }
.provider-dialog p { line-height: 1.6; }
.provider-dialog-actions { display: grid; gap: 12px; }
@media (max-width: 600px) { .provider-dialog { padding: 24px; }.provider-dialog > img { height: 200px; } }
.directory-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 16px; padding: 48px 24px; text-align: center; background: white; border: 1px solid #dce8e4; border-radius: 20px; }
.directory-empty h3, .directory-empty p { margin: 0; }
.directory-empty p { max-width: 460px; color: #53665e; line-height: 1.6; }
.directory-empty > a { padding: 12px; color: #176647; line-height: 1.5; }
.public-legacy-content .faq-trigger { min-height: 56px; gap: 16px; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 500; line-height: 1.45; }
.public-legacy-content .faq-answer { font-size: 16px; line-height: 1.65; color: #52635c; }
#faq { scroll-margin-top: 100px; }
.appointment-form-card select { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #c9d7d0; border-radius: 10px; background: #fff; color: #202b27; font: inherit; font-size: 16px; }
.appointment-form-card label > small { color: #52635c; font-size: 13px; line-height: 1.5; }
.provider-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 28px; color: #176647; font-weight: 600; }
.provider-page-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.provider-page-portrait { min-width: 0; }
.provider-page-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 24px; background: #dcebf0; }
.provider-page-portrait p { margin-top: 10px; font-size: 13px; color: #52635c; line-height: 1.5; }
.provider-page-copy h1 { margin: 16px 0; font-size: clamp(36px, 4.5vw, 64px); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
.provider-page-role { color: #176647; font-size: 20px; }
.provider-page-copy h2 { margin: 32px 0 12px; font-size: 20px; }
.provider-page-copy p { line-height: 1.65; }
.provider-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.provider-page-location { margin-top: 16px; color: #52635c; font-size: 14px; }
.provider-preparation { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.provider-preparation h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.provider-preparation p { color: #52635c; line-height: 1.65; }
.provider-preparation ol { margin: 0; padding-left: 24px; }
.provider-preparation li { padding: 0 0 20px 12px; }
.provider-preparation li::marker { color: #176647; font-weight: 600; }
.provider-preparation h3 { margin: 0; font-size: 18px; }
@media (max-width: 820px) {
  .provider-page-grid, .provider-preparation { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .provider-page-portrait { max-width: 480px; }
  .provider-page-portrait img { height: 300px; aspect-ratio: auto; object-position: center 20%; }
  .provider-page-actions > a { flex: 1 1 220px; }
}
/* Reference contact composition: headline spans both columns. */
.reference-home .reference-contact-frame { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; }
.reference-home .reference-contact-title { grid-column: 1 / -1; margin: 0; font-family: 'DM Sans', sans-serif; font-size: clamp(64px, 14vw, 200px); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.reference-home .reference-contact-copy .contact-intro { margin: 0 0 32px; font-size: 26px; line-height: 1.3; color: #202b27; }
.reference-home .reference-contact-copy .contact-detail { margin: 24px 0; gap: 8px; }
.reference-home .reference-contact-copy .contact-detail strong { font-size: 13px; }
.reference-home .reference-contact-copy .contact-detail span { font-size: 16px; line-height: 1.6; color: #52635c; }
.reference-home .reference-contact-form { padding-top: 0; }
.reference-home .reference-contact-form :is(input, select, textarea):focus-visible { outline: 2px solid #176647; outline-offset: 4px; }
@media (max-width: 820px) {
  .reference-home .reference-contact-frame { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .reference-home .reference-contact-copy .contact-intro { margin-bottom: 20px; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .public-nav { flex-wrap: wrap; padding-block: 18px; gap: 18px; }
  .public-links { order: 3; width: 100%; justify-content: center; }
  .public-body .doctor-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .public-body .public-container { width: calc(100% - 32px); }
  .public-body .doctor-directory { grid-template-columns: minmax(0,1fr); }
  .public-body .public-section, .public-body .directory-section { padding-block: 56px; }
  .public-body .public-page-hero { padding-block: 48px; }
  .public-body .reference-hero-word { font-size: clamp(32px, 10vw, 52px); letter-spacing: -.055em; }
  .public-body .appointment-consent { font-size: 13px !important; line-height: 1.5; }
  .public-body .appointment-choice { min-height: 58px; }
  .public-body .appointment-choice strong { font-size: 15px; }
  .public-body .appointment-choice small { font-size: 13px; }
  .public-body .reference-contact-copy h2 { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Frontend prototype polish: preserve the supplied page composition. */
.utility-dialog { width: min(500px, calc(100% - 32px)); }
.utility-content { display: grid; gap: 12px; }
.utility-action { display: grid; gap: 8px; padding: 20px; border: 1px solid #d9e5e1; border-radius: 14px; background: #fff; color: #15211d; text-align: left; font: inherit; }
.utility-action:hover { background: #f0f7f4; border-color: #9ebbad; }
.utility-action strong { font-size: 16px; font-weight: 500; }
.utility-action span { color: #52635c; font-size: 14px; line-height: 1.5; }
.dashboard-search input:disabled { color: #708078; cursor: default; }
.dashboard-body .patient-name { min-width: 0; }
.dashboard-body .patient-name strong, .dashboard-body .dash-doctor-card h3 { overflow-wrap: anywhere; }
.dashboard-body .dashboard-search-empty { margin-top: 20px; border-radius: 20px; background: #fff; }
.schedule-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 18px; }
.schedule-toolbar .dash-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-toolbar .dash-filter-pills button { min-height: 44px; padding: 10px 16px; border: 1px solid #d9e5e1; border-radius: 999px; background: #fff; color: #52635c; font: inherit; font-size: 14px; }
.schedule-toolbar .dash-filter-pills button.active { background: #176647; border-color: #176647; color: #fff; }
.dashboard-body .schedule-row { grid-template-columns: 125px minmax(0,1fr) 100px 70px; gap: 20px; padding: 24px; }
.dashboard-body .schedule-row div b { font-size: 16px; font-weight: 500; }
.dashboard-body .schedule-row div span { color: #52635c; font-size: 13px; line-height: 1.5; }
.schedule-when strong { color: #176647; font-size: 16px; font-weight: 600; }
.dashboard-body .schedule-row button { min-height: 44px; border: 1px solid #cfddd6; font-size: 13px; color: #176647; }
.dashboard-body .status-chip.cancelled { color: #9d3838; background: #fff0ed; }
.dashboard-body .status-chip.completed { color: #36598e; background: #edf4ff; }
.schedule-demo-note { color: #52635c; font-size: 13px; margin-top: 20px; line-height: 1.6; }
.schedule-empty { padding: 48px 24px; text-align: center; }
.schedule-empty h2 { font-size: 24px; font-weight: 500; }
.schedule-empty p { color: #52635c; margin: 12px 0 24px; }
.schedule-dialog { box-sizing: border-box; width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid #e1ece6; border-radius: 24px; color: #15211d; background: #fff; box-shadow: 0 24px 80px #132c2933; }
.schedule-dialog::backdrop { background: #152e2a80; backdrop-filter: blur(5px); }
.schedule-dialog form { display: flex; flex-direction: column; max-height: calc(100dvh - 98px); }
.schedule-dialog-head, .schedule-dialog-note, .schedule-dialog-actions { flex-shrink: 0; }
.schedule-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.schedule-dialog-head span { color: #176647; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.schedule-dialog h2 { margin: 12px 0 0; font-family: 'DM Sans', sans-serif; font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.schedule-dialog-head > button { min-width: 44px; min-height: 44px; border: 1px solid #d9e5e1; border-radius: 50%; background: #fff; color: #52635c; font-size: 24px; }
.schedule-dialog-note { margin: 20px 0 24px; padding: 14px 16px; background: #f0f7f4; border-radius: 12px; color: #52635c; font-size: 13px; line-height: 1.6; }
.schedule-form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px 16px; overflow-y: auto; min-height: 0; padding: 4px; margin: -4px; }
.schedule-form-grid label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.schedule-form-grid input, .schedule-form-grid select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #c9d9d1; border-radius: 10px; color: #15211d; background: #fff; font: inherit; font-size: 16px; }
.schedule-form-grid :is(input,select):focus-visible { outline: 2px solid #176647; outline-offset: 2px; }
.schedule-form-wide { grid-column: 1 / -1; }
.schedule-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #e1ece6; }
.schedule-dialog-actions button { min-height: 48px; font-size: 14px; }
@media (max-width: 600px) {
  .dashboard-body .appointment-summary { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .dashboard-body .appointment-summary > div { padding: 14px 12px; gap: 12px; border-radius: 14px; }
  .dashboard-body .appointment-summary span { min-height: 32px; font-size: 11px; line-height: 1.4; }
  .dashboard-body .appointment-summary strong { font-size: 28px; }
  .dashboard-body .appointment-summary small { display: none; }
  .dashboard-body .schedule-row { grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 20px; }
  .schedule-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .schedule-row .status-chip { grid-column: 2; grid-row: 1; }
  .schedule-row > button { grid-column: 2; }
  .schedule-dialog { padding: 22px; border-radius: 20px; }
  .schedule-dialog form { max-height: calc(100dvh - 78px); }
  .schedule-dialog h2 { font-size: 26px; }
  .schedule-form-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .schedule-dialog-actions > button { flex: 1; padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .schedule-dialog-actions > button[type="submit"] { flex: 1.6; }
}
.reference-home .reference-testimonials { padding: 76px 0; background: #fff; }
.stories-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.stories-heading h2 { margin: 14px 0 12px; font-size: clamp(30px, 3.3vw, 44px); font-weight: 500; }
.stories-heading p { color: #52635c; font-size: 14px; line-height: 1.5; }
.stories-controls { display: flex; gap: 10px; }
.stories-controls button { width: 48px; min-width: 48px; padding: 0; font-size: 20px; }
.stories-controls button:disabled { opacity: .4; cursor: default; }
.stories-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.stories-track::-webkit-scrollbar { display: none; }
.patient-story { min-width: 0; padding: 28px; border: 1px solid #e0eded; border-radius: 20px; background: #eff7f8; scroll-snap-align: start; display: flex; flex-direction: column; }
.story-category { color: #52635c; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.patient-story blockquote { margin: 24px 0 32px; font-size: 20px; line-height: 1.45; letter-spacing: -.025em; }
.story-person { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.story-avatar { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: #d6e9e2; color: #176647; font-size: 13px; font-weight: 600; }
.story-person strong, .story-person small { display: block; }
.story-person strong { font-size: 14px; font-weight: 500; }
.story-person small { margin-top: 4px; color: #52635c; font-size: 12px; }
.stories-position { margin: 20px 0 0; color: #52635c; font-size: 12px; text-align: center; }
@media (max-width: 820px) {
  .stories-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  .reference-home .reference-testimonials { padding: 56px 0; }
  .stories-heading { align-items: start; flex-direction: column; gap: 20px; }
  .stories-track { grid-auto-columns: 88%; gap: 14px; }
  .patient-story { padding: 24px; }
  .patient-story blockquote { font-size: 19px; }
}
.reference-home .reference-hero-frame { padding: 0; }
.reference-home .reference-hero { padding: 24px 0 40px; }
.reference-home .reference-hero-image { height: 520px; border-radius: 24px; background: #79a9cd; }
.reference-home .reference-hero-image .reference-hero-backdrop { opacity: .06; }
.reference-home .reference-hero-word { display: flex; justify-content: center; gap: .18em; top: 32px; left: 24px; right: 24px; font-size: clamp(72px, 10.2vw, 146px); font-weight: 500; letter-spacing: -.055em; }
.reference-home .reference-hero-team { left: 16%; right: 16%; height: 82%; }
.reference-home .reference-hero-caption { left: 36px; bottom: 40px; max-width: 360px; font-size: 36px; font-weight: 400; }
.reference-home .reference-hero-caption strong { font-weight: 500; }
.reference-home .reference-hero-cta { right: 32px; bottom: 40px; }
.reference-home .directory-section { padding: 76px 0 88px; }
.reference-home .reference-heading { margin-bottom: 40px; }
.reference-home .reference-heading h2 { font-weight: 500; }
.reference-home .reference-heading p { margin: 14px auto 0; max-width: 520px; color: #52635c; }
.directory-preview-note { margin: 12px 0; color: #52635c; font-size: 12px; line-height: 1.5; }
.reference-home .directory-controls { margin-bottom: 16px; }
.reference-home .directory-results-summary { margin: 0 0 18px; }
.reference-home .reference-doctor-grid { gap: 24px; }
.reference-home .reference-doctor-grid .public-doctor-card { grid-template-rows: auto 220px 1fr; border-radius: 20px; border-color: #dce8e9; box-shadow: 0 6px 20px rgba(40,74,83,.035); transition: box-shadow .2s ease, border-color .2s ease; }
.reference-home .reference-doctor-grid .public-doctor-card:hover { border-color: #a8c7bb; box-shadow: 0 14px 30px rgba(40,74,83,.09); }
.reference-home .reference-doctor-grid .public-doctor-card-top { min-height: 88px; padding: 20px; background: #fff; gap: 12px; }
.reference-home .reference-doctor-grid .public-doctor-card h3 { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.reference-home .reference-doctor-grid .public-doctor-card-top span:not(.rating) { font-size: 14px; line-height: 1.4; color: #52635c; }
.reference-home .reference-doctor-grid .public-doctor-card .rating { font-size: 11px; padding: 6px 9px; background: #f0f5f2; color: #52635c; }
.reference-home .reference-doctor-grid .public-doctor-card > img { height: 220px; object-position: var(--portrait-position, center 10%); }
/* Keep faces in the cover crop across both public directories. */
.public-doctor-card > img { object-position: var(--portrait-position, center 10%); }
.public-doctor-card > img[src*="/2024/12/dr.png"] { --portrait-position: center 25%; }
.public-doctor-card > img[src*="photo-1582750433449"] { --portrait-position: center 32%; }
.reference-home .reference-doctor-grid .public-doctor-card-body { padding: 20px; }
.reference-home .reference-doctor-grid .public-doctor-card-body > strong { font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.reference-home .reference-doctor-grid .public-doctor-card-body p { display: block; min-height: 65px; margin: 10px 0 20px; font-size: 14px; line-height: 1.55; color: #52635c; overflow: visible; }
.reference-home .reference-doctor-grid .doctor-card-actions { gap: 10px; }
.reference-home .reference-doctor-grid .doctor-card-actions :is(.green-pill, .outline-pill) { min-height: 44px; padding: 0 16px; font-size: 13px; white-space: nowrap; }
@media (min-width: 821px) and (max-width: 1100px) {
  .reference-home .reference-hero-image { height: 480px; }
  .reference-home .reference-hero-caption { max-width: 260px; font-size: 30px; }
}
@media (max-width: 820px) {
  .reference-home .reference-hero { padding: 12px 0 24px; }
  .reference-home .reference-hero-image { height: 480px; }
  .reference-home .reference-hero-word { top: 32px; left: 16px; right: 16px; font-size: clamp(40px, 10.5vw, 84px); }
  .reference-home .reference-hero-team { left: 4%; right: 4%; height: 76%; }
  .reference-home .reference-hero-caption { left: 24px; bottom: 100px; max-width: 270px; font-size: 28px; }
  .reference-home .reference-hero-cta { left: 24px; right: auto; bottom: 28px; }
  .reference-home .directory-section { padding: 56px 0; }
  .reference-home .reference-heading { margin-bottom: 28px; }
  .reference-home .reference-doctor-grid { gap: 18px; }
}
@media (max-width: 600px) {
  .reference-home .reference-hero-image { height: 440px; border-radius: 20px; }
  .reference-home .reference-hero-word { font-size: clamp(34px, 10.5vw, 58px); }
  .reference-home .reference-hero-team { left: -8%; right: -8%; height: 75%; }
  .reference-home .reference-hero-caption { font-size: 27px; }
  .reference-home .reference-doctor-grid .public-doctor-card { grid-template-rows: auto 220px 1fr; }
  .reference-home .reference-doctor-grid .public-doctor-card-top { padding: 18px; }
  .reference-home .reference-doctor-grid .public-doctor-card-body { padding: 18px; }
  .reference-home .reference-doctor-grid .public-doctor-card-body p { min-height: 0; }
  .reference-home .reference-doctor-grid .doctor-card-actions :is(.green-pill, .outline-pill) { padding: 0 12px; font-size: 12px; }
}
