/* ============================================================
   Medicare Doctor Clinic — Premium Design System
   Version: 2.5.0
   Charset: UTF-8 (save without BOM)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    --mc-primary: #1769AA;
    --mc-primary-hover: #1256A0;
    --mc-primary-light: #E8F1FA;
    --mc-teal: #0F9D92;
    --mc-teal-hover: #0C8478;
    --mc-navy: #172B4D;
    --mc-muted: #63738A;
    --mc-mint: #E8F8F3;
    --mc-blue-light: #F2F8FC;
    --mc-white: #FFFFFF;
    --mc-border: #D9E2EC;
    --mc-border-light: #E4EBF2;
    --mc-success: #1E8E5A;
    --mc-warning: #B7791F;
    --mc-error: #C53030;

    --mc-radius: 14px;
    --mc-radius-sm: 10px;
    --mc-radius-lg: 20px;
    --mc-container: 1200px;
    --mc-header-h: 72px;

    /* ═══ Clear stacking order (low → high) ═══ */
    --mc-z-header: 900;
    --mc-z-backdrop: 940;
    --mc-z-drawer: 950;
    --mc-z-back-to-top: 990;   /* below skip-link, above drawer */
    --mc-z-skip: 100000;

    --mc-shadow-sm: 0 2px 8px rgba(23,43,77,0.06);
    --mc-shadow: 0 6px 24px rgba(23,43,77,0.08);
    --mc-shadow-lg: 0 20px 50px rgba(23,43,77,0.15);

    --mc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mc-touch: 44px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--mc-navy);
    line-height: 1.6;
    background: var(--mc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--mc-primary);
    text-decoration: none;
    transition: color var(--mc-transition);
}

a:hover {
    color: var(--mc-teal);
}

button {
    font-family: inherit;
    color: inherit;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--mc-navy);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--mc-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--mc-container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* ============================================================
   4. ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 1rem 1.25rem;
    background: var(--mc-primary);
    color: #fff;
    z-index: var(--mc-z-skip);
    clip: auto;
    clip-path: none;
    border-radius: 8px;
    font-weight: 700;
}

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--mc-z-header);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--mc-border);
    transition: transform 0.3s ease, box-shadow 0.2s ease;
}

/* will-change only while animating — saves GPU memory */
.site-header.is-hidden {
    transform: translateY(-100%);
    will-change: transform;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--mc-header-h);
    padding-block: 0.5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-branding__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--mc-navy);
    font-weight: 700;
    font-size: clamp(1rem, 1rem + 0.3vw, 1.15rem);
    min-width: 0;
}

.site-branding__link:hover {
    color: var(--mc-navy);
}

.site-branding__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw;
}

.site-branding__icon svg,
.site-branding__logo {
    display: block;
    flex-shrink: 0;
    max-height: 48px;
    width: auto;
}

.site-header__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Mobile toggle */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mc-touch);
    height: var(--mc-touch);
    padding: 0;
    background: transparent;
    border: 1px solid var(--mc-border);
    border-radius: 10px;
    color: var(--mc-navy);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.menu-toggle:hover {
    background: var(--mc-blue-light);
    border-color: var(--mc-primary);
    color: var(--mc-primary);
}

.menu-toggle__bars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 22px;
}

.menu-toggle__bars span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ═══ Nav drawer (mobile) ═══ */
.primary-nav {
    position: fixed;
    inset: var(--mc-header-h) 0 0 auto;
    width: min(86vw, 360px);
    background: var(--mc-white);
    border-left: 1px solid var(--mc-border);
    box-shadow: -20px 0 40px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: var(--mc-z-drawer);        /* 950 — above backdrop */
    overflow-y: auto;
    overscroll-behavior: contain;
    display: block;
}

.primary-nav.is-open {
    transform: translateX(0);
}

.primary-nav__drawer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.25rem 2rem;
}

.primary-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.primary-nav__menu li {
    border: 0;
}

