/* ==========================================================================
   MD Live Advice — site stylesheet v3
   Port of the approved Wildcat mockup (md-live-advice.wildcatseo.chatgpt.site):
   deep-navy heroes, teal actions, Times serif display over Atkinson body,
   white sticky header, navy 4-column footer.

   IMPORTANT: token NAMES and class names are shared with the CRM console and
   patient portal (crm/src/views/partials/head.ejs builds on them) — restyle
   values, never rename.
   ========================================================================== */

:root {
	--navy:      #123d64;
	--navy-deep: #092a43;
	--ink:       #20384c;
	--ink-soft:  #5b6d79;
	--paper:     #f3f8fa;
	--card:      #ffffff;
	--line:      #d4e1e6;
	--line-soft: #e4edf1;
	--blue:      #008f95;   /* teal = primary action color */
	--blue-deep: #00767c;
	--sky-tint:  #e3f3f2;   /* light teal */
	--ivory:     #f7f3eb;
	--sand:      #d99a23;   /* gold accent (CRM signature keeps using it) */
	--sage:      #2e7d5b;
	--alert:     #8c2f39;
	--todo:      #FFF3BF;

	--font-display: "Times New Roman", Times, Georgia, serif;
	--font-body: "Atkinson Hyperlegible", -apple-system, "Segoe UI", Roboto, sans-serif;

	--horizon: linear-gradient(90deg, #008f95 0%, #00767c 45%, #123d64 100%);
	--shadow-card: 0 1px 2px rgba(9, 42, 67, 0.05), 0 12px 32px -20px rgba(9, 42, 67, 0.18);
	--shadow-lift: 0 2px 4px rgba(9, 42, 67, 0.06), 0 20px 44px -20px rgba(9, 42, 67, 0.26);
}

/* ---- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	overflow-x: clip;
	background: var(--card);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;          /* 18px — mockup base */
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	margin: 0 0 0.55em;
	color: var(--navy);
	text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); }          /* mockup: 42-72px */
h2 { font-size: clamp(2.125rem, 3.6vw, 3.25rem); }     /* mockup: 34-52px */
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--blue-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
	border-radius: 3px;
}

.wrap {
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section + .section { padding-top: 0; }
.section-alt { background: var(--paper); }

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue-deep);
	margin-bottom: 0.9rem;
}

/* split section heading: big serif left, muted note right (mockup pattern) */
.split {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: end;
	gap: clamp(1.5rem, 5vw, 4.5rem);
	margin-bottom: 2.4rem;
}
.split h2 { margin-bottom: 0; }
.split .split-note { color: var(--ink-soft); font-size: 1.12rem; margin: 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; align-items: start; } }

.lede {
	font-size: 1.3rem;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 58ch;
}

.more-link { margin-top: 1.7rem; font-weight: 700; }
.more-link a { text-decoration: none; }
.more-link a:hover { text-decoration: underline; }
.more-link a::after { content: " \2192"; }

.horizon { height: 3px; background: var(--horizon); }

/* ---- Utility bar (every page, non-dismissable) ---------------------------- */

