:root {
    --bg: #fefdfb;
    --bg-elevated: #ffffff;
    --bg-muted: #f3f0ea;
    --surface-warm: #faf7f1;
    --surface-alt: var(--surface-warm);
    --calm-tint: rgba(214, 232, 226, 0.35);
    --text: #1a2332;
    --text-soft: #55606e;
    --text-light: #8a9aac;
    --line: rgba(26, 35, 50, 0.1);
    --line-hair: rgba(168, 133, 74, 0.09);
    --accent: #c8a96e;
    --accent-dark: #a8854a;
    --accent-soft: rgba(200, 169, 110, 0.16);
    --ink: #1a2332;
    --navy-mid: #243044;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --header-h: 80px;
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 2px 12px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 8px 32px rgba(26, 35, 50, 0.08);
    --star-rating: #f5b731;
    --link-google: #1a73e8;
    --float-safe-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    --float-safe-left: max(1.5rem, env(safe-area-inset-left, 0px));
    --float-safe-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.0625rem;
    color: var(--text);
    background: var(--bg);
    line-height: 1.68;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: var(--text);
    letter-spacing: 0.02em;
}

p {
    margin: 0 0 1.25rem;
    color: var(--text-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header a:hover,
.main-nav a:hover,
.brand:hover,
.btn:hover,
.faq-item summary {
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--white);
    font-weight: 500;
    font-family: var(--font-body);
}

.skip-link:focus-visible {
    left: 0;
    outline: 2px solid var(--accent);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.opening-banner {
    background: linear-gradient(135deg, #2a3a4f 0%, #1a2332 100%);
    color: rgba(255, 252, 249, 0.95);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(200, 169, 110, 0.35);
}

.opening-banner-inner p {
    margin: 0;
    font-family: var(--font-body);
}

.top-bar {
    background: var(--ink);
    color: rgba(255, 252, 249, 0.92);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.top-bar-label {
    color: rgba(255, 252, 249, 0.66);
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(200, 169, 110, 0.18);
    border: 1px solid rgba(200, 169, 110, 0.55);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.top-bar-phone:hover {
    text-decoration: none;
    background: rgba(200, 169, 110, 0.3);
}

.top-bar-inner {
    display: flex;
    justify-content: center;
}

@media (min-width: 701px) {
    .top-bar-inner {
        justify-content: flex-end;
    }
}

.container {
    width: min(1040px, 90%);
    margin: 0 auto;
}

.container-narrow {
    width: min(640px, 90%);
    margin: 0 auto;
}

.container-text {
    width: min(38rem, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line-hair);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    border-bottom-color: rgba(26, 35, 50, 0.06);
}

.nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    line-height: 1.15;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    background: transparent;
    box-shadow: 0 2px 10px rgba(26, 35, 50, 0.18);
}

.brand-text-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.brand-name-line {
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.brand-accent {
    color: var(--accent-dark);
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}

@media (max-width: 700px) {
    .brand-tagline {
        display: block;
        font-size: 0.58rem;
        letter-spacing: 0.11em;
        line-height: 1.2;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-soft);
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a.active {
    color: var(--text);
    font-weight: 600;
}

.main-nav a.btn,
.main-nav a.btn-nav-cta {
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: none;
}

.main-nav a.btn::after,
.main-nav a.btn-nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
    line-height: 0;
}

.menu-toggle:hover {
    background: var(--bg-muted);
    border-color: rgba(26, 35, 50, 0.2);
}

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-hamburger { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--accent);
    color: var(--white);
    border: 1.5px solid var(--accent-dark);
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.65rem;
    min-height: 48px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
        transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 169, 110, 0.35);
}

.btn.small {
    padding: 0.6rem 1.25rem;
    min-height: 44px;
    font-size: 0.8125rem;
}

.btn-nav-cta {
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
    .btn:hover {
        transform: none;
    }
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

/* In-page targets (SPA sections + footer) */
#new-patients,
#footer {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

#main {
    min-height: 48vh;
}

@keyframes hero-orb-float {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-12px, -14px);
    }
}

@keyframes hero-card-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.hero {
    padding: clamp(3rem, 10vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero--lux {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 100% 0%, var(--calm-tint) 0%, transparent 55%),
        linear-gradient(165deg, var(--surface-warm) 0%, var(--white) 42%, var(--bg-muted) 100%);
}

.hero--lux::before,
.hero--lux::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero--lux::before {
    top: -180px;
    right: -160px;
    width: min(520px, 90vw);
    height: min(520px, 90vw);
    background: radial-gradient(circle, rgba(200, 169, 110, 0.12) 0%, transparent 68%);
    animation: hero-orb-float 10s ease-in-out infinite;
}

.hero--lux::after {
    bottom: -120px;
    left: -100px;
    width: min(400px, 70vw);
    height: min(400px, 70vw);
    background: radial-gradient(circle, rgba(26, 35, 50, 0.04) 0%, transparent 70%);
    animation: hero-orb-float 12s ease-in-out infinite 2s;
}

@media (prefers-reduced-motion: reduce) {
    .hero--lux::before,
    .hero--lux::after {
        animation: none;
    }

    .hero-float-card {
        animation: none !important;
    }
}

.hero-lux-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.hero-lux-content {
    max-width: 36rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    margin: 0 0 1.25rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border: 1px solid rgba(200, 169, 110, 0.28);
    border-radius: var(--radius-pill);
}

.hero-inner {
    max-width: 36rem;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.6875rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.35rem, 5.5vw, 3.35rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.hero--lux h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    line-height: 1.12;
    font-weight: 500;
}

.hero-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--accent-dark);
    position: relative;
}