.primary-nav__menu a {
    display: block;
    padding: 0.75rem 0.875rem;
    border-radius: 8px;
    color: var(--mc-navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.primary-nav__menu a:hover,
.primary-nav__menu a:focus-visible {
    background: var(--mc-blue-light);
    color: var(--mc-primary);
    outline: none;
}

/* ═══ aria-current — with fallback for browsers without color-mix() ═══ */
.primary-nav__menu a[aria-current="page"] {
    background: var(--mc-primary-light);   /* fallback */
    color: var(--mc-primary);
}

@supports (background: color-mix(in srgb, red 10%, transparent)) {
    .primary-nav__menu a[aria-current="page"] {
        background: color-mix(in srgb, var(--mc-primary) 12%, transparent);
    }
}

.primary-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mc-border);
}

.primary-nav__cta .btn {
    width: 100%;
    justify-content: center;
}

/* ═══ Body scroll lock + backdrop ═══ */
body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: "";
    position: fixed;
    inset: var(--mc-header-h) 0 0 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: var(--mc-z-backdrop);       /* 940 — below drawer */
    animation: fadeIn 0.2s ease;
    pointer-events: auto;                /* clickable to close menu */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ═══ Hide back-to-top while drawer is open (prevents z-index bleed) ═══ */
body.menu-open .back-to-top {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

@media (min-width: 640px) {
    .site-branding__text { max-width: none; }
}

/* ═══ Desktop nav (≥1024px) ═══ */
@media (min-width: 1024px) {
    .menu-toggle { display: none; }

    .primary-nav {
        position: static;
        inset: auto;
        width: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
        overflow: visible;
    }

    .primary-nav__drawer {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        padding: 0;
    }

    .primary-nav__menu {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .primary-nav__menu a {
        padding: 0.5rem 0.75rem;
    }

    .primary-nav__cta {
        flex-direction: row;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .primary-nav__cta .btn { width: auto; }

    /* Backdrop & scroll-lock must never apply on desktop */
    body.menu-open::after { display: none !important; }
    body.menu-open { overflow: visible !important; }
    body.menu-open .back-to-top {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* ═══ No-JS fallback ═══ */
.no-js .menu-toggle { display: none; }
.no-js .primary-nav {
    position: static;
    inset: auto;
    transform: none;
    width: auto;
    box-shadow: none;
    border: 0;
    overflow: visible;
}
.no-js .primary-nav__drawer {
    flex-direction: column;
    padding: 0.5rem 0;
}
.no-js .primary-nav__menu { flex-direction: column; }
.no-js .primary-nav__cta { border-top: 0; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--mc-transition);
    min-height: var(--mc-touch);
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: var(--mc-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(23, 105, 170, 0.3);
}

.btn--primary:hover {
    background: var(--mc-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(23, 105, 170, 0.4);
}

.btn--primary:disabled,
.btn--primary.btn--disabled,
.btn.btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.btn--ghost {
    background: transparent;
    color: var(--mc-primary);
    border: 2px solid var(--mc-primary);
}

.btn--ghost:hover {
    background: var(--mc-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    min-height: 52px;
}

.btn--header {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    min-height: var(--mc-touch);
}

.btn--header.btn--disabled {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, var(--mc-blue-light) 0%, #fff 100%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero__label {
    display: inline-block;
    background: var(--mc-mint);
    color: var(--mc-teal);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.hero__heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--mc-navy);
}

.hero__sub {
    font-size: 1.1rem;
    color: var(--mc-muted);
    margin: 0 0 2rem;
    max-width: 540px;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;                          /* above float card */
}

.hero__trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mc-border);
}

.trust-item {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.trust-item strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mc-primary);
    line-height: 1.1;
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--mc-muted);
}

.hero__followup {
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    background: var(--mc-mint);
    border-left: 3px solid var(--mc-success);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--mc-navy);
    line-height: 1.5;
}

.hero__followup strong {
    color: var(--mc-success);
    font-weight: 700;
}

.hero__visual {
    position: relative;
}

.hero__photo {
    border-radius: 24px;
    background: linear-gradient(135deg, var(--mc-blue-light), var(--mc-mint));
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--mc-shadow);
    overflow: hidden;
}

.hero__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__photo-placeholder {
    text-align: center;
    color: var(--mc-muted);
}