.emergency {
	margin: 0;
	padding: 0.4rem 1rem;
	background: var(--navy-deep);
	color: #cfdde8;
	font-size: 0.82rem;
	letter-spacing: 0.01em;
	text-align: center;
}
.emergency strong, .emergency a { color: #fff; font-weight: 700; }

/* ---- Header / nav ---------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--card);
	box-shadow: 0 1px 0 var(--line-soft), 0 12px 28px -22px rgba(9, 42, 67, 0.25);
}

.site-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1.75rem;
	min-height: 104px;
	padding-block: 0.6rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--ink);
	margin-right: auto;
}
.brand-mark { flex: none; }
.brand-logo { height: 72px; width: auto; }
.brand-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.18rem;
	line-height: 1.1;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem 1.3rem;
	font-size: 0.9rem;
	font-weight: 700;
}
.site-nav a {
	color: var(--navy);
	text-decoration: none;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	transition: color 140ms ease;
}
.site-nav a:hover { color: var(--blue-deep); }
.site-nav a[aria-current="page"] {
	color: var(--blue-deep);
	border-bottom-color: var(--blue);
}

/* ---- Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	min-height: 54px;
	padding: 12px 24px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}
.btn-primary {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
	box-shadow: 0 1px 2px rgba(0, 143, 149, 0.3), 0 10px 22px -12px rgba(0, 143, 149, 0.55);
}
.btn-primary:hover {
	background: var(--blue-deep);
	border-color: var(--blue-deep);
	color: #fff;
	transform: translateY(-1px);
}
.btn-ghost {
	border-color: var(--blue);
	color: var(--blue-deep);
	background: #fff;
}
.btn-ghost:hover { background: var(--sky-tint); color: var(--blue-deep); }

.btn-visit { white-space: nowrap; min-height: 50px; padding: 13px 18px; border-radius: 9px; font-size: 1rem; }

/* ---- Console buttons (staff CRM only) --------------------------------------
   The marketing site's hero-scale buttons read as clumsy inside an admin
   console. Scoped under .crm-app: tighter geometry, quieter chrome, and a
   visual rank — solid primary, neutral secondary, reserved red for
   destructive actions. Public pages and the patient portal are untouched. */
.crm-app .btn {
	min-height: 38px;
	padding: 8px 16px;
	border-radius: 7px;
	font-weight: 600;
	font-size: 0.88rem;
	letter-spacing: 0.01em;
	gap: 0.5rem;
	border-width: 1.5px;
	box-shadow: none;
}
.crm-app .btn-primary {
	background: var(--blue);
	border-color: var(--blue);
	box-shadow: 0 1px 2px rgba(0, 118, 124, 0.25);
}
.crm-app .btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: none; }
/* secondary: quiet neutral outline, not a teal echo of the primary */
.crm-app .btn-ghost {
	border-color: #C7CFD6;
	color: var(--ink);
	background: #fff;
}
.crm-app .btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); background: #fff; }
/* destructive: reserved, never louder than the primary until hovered */
.crm-app .btn-danger {
	border-color: #D8B9B9;
	color: #A93B3B;
	background: #fff;
}
.crm-app .btn-danger:hover { background: #A93B3B; border-color: #A93B3B; color: #fff; }
/* stacked action lists inside cards */
.crm-app .action-stack { display: flex; flex-direction: column; gap: 0.55rem; margin: 0.4rem 0 0.2rem; }
.crm-app .action-stack form { display: block; margin: 0; }
.crm-app .action-stack .btn { width: 100%; }

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.8rem;
}

/* ---- Page hero (deep navy band, centered) ----------------------------------- */

.page-hero {
	background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #17507e 100%);
	color: #cfdde8;
	text-align: center;
	padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero .eyebrow {
	justify-content: center;
	color: #8fd6d4;
	margin-bottom: 0.8rem;
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 46rem; margin-inline: auto; }
.page-hero .cta-row { justify-content: center; }
.page-hero .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.page-hero a:not(.btn) { color: #fff; }

/* Home hero: LIGHT (ivory->white), photo column full-height with gold edge */

.page-home .hero-band {
	background: linear-gradient(90deg, var(--ivory) 0%, #fff 56%);
	overflow: hidden;
}
.hero {
	display: grid;
	grid-template-columns: 52% 48%;
	gap: 0;
	align-items: stretch;
}
.hero-copy {
	align-self: center;
	padding: clamp(3rem, 6vw, 5.4rem) clamp(1.5rem, 4vw, 3.1rem) clamp(2.4rem, 5vw, 2.9rem) 0;
}
.hero h1 {
	color: var(--navy);
	font-size: clamp(2.6rem, 4.5vw, 4.5rem);
	line-height: 1.08;
	margin-bottom: 0.35em;
}
.hero .gold-rule {
	width: 5.5rem;
	height: 3px;
	background: var(--sand);
	border: 0;
	margin: 0 0 1.5rem;
}
.hero .lede { color: var(--ink-soft); font-size: 1.3rem; max-width: 40rem; }
.hero-photo {
	width: 100%;
	height: 100%;
	min-height: min(38rem, 60vw);
	object-fit: cover;
	border-left: 3px solid var(--sand);
	border-top-left-radius: 76px;
	border-bottom-left-radius: 0;
}

.trust-list {
	list-style: none;
	margin: 2.2rem 0 0;
	padding: 1.1rem 0 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.7rem;
	font-size: 0.96rem;
	font-weight: 700;
	color: var(--ink);
}
.trust-list li::before {
	content: "\2713\0020";
	color: var(--blue);
}

/* ---- Standard disclaimer box (identical everywhere) --------------------------- */

.disclaimer-box {
	display: grid;
	grid-template-columns: 132px 1fr;
	background: #fff;
	border: 1px solid #cfd9dd;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(9, 42, 67, 0.15);
	overflow: hidden;
	max-width: 880px;
	margin: 1.6rem 0;
	font-size: 0.98rem;
}
.disclaimer-box .di {
	background: var(--navy);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 700;
	font-size: 52px;
}
.disclaimer-box .dt { padding: 1.05rem 1.5rem; }
.disclaimer-box .dt strong { display: block; margin-bottom: 0.15rem; font-size: 1.08rem; }
.disclaimer-box .dt p { margin: 0; color: var(--ink-soft); }
/* home hero variant: hangs over the hero's bottom-left (mockup .boundary) */
.page-home .hero { position: relative; }
.page-home .hero-copy { padding-bottom: 11rem; }
.hero .disclaimer-box {
	position: absolute;
	bottom: 22px;
	left: 28px;
	right: 28px;
	margin: 0;
	z-index: 3;
}
@media (max-width: 700px) {
	.disclaimer-box { grid-template-columns: 72px 1fr; }
	.disclaimer-box .di { font-size: 34px; }
	.hero .disclaimer-box { position: static; margin: -36px 16px 28px; }
	.page-home .hero-copy { padding-bottom: 2.6rem; }
}

/* ---- Cards -------------------------------------------------------------------- */

.cards {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	margin-top: 2rem;
}
.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 1.5rem 1.4rem 1.3rem;
	box-shadow: var(--shadow-card);
	transition: transform 160ms ease, box-shadow 160ms ease;
	position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.4em; }
.card .price {
	display: block;
	margin-top: 0.8rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--line-soft);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--navy);
}
.card .duration {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ink-soft);
	margin-top: 0.1rem;
}
.card .book-link {
	display: inline-block;
	margin-top: 0.7rem;
	font-weight: 700;
	text-decoration: none;
}
.card .book-link:hover { text-decoration: underline; }
.card .book-link::after { content: " \2192"; }