.hero-accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.12em;
    height: 0.35em;
    background: rgba(200, 169, 110, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.lead {
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.75;
    max-width: 34rem;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 2.25rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 4vw, 2.75rem);
    margin-bottom: 1.75rem;
}

.hero-stat {
    position: relative;
    padding-left: 1rem;
    min-width: 5.5rem;
}

.hero-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border-radius: 3px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.hero-proof {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    margin: 0;
    max-width: 34rem;
    line-height: 1.55;
}

.hero-meta {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    margin: 0;
}

.hero-lux-visual {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 420px;
}

.hero-visual-frame {
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(145deg, var(--ink) 0%, var(--navy-mid) 100%);
    box-shadow: var(--shadow-md);
}

.hero-visual-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
}

.hero-visual-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.hero-visual-hint {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.85;
}

.hero-float-card {
    position: absolute;
    left: -0.5rem;
    bottom: 10%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    max-width: 260px;
    animation: hero-card-float 7s ease-in-out infinite;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-float-card:hover {
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(26, 35, 50, 0.12);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .hero-float-card:hover {
        transform: none;
    }
}

.hero-float-stars {
    color: var(--star-rating);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    flex-shrink: 0;
}

.hero-float-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.hero-float-text strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.hero-float-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-float-arrow {
    color: var(--accent-dark);
    font-weight: 600;
    flex-shrink: 0;
}

.trust-minimal {
    padding: 0 0 2.5rem;
    position: relative;
    z-index: 1;
}

/* Insurance / PPO showcase (home) — deep sea-glass panel, distinct from template teal slabs */
.section-insurance {
    --insurance-teal: #3d8f9a;
    --insurance-teal-mid: #2a6570;
    --insurance-teal-deep: #1a3f48;
    padding: clamp(3.25rem, 7.5vw, 5rem) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, var(--ink) 0%, var(--navy-mid) 52%, var(--insurance-teal-deep) 100%);
    border-top: 1px solid rgba(200, 169, 110, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-insurance::before,
.section-insurance::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.section-insurance::before {
    width: 320px;
    height: 320px;
    top: -110px;
    right: -90px;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.16) 0%, transparent 70%);
}

.section-insurance::after {
    width: 240px;
    height: 240px;
    bottom: -90px;
    left: -70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 72%);
}

.insurance-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    padding: clamp(0.3rem, 1vw, 0.8rem);
}

@media (min-width: 900px) {
    .insurance-showcase {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }

    .insurance-showcase-copy {
        padding-left: clamp(1.75rem, 4vw, 2.75rem);
        border-left: 1px solid rgba(255, 255, 255, 0.14);
    }
}

.insurance-showcase-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.insurance-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insurance-logo-cell {
    background: transparent;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.3rem, 1.2vw, 0.55rem);
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    @media (prefers-reduced-motion: no-preference) {
        .insurance-logo-cell:hover {
            transform: translateY(-2px);
            box-shadow: none;
        }
    }
}