.hero__emoji {
    display: block;
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ═══ Float card — clicks pass through (whole card is decorative) ═══ */
.hero__float-card {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(23, 43, 77, 0.15);
    min-width: 220px;
    animation: float 3s ease-in-out infinite;
    pointer-events: none;               /* pass through */
    z-index: 1;                         /* below hero__ctas (z-index: 3) */
}

.hero__float-card a,
.hero__float-card button {
    pointer-events: auto;               /* internal links clickable */
}

@media (prefers-reduced-motion: reduce) {
    .hero__float-card { animation: none; }
}

.hero__float-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--mc-muted);
    margin-bottom: 0.4rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot--green {
    background: var(--mc-success);
    animation: pulse-dot 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .dot--green { animation: none; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 142, 90, 0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(30, 142, 90, 0); }
}

@media (max-width: 860px) {
    .hero { padding: 2.5rem 0 3rem; }
    .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero__float-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 1rem;
    }
}

/* ============================================================
   8. SECTIONS
   ============================================================ */
.section { padding: 4rem 0; }
.section--alt  { background: var(--mc-blue-light); }
.section--mint { background: var(--mc-mint); }

.section__head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0.5rem 0 0;
    color: var(--mc-navy);
}

.section__cta {
    text-align: center;
    margin-top: 2rem;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mc-teal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   9. DOCTOR PROFILE
   ============================================================ */
.doctor-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--mc-shadow);
}

.doctor-profile__photo {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--mc-mint), var(--mc-blue-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    line-height: 1;
    color: var(--mc-teal);
    overflow: hidden;
}

.doctor-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-profile__info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.doctor-profile__info p { margin: 0.5rem 0; }

.doctor-profile__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 720px) {
    .doctor-profile { grid-template-columns: 1fr; }
    .doctor-profile__photo { max-width: 280px; margin: 0 auto; }
    .doctor-profile__ctas { flex-direction: column; }
    .doctor-profile__ctas .btn { width: 100%; }
}

/* ============================================================
   10. SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--mc-radius);
    box-shadow: var(--mc-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--mc-border);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(23, 43, 77, 0.12);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mc-mint);
    color: var(--mc-teal);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.service-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.service-card p  { color: var(--mc-muted); font-size: 0.95rem; margin: 0 0 0.75rem; }

.service-card__fee {
    color: var(--mc-primary);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0.75rem 0;
}

.service-card__link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================================
   11. STEPS
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--mc-radius);
    box-shadow: var(--mc-shadow);
    text-align: center;
}

.step-card__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mc-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(15, 157, 146, 0.3);
}

.step-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.step-card p  { color: var(--mc-muted); margin: 0; font-size: 0.95rem; }

/* ============================================================
   12. CLINIC INFO
   ============================================================ */
.clinic-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--mc-shadow);
}

.clinic-info__map {
    background: linear-gradient(135deg, var(--mc-blue-light), var(--mc-mint));
    border-radius: 14px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-muted);
    overflow: hidden;
}

.clinic-info__map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}

.map-placeholder { font-size: 1.1rem; }

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--mc-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all var(--mc-transition);
}

.map-link:hover {
    background: var(--mc-primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.clinic-info__details p { margin: 0.75rem 0; }
.clinic-info__details a { color: var(--mc-primary); }

.small { font-size: 0.9rem; }

@media (max-width: 720px) {
    .clinic-info { grid-template-columns: 1fr; }
}

/* ============================================================
   13. FAQ
   ============================================================ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: #fff;
    border-radius: var(--mc-radius);
    margin-bottom: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--mc-shadow);
    border: 1px solid var(--mc-border);
    transition: box-shadow var(--mc-transition);
}

.faq__item:hover {
    box-shadow: 0 8px 20px rgba(23, 43, 77, 0.1);
}

.faq__item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    color: var(--mc-navy);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }

.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--mc-primary);
    transition: transform 0.2s;
    line-height: 1;
}

.faq__item[open] summary::after {
    content: "\2212";
}

.faq__item p {
    margin: 0.75rem 0 0;
    color: var(--mc-muted);
}

/* ============================================================
   14. FINAL CTA
   ============================================================ */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-teal) 100%);
    color: #fff;
    position: relative;
    z-index: 1;
}

.final-cta__inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0 0 2rem;
}