.card-illus {
	border-radius: 10px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	margin-bottom: 1rem;
}

/* horizontal "story" cards (home: what-we-do) — photo left, gold divider */
.story-card {
	display: grid;
	grid-template-columns: 42% 58%;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	min-height: 285px;
	box-shadow: 0 14px 34px rgba(9, 42, 67, 0.08);
}
.story-card:hover { transform: translateY(-3px); }
.story-photo {
	min-height: 285px;
	overflow: hidden;
	border-right: 3px solid var(--sand);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px 24px 28px;
}
.story-number {
	color: var(--sand);
	letter-spacing: 0.14em;
	margin-bottom: 0.8rem;
	font-size: 0.82rem;
	font-weight: 900;
}
.story-copy h3 { font-size: 1.45rem; margin-bottom: 0.4em; }
.story-copy p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
@media (max-width: 700px) {
	.story-card { grid-template-columns: 1fr; min-height: 0; }
	.story-photo { min-height: 12rem; border-right: 0; border-bottom: 3px solid var(--sand); }
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }

/* teal family band (home): white serif heading, translucent checklist panel */
.family-band {
	background: var(--blue-deep);
	color: #fff;
	padding-block: clamp(3rem, 7vw, 5rem);
}
.family-band .eyebrow { color: #a9e9e7; }
.family-band h2 { color: #fff; }
.family-band p { color: rgba(255, 255, 255, 0.92); }
.family-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}
.family-band .btn-primary {
	background: var(--blue);
	border-color: rgba(255, 255, 255, 0.35);
}
.family-band .btn-primary:hover { background: #0aa3a9; }
.family-list {
	list-style: none;
	margin: 0;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 18px;
	padding: 2rem;
	display: grid;
	gap: 1.1rem;
}
.family-list li {
	padding-left: 2rem;
	position: relative;
	font-weight: 700;
	color: #fff;
}
.family-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--sand);
	font-weight: 700;
}
@media (max-width: 800px) { .family-grid { grid-template-columns: 1fr; } }

.badge-popular {
	position: absolute;
	top: -0.85rem;
	right: 1rem;
	background: var(--sand);
	color: var(--navy);
	font-size: 0.8rem;
	font-weight: 800;
	border-radius: 99px;
	padding: 0.3rem 0.9rem;
}
.card.popular { border: 2px solid var(--blue); box-shadow: var(--shadow-card); }

.price-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 1.2rem; }

