/* DR WW Dermatology — wwdermatology.com */
:root {
    --bg: #F8F6F2;
    --bg-soft: #F1EDE6;
    --surface: #FFFFFF;
    --navy: #172B3A;
    --navy-2: #22394B;
    --ink: #2B3A45;
    --muted: #5E6B73;
    --sage: #788B84;
    --sage-soft: #E4E9E6;
    --champagne: #B7A285;
    --champagne-soft: #EFE7DB;
    --line: #E3DDD3;
    --primary-color: var(--navy);
    --accent-color: #D9C7AA;
    --dark-color: var(--navy);
    --white: #FFFFFF;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 18px 40px -24px rgba(23, 43, 58, .28);
    --transition: all .25s ease;
    --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --wrap: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: rgba(23,43,58,.3); text-underline-offset: 3px; }
a:hover { color: var(--sage); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Utility bar & header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .82rem; letter-spacing: .02em; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent-color); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,246,242,.96); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(23,43,58,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo a { display: flex; align-items: center; gap: 12px; color: var(--primary-color); text-decoration: none; transition: opacity .3s; }
.logo a:hover { opacity: .8; color: var(--primary-color); }
.logo img { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }
.logo-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-top: 3px; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { margin: 0; position: relative; }
.main-nav > ul > li > a { display: block; white-space: nowrap; padding: 10px 11px; font-size: .9rem; font-weight: 500; color: var(--navy); text-decoration: none; border-radius: 8px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
.submenu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: var(--transition); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .9rem; color: var(--ink); text-decoration: none; }
.submenu a:hover { background: var(--bg-soft); color: var(--navy); }
.submenu .sub-all a { color: var(--sage); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; }
.logo { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--navy); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: var(--transition); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: var(--transition); line-height: 1.2; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(23,43,58,.6); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--champagne-soft); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.text-link { font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--champagne); padding-bottom: 2px; }
.text-link:hover { color: var(--sage); border-color: var(--sage); }
.text-link::after { content: " \2192"; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-white { background: var(--surface); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.section-navy .eyebrow { color: var(--accent-color); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-navy .lead { color: rgba(255,255,255,.75); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(183,162,133,.18), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--sage); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9rem; color: var(--muted); padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta strong { color: var(--navy); font-weight: 600; }
.hero-portrait { position: relative; }
.hero-portrait .frame { background: linear-gradient(180deg, #fff 0%, #fff 70%, var(--champagne-soft) 100%); border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-portrait img { width: 100%; }
.hero-badge { position: absolute; left: -28px; bottom: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); max-width: 250px; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); line-height: 1.2; }
.hero-badge span { font-size: .82rem; color: var(--muted); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.page-hero.has-image .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.page-hero .lead { max-width: 640px; margin-bottom: 26px; }
.page-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--champagne); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.card:hover { border-color: #d6cdbf; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--sage); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }
.path-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: var(--transition); }
.path-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.path-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.path-card .body { padding: 32px 34px 36px; }
.path-card .tag { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.path-card h3 { font-size: 1.9rem; margin: 8px 0 12px; }
.path-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.path-card li { margin: 0; font-size: .82rem; background: var(--bg-soft); border-radius: 999px; padding: 5px 12px; color: var(--ink); }
.concern-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: var(--transition); }
.concern-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.concern-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.concern-card .body { padding: 20px 22px 24px; }
.concern-card h3 { font-size: 1.32rem; margin-bottom: 6px; }
.concern-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.concern-card .kind { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 600; }

/* doctor */
.doctor-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.doctor-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.doctor-photo img { width: 100%; }
.credential-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.credential-list li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.credential-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border: 1.5px solid var(--champagne); border-radius: 50%; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0; }
.stat { padding: 22px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat span { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.doctor-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.doctor-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.doctor-card .body { padding: 30px 32px 34px; flex: 1; display: flex; flex-direction: column; }
.doctor-card .role { color: var(--sage); font-weight: 600; font-size: .86rem; letter-spacing: .04em; margin-bottom: 14px; }
.doctor-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--champagne); }
.timeline li { position: relative; padding: 0 0 24px 28px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--champagne); }
.timeline .yr { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); font-weight: 600; display: block; }

/* locations */
.loc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.loc-card .area { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.loc-card h3 { margin: 6px 0 14px; font-size: 1.55rem; }
.loc-card address { font-style: normal; color: var(--ink); margin-bottom: 12px; }
.loc-card .phone { font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--navy); }
.loc-card .hours-mini { font-size: .86rem; color: var(--muted); margin: 10px 0 18px; }
.loc-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table th { font-weight: 600; color: var(--navy); width: 40%; }
.info-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.info-panel h3 { font-size: 1.35rem; }
.info-panel + .info-panel { margin-top: 22px; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { min-width: 92px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); font-weight: 600; padding-top: 3px; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { margin: 0; }
.tag-list a, .tag-list span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; text-decoration: none; color: var(--ink); }
.tag-list a:hover { border-color: var(--sage); color: var(--sage); }
.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-strip figure { margin: 0; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); filter: grayscale(.25); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2.4rem; color: var(--champagne); line-height: 1; display: block; margin-bottom: 14px; }