.final-cta .btn--primary {
    background: #fff;
    color: var(--mc-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.final-cta .btn--primary:hover {
    background: var(--mc-blue-light);
    color: var(--mc-primary);
    transform: translateY(-2px);
}

.final-cta .btn--primary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .final-cta { padding: 3rem 0; }
    .final-cta h2 { font-size: 1.5rem; }
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
    background: var(--mc-navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.site-footer__heading,
.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.site-footer p,
.site-footer li {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--mc-transition);
}

.site-footer a:hover { color: var(--mc-teal); }

.site-footer .muted {
    color: rgba(255, 255, 255, 0.65);
    font-style: normal;
}

.site-footer__contact {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.site-footer__contact > span[aria-hidden] {
    flex-shrink: 0;
    line-height: 1.5;
}

.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin: 0.5rem 0; }

.site-footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    font-size: 0.9rem;
    width: fit-content;
    color: rgba(255, 255, 255, 0.85);
    min-height: var(--mc-touch);
}

.social-link > span[aria-hidden] {
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

.social-link:hover {
    background: rgba(15, 157, 146, 0.2);
    color: var(--mc-teal);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.site-footer__bottom p { margin: 0.25rem 0; }

.site-footer__disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.footer-menu a[aria-current="page"] {
    color: var(--mc-teal);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .site-footer {
        padding: 2.5rem 0 1rem;
    }
}

/* ============================================================
   16. CLINIC STATUS BANNER
   ============================================================ */
.clinic-status-banner {
    padding: 1rem 0;
    margin: 1.5rem auto 0;
    max-width: calc(var(--mc-container) - 3rem);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.clinic-status-banner--yellow {
    background: #FFF8E5;
    color: #7A5B00;
    border-color: #F5C842;
}

.clinic-status-banner--red {
    background: #FDECEC;
    color: #9B1C1C;
    border-color: #F5A5A5;
}

.clinic-status-banner--orange {
    background: #FFF3E0;
    color: #7A4700;
    border-color: #FFB74D;
}

.clinic-status-banner__inner {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.clinic-status-banner__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.clinic-status-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.clinic-status-banner__text strong {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.clinic-status-banner__text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.clinic-status-banner__reopen {
    display: inline-block;
    margin-top: 0.4rem;
    font-style: normal;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.08);
    width: fit-content;
}

.clinic-status-banner__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.clinic-status-banner__phone a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 640px) {
    .clinic-status-banner {
        padding: 0.75rem 0;
        margin: 1rem 0.5rem 0;
        max-width: calc(100% - 1rem);
        font-size: 0.85rem;
    }
    .clinic-status-banner__inner {
        padding: 0.75rem 1rem;
    }
    .clinic-status-banner__icon { font-size: 1.25rem; }
    .clinic-status-banner__text strong { font-size: 0.9rem; }
    .clinic-status-banner__text span { font-size: 0.8rem; }
}

/* ============================================================
   17. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   18. UTILITY
   ============================================================ */
.muted     { color: var(--mc-muted); }
.req       { color: var(--mc-error); }
.text-center { text-align: center; }
.hidden    { display: none !important; }
.hint      { color: var(--mc-muted); font-size: 0.85rem; }

/* ============================================================
   19. BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--mc-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(23, 105, 170, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: var(--mc-z-back-to-top);    /* 990 — above drawer 950 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--mc-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 105, 170, 0.5);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--mc-navy);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 374px) {
    .container { padding-inline: 1rem; }
    .hero__heading { font-size: 1.75rem; }
    .btn { font-size: 0.85rem; padding: 0.7rem 1rem; }
    .trust-item strong { font-size: 1.25rem; }
    .site-branding__text { max-width: 45vw; font-size: 0.95rem; }
}

@media (max-width: 767px) {
    .section { padding: 3rem 0; }
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { width: 100%; }
    .hero__trust { gap: 1.25rem; }
    .section__head { margin-bottom: 2rem; }
    .hero__followup { margin-top: 1rem; padding: 0.75rem 0.85rem; font-size: 0.85rem; }
}

/* ============================================================
   21. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero__float-card,
    .dot--green,
    .back-to-top {
        animation: none;
        transition: none;
        transform: none !important;
    }
}

/* ============================================================
   22. PRINT
   ============================================================ */
@media print {
    .site-header,
    .site-footer,
    .hero__ctas,
    .final-cta,
    .menu-toggle,
    .primary-nav,
    .primary-nav__drawer,
    .breadcrumbs,
    .page-hero,
    .page-footer,
    .page-comments,
    .back-to-top,
    .clinic-status-banner,
    .hero__float-card {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
    .entry-content { max-width: 100%; }
}