/* pricing band with faded background photo; heading in translucent card */
.pricing-preview {
	position: relative;
	isolation: isolate;
	background: url(/assets/img/pricing-background.jpg) 50% 42% / cover no-repeat;
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 5rem);
}
.pricing-preview::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(248, 252, 252, 0.82);
}
.pricing-preview::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(227, 243, 242, 0.1));
}
.pricing-preview .card {
	background: rgba(255, 255, 255, 0.76);
	-webkit-backdrop-filter: blur(1.5px);
	backdrop-filter: blur(1.5px);
	box-shadow: 0 12px 30px rgba(9, 42, 67, 0.12);
}
.section-heading {
	background: rgba(255, 255, 255, 0.64);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	border-radius: 18px;
	padding: 28px 32px;
	margin-bottom: 2.4rem;
}
.section-heading .split { margin-bottom: 0; }
.section-heading h2 { text-shadow: 0 1px rgba(255, 255, 255, 0.9); }
.pricing-preview .cta-row { justify-content: center; margin-top: 2.4rem; }

/* services page: 3-column grid + the blocked-option card + policy note */
.services-grid-3 .cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 950px) { .services-grid-3 .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid-3 .cards { grid-template-columns: 1fr; } }
.card-blocked { background: #fdf3f1; border-color: #eeD6d1; }
.card-blocked:hover { transform: none; box-shadow: var(--shadow-card); }
.status-chip {
	display: inline-block;
	background: var(--sky-tint);
	color: var(--blue-deep);
	border-radius: 10px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.4rem 0.8rem;
	margin-bottom: 0.8rem;
}
.policy-note { max-width: 52rem; margin-top: 3rem; }
.policy-note h2 { margin-bottom: 0.4em; }

/* price card internals: duration on top — GOLD on the first two cards
   (mockup: :nth-child(-n+2)), navy on the rest */
.card .svc-duration {
	display: block;
	color: var(--navy);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}
.cards .card:nth-child(-n+2) .svc-duration { color: var(--sand); }
.card .price {
	border-top: 0;
	padding-top: 0;
	margin-top: 0.15rem;
	font-size: 2.35rem;
}
.card .choose-link {
	display: block;
	text-align: left;
	white-space: nowrap;
	margin-top: 1.1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--line-soft);
	font-weight: 800;
	color: var(--blue-deep);
	text-decoration: none;
}
.card .choose-link:hover { text-decoration: underline; }
.card .choose-link::after { content: " \2192"; }

/* ---- Steps band (five-step row, navy) ------------------------------------------ */

.steps-band {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: #cfdde8;
	text-align: center;
	padding-block: clamp(3rem, 7vw, 4.6rem);
}
.steps-band .eyebrow { justify-content: center; color: #8fd6d4; }
.steps-band h2 { color: #fff; }

.steps-row {
	list-style: none;
	margin: 2.4rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.4rem;
	text-align: left;
}
.steps-row > li { border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 1.1rem; }
.steps-row .step-n {
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	border: 2px solid var(--sand);
	color: var(--sand);
	font-weight: 800;
	font-size: 0.95rem;
	display: grid;
	place-items: center;
	margin-bottom: 0.7rem;
}
.steps-row h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.3em; }
.steps-row p { font-size: 0.95rem; color: #b6c8d6; margin: 0; }
.steps-band .cta-row { justify-content: center; }

/* Legacy vertical steps (kept for any remaining use) */
.steps { list-style: none; counter-reset: step; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.9rem; max-width: 44rem; }
.steps > li { counter-increment: step; position: relative; padding-left: 4.3rem; min-height: 3.1rem; }
.steps > li::before {
	content: counter(step);
	position: absolute; left: 0; top: 0;
	width: 3rem; height: 3rem; border-radius: 50%;
	background: var(--navy); color: #fff;
	font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
	display: grid; place-items: center;
}
.steps > li:not(:last-child)::after {
	content: ""; position: absolute; left: calc(1.5rem - 1px);
	top: 3.3rem; bottom: -1.7rem; width: 2px; background: var(--line);
}
.steps h3 { margin-bottom: 0.25em; }
.steps p { color: var(--ink-soft); margin-bottom: 0; }

/* ---- Checklist columns (How It Works before/during) ----------------------------- */

.check-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
	gap: 2.4rem;
	margin-top: 1.6rem;
}
/* plain indented lists (mockup: no bullets, no separators) */
.check-cols ul { list-style: none; margin: 1.2rem 0 0; padding: 0 0 0 1.4rem; }
.check-cols li {
	padding: 0.42rem 0;
	color: var(--ink-soft);
	font-size: 1.05rem;
}

/* ---- Doctors --------------------------------------------------------------------- */

/* physician cards: HORIZONTAL — square photo left, content right (mockup) */
.doctors-grid {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
	margin-top: 2rem;
}
.doctor {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow-card);
	display: flex;
	gap: 1.6rem;
	padding: 1.9rem;
	align-items: flex-start;
}
.doctor .photo,
.doctor img {
	flex: none;
	width: 11.5rem;
	height: 11.5rem;
	object-fit: cover;
	object-position: top;
	border-radius: 12px;
	background: var(--paper);
}
.doctor .photo {
	display: grid;
	place-items: center;
	text-align: center;
	background: linear-gradient(160deg, var(--sky-tint) 0%, #cfe3ef 100%);
	color: var(--navy);
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 600;
	padding: 0.8rem;
}
.doctor .doctor-body { padding: 0; min-width: 0; }
.doctor h3 { margin: 0.35rem 0 0.3rem; font-size: 1.55rem; }
.doctor .credentials {
	color: var(--blue-deep);
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: 0.9em;
}

/* full physician profiles (physicians page): one per row, tall photo left,
   expandable "Read full draft biography" */
.doctors-list { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2rem; }
.doctor-full {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow-card);
	display: grid;
	grid-template-columns: minmax(14rem, 19rem) 1fr;
	overflow: hidden;
}
/* no-photo fallback: initials tile filling the image column, so a doctor
   added before their headshot arrives still renders cleanly */