.insurance-logo-cell img {
    max-width: 130%;
    max-height: clamp(56px, 11vw, 74px);
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(1.24);
    transform-origin: center;
}

.insurance-showcase-copy h2 {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    color: rgba(255, 252, 249, 0.97);
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-shadow: none;
}

.insurance-showcase-copy p {
    color: rgba(255, 252, 249, 0.86);
    margin-bottom: 1rem;
    max-width: 34rem;
}

.insurance-showcase-copy .insurance-showcase-note {
    font-size: 0.875rem;
    color: rgba(255, 252, 249, 0.66);
    margin-bottom: 1.5rem;
}

.btn-insurance-book {
    background: rgba(255, 252, 249, 0.96);
    color: var(--ink);
    border-color: rgba(200, 169, 110, 0.6);
    box-shadow: 0 6px 18px rgba(10, 24, 30, 0.26);
}

.btn-insurance-book:hover {
    background: var(--white);
    color: var(--ink);
    border-color: rgba(200, 169, 110, 0.9);
    box-shadow: 0 10px 24px rgba(10, 24, 30, 0.3);
}

@media (max-width: 899px) {
    .insurance-showcase-visual {
        max-width: 420px;
        margin-inline: auto;
    }

    .insurance-showcase-copy {
        text-align: center;
    }

    .insurance-showcase-copy p,
    .insurance-showcase-copy .insurance-showcase-note {
        margin-left: auto;
        margin-right: auto;
    }

    .insurance-showcase-copy .btn-insurance-book {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 700px) {
    /* Mobile: remove card chrome so logos look clean */
    .insurance-logo-cell {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0.2rem;
    }

    .insurance-logo-cell img {
        transform: none;
        max-width: 100%;
        max-height: 58px;
    }
}

/* Affiliations strip (home) — airy frame, not a flat logo strip */
.section-affiliations {
    --affiliations-teal: #1a3f48;
    background: linear-gradient(185deg, #fafcf9 0%, #eef5f6 40%, #e9f1f3 100%);
    padding: clamp(3.25rem, 8vw, 5.25rem) 0;
    border-top: 1px solid rgba(200, 169, 110, 0.16);
    border-bottom: 1px solid var(--line-hair);
}

/* Shares .kicker scale with site section eyebrows; color matches affiliations band */
.affiliations-heading {
    text-align: center;
    color: var(--affiliations-teal);
    letter-spacing: 0.18em;
    margin: 0 auto 0.35rem;
    max-width: 40rem;
}

.affiliations-heading::after {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    margin: 1.35rem auto 2.35rem;
    background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
    opacity: 0.65;
}

.affiliations-logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
    list-style: none;
    margin: 0;
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(26, 35, 50, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.affiliations-logo-item {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliations-logo-item img {
    display: block;
    max-height: clamp(44px, 8vw, 60px);
    width: auto;
    max-width: min(200px, 42vw);
    object-fit: contain;
}

/* Wider marks (Dallas County Dental Society, TDA) */
.affiliations-logo-item:nth-child(2) img {
    max-height: clamp(48px, 9vw, 64px);
    max-width: min(280px, 58vw);
}

.affiliations-logo-item:nth-child(4) img {
    max-width: min(240px, 50vw);
}

@media (max-width: 520px) {
    .affiliations-logo-row {
        gap: 1.25rem 1.5rem;
    }

    .affiliations-logo-item img,
    .affiliations-logo-item:nth-child(2) img,
    .affiliations-logo-item:nth-child(4) img {
        max-height: 40px;
        max-width: min(160px, 44vw);
    }
}

.trust-caption {
    margin: 0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
}

@media (max-width: 960px) {
    .hero-lux-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lux-content {
        max-width: none;
    }

    .hero-lux-visual {
        justify-self: center;
        max-width: 340px;
    }

    .hero-float-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin: 0.75rem auto 0;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-proof {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 700px) {
    .hero-float-card {
        animation: none;
        margin-top: 1rem;
    }
}

.section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-muted {
    background: linear-gradient(180deg, var(--bg-muted) 0%, var(--surface-warm) 100%);
}

.section-book {
    background: var(--bg-elevated);
    border-top: 1px solid var(--line-hair);
}

.section-intro {
    max-width: 36rem;
    margin: -0.25rem 0 2.5rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    margin-bottom: 1.25rem;
}

/* Interior pages: one semantic h1 per route without oversized hero typography */
h1.page-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.h-sub {
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.subsection {
    margin-top: 0;
}

.doctor-intro-list {
    margin: 0 0 1.35rem;
    padding-left: 1.2rem;
    color: var(--text-soft);
}

.doctor-intro-list li {
    margin-bottom: 0.55rem;
    line-height: 1.6;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--line-hair);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.6rem 1.45rem;
    box-shadow: 0 2px 16px rgba(26, 35, 50, 0.05);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
    box-shadow: 0 12px 36px rgba(26, 35, 50, 0.09);
    border-color: rgba(200, 169, 110, 0.22);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 0.5rem;
}

.team-card {
    padding: 0;
    border: none;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.team-card .muted {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin: 0 0 0.75rem;
}

.team-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 40rem;
}

.quote-lux {
    margin: 0;
    padding: 0;
    border: none;
}

.quote-lux p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text);
    margin: 0 0 1rem;
}

.quote-lux cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
}

.faq-item {
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--text);
    padding: 1.15rem 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    float: right;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--text);
    border-bottom: 1px solid var(--text);
    transform: rotate(45deg);
    margin-top: 0.35rem;
    opacity: 0.45;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 0.5rem;
}