/* article / prose */
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul li::marker { color: var(--champagne); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.sidebar .info-panel { padding: 26px; }
.sidebar h3 { font-size: 1.25rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { margin: 0; border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { display: block; padding: 9px 0; text-decoration: none; font-size: .94rem; color: var(--ink); }
.sidebar li a:hover, .sidebar li a[aria-current="page"] { color: var(--sage); }
.cta-panel { background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--radius-lg); padding: 28px; }
.cta-panel h3 { color: #fff; }
.cta-panel .btn { width: 100%; margin-top: 8px; }
.callout { background: var(--champagne-soft); border-left: 3px solid var(--champagne); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 28px 0; font-size: .96rem; }
.callout p:last-child { margin-bottom: 0; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.byline strong { color: var(--navy); font-weight: 600; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: var(--transition); }
.post-card:hover { box-shadow: var(--shadow); color: inherit; transform: translateY(-3px); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .body { padding: 24px 26px 28px; }
.post-card .meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.post-card h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.post-card p { font-size: .94rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--champagne); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* insurance */
.insurer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.insurer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); font-weight: 600; }

/* form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.form-card legend { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.form-card legend .num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--sans); font-size: .82rem; display: inline-grid; place-items: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid #D7D0C4; border-radius: 10px; background: #FCFBF9; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(120,139,132,.18); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.choice-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-group.four { grid-template-columns: repeat(2, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: block; border: 1px solid #D7D0C4; border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #FCFBF9; transition: var(--transition); font-size: .95rem; }
.choice label strong { display: block; color: var(--navy); font-size: 1rem; }
.choice label span { font-size: .82rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + label { box-shadow: 0 0 0 3px rgba(120,139,132,.3); }
.form-note { font-size: .84rem; color: var(--muted); }
.form-card .btn { width: 100%; padding: 16px; font-size: 1rem; }

/* CTA band */
.cta-band { background: var(--navy); color: rgba(255,255,255,.82); border-radius: var(--radius-lg); padding: 64px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(217,199,170,.25); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* Footer (standard template) */
footer { background: var(--dark-color); color: var(--white); padding: 3rem 0 1rem; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.2rem; font-family: var(--serif); }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, 0.8); line-height: 1.8; font-size: .92rem; }
.footer-section p { margin-bottom: .6rem; }
.footer-section a { text-decoration: none; }
.footer-section a:hover { color: var(--accent-color); }
.footer-disclaimer { font-size: .8rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem; margin-bottom: 1rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: .86rem; }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-partner { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }
.no-gap-footer footer { margin-top: 0; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Reveal (JS adds .js on <html>) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
    .logo-tag { display: none; }
    .header-inner { gap: 14px; }
    .main-nav > ul > li > a { padding: 10px 8px; font-size: .86rem; }
}
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
    .nav-toggle { display: inline-block; }
    .header-cta .btn { display: none; }
    .main-nav { position: fixed; inset: 78px 0 0 0; background: var(--bg); overflow-y: auto; padding: 16px 24px 120px; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; height: calc(100dvh - 78px); }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid var(--line); }
    .main-nav > ul > li > a { padding: 16px 4px; font-size: 1.05rem; }
    .has-sub > a::after { display: none; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; background: transparent; }
    .submenu a { padding: 7px 4px; color: var(--muted); }
    .main-nav .nav-mobile-cta { display: block; border: 0; padding-top: 20px; }
    .logo-tag { display: block; }
}
@media (max-width: 980px) {
    .hero-grid, .page-hero.has-image .container, .split, .split.wide-left, .doctor-feature, .content-layout, .cta-band { grid-template-columns: 1fr; }
    .hero-portrait { max-width: 460px; margin: 0 auto; }
    .hero-badge { left: 0; }
    .sidebar { position: static; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
    .cta-band { padding: 44px 32px; }
}
@media (min-width: 1241px) { .nav-mobile-cta { display: none; } }
@media (max-width: 680px) {
    body { font-size: 16px; padding-bottom: 68px; }
    .container { padding: 0 16px; }
    .topbar .hide-sm { display: none; }
    .topbar .container { justify-content: center; }
    .header-inner { min-height: 68px; }
    .main-nav { inset: 68px 0 0 0; height: calc(100dvh - 68px); }
    .logo img { width: 38px; height: 38px; }
    .logo-name { font-size: 1.3rem; }
    .logo-tag { font-size: .58rem; letter-spacing: .1em; }
    .grid-2, .grid-3, .grid-4, .form-row, .choice-group, .insurer-grid { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .photo-strip { grid-template-columns: 1fr 1fr; }
    .photo-strip figure:first-child { grid-column: 1 / -1; }
    .hero { padding: 44px 0 60px; }
    .hero-actions .btn { width: 100%; }
    .hero-badge { position: static; margin-top: -40px; margin-left: 16px; margin-right: 16px; position: relative; max-width: none; }
    .section { padding: 60px 0; }
    .card, .form-card, .info-panel, .loc-card { padding: 24px; }
    .path-card .body { padding: 24px; }
    .cta-band { padding: 36px 24px; }
    .hours-table th, .hours-table td { padding: 10px 8px; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(23,43,58,.4); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; padding: 12px 8px; border-radius: 999px; font-weight: 600; font-size: .86rem; text-decoration: none; text-align: center; line-height: 1.2; }
    .mobile-bar .call { border: 1.5px solid var(--navy); color: var(--navy); }
    .mobile-bar .book { background: var(--navy); color: #fff; }
}
@media (max-width: 680px) {
    .concern-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .concern-grid .concern-card .body { padding: 14px 14px 16px; }
    .concern-grid .concern-card h3 { font-size: 1.12rem; }
    .concern-grid .concern-card p { display: none; }
}
