/* =====================================================================
   Scissortail Surgery Center — Design System & Components
   ===================================================================== */
/* ---------- 1. Tokens ---------- */
:root {
    --navy: #294A70;
    --navy-700: #22405F;
    --navy-900: #182F49;
    --blue: #659DD0;
    --blue-ink: #36689A;          /* AA-compliant blue for small text on white */
    --light: #EAF3F9;
    --white: #FFFFFF;
    --soft: #F6F9FC;
    --text: #465568;
    --muted: #5F6E80;
    --border: #E2EAF1;
    --border-strong: #CBD9E6;
    --error: #B3261E;
    --success: #1F7A4D;

    --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Gelasio", Georgia, "Times New Roman", serif;
    --font-logo: "Quicksand", "Manrope", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1.0625rem;
    --fs-lg: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
    --fs-h4: 1.25rem;
    --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
    --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
    --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(24, 47, 73, .06);
    --shadow-sm: 0 2px 8px rgba(24, 47, 73, .06), 0 1px 2px rgba(24, 47, 73, .04);
    --shadow: 0 12px 32px -12px rgba(24, 47, 73, .16), 0 2px 6px rgba(24, 47, 73, .04);
    --shadow-lg: 0 32px 64px -24px rgba(24, 47, 73, .28), 0 8px 20px -8px rgba(24, 47, 73, .08);

    --container: 1240px;
    --gutter: clamp(20px, 4.5vw, 40px);
    --section-y: clamp(80px, 9vw, 136px);
    --header-h: 84px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}