.faq-item p {
    margin: 0;
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    border-top: none;
}

.book-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.book-intro .book-privacy {
    font-size: 0.8125rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.form-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--line-hair);
    border-radius: calc(var(--radius) + 2px);
    padding: 2.25rem 2rem;
    display: grid;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.06);
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-soft);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.req {
    color: var(--accent-dark);
}

label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

input,
select,
textarea {
    width: 100%;
    font: inherit;
    font-weight: 400;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.9rem;
    background: var(--bg-elevated);
    color: var(--text);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.18);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #8b2942;
    box-shadow: 0 0 0 2px rgba(139, 41, 66, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-row > div {
    min-width: 0;
}

.checkbox-label {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-weight: 300;
    font-size: 0.8125rem;
    color: var(--text-soft);
    margin: 0.5rem 0 0.75rem;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-label input {
    width: auto;
    margin: 0.2rem 0 0;
    flex-shrink: 0;
}

.field-error {
    min-height: 0.95rem;
    margin: -0.2rem 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #8b2942;
}

.contact-map-wrap {
    margin-top: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-elevated);
}

.contact-map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
}

.status {
    min-height: 1rem;
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
}

.status--error {
    color: #8b2942;
}

.status--success {
    color: #3d5c40;
}

.toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    max-width: min(28rem, calc(100vw - 2rem));
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.45;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast--success {
    background: #f3fbf4;
    color: #234f2c;
    border-color: #b9dfbf;
}

.toast--error {
    background: #fff5f7;
    color: #7f2237;
    border-color: #f0c4cf;
}

@media (max-width: 700px) {
    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 252, 249, 0.78);
    padding: clamp(3rem, 8vw, 4.25rem) 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer h3 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
}

.site-footer h4,
.site-footer .footer-heading {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(200, 169, 110, 0.9);
    margin: 0 0 1.1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 252, 249, 0.82);
    font-size: 0.9375rem;
    font-weight: 400;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

.footer-grid--elegant {
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

@media (min-width: 720px) {
    .footer-grid--elegant {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
        gap: 3rem;
    }
}

@media (min-width: 960px) {
    .footer-grid--elegant {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
    }
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-list li a {
    font-size: 0.875rem;
    opacity: 0.82;
    transition: opacity 0.2s;
}

.footer-nav-list li a:hover {
    opacity: 1;
}

.related-service-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text) !important;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e0d8);
    border-radius: var(--radius-pill, 999px);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.related-service-chip:hover {
    border-color: var(--accent, #b8860b);
    background: rgba(184, 134, 11, 0.06);
    text-decoration: none;
}

.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-brand-lockup h3 {
    margin: 0;
}

.footer-logo-img {
    height: 38px;
    width: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    padding: 2px;
    opacity: 0.92;
}

.footer-tagline {
    margin: 0 0 1.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 169, 110, 0.65) !important;
}

.footer-lead {
    margin: 0 0 0.65rem !important;
    line-height: 1.55;
}

.footer-lead:last-of-type {
    margin-bottom: 0 !important;
}