.doctor-full > .photo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 22rem;
	height: 100%;
	background: linear-gradient(160deg, var(--navy), var(--blue));
	color: rgba(255, 255, 255, 0.85);
	font-family: Fraunces, Georgia, serif;
	font-size: 3.2rem;
	letter-spacing: 0.06em;
}
.doctor-full > img {
	width: 100%;
	height: 100%;
	min-height: 22rem;
	object-fit: cover;
	object-position: top;
}
.doctor-full .doctor-body { padding: 2rem 2.2rem; min-width: 0; }
.doctor-full h3 { margin: 0.5rem 0 0.3rem; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.doctor-full .credentials { color: var(--blue-deep); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.9em; }
.doctor-full p { color: var(--ink-soft); }
.doctor-full details { border-top: 1px solid var(--line-soft); margin-top: 1.1rem; padding-top: 0.6rem; }
.doctor-full summary {
	cursor: pointer;
	font-weight: 800;
	color: var(--blue-deep);
	padding: 0.5rem 0;
}
.doctor-full summary:hover { text-decoration: underline; }
.doctor-full details > div { padding-top: 0.5rem; }
@media (max-width: 700px) {
	.doctor-full { grid-template-columns: 1fr; }
	.doctor-full > img { min-height: 16rem; max-height: 22rem; }
	.doctor-full > .photo { min-height: 16rem; font-size: 2.4rem; }
	.doctor-full .doctor-body { padding: 1.4rem 1.3rem; }
}

/* gold-edged draft note (physicians page — explains draft status) */
.draft-note {
	border-left: 4px solid var(--sand);
	background: #fff;
	margin-top: 2rem;
	padding: 1.3rem 1.6rem;
	box-shadow: 0 8px 24px rgba(9, 42, 67, 0.06);
	max-width: 46rem;
}
.draft-note p { margin: 0; color: var(--ink-soft); }
.doctor p { color: var(--ink-soft); font-size: 0.97rem; }
.doctor .bio-link { font-weight: 800; color: var(--blue-deep); text-decoration: none; }
.doctor .bio-link:hover { text-decoration: underline; }
.doctor .bio-link::after { content: " \2192"; }
.draft-badge {
	display: inline-block;
	background: var(--sky-tint);
	border-radius: 10px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.45rem 0.85rem;
	margin-bottom: 0.7rem;
	color: var(--blue-deep);
}
@media (max-width: 620px) {
	.doctor { flex-direction: column; }
	.doctor .photo, .doctor img { width: 100%; height: 14rem; }
}

/* ---- FAQ --------------------------------------------------------------------------- */

/* FAQ: borderless rows with the native \25B6 marker + hairline separators */
.faq-section { background: var(--paper); }
.faq-section .eyebrow { justify-content: center; }
.faq-section h2 { text-align: center; }
.faq-list { max-width: 52rem; margin: 2.4rem auto 0; }
.faq-list details {
	border-bottom: 1px solid var(--line);
	padding: 0.35rem 0.2rem;
}
.faq-list summary {
	cursor: pointer;
	font-weight: 800;
	font-size: 1.18rem;
	color: var(--navy);
	padding: 1rem 0;
}
.faq-list summary:hover { color: var(--blue-deep); }
.faq-list details[open] summary { color: var(--blue-deep); }
.faq-list details > div { padding: 0 0.1rem 1.05rem 1.4rem; color: var(--ink-soft); }
.faq-list details > div p { margin-bottom: 0; }
.faq-more { text-align: center; margin-top: 2.2rem; }

/* ---- Call-to-action band ------------------------------------------------------------ */

.cta-band {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: #cfdde8;
	text-align: center;
	padding-block: clamp(3rem, 7vw, 4.75rem);
	position: relative;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 46rem; margin-inline: auto; }
.cta-band .cta-row { justify-content: center; margin-top: 1.9rem; }
.cta-band .btn-primary { background: var(--blue); color: #fff; }
.cta-band .btn-primary:hover { background: var(--blue-deep); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.cta-band a:not(.btn) { color: #fff; }

/* ---- Footer --------------------------------------------------------------------------- */

.site-footer { background: var(--navy-deep); color: #a9bcca; margin-top: 0; }
.site-footer .horizon { height: 3px; }
.footer-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	padding-block: 3rem 1.75rem;
	font-size: 0.92rem;
}
.footer-logo-card {
	display: inline-block;
	background: #fff;
	border-radius: 10px;
	padding: 0.55rem 0.8rem;
	margin-bottom: 1rem;
}
.footer-logo-card img { height: 40px; width: auto; }
.footer-brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: #fff;
	margin-bottom: 0.6em;
}
.footer-heading {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 0.9em;
}
.footer-grid p { line-height: 2; }
.footer-grid a { color: #c0d2df; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-fine {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: 1.3rem 2.2rem;
	font-size: 0.82rem;
	color: #8fa3b5;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
}
.footer-fine p { margin-bottom: 0.4em; }

/* ---- Long-form prose (legal pages, consent, etc.) -------------------------------------- */

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5em; }

.review-notice {
	background: var(--todo);
	border: 2px dashed var(--sand);
	border-radius: 10px;
	padding: 0.9rem 1.15rem;
	font-size: 0.95rem;
	margin: 0 0 2rem;
}

mark.todo {
	background: var(--todo);
	outline: 2px dashed var(--sand);
	padding: 0.05em 0.3em;
	border-radius: 3px;
	color: var(--ink);
}

/* ---- Contact form + success panel ---------------------------------------------------------- */

.form-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow-card);
	padding: 1.8rem 1.9rem 2rem;
	margin-top: 2rem;
	position: relative;
}
.form-card label {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
	margin: 1.1rem 0 0;
}
.form-card input, .form-card select, .form-card textarea {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.7rem 0.85rem;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	font: inherit;
	color: var(--ink);
	background: var(--card);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
	outline: 3px solid var(--blue);
	outline-offset: 1px;
	border-color: var(--blue);
}
.form-card .form-help { font-size: 0.9rem; color: var(--ink-soft); margin: 1rem 0 1.2rem; }
.success-panel {
	background: var(--sky-tint);
	border: 1.5px solid var(--blue);
	border-radius: 16px;
	padding: 1.6rem 1.8rem;
	margin-top: 2rem;
}
.success-panel h2 { margin-top: 0; color: var(--blue-deep); }
.success-panel p { margin-bottom: 0; }