/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--blue-ink); }
ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
code { font-size: .9em; background: var(--light); padding: .1em .4em; border-radius: 6px; color: var(--navy); }
strong { color: var(--navy); font-weight: 600; }
::selection { background: var(--light); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
#main:focus { outline: none; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 1000;
    background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
/* ---------- 3. Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs);
    letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink);
    margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }
.eyebrow__divider { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.section-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); font-weight: 500; letter-spacing: -.005em; line-height: 1.15; margin-bottom: 20px; }
.section-lead { font-size: var(--fs-lg); line-height: 1.65; color: var(--text); max-width: 40em; }
.section-heading { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center .section-lead { margin-inline: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-row .section-heading { margin-bottom: 0; }
.text-link {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm);
    color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--border-strong); padding-bottom: 2px;
}
.text-link:hover { border-color: var(--navy); color: var(--navy); }
.text-link .icon { width: 1em; height: 1em; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 32px 0 36px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--navy); }
.check-list .icon { color: var(--blue-ink); width: 22px; height: 22px; }
/* ---------- 4. Buttons ---------- */
.btn {
    --btn-bg: var(--navy); --btn-fg: #fff; --btn-border: var(--navy);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border-radius: var(--radius-pill);
    font-family: var(--font-head); font-weight: 600; font-size: .9875rem; letter-spacing: -.005em; line-height: 1.2;
    background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-border);
    text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: linear-gradient(120deg, var(--navy-700), #33608f);
    opacity: 0; transition: opacity .35s var(--ease);
}
.btn__icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(41, 74, 112, .5); }
.btn:hover::before { opacity: 1; }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: var(--border-strong); }
.btn--outline::before { background: var(--light); }
.btn--outline:hover { --btn-border: var(--navy); color: var(--navy); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-border: #fff; }
.btn--light::before { background: var(--light); }
.btn--light:hover { color: var(--navy); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .35); }
.btn--text { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: transparent; padding-inline: 0; min-height: 44px; }
.btn--text::before { display: none; }
.btn--text span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.btn--text:hover { transform: none; box-shadow: none; color: var(--navy); }
.btn--text:hover span { background-size: 0 1px; background-position: 100% 100%; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .88rem; }
.btn--xs { min-height: 34px; padding: 6px 16px; font-size: .78rem; gap: 6px; }
.btn--xs .btn__icon { width: 14px; height: 14px; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn__icon { display: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* ---------- 5. Preview mode & placeholders ---------- */
.preview-bar {
    display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px var(--gutter);
    background: #FFF7E0; color: #6B4E00; font-size: var(--fs-xs); line-height: 1.4; text-align: center; border-bottom: 1px solid #F1DFA6;
}
.preview-bar strong { color: #6B4E00; }
.preview-bar code { background: rgba(107, 78, 0, .08); color: #6B4E00; }
.preview-bar .icon { width: 16px; height: 16px; }
.placeholder-tag {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--radius-pill);
    background: #FFF7E0; border: 1px dashed #D9B44A; color: #6B4E00;
    font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .01em; line-height: 1.5; text-transform: none;
}
.placeholder-tag__dot { width: 6px; height: 6px; border-radius: 50%; background: #D9A21B; }
.placeholder-block { margin: 24px 0; padding: 20px 24px; border: 1px dashed #D9B44A; border-radius: var(--radius); background: #FFFCF2; font-size: var(--fs-sm); color: #5B4A1A; }
.placeholder-block p { margin: 10px 0 0; }
/* ---------- 6. Header & navigation ---------- */
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu. */
.site-header {
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: box-shadow .35s var(--ease);
}
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    transition: background-color .35s var(--ease);
}
.page-home .site-header:not(.is-scrolled) { border-bottom-color: transparent; }
.page-home .site-header:not(.is-scrolled)::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.72) 100%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.page-home.menu-open .site-header::before { background: #fff; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(24, 47, 73, .25); }
.site-header.is-scrolled::before, body.menu-open .site-header::before { background: rgba(255, 255, 255, .98); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.logo { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; flex-shrink: 0; }
.logo__img { height: 60px; width: auto; }
.logo__mark { width: 48px; height: 58px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; padding-bottom: 4px; }
.logo__name { font-family: var(--font-logo); font-weight: 500; font-size: 1.6rem; letter-spacing: -.01em; color: var(--navy); }
.logo__sub { font-family: var(--font-logo); font-weight: 600; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-ink); margin-top: 4px; }
.brand-mark .bm-n { fill: var(--navy); }
.brand-mark .bm-m { fill: #3A6A98; }
.brand-mark .bm-b { fill: var(--blue); }
.brand-mark .bm-l { fill: #8DB9E0; }
.brand-mark .bm-sn, .brand-mark .bm-sb { fill: none; stroke-linecap: round; }
.brand-mark .bm-sn { stroke: var(--navy); }
.brand-mark .bm-sb { stroke: var(--blue); }
.primary-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.primary-nav__link {
    position: relative; display: inline-flex; padding: 10px 16px; border-radius: var(--radius-pill);
    font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--navy); text-decoration: none;
    transition: color .25s var(--ease), background-color .25s var(--ease);
}
.primary-nav__link::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px;
    background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.primary-nav__link:hover { color: var(--navy); background: var(--soft); }
.primary-nav__link:hover::after, .primary-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.primary-nav__link.is-active { font-weight: 600; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta { min-height: 46px; padding: 11px 22px; font-size: .94rem; }
.nav-toggle {
    display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer;
    transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.nav-toggle:hover { background: var(--soft); border-color: var(--border-strong); }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .4s var(--ease-out), opacity .25s, top .4s var(--ease-out); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; width: 70%; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.mobile-menu {
    position: fixed; inset: var(--menu-top, var(--header-h)) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav ul { list-style: none; }
.mobile-menu__nav li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.mobile-menu__nav li:nth-child(1) { transition-delay: 80ms; }
.mobile-menu__nav li:nth-child(2) { transition-delay: 130ms; }
.mobile-menu__nav li:nth-child(3) { transition-delay: 180ms; }
.mobile-menu__nav li:nth-child(4) { transition-delay: 230ms; }
.mobile-menu__nav li:nth-child(5) { transition-delay: 280ms; }
.mobile-menu.is-open .mobile-menu__nav li { opacity: 1; transform: none; }
.mobile-menu__link {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px;
    font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; letter-spacing: -.02em; color: var(--navy); text-decoration: none;
}
.mobile-menu__link .icon { width: 20px; height: 20px; color: var(--blue); transition: transform .3s var(--ease-out); }
.mobile-menu__link:hover .icon, .mobile-menu__link.is-active .icon { transform: translateX(4px); color: var(--navy); }
.mobile-menu__link.is-active span { color: var(--blue-ink); }
.mobile-menu__footer { display: grid; gap: 20px; }
.mobile-menu__footer .btn { width: 100%; }
.mobile-menu__address { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.mobile-menu__address .icon { color: var(--blue-ink); margin-top: 3px; width: 18px; height: 18px; }
body.menu-open { overflow: hidden; }
/* ---------- 7. Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }
.section--soft { background: var(--soft); }
.section--tint { background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%); }
.organic { position: absolute; pointer-events: none; z-index: 0; }
/* ---------- 8. Media & art panels ---------- */
.media { position: relative; margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--light); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__note { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--muted); font-size: .62rem; letter-spacing: .02em; z-index: 1; }
.media--tall { aspect-ratio: 5 / 6; }
.media--wide { aspect-ratio: 16 / 8; }
.art-panel {
    position: absolute; inset: 0; overflow: hidden;
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(101, 157, 208, .35) 0%, rgba(101, 157, 208, 0) 55%),
        radial-gradient(90% 80% at 10% 95%, rgba(41, 74, 112, .16) 0%, rgba(41, 74, 112, 0) 60%),
        linear-gradient(160deg, #F4F9FD 0%, #E3EFF8 55%, #D5E6F4 100%);
}
.art-panel__glow { position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 70%); }
.art-panel__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(41, 74, 112, .12); transform: translate(-50%, -50%); }
.art-panel__ring--1 { width: 62%; aspect-ratio: 1; }
.art-panel__ring--2 { width: 92%; aspect-ratio: 1; border-color: rgba(101, 157, 208, .22); }
.art-panel__mark { position: absolute; left: 50%; top: 50%; width: 34%; height: auto; transform: translate(-50%, -50%); opacity: .9; filter: drop-shadow(0 20px 30px rgba(41,74,112,.15)); }
.art-panel__caption {
    position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: var(--radius-sm); background: rgba(255, 247, 224, .95); border: 1px dashed #D9B44A;
    color: #6B4E00; font-size: .75rem; font-weight: 600; line-height: 1.4;
}
.art-panel__caption .icon { width: 14px; height: 14px; }
/* ---------- 9. Hero (full-bleed photo, mock-up layout) ---------- */
/* ---------- 10. Split layouts (About) & intro ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.serif-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.005em; color: var(--navy); margin-bottom: 18px; }
.intro { position: relative; padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 6vw, 88px); background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.intro__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.intro__rule { display: block; width: 44px; height: 1.5px; background: var(--blue); margin-bottom: 22px; }
.intro__text p { max-width: 34em; margin-bottom: 26px; }
.intro__media .media { aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: var(--shadow); }
/* Ruled centred headings */
.home-section { position: relative; padding-block: clamp(56px, 6vw, 88px); }
.ruled-heading { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.ruled-heading__title { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 32px); margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1.2; color: var(--navy); }
.ruled-heading__rule { flex: 0 0 clamp(32px, 7vw, 72px); height: 1px; background: var(--border-strong); }
.ruled-heading__lead { margin: 12px auto 0; max-width: 40em; color: var(--text); }
/* ---------- 11. Physician cards ---------- */
.physician-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.physician-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.physician-grid--directory { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.physician-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px -10px rgba(24, 47, 73, .18);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.physician-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.physician-card__media { display: block; overflow: hidden; }
.physician-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; flex: 1; padding: 14px 14px 16px; }
.physician-card__name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.physician-card__name a { text-decoration: none; color: var(--navy); }
.physician-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.physician-card__specialty { margin: 0; font-size: .8rem; color: var(--muted); }
.physician-card__link { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--navy); }
.physician-card__link .icon { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.physician-card:hover .physician-card__link .icon { transform: translateX(4px); }
.physician-card:focus-within { box-shadow: 0 0 0 3px var(--blue); }
.physician-card a:focus-visible { outline: none; }
.portrait { position: relative; aspect-ratio: 1 / .78; overflow: hidden; background: #E9EEF3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease-out); }
.physician-card:hover .portrait img { transform: scale(1.04); }
.portrait--placeholder { background: radial-gradient(90% 90% at 50% 25%, #FFFFFF 0%, #EEF2F6 45%, #DCE3EA 100%); }
.portrait__silhouette { position: absolute; left: 50%; bottom: 0; width: 58%; height: 86%; transform: translateX(-50%); display: block; transition: transform .8s var(--ease-out); transform-origin: bottom center; }
.physician-card:hover .portrait__silhouette { transform: translateX(-50%) scale(1.04); }
.portrait__silhouette svg { width: 100%; height: 100%; fill: rgba(41, 74, 112, .13); }
.portrait__note { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 247, 224, .95); border: 1px dashed #D9B44A; color: #6B4E00; font-size: .66rem; font-weight: 600; text-align: center; }
.portrait--large { aspect-ratio: 4 / 5; }
/* ---------- 12. Patient journey ---------- */
.journey { padding-top: clamp(24px, 3vw, 40px); }
.journey__track { position: relative; }
.journey__steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; z-index: 1; }
.journey__line { position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 1.5px; background: var(--border-strong); overflow: hidden; }
.journey__line-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--navy)); transform-origin: left; transform: scaleX(1); }
.journey__step { text-align: center; }
.journey__num {
    position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 18px; border-radius: 50%;
    background: #A9CBEA; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    box-shadow: 0 0 0 6px #fff; transition: background-color .35s, color .35s, transform .45s var(--ease-out);
}
.journey__step:hover .journey__num { background: var(--navy); color: #fff; transform: scale(1.08); }
.journey__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.journey__text { font-size: .9rem; color: var(--text); max-width: 25ch; margin-inline: auto; line-height: 1.55; }
/* ---------- 13. Why / features band ---------- */
.why { position: relative; padding-block: clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #EEF5FB 0%, var(--light) 100%); border-block: 1px solid #DCE9F4; }
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.why__intro .serif-title { margin-bottom: 12px; }
.why__intro p { margin-bottom: 18px; color: var(--navy); }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { position: relative; padding: 8px clamp(14px, 2vw, 26px); text-align: center; border-left: 1px solid #C9DCEC; }
.feature__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; color: var(--blue-ink); margin-bottom: 12px; transition: transform .45s var(--ease-out), color .3s; }
.feature__icon .icon { width: 34px; height: 34px; stroke-width: 1.3; }
.feature:hover .feature__icon { transform: translateY(-4px); color: var(--navy); }
.feature__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature__text { font-size: .85rem; margin: 0; line-height: 1.5; }
/* ---------- 14. Info cards ---------- */
.info { overflow: hidden; }
.info__watermark { position: absolute; right: -40px; bottom: -30px; width: 260px; height: 312px; opacity: .1; pointer-events: none; }
.info-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.info-card {
    display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; border-radius: 10px; background: #fff;
    border: 1px solid var(--border); box-shadow: 0 6px 18px -12px rgba(24, 47, 73, .2); text-decoration: none; color: var(--text);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.info-card__icon { flex-shrink: 0; color: var(--blue-ink); padding-top: 2px; }
.info-card__icon .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.info-card__body { display: flex; flex-direction: column; gap: 4px; }
.info-card__title { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--navy); line-height: 1.3; }
.info-card__text { font-size: .82rem; line-height: 1.45; }
.info-card__link { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--navy); }
.info-card__link .icon { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.info-card:hover .info-card__link .icon { transform: translateX(4px); }
/* ---------- 15. Location ---------- */
.location { position: relative; padding-bottom: clamp(48px, 5vw, 72px); }
.location__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.location__photo .media { aspect-ratio: 16 / 9.4; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.location__title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.location__pin { color: var(--navy); display: inline-flex; }
.location__pin .icon { width: 30px; height: 30px; fill: var(--navy); stroke: #fff; stroke-width: 1.5; }
.location__address { color: var(--navy); line-height: 1.6; margin-bottom: 22px; padding-left: 42px; }
.location__details .btn { margin-left: 42px; }
.location__map .map { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.address-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--border); margin: 28px 0 32px; line-height: 1.65; }
.address-card strong { font-family: var(--font-head); font-size: 1.05rem; }
.address-card__pin { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; }
.map { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--light); border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map--compact { aspect-ratio: 16 / 9; margin-top: 24px; box-shadow: none; border-radius: var(--radius-lg); }
.map--tall { aspect-ratio: 4 / 3.2; box-shadow: none; border-radius: var(--radius-lg); }
/* ---------- 16. CTA band (full-width navy wave) ---------- */
.cta-band { position: relative; margin-top: clamp(24px, 3vw, 40px); }
.cta-band__wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); margin-bottom: -1px; }
.cta-band__wave-back { fill: #3B6894; opacity: .55; }
.cta-band__wave-front { fill: var(--navy); }
.cta-band__body { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, #213E60 100%); color: #DCE8F4; padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 5vw, 72px); }
.cta-band__mark { position: absolute; left: clamp(-40px, 3vw, 80px); top: -10px; width: clamp(140px, 14vw, 200px); height: auto; opacity: .22; }
.cta-band__mark .bm-n, .cta-band__mark .bm-m { fill: #A9CBEA; }
.cta-band__mark .bm-b, .cta-band__mark .bm-l { fill: #CFE2F3; }
.cta-band__mark .bm-sn, .cta-band__mark .bm-sb { stroke: #A9CBEA; }
.cta-band__inner { position: relative; text-align: center; }
.cta-band__title { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.2; margin-bottom: 10px; }
.cta-band__text { margin: 0 auto 24px; max-width: 46em; color: #DCE8F4; }
.cta-band .btn--light { min-height: 46px; padding: 11px 26px; font-size: .92rem; }
/* ---------- 17. Footer (white, mock-up layout) ---------- */
.site-footer { position: relative; background: #fff; color: var(--text); font-size: .9rem; }
.site-footer > .container { padding-block: clamp(40px, 4vw, 56px); }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--blue-ink); }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr 1.1fr 1.1fr; gap: 0; align-items: start; }
.site-footer__grid > * { padding-inline: clamp(16px, 2vw, 28px); }
.site-footer__grid > .site-footer__col { border-left: 1px solid var(--border-strong); min-height: 120px; }
.site-footer__brand { padding-left: 0 !important; }
.logo--footer .logo__mark { width: 62px; height: 74px; }
.logo--footer .logo__name { font-size: 1.85rem; }
.site-footer__desc { margin: 14px 0 0; max-width: 24em; color: var(--navy); font-size: .88rem; line-height: 1.55; }
.site-footer__heading { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; display: grid; gap: 8px; }
.site-footer__address { display: flex; gap: 10px; color: var(--navy); line-height: 1.55; margin-bottom: 12px; }
.site-footer__address .icon { width: 20px; height: 20px; fill: var(--navy); stroke: #fff; margin-top: 2px; }
.site-footer__col .site-footer__contact { gap: 6px; }
.site-footer__col .site-footer__contact a { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; }
.site-footer__contact .icon { width: 15px; height: 15px; color: var(--blue-ink); }
.site-footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; padding-right: 0 !important; }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; font-size: .78rem; }
.site-footer__legal li + li::before { content: "|"; margin: 0 8px; color: var(--border-strong); }
.site-footer__social { list-style: none; display: flex; gap: 16px; }
.site-footer__social .icon { width: 22px; height: 22px; }
.site-footer__bottom { background: var(--navy); color: #DCE8F4; font-size: .82rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 28px; padding-block: 16px; text-align: center; }
.site-footer__bottom p { margin: 0; }
.site-footer__emergency { display: inline-flex; align-items: center; gap: 6px; color: #A9CBEA; }
.site-footer__emergency .icon { width: 14px; height: 14px; }
/* ---------- 18. Back to top ---------- */
.back-to-top {
    position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 90;
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--navy); color: #fff; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s, background-color .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy-700); transform: translateY(-3px); }
.back-to-top .icon { width: 20px; height: 20px; }
/* ---------- 19. Inner page hero & breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 7vw, 104px); background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.page-hero__shape { width: min(60vw, 720px); right: -12%; top: -40%; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-family: var(--font-serif); font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.1rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; max-width: 14em; margin-bottom: 24px; }
.page-hero__lead { font-size: var(--fs-lg); max-width: 40em; margin: 0; }
.page-hero--compact .page-hero__title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.3rem); }
.page-hero--profile { padding-bottom: 40px; background: #fff; }
.page-hero--profile .page-hero__shape { top: -120%; }
.breadcrumbs { margin-bottom: clamp(32px, 4vw, 48px); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-xs); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }
.breadcrumbs__sep { width: 14px; height: 14px; color: var(--border-strong); }
/* ---------- 20. About ---------- */
.about-banner { margin-top: calc(clamp(64px, 7vw, 104px) * -0.5); position: relative; z-index: 1; }
.about-banner .media { box-shadow: var(--shadow-lg); }
.editorial { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }
.editorial__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--border-strong); }
.editorial__body > p:not(.section-lead) { max-width: 40em; }
.editorial__body .section-lead { margin-bottom: 24px; }
.pillars { display: grid; gap: 20px; margin-top: 36px; }
.pillar { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.pillar:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.pillar__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--light); color: var(--navy); }
.pillar__title { font-size: 1.125rem; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: var(--fs-sm); }
.commitment__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.commitment__list { list-style: none; display: grid; }
.commitment__item { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid var(--border); }
.commitment__item:last-child { border-bottom: 1px solid var(--border); }
.commitment__item h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.commitment__item p { margin: 0; font-size: var(--fs-sm); }
.commitment__num { font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--blue-ink); padding-top: 3px; min-width: 28px; }
.commitment__media .media { box-shadow: var(--shadow); }
/* ---------- 21. Directory & notes ---------- */
.directory-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.directory-bar p { margin: 0; }
.directory-bar__count { font-size: var(--fs-sm); color: var(--muted); }
.directory-bar__count strong { font-family: var(--font-head); font-size: 1.5rem; margin-right: 6px; }
.note-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 36px 40px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--border); }
.note-panel__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--light); color: var(--navy); }
.note-panel__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }
.note-panel p { margin: 0; font-size: var(--fs-sm); }
/* ---------- 22. Physician profile ---------- */
.profile__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.profile__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.portrait--large { border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.profile__aside-card { padding: 24px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--border); }
.profile__aside-label { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.profile__aside-value { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.profile__aside-address { margin: 4px 0 14px; font-size: var(--fs-sm); }
.profile__header { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.profile__name { font-family: var(--font-serif); font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: 16px; }
.profile__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.profile__meta > span:not(.placeholder-tag) { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--light); color: var(--navy); font-weight: 500; font-size: var(--fs-sm); }
.profile__section { margin-bottom: 40px; }
.profile__heading { font-size: 1.375rem; margin-bottom: 16px; }
.profile__list { list-style: none; display: grid; gap: 10px; }
.profile__list li { position: relative; padding-left: 22px; }
.profile__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.profile__pending { font-size: var(--fs-lg); }
.profile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
/* ---------- 23. Patient information ---------- */
.info-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.info-nav { position: sticky; top: calc(var(--header-h) + 32px); padding: 24px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--border); }
.info-nav__title { margin: 0 0 12px; padding: 0 12px; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.info-nav ul { list-style: none; display: grid; gap: 2px; }
.info-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 500; color: var(--text); text-decoration: none; transition: background-color .25s, color .25s; }
.info-nav a .icon { width: 18px; height: 18px; color: var(--blue-ink); }
.info-nav a:hover { background: #fff; color: var(--navy); }
.info-nav a.is-active { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--shadow-xs); }
.info-content { display: grid; gap: 24px; min-width: 0; }
.phi-notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); background: var(--light); color: var(--navy); font-size: var(--fs-sm); line-height: 1.6; }
.phi-notice .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--navy); }
.phi-notice p { margin: 0; }
.info-section { position: relative; padding: clamp(28px, 4vw, 44px); padding-left: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.info-section__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--light); color: var(--navy); margin-bottom: 20px; }
.info-section__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin-bottom: 14px; }
.info-section__emergency { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; border-radius: var(--radius-pill); background: #FDF0EF; color: var(--error); font-weight: 600; font-size: var(--fs-sm); }
.info-section__emergency .icon { width: 16px; height: 16px; }
.arrival-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.arrival-grid .address-card { margin: 0; flex: 1 1 280px; }
.file-list { list-style: none; display: grid; gap: 12px; }
.file-list__item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .25s, background-color .25s; }
.file-list__item:hover { border-color: var(--navy); background: var(--soft); }
.file-list__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--light); color: var(--navy); }
.file-list__name { flex: 1; font-weight: 600; color: var(--navy); display: flex; flex-direction: column; line-height: 1.4; }
.file-list__name small { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
/* Accordion */
.accordion { display: grid; gap: 12px; margin-top: 8px; }
.accordion__item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
.accordion__item.is-open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.accordion__heading { margin: 0; font-size: 1.0625rem; letter-spacing: -.01em; }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 22px; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); border-radius: var(--radius); }
.accordion__trigger:hover { color: var(--blue-ink); }
.accordion__icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--light); color: var(--navy); transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.accordion__icon .icon { width: 16px; height: 16px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.accordion__panel { overflow: hidden; }
.accordion__content { padding: 0 22px 22px; font-size: var(--fs-sm); }
/* ---------- 24. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-card__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin-bottom: 8px; }
.form-card__intro { font-size: var(--fs-sm); color: var(--muted); }
.phi-notice--form { margin: 20px 0 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field__optional { font-weight: 400; color: var(--muted); font-family: var(--font-body); font-size: .85rem; }
.req { color: var(--error); }
.field__input {
    width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
    background: #fff; color: var(--navy); font: inherit; font-size: 1rem; line-height: 1.5;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field__input::placeholder { color: #8795A6; }
.field__input:hover { border-color: #AFC4D8; }
.field__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(101, 157, 208, .25); }
.field__input[aria-invalid="true"] { border-color: var(--error); background: #FFFBFA; }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
textarea.field__input { resize: vertical; min-height: 160px; }
.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__select .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--navy); pointer-events: none; }
.field__hint { margin: 0; font-size: var(--fs-xs); color: var(--muted); text-align: right; }
.field__error { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--error); font-weight: 500; }
.field__error[hidden] { display: none; }
.field__error .icon { width: 16px; height: 16px; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; cursor: pointer; }
.field--check label { flex: 1; font-size: var(--fs-sm); line-height: 1.55; cursor: pointer; }
.field--check .field__error { flex-basis: 100%; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; margin-bottom: 24px; border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status p { margin: 0; }
.form-status .icon { width: 20px; height: 20px; margin-top: 1px; }
.form-status--success { background: #ECF7F1; color: var(--success); border: 1px solid #BFE3CF; }
.form-status--error { background: #FDF0EF; color: var(--error); border: 1px solid #F3C9C6; }
.form-status:focus { outline: none; }
.contact__aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact-card { padding: 32px; border-radius: var(--radius-xl); background: var(--soft); border: 1px solid var(--border); }
.contact-card--soft { background: #fff; padding: 24px 28px; border-radius: var(--radius-lg); }
.contact-card--soft .contact-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.contact-card--soft .contact-card__title .icon { color: var(--error); width: 20px; height: 20px; }
.contact-card--soft p { font-size: var(--fs-sm); }
.contact-card__title { font-size: 1.35rem; margin-bottom: 24px; }
.contact-list { list-style: none; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--navy); }
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list__label { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 4px; }
.contact-list__value { color: var(--navy); line-height: 1.6; display: block; margin-bottom: 8px; text-decoration: none; }
.hours-grid { display: grid; grid-template-columns: auto auto; gap: 4px 16px; font-size: var(--fs-sm); color: var(--navy); }
/* ---------- 25. Legal ---------- */
.legal { max-width: 820px; }
.legal__updated { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--light); color: var(--navy); font-size: var(--fs-xs); font-weight: 600; margin-bottom: 32px; }
.legal h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); margin: 48px 0 14px; letter-spacing: -.02em; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin-bottom: 1.1em; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
/* ---------- 26. 404 ---------- */
.error-page { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) 0 clamp(120px, 14vw, 200px); text-align: center; background: linear-gradient(180deg, var(--soft), #fff); }
.error-page__shape { width: 720px; left: 50%; top: -30%; transform: translateX(-50%); }
.error-page__inner { position: relative; z-index: 1; max-width: 680px; }
.error-page__mark { width: 88px; height: 88px; margin: 0 auto 28px; }
.error-page .eyebrow { justify-content: center; }
.error-page__title { font-family: var(--font-serif); font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); font-weight: 500; }
.error-page__text { font-size: var(--fs-lg); margin-bottom: 36px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.error-page__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: var(--fs-sm); }
.error-page__links a { font-weight: 600; }
/* ---------- 27. Official logo integration ---------- */
.logo__img { display: block; height: 64px; width: auto; }
.site-header.is-scrolled .logo__img { height: 54px; transition: height .35s var(--ease); }
.logo--footer .logo__img { height: 92px; }
.brand-mark { display: block; }
/* Hero: logo showcase instead of photography */
.page-home .site-header:not(.is-scrolled)::before { background: rgba(255,255,255,.85); }
/* Watermarks use the official mark, recoloured */
.cta-band__mark path { fill: #A9CBEA; }
.cta-band__mark { opacity: .2; }
.info__watermark { width: 280px; height: auto; right: -30px; bottom: -40px; }
.info__watermark path { fill: #6197C9; }
.error-page__mark { width: 110px; height: auto; }
.art-panel__mark { width: 40%; }
/* ---------- 28. Logo sizing & footer refinements ---------- */
:root { --header-h: 92px; }
.logo__img { height: 74px; }
.site-header.is-scrolled .site-header__inner { height: 76px; }
.site-header.is-scrolled .logo__img { height: 60px; }
.logo--footer .logo__img { height: 104px; }
.site-footer__grid { grid-template-columns: 1.25fr .8fr 1.05fr 1.35fr auto; }
.site-footer__address address { white-space: nowrap; }
.site-footer__legal { flex-wrap: nowrap; white-space: nowrap; }
/* ---------- 29. Procedures ---------- */
.procedures-preview { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.proc-preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.proc-preview {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 24px; border-radius: 12px;
    background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 22px -14px rgba(24, 47, 73, .25);
    text-decoration: none; color: var(--text); overflow: hidden;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.proc-preview::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.proc-preview:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.proc-preview:hover::before { transform: scaleX(1); }
.proc-preview__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--light); color: var(--navy); margin-bottom: 8px; transition: background-color .35s, color .35s; }
.proc-preview__icon .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.proc-preview:hover .proc-preview__icon { background: var(--navy); color: #fff; }
.proc-preview__tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--light); color: var(--blue-ink); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.proc-preview__title { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; color: var(--navy); }
.proc-preview__text { font-size: .88rem; line-height: 1.55; }
.proc-preview__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.proc-preview__link .icon { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.proc-preview:hover .proc-preview__link .icon { transform: translateX(4px); }
.proc-preview__all { text-align: center; margin: 36px 0 0; }
.proc-jump { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.proc-jump ul { list-style: none; display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.proc-jump ul::-webkit-scrollbar { display: none; }
.proc-jump a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); text-decoration: none; transition: background-color .25s, color .25s, border-color .25s; }
.proc-jump a .icon { width: 16px; height: 16px; color: var(--blue-ink); }
.proc-jump a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.proc-jump a:hover .icon { color: #fff; }
.proc { padding-block: clamp(56px, 6vw, 96px); scroll-margin-top: calc(var(--header-h) + 70px); }
.proc--alt { background: var(--soft); }
.proc__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.proc__label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.proc__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: #fff; }
.proc__icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.proc__num { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.proc__title { margin-bottom: 10px; }
.proc__summary { font-size: var(--fs-lg); color: var(--navy); margin-bottom: 18px; }
.proc__main > p { max-width: 40em; }
.proc__main .btn { margin-top: 10px; }
.proc__side { display: grid; gap: 16px; }
.proc-card { padding: 26px 28px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 22px -16px rgba(24, 47, 73, .25); }
.proc-card--navy { background: linear-gradient(160deg, var(--navy) 0%, #213E60 100%); border-color: transparent; color: #DCE8F4; }
.proc-card__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; margin-bottom: 14px; }
.proc-card__title .icon { width: 20px; height: 20px; color: var(--blue-ink); }
.proc-card--navy .proc-card__title { color: #fff; }
.proc-card--navy .proc-card__title .icon { color: #A9CBEA; }
.proc-card__list { list-style: none; display: grid; gap: 10px; font-size: .92rem; line-height: 1.5; }
.proc-card__list li { position: relative; padding-left: 20px; }
.proc-card__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.proc-card--navy .proc-card__list li::before { background: #A9CBEA; }
.advanced { background: #fff; }
.advanced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.advanced-card { padding: 26px 24px; border-radius: 12px; border: 1px solid var(--border); background: #fff; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.advanced-card[id] { scroll-margin-top: calc(var(--header-h) + 70px); }
.advanced-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.advanced-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--light); color: var(--navy); margin-bottom: 14px; }
.advanced-card__icon .icon { width: 22px; height: 22px; }
.advanced-card__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.advanced-card__text { font-size: .88rem; line-height: 1.6; margin-bottom: 12px; }
.advanced-card__for { font-size: .84rem; margin: 0; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text); }
.conditions { background: linear-gradient(180deg, #EEF5FB 0%, var(--light) 100%); }
.condition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.condition { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 12px; background: #fff; border: 1px solid #DCE9F4; }
.condition__icon { flex-shrink: 0; color: var(--blue-ink); }
.condition__icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.condition__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.condition__text { font-size: .86rem; line-height: 1.5; margin: 0; }
/* ---------- 30. Physician cards: full name + profile summary ---------- */
.physician-card__name { font-size: 1rem; line-height: 1.3; }
.physician-card__specialty { color: var(--blue-ink); font-weight: 600; font-size: .78rem; margin-top: 4px; }
.physician-card__title { margin: 2px 0 0; font-size: .76rem; color: var(--muted); }
.physician-card__bio { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: .8rem; line-height: 1.5; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.physician-card__link { margin-top: auto; padding-top: 12px; }
.physician-grid--directory .physician-card__name { font-size: 1.15rem; }
.physician-grid--directory .physician-card__bio { -webkit-line-clamp: 5; font-size: .86rem; }