.footer-sep {
    display: inline-block;
    padding: 0 0.4rem;
    opacity: 0.35;
    font-weight: 300;
}

.footer-cta {
    margin: 1.75rem 0 0 !important;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(200, 169, 110, 0.55);
    border-radius: var(--radius-pill);
    background: transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.footer-btn:hover {
    text-decoration: none;
    background: rgba(200, 169, 110, 0.15);
    border-color: rgba(200, 169, 110, 0.85);
    color: var(--white);
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hour-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.65rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-hour-row span:first-child {
    color: rgba(255, 252, 249, 0.55);
    font-size: 0.8125rem;
}

.footer-hour-row span:last-child {
    color: rgba(255, 252, 249, 0.92);
    font-weight: 500;
    text-align: right;
}

.footer-emergency {
    margin: 1.75rem 0 0 !important;
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 252, 249, 0.55) !important;
}

.footer-emergency a {
    color: rgba(255, 252, 249, 0.88);
    font-weight: 500;
}

.footer-emergency strong {
    color: rgba(255, 252, 249, 0.92);
}

.footer-bottom-bar {
    margin-top: clamp(2.5rem, 5vw, 3.25rem);
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.copyright {
    margin: 0 !important;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(255, 252, 249, 0.5);
}

.footer-entity {
    font-size: 0.8125rem;
    opacity: 0.9;
    margin-bottom: 0.35rem;
}

.footer-legal {
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    color: rgba(255, 252, 249, 0.72);
}

.footer-small {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 252, 249, 0.65);
}

@media (max-width: 900px) {
    .cards-2 {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .book-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: var(--header-h);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--bg-elevated);
        padding: 0 5%;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 48px rgba(31, 30, 28, 0.06);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), padding 0.35s var(--ease), visibility 0s 0.35s;
    }

    .main-nav a {
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid var(--line-hair);
        font-size: 0.9375rem;
    }

    .main-nav a.btn,
    .main-nav a.btn-nav-cta {
        margin: 0.75rem 0;
        text-align: center;
        width: auto;
        align-self: flex-start;
    }

    .main-nav.open {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
        padding: 0.5rem 5% 1.25rem;
        transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), padding 0.35s var(--ease), visibility 0s 0s;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PROFESSIONAL ENHANCEMENTS
   ===================================================== */

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    }
    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.08s; }
    .reveal-delay-2 { transition-delay: 0.16s; }
    .reveal-delay-3 { transition-delay: 0.24s; }
    .reveal-delay-4 { transition-delay: 0.32s; }
    .reveal-delay-5 { transition-delay: 0.4s; }
}

/* Floating call button (mobile) */
.float-call {
    position: fixed;
    bottom: var(--float-safe-bottom);
    right: var(--float-safe-right);
    z-index: 50;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(200, 169, 110, 0.55);
    transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    border: none;
}
.float-call:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 169, 110, 0.65);
    text-decoration: none;
    color: var(--white);
}

.float-call:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}
.float-call svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
@media (max-width: 700px) {
    .float-call { display: flex; }
}

/* Back to top */
.back-top {
    position: fixed;
    bottom: var(--float-safe-bottom);
    left: var(--float-safe-left);
    z-index: 50;
    width: 46px;
    height: 46px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s, box-shadow 0.2s;
    pointer-events: none;
    color: var(--text);
}
.back-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-top:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}

.back-top:hover {
    background: var(--bg-muted);
    box-shadow: var(--shadow-md);
}
.back-top svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-soft);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Service card icons */
.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}
.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hero visual art (replaces placeholder) */
.hero-visual-art {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: linear-gradient(155deg, #162030 0%, var(--navy-mid) 55%, #1e3045 100%);
    position: relative;
    overflow: hidden;
}
.hero-visual-art::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-art-svg {
    width: 100%;
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}
.hero-art-tagline {
    margin: 1.75rem 0 0;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200, 169, 110, 0.55);
    text-align: center;
}