/* ---- Support page blocks ------------------------------------------------------------------ */

.support-list { max-width: 42rem; margin-top: 1rem; }
.support-item { border-bottom: 1px solid var(--line-soft); padding: 1.4rem 0; }
.support-item h3 { margin-bottom: 0.35em; }
.support-item p { color: var(--ink-soft); margin-bottom: 0.3em; }
.contact-strong { font-size: 1.1rem; font-weight: 700; color: var(--ink); }

/* ---- Small screens ------------------------------------------------------------------------- */

@media (max-width: 1000px) {
	.steps-row { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; }
	.hero-copy { padding-right: 0; }
	.hero-photo { min-height: 16rem; border-top-left-radius: 40px; }
	.brand-logo { height: 54px; }
	.site-header-inner { min-height: 0; }
}

@media (max-width: 640px) {
	.site-header-inner { padding-block: 0.55rem; }
	.brand-logo { height: 38px; }
	.btn-visit { padding: 0.5rem 1rem; font-size: 0.88rem; }
	.site-nav { order: 3; width: 100%; justify-content: flex-start; gap: 0.1rem 1rem; }
	.cta-row .btn { width: 100%; text-align: center; }
	.steps-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}

/* ---- Accessibility / politeness -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.emergency, .btn-visit, .cta-band { display: none; }
	.site-header { position: static; }
}