/* Trust pills (home trust bar) */
.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: var(--surface-warm);
    border: 1px solid rgba(200, 169, 110, 0.18);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-soft);
    box-shadow: 0 1px 8px rgba(26, 35, 50, 0.04);
}
.trust-pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Home stats bar */
.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--line-hair);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 2.5rem;
}
.home-stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--line-hair);
    transition: background 0.2s;
}
.home-stat-item:last-child { border-right: none; }
.home-stat-item:hover { background: var(--bg); }
.home-stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.home-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    line-height: 1.4;
}
@media (max-width: 600px) {
    .home-stats {
        grid-template-columns: 1fr 1fr;
    }
    .home-stat-item:nth-child(2) { border-right: none; }
    .home-stat-item:nth-child(1),
    .home-stat-item:nth-child(2) { border-bottom: 1px solid var(--line-hair); }
}

/* Dark CTA section */
.section-cta-dark {
    background: linear-gradient(155deg, var(--ink) 0%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}
.section-cta-dark::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.section-cta-dark::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.section-cta-dark .container { position: relative; z-index: 1; }
.section-cta-dark .kicker { color: rgba(200, 169, 110, 0.8); }
.section-cta-dark h1,
.section-cta-dark h2 {
    color: var(--white);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
}
.section-cta-dark .lead {
    color: rgba(255, 252, 249, 0.72);
    line-height: 1.75;
}
.section-cta-dark .btn-ghost {
    background: transparent;
    color: rgba(255, 252, 249, 0.85);
    border-color: rgba(255, 252, 249, 0.28);
}
.section-cta-dark .btn-ghost:hover {
    background: rgba(255, 252, 249, 0.08);
    border-color: rgba(255, 252, 249, 0.5);
    color: var(--white);
}

/* Process steps */
.steps-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
}
@media (min-width: 640px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.step-item {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 2px solid rgba(200, 169, 110, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-dark);
    flex-shrink: 0;
}
.step-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 0.35rem;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.65;
}

/* Reviews grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.review-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line-hair);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
    .review-card:hover { transform: none; }
}
.review-stars {
    color: var(--star-rating);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
}
.review-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.62;
    color: var(--text);
    margin-bottom: 1.25rem;
    flex: 1;
}
.review-footer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line-hair);
}
.review-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}
.review-location {
    font-size: 0.72rem;
    color: var(--text-light);
    margin: 0;
}

/* Team avatars */
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(200, 169, 110, 0.3);
}

.team-avatar--img {
    display: block;
    object-fit: cover;
    object-position: 50% 30%;
    background: var(--bg-elevated);
    transform: scale(1.12);
    transform-origin: center;
}
.team-avatar--soft {
    background: var(--bg-muted);
    color: var(--text-soft);
    font-size: 1.25rem;
    box-shadow: none;
    border: 1px solid var(--line-hair);
}

/* Contact page layout */
.contact-layout {
    display: grid;
    gap: 3rem;
}
@media (min-width: 700px) {
    .contact-layout { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-info-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin: 0 0 0.3rem;
    display: block;
}
.contact-info-value {
    font-size: 0.9375rem;
    color: var(--text);
    margin: 0;
    line-height: 1.55;
}
.contact-info-value a { color: var(--text); }
.contact-info-value a:hover { color: var(--accent-dark); text-decoration: none; }

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    border: 1px solid rgba(200, 169, 110, 0.25);
    color: var(--accent-dark);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.directions-btn:hover {
    background: rgba(200, 169, 110, 0.2);
    border-color: rgba(200, 169, 110, 0.45);
    text-decoration: none;
}
.directions-btn svg {
    width: 13px;
    height: 13px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-map-wrap iframe {
    height: 340px;
}

/* Hours table in contact */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
}
.hours-table tr { border-bottom: 1px solid var(--line-hair); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.65rem 0; font-size: 0.875rem; }
.hours-table td:first-child { color: var(--text-soft); }
.hours-table td:last-child { font-weight: 500; color: var(--text); text-align: right; }

@media (max-width: 420px) {
    .hours-table tr { display: flex; flex-direction: column; padding: 0.55rem 0; }
    .hours-table td { padding: 0; font-size: 0.8125rem; }
    .hours-table td:last-child { text-align: left; color: var(--text-soft); font-weight: 400; }
}

/* Emergency callout */
.emergency-callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: rgba(139, 41, 66, 0.04);
    border: 1px solid rgba(139, 41, 66, 0.12);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin-top: 1.5rem;
}
.emergency-callout svg {
    width: 18px;
    height: 18px;
    stroke: #8b2942;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.emergency-callout p {
    margin: 0;
    font-size: 0.875rem;
    color: #5c1a2c;
    line-height: 1.55;
}
.emergency-callout a { color: #8b2942; font-weight: 600; }

/* Doctor highlight box */
.doctor-highlight {
    background: var(--accent-soft);
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.doctor-highlight svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.doctor-highlight p { margin: 0; font-size: 0.9375rem; color: var(--text); line-height: 1.6; }

@media (max-width: 700px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}

/* =============================================
   DOCTOR CREDENTIAL CARD (hero visual)
   ============================================= */
.doctor-cred-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 2.25rem 2rem;
    background: linear-gradient(155deg, #1d2e42 0%, #2a3d56 55%, #243448 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.doctor-cred-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.doctor-cred-photo {
    position: relative;
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(22, 32, 48, 0.96);
    border: 2px solid rgba(200, 169, 110, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    line-height: 0;
}

.doctor-photo-placeholder {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(200,169,110,0.35);
    box-shadow: 0 0 0 6px rgba(200,169,110,0.1);
}

.doctor-photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.doctor-cred-verified {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #162030;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-cred-verified svg {
    width: 13px;
    height: 13px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.doctor-cred-name {
    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin: 0.25rem 0 0;
    letter-spacing: 0.02em;
    line-height: 1.22;
}

.doctor-cred-name-degree {
    display: inline-block;
    margin-left: 0.3rem;
    font-family: var(--font-body);
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    vertical-align: middle;
}

.doctor-cred-role {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}

.doctor-cred-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    margin: 0.25rem 0;
}

.cred-pill {
    padding: 0.28rem 0.75rem;
    background: rgba(200,169,110,0.12);
    border: 1px solid rgba(200,169,110,0.28);
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(200,169,110,0.88);
}

.cred-pill--spacer {
    visibility: hidden;
    min-width: 6.2rem;
    user-select: none;
}

.doctor-cred-divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.25rem auto;
}

.doctor-cred-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.1);
}

.doctor-cred-stars {
    color: var(--star-rating);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.doctor-cred-rating-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.04em;
}

/* Hero float card icon */
.hero-float-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =============================================
   DOCTOR PROFILE CARD (homepage meet section)
   ============================================= */
.doctor-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 700px) {
    .doctor-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.doctor-profile-card {
    background: linear-gradient(145deg, var(--ink) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.doctor-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 0 5px rgba(200,169,110,0.18);
}

.doctor-profile-photo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 0 5px rgba(200, 169, 110, 0.18);
}

.doctor-profile-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 22%;
    transform: scale(1.22);
    transform-origin: 50% 34%;
    border-radius: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .doctor-profile-img {
        transform: none;
        object-position: 50% 16%;
    }
}

.doctor-profile-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin: 0 0 0.3rem;
    letter-spacing: 0.02em;
}

.doctor-profile-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1.25rem;
}

.doctor-profile-creds {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
}

.doctor-profile-cred-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.45;
}

.doctor-profile-cred-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =============================================
   TEAM AVATAR ICON VARIANT
   ============================================= */
.team-avatar--icon {
    font-size: 0;
}

.team-avatar--icon svg {
    width: 34px;
    height: 34px;
    stroke: var(--text-soft);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =============================================
   REVIEWS BADGE BAR (rating summary)
   ============================================= */
.reviews-badge-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 1rem 1.5rem;
    background: var(--accent-soft);
    border: 1px solid rgba(200, 169, 110, 0.28);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.reviews-badge-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.reviews-badge-stars {
    color: var(--star-rating);
    font-size: 1rem;
    letter-spacing: 0.06em;
    line-height: 1;
}

.reviews-badge-sep {
    color: var(--text-light);
    font-size: 0.85rem;
}

.reviews-badge-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-soft);
}

.reviews-badge-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-decoration: none;
    margin-left: auto;
}

.reviews-badge-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Language chips ───────────────────────────────────────────── */
.section-languages {
    padding: 0.75rem 0;
    border-top: 1px solid var(--border, #e5e0d8);
    border-bottom: 1px solid var(--border, #e5e0d8);
    background: var(--surface-alt, #faf8f5);
}

.languages-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.languages-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 0.25rem;
    white-space: nowrap;
}

.lang-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-dark, #8b6914);
    background: rgba(184,134,11,0.08);
    border: 1px solid rgba(184,134,11,0.22);
    border-radius: 999px;
}