/* ========================================
   SYDNEY DIZZINESS CLINIC — CSS
   Part of the Australian Dizziness Clinics network
   v2 — hero images + animations (2026-06-29)
   ======================================== */

/* ========== VARIABLES & RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-purple: #9155A7;
    --purple-dark:    #6A2C82;
    --purple-hover:   #7A3F93;
    --purple-light:   #F3EDF7;
    --purple-mid:     #DBC8E6;
    --primary-green:  #147E2D;
    --green-mid:      #0DB26B;
    --green-light:    #E6F7EF;
    --dark-green:     #097747;
    --white:          #FFFFFF;
    --off-white:      #F9F9F9;
    --light-gray:     #F0F0F0;
    --medium-gray:    #666666;
    --dark-gray:      #333333;
    --border-color:   #E0E0E0;
    --transition:     0.25s ease;
    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-pill:    999px;
    --e1: 0 2px 8px rgba(0,0,0,0.06);
    --e2: 0 4px 16px rgba(0,0,0,0.10);
    --e3: 0 10px 30px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-weight: 700; }
p { font-weight: 400; }

a { color: var(--primary-purple); text-decoration: none; }
a:hover { color: var(--purple-hover); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--primary-purple);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar__item { display: flex; align-items: center; gap: 16px; }
.top-bar__item span, .top-bar__item a {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
    transition: opacity 0.2s;
}
.top-bar__item a:hover { opacity: 1; }
.top-bar__badge {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-pill);
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: var(--white);
    padding: 14px 0;
    border-bottom: 2px solid rgba(145,85,167,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar__logo img { height: 44px; width: auto; }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar__logo-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-purple);
    letter-spacing: 0.2px;
}
.navbar__logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--primary-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.navbar__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.navbar__links li a {
    color: var(--dark-gray);
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.navbar__links li a:hover { color: var(--primary-purple); background: var(--purple-light); }
.navbar__links li a.active { color: var(--primary-purple); }
.navbar__links li a.nav-ext {
    color: var(--primary-green);
    border: 1.5px solid rgba(20,126,45,0.35);
}
.navbar__links li a.nav-ext:hover { background: var(--green-light); color: var(--dark-green); }
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

/* ========== PAGE HERO (subpages) ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7A3F93 50%, #6A2C82 100%);
    padding: 52px 20px 44px;
    text-align: center;
    color: var(--white);
}
.page-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.2;
}
.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    margin: 0 auto;
}

/* ========== HOME HERO ========== */
.home-hero {
    background: linear-gradient(135deg, #6A2C82 0%, var(--primary-purple) 40%, #3a8fa0 100%);
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero__content { max-width: 640px; }
.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.home-hero h1 {
    font-size: clamp(28px, 4.5vw, 50px);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
}
.home-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
    line-height: 1.6;
}
.home-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero__actions a {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
}
.btn-hero-primary {
    background: var(--white);
    color: var(--primary-purple);
}
.btn-hero-primary:hover { background: rgba(255,255,255,0.9); color: var(--purple-dark); }
.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* ========== SECTION DEFAULTS ========== */
.section { padding: 56px 0; }
.section--alt { background: var(--off-white); }
.section--purple { background: var(--primary-purple); color: var(--white); }
.section--purple h2, .section--purple h3 { color: var(--white); }
.section--purple p { color: rgba(255,255,255,0.88); }

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== INFO CARDS (3-up) ========== */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.info-card {
    background: rgba(9,119,71,0.9);
    color: var(--white);
    padding: 28px 22px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-card svg { color: rgba(255,255,255,0.7); }
.info-card h3 { font-size: 18px; color: var(--white); }
.info-card p { font-size: 14px; color: rgba(255,255,255,0.88); flex: 1; line-height: 1.6; }

/* ========== LOCATION CARDS ========== */
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.location-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    position: relative;
    box-shadow: var(--e1);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.location-card:hover { box-shadow: var(--e2); border-color: var(--purple-mid); }
.location-card__badge {
    display: inline-block;
    background: rgba(145,85,167,0.1);
    color: var(--primary-purple);
    border: 1.5px solid rgba(145,85,167,0.3);
    border-radius: var(--radius-pill);
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.location-card__badge--soon {
    background: rgba(255,152,0,0.1);
    color: #E65100;
    border-color: rgba(255,152,0,0.4);
}
.location-card h3 { font-size: 20px; color: var(--primary-purple); margin-bottom: 6px; }
.location-card__address { font-size: 14px; color: var(--medium-gray); margin-bottom: 16px; line-height: 1.5; }
.location-card__details { display: flex; flex-direction: column; gap: 8px; }
.location-card__row { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--dark-gray); }
.location-card__row svg { flex-shrink: 0; margin-top: 2px; color: var(--primary-green); }
.location-card__coming-soon-box {
    background: linear-gradient(135deg, rgba(145,85,167,0.06) 0%, rgba(20,126,45,0.06) 100%);
    border: 1.5px dashed rgba(145,85,167,0.35);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-top: 16px;
    text-align: center;
}
.location-card__coming-soon-box p {
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 10px;
}
.location-card__coming-soon-box a {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-purple);
    border-bottom: 1px solid rgba(145,85,167,0.4);
}
.location-card__coming-soon-box a:hover { border-color: var(--primary-purple); }

/* ========== CTA BANNER ========== */
.cta-banner {
    background: var(--primary-purple);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}
.cta-banner h2 { font-size: 26px; color: var(--white); margin-bottom: 10px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.88); margin-bottom: 22px; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--primary-purple); padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; text-decoration: none; transition: background var(--transition), color var(--transition); }
.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--purple-dark); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; text-decoration: none; transition: all var(--transition); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* ========== FEATURE CARDS ========== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.feature-card {
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--e1);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { box-shadow: var(--e2); border-color: var(--purple-mid); }
.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--primary-purple);
}
.feature-card h3 { font-size: 16px; color: var(--primary-purple); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--medium-gray); line-height: 1.6; text-align: justify; }

/* ========== CONDITIONS GRID ========== */
.conditions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.condition-card {
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-left: 4px solid var(--primary-purple);
    border-radius: var(--radius-sm);
    padding: 18px 16px;
    box-shadow: var(--e1);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.condition-card:hover { box-shadow: var(--e2); border-left-color: var(--purple-hover); }
.condition-card h4 { font-size: 15px; color: var(--primary-purple); margin-bottom: 6px; }
.condition-card p { font-size: 13px; color: var(--medium-gray); line-height: 1.5; text-align: justify; }
.condition-card__link { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--primary-green); border-bottom: 1px solid rgba(20,126,45,0.3); }
.condition-card__link:hover { border-color: var(--primary-green); color: var(--dark-green); }

/* ========== ADC NETWORK BANNER ========== */
.adc-banner {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--green-light) 100%);
    border: 1.5px solid var(--purple-mid);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.adc-banner__text h3 { font-size: 17px; color: var(--primary-purple); margin-bottom: 5px; }
.adc-banner__text p { font-size: 14px; color: var(--medium-gray); max-width: 560px; }
.adc-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-purple);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition);
}
.adc-banner__link:hover { background: var(--purple-hover); color: var(--white); }

/* ========== TELEHEALTH BADGE ========== */
.telehealth-strip {
    background: var(--green-light);
    border-top: 3px solid var(--primary-green);
    padding: 18px 20px;
    text-align: center;
}
.telehealth-strip p { font-size: 15px; color: var(--dark-green); font-weight: 600; margin: 0; }
.telehealth-strip a { color: var(--primary-purple); font-weight: 700; }

/* ========== REFERRAL SECTION (GPs) ========== */
.referral-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.referral-step {
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--e1);
}
.referral-step__num {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 14px;
}
.referral-step h3 { font-size: 16px; color: var(--primary-purple); margin-bottom: 8px; }
.referral-step p { font-size: 14px; color: var(--medium-gray); line-height: 1.6; text-align: center; }

/* ========== FORM ========== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--dark-gray); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: var(--dark-gray);
    transition: border-color var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary-purple); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.btn-submit {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-submit:hover { background: var(--purple-hover); }

/* ========== ABOUT / TWO-COL LAYOUT ========== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col--wide { grid-template-columns: 3fr 2fr; }
.prose p { font-size: 15px; line-height: 1.8; color: var(--dark-gray); text-align: justify; margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 18px; color: var(--primary-purple); margin-bottom: 10px; }

/* ========== INFO BOX ========== */
.info-box {
    background: var(--purple-light);
    border-left: 4px solid var(--primary-purple);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 20px;
}
.info-box h4 { font-size: 15px; color: var(--primary-purple); margin-bottom: 8px; }
.info-box p { font-size: 14px; color: var(--dark-gray); line-height: 1.6; }
.info-box ul { padding-left: 18px; }
.info-box ul li { font-size: 14px; color: var(--dark-gray); margin-bottom: 4px; }

/* ========== FOOTER BAND ========== */
.footer-band {
    background: #F4EDF9;
    border-top: 3px solid var(--primary-purple);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
}
.fb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--dark-gray);
    flex: 1;
    min-width: 160px;
    border-right: 1px solid rgba(145,85,167,0.15);
    transition: background var(--transition);
}
.fb-item:last-child { border-right: none; }
.fb-item:hover { background: rgba(145,85,167,0.06); }
.fb-item svg { width: 22px; height: 22px; color: var(--primary-purple); flex-shrink: 0; }
.fb-text { display: flex; flex-direction: column; }
.fb-value { font-size: 15px; font-weight: 700; color: var(--primary-purple); }
.fb-label { font-size: 12px; color: var(--medium-gray); }

/* ========== FOOTER ========== */
.footer { background: #2D1A3A; color: rgba(255,255,255,0.8); }
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
}
.footer-brand h3 { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.footer-brand__adc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    text-decoration: none;
    transition: all var(--transition);
}
.footer-brand__adc-link:hover { color: var(--white); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.75); text-decoration: none; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.75); display: flex; align-items: flex-start; gap: 7px; margin-bottom: 10px; }
.footer-contact p svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-legal {
    background: #1E0F27;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    max-width: 100%;
}
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ========== ABOUT CARD ========== */
.about-card {
    background: var(--purple-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    border: 1.5px solid var(--purple-mid);
}
.about-card__role { font-size: 12px; font-weight: 700; color: var(--primary-purple); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.about-card__name { font-size: 22px; color: var(--primary-purple); margin-bottom: 10px; }
.about-card__credentials { display: flex; flex-direction: column; gap: 6px; }
.about-card__cred { font-size: 13px; color: var(--medium-gray); display: flex; align-items: center; gap: 6px; }
.about-card__cred::before { content: '✓'; color: var(--primary-green); font-weight: 700; }

/* ========== STATS STRIP ========== */
.stats-strip {
    background: var(--primary-purple);
    padding: 32px 20px;
}
.stats-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat { }
.stat__num { font-size: 32px; font-weight: 700; color: var(--white); }
.stat__label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ========== CONTACT PAGE ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .info-cards, .feature-grid, .conditions-grid, .referral-steps { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .two-col, .two-col--wide { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .navbar__links { display: none; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
    .navbar__links.is-open { display: flex; }
    .navbar { position: relative; }
    .navbar__toggle { display: flex; }
    .info-cards, .feature-grid, .conditions-grid, .referral-steps { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-band { flex-direction: column; }
    .fb-item { border-right: none; border-bottom: 1px solid rgba(145,85,167,0.15); }
    .form-grid { grid-template-columns: 1fr; }
    .adc-banner { flex-direction: column; text-align: center; }
    .stats-strip .container { grid-template-columns: 1fr; gap: 16px; }
    .home-hero { padding: 40px 20px; min-height: auto; }
    .top-bar .container { flex-direction: column; align-items: flex-start; }
}

/* ========================================================
   HERO IMAGES & ANIMATIONS
   ======================================================== */

/* ---- Shared Ken Burns keyframe ---- */
@keyframes heroKenBurns {
    0%   { transform: scale(1)    translate(0,     0); }
    100% { transform: scale(1.08) translate(-0.5%, -0.5%); }
}

/* ---- Home hero: crossfade between two images (mirrors ADC) ---- */
.hero-stage {
    position: relative;
    background: #ffffff;
    width: 100%;
    height: clamp(300px, 42vw, 560px);
    overflow: hidden;
    background: #ffffff;  /* white prevents a dark flash during the crossfade */
}
.hero-stage-img {
    position: absolute;
    inset: 0;
    will-change: opacity;
}
.hero-img-1 { animation: heroImg1 9.6s ease-in-out infinite; }
.hero-img-2 { animation: heroImg2 9.6s ease-in-out infinite; opacity: 0; }
@keyframes heroImg1 {
    0%   { opacity: 1; }
    42%  { opacity: 1; }
    48%  { opacity: 0; }
    92%  { opacity: 0; }
    98%  { opacity: 1; }
    100% { opacity: 1; }
}
@keyframes heroImg2 {
    0%   { opacity: 0; }
    42%  { opacity: 0; }
    48%  { opacity: 1; }
    92%  { opacity: 1; }
    98%  { opacity: 0; }
    100% { opacity: 0; }
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* ---- Home hero text overlay ---- */
/* Left-side gradient so text is readable; image shows through on the right */
.sdc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(74, 20, 100, 0.88) 0%,
        rgba(90, 30, 120, 0.72) 35%,
        rgba(90, 30, 120, 0.40) 58%,
        transparent 78%
    );
    pointer-events: none;
}
.sdc-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0;
}
.sdc-hero-content .container { width: 100%; }
.sdc-hero-content .home-hero__content { max-width: 56%; }

/* Re-wire btn colours for use inside hero (already defined on .home-hero but we
   need them on the new .hero-stage context too) */
.sdc-hero-content .btn-hero-primary {
    background: var(--white);
    color: var(--primary-purple);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
}
.sdc-hero-content .btn-hero-primary:hover { background: rgba(255,255,255,0.9); color: var(--purple-dark); }
.sdc-hero-content .btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
}
.sdc-hero-content .btn-hero-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* ---- Subpage banner hero ---- */
/* Each subpage uses .banner-hero with a nested .banner-hero__bg containing a <picture> */
.banner-hero {
    position: relative;
    min-height: clamp(220px, 28vw, 340px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--purple-dark);   /* safe fallback */
}
.banner-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.banner-hero__bg picture { display: block; width: 100%; height: 100%; }
.banner-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    animation: heroKenBurns 14s ease-in-out infinite alternate;
    will-change: transform;
}
.banner-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(74, 20, 100, 0.88) 0%,
        rgba(90, 30, 120, 0.70) 45%,
        rgba(70, 15, 95, 0.40) 75%,
        rgba(40,  5, 65, 0.25) 100%
    );
}
.banner-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 44px;
    padding-bottom: 44px;
}
.banner-hero__content h1 {
    font-size: clamp(26px, 4vw, 42px);
    color: var(--white);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 12px;
    max-width: 700px;
}
.banner-hero__content p {
    font-size: 17px;
    color: rgba(255,255,255,0.88);
    max-width: 640px;
    line-height: 1.6;
}

/* Remove old gradient-only home-hero (superseded by hero-stage) */
.home-hero { display: none; }

/* ---- Reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
    .hero-stage-img { animation: none !important; opacity: 1 !important; }
    .hero-img-2     { opacity: 0 !important; }
    .banner-hero__bg img { animation: none !important; transform: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .sdc-hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(74, 20, 100, 0.82) 0%,
            rgba(74, 20, 100, 0.72) 100%
        );
    }
    .sdc-hero-content .home-hero__content { max-width: 100%; }
    .hero-stage { height: clamp(320px, 70vw, 480px); }
    .banner-hero { min-height: 220px; }
    .banner-hero__content h1 { font-size: clamp(22px, 6vw, 30px); }
    .banner-hero__content p  { font-size: 15px; }
}

/* =====================================================================
   ADC-MIRRORED HOMEPAGE COMPONENTS  (ported 2026-07-05)
   Two-pathway chooser · Sydney clinic finder · Stats band · WMUD fan
   Shares the ADC palette (#9155A7 / #147E2D / #0DB26B) so it renders
   identically to the national site.
   ===================================================================== */

/* Wider centred wrapper for the pathway + WMUD components */
.home-wide { max-width: 1380px; margin: 0 auto; padding: 0 20px; }

/* ---- Brand headline over the chooser ---- */
.pathways-headline { text-align: center; margin: 4px 0 18px; }
.pathways-headline h2 { color: #9155A7; font-size: 1.9rem; font-weight: 700; margin: 0 0 4px; line-height: 1.15; }
.pathways-headline p { color: #147E2D; font-size: 1.15rem; font-weight: 700; margin: 0; }
@media (max-width: 560px) { .pathways-headline h2 { font-size: 1.5rem; } .pathways-headline p { font-size: 1rem; } }

/* ---- Two-pathway chooser ---- */
.pathways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1380px; margin: 10px auto 0; }
@media (max-width: 760px) { .pathways-grid { grid-template-columns: 1fr; } }
.path-card { background: #fff; border: 4px solid color-mix(in srgb, var(--c) 55%, #fff); border-top: 7px solid var(--c); border-radius: 18px; padding: 24px; box-shadow: 0 4px 16px rgba(20,20,40,0.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.path-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(20,20,40,0.14); border-color: var(--c); }
.path-card-hero { position: relative; margin: -24px -24px 18px; height: 468px; overflow: hidden; }
.path-card-hero picture { display: block; width: 100%; height: 100%; }
.path-card-hero img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.path-hero-pill { position: absolute; top: 12px; right: 14px; background: #fff; color: var(--c); border: 2px solid var(--c); border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 12px; }
.path-card-hero .path-hero-label { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); margin: 0; padding: 9px 32px; background: var(--c); color: #fff !important; font-size: 1.05rem; font-weight: 700; border-radius: 999px; text-align: center; white-space: nowrap; box-shadow: 0 3px 12px rgba(0,0,0,0.18); }
.path-card > p { text-align: left; margin: 0 0 16px; color: #444; line-height: 1.55; }
.path-go { display: inline-flex; align-items: center; gap: 8px; background: var(--c); color: #fff !important; font-weight: 700; padding: 11px 20px; border-radius: 26px; text-decoration: none; transition: gap .2s ease, filter .2s ease; }
.path-go:hover { gap: 12px; filter: brightness(0.95); color: #fff !important; }
.path-links { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.path-links a { display: flex; flex-direction: column; justify-content: center; height: 56px; overflow: hidden; font-size: 0.9rem; color: color-mix(in srgb, var(--c) 70%, #000); font-weight: 700; text-decoration: none; padding: 6px 13px; border-radius: 14px; border: 2.5px solid var(--c); background: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease; line-height: 1.2; }
.path-links a small { font-weight: 500; font-size: 0.72rem; opacity: 0.85; margin-top: 2px; }
.path-links a:hover { background: var(--c); color: #fff; border-color: var(--c); }

/* ---- Stats band (ADC gradient-border style) ---- */
.stats-section { padding: 18px 20px; border-top: 3px solid transparent; border-bottom: 3px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(135deg, var(--primary-purple) 0%, var(--green-mid) 100%) border-box; color: var(--primary-purple); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; max-width: 1100px; margin: 0 auto; }
.stat-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.stat-number { font-size: 22px; font-weight: 700; margin-bottom: 0; color: var(--primary-purple); }
.stat-label { font-size: 20px; font-weight: 700; opacity: 0.95; color: var(--primary-purple); }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---- Clinic finder + Sydney map ---- */
.clinic-finder-form { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; max-width: 500px; margin: 0 auto; }
.clinic-finder-input { padding: 14px 20px; font-size: 16px; border: 2px solid var(--border-color); border-radius: 8px; width: 220px; font-family: 'Raleway', sans-serif; transition: border-color 0.25s ease; }
.clinic-finder-input:focus { outline: none; border-color: var(--primary-green); }
.finder-btn { background: var(--primary-purple); color: #fff; border: none; padding: 14px 24px; font-size: 16px; font-weight: 700; border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; transition: background .2s ease; }
.finder-btn:hover { background: var(--purple-hover); }
.clinic-result { margin-top: 14px; text-align: center; display: flex; align-items: center; justify-content: center; }
.clinic-result:empty { display: none; }
.clinic-card { background: #fff; border: 2px solid var(--primary-green); border-radius: 12px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); max-width: 520px; margin: 0 auto; text-align: left; }
.clinic-card__body { display: flex; flex-direction: column; gap: 3px; }
.clinic-card__name { color: var(--purple-dark); font-size: 17px; font-weight: 700; }
.clinic-card__note { color: var(--primary-green); font-weight: 700; font-size: 12.5px; margin-bottom: 2px; }
.clinic-card__row { font-size: 14px; color: #444; line-height: 1.45; }
.clinic-card__addr { color: #2F2E2E; }
.clinic-card__row a { color: var(--primary-purple); text-decoration: none; }
.clinic-card__row a:hover { text-decoration: underline; }
.clinic-result.success { background: #DFEDE2; padding: 18px; border-radius: 8px; border: 1px solid var(--primary-green); color: var(--dark-green); max-width: 560px; }
.clinic-result.error { background: #FFEBEE; padding: 16px; border-radius: 8px; border: 1px solid #F44336; color: #C62828; }
.finder-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: start; max-width: 1100px; margin: 0 auto; }
@media (max-width: 768px) { .finder-layout { grid-template-columns: 1fr; gap: 18px; } .finder-col .section-title, .finder-col .section-subtitle { text-align: center !important; } }

/* ---- What Makes Us Different — horizontal card fan ---- */
.wmud-fan-outer { padding: 16px 0 6px; }
.wmud-hover-zone { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 502px; overflow: visible; cursor: pointer; padding: 14px 0 6px; transition: min-height 0.65s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 20; }
.wmud-hover-zone:hover, .wmud-hover-zone.is-open { min-height: 1600px; }
.wmud-deck { position: relative; width: 630px; height: 477px; overflow: visible; flex-shrink: 0; }
.wmud-card { position: absolute; top: 0; left: 0; width: 630px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,0.16); transition: transform 0.35s ease-in; will-change: transform; outline: none; }
.wmud-card:focus-visible { box-shadow: 0 0 0 3px rgba(145,85,167,0.5); }
.wmud-card-img { height: 320px; overflow: hidden; }
.wmud-card-img picture, .wmud-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.wmud-card-text { padding: 18px 22px 20px; }
.wmud-card-text h4 { margin: 0 0 7px; font-size: 1.5rem; font-weight: 700; color: #9155A7; line-height: 1.2; }
.wmud-card-text p { margin: 0; font-size: 1.0rem; line-height: 1.45; color: #444; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transition: opacity 0.25s ease 0.22s; }
.wmud-c1 { transform: translateY(12px); z-index: 1; }
.wmud-c2 { transform: translateY(6px);  z-index: 2; }
.wmud-c3 { transform: translateY(0);    z-index: 5; }
.wmud-c4 { transform: translateY(6px);  z-index: 2; }
.wmud-c5 { transform: translateY(12px); z-index: 1; }
.wmud-hover-zone:hover .wmud-c3, .wmud-hover-zone.is-open .wmud-c3 { transform: translateX(-323px) translateY(0); z-index: 5; transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1) 0ms; }
.wmud-hover-zone:hover .wmud-c4, .wmud-hover-zone.is-open .wmud-c4 { transform: translateX(323px)  translateY(0); z-index: 2; transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1) 30ms; }
.wmud-hover-zone:hover .wmud-c2, .wmud-hover-zone.is-open .wmud-c2 { transform: translateX(323px)  translateY(-497px); z-index: 2; transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1) 30ms; }
.wmud-hover-zone:hover .wmud-c1, .wmud-hover-zone.is-open .wmud-c1 { transform: translateX(-323px) translateY(-497px); z-index: 1; transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1) 60ms; }
.wmud-hover-zone:hover .wmud-c5, .wmud-hover-zone.is-open .wmud-c5 { transform: translateX(0)      translateY(497px); z-index: 2; transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1) 60ms; }
.wmud-hover-zone:hover .wmud-card-text p, .wmud-hover-zone.is-open .wmud-card-text p { opacity: 1; }
.wmud-deck-label { position: absolute; top: 0; left: 0; width: 630px; height: 477px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,0.20); z-index: 10; display: flex; flex-direction: column; transition: opacity 0.30s ease; pointer-events: none; }
.wmud-deck-img { height: 320px; overflow: hidden; }
.wmud-deck-img picture, .wmud-deck-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.wmud-deck-text { padding: 18px 22px 20px; background: #fff; }
.wmud-deck-text h3 { margin: 0 0 4px; font-size: 1.7rem; font-weight: 700; color: #9155A7; line-height: 1.2; }
.wmud-deck-sub { margin: 4px 0 8px; font-size: 0.95rem; color: #666; line-height: 1.35; font-weight: 400; }
.wmud-deck-text span { font-size: 1.0rem; color: #aaa; font-style: italic; }
.wmud-hover-zone:hover .wmud-deck-label, .wmud-hover-zone.is-open .wmud-deck-label { opacity: 0; }
@media (max-width: 1400px) {
  .wmud-fan-outer { padding: 8px 16px 4px; }
  .wmud-hover-zone { min-height: auto !important; cursor: default; padding: 0; transition: none; display: block; }
  .wmud-hover-zone:hover, .wmud-hover-zone.is-open { min-height: auto !important; }
  .wmud-deck { position: static; width: 100%; height: auto !important; display: flex; flex-direction: column; gap: 16px; }
  .wmud-deck-label { display: none !important; }
  .wmud-card { position: static !important; width: 100% !important; transform: none !important; transition: none !important; }
  .wmud-hover-zone:hover .wmud-c1, .wmud-hover-zone.is-open .wmud-c1, .wmud-hover-zone:hover .wmud-c2, .wmud-hover-zone.is-open .wmud-c2, .wmud-hover-zone:hover .wmud-c3, .wmud-hover-zone.is-open .wmud-c3, .wmud-hover-zone:hover .wmud-c4, .wmud-hover-zone.is-open .wmud-c4, .wmud-hover-zone:hover .wmud-c5, .wmud-hover-zone.is-open .wmud-c5 { transform: none !important; transition: none !important; }
  .wmud-card-img, .wmud-deck-img { height: 240px; }
  .wmud-card-text p { opacity: 1 !important; -webkit-line-clamp: unset; display: block; transition: none; }
  .wmud-card-text { padding: 16px 20px 18px; }
}
@media (max-width: 600px) {
  .wmud-card-img, .wmud-deck-img { height: 180px; }
  .wmud-card-text h4 { font-size: 1.1rem; }
  .wmud-card-text { padding: 14px 16px 16px; }
}

/* =====================================================================
   ADC-MIRRORED ABOUT-PAGE COMPONENTS  (ported 2026-07-05)
   Video intro · Team cards · Conditions marquee · Diagnostic deck ·
   Care-pathway bridge · Proven-model story · About stats · Mission/Values
   Background images are borrowed from the ADC site (../assets/).
   Shares the ADC palette so the About page renders like the national site.
   ===================================================================== */

/* ---- Shared inner wrapper (ADC .section-container == SDC .container) ---- */
.section-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---- Story section ---- */
.story-section { padding: 12px 20px; background-color: var(--white); }
.story-content { width: 100%; }
.story-content p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; color: var(--medium-gray); text-align: left; }
.story-content p:last-child { margin-bottom: 0; }

/* ---- About intro media (video + copy) ---- */
.about-intro-media { padding: 12px 6.1%; background: var(--white); }
@media (max-width: 768px) { .about-intro-media { padding: 12px 20px; } }

/* ---- About stats band ---- */
.about-stats { padding: 12px 20px; background: var(--white); }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1100px; margin: 0 auto; background: var(--white); border: none; padding: 8px; }
.about-stat { text-align: center; padding: 2px 12px; border-right: 1px solid rgba(145, 85, 167, 0.30); }
.about-stat:last-child { border-right: none; }
.about-stat .num { display: block; font-size: 26px; font-weight: 700; line-height: 1.05; letter-spacing: -0.5px; margin-bottom: 2px; color: #6A2C82; }
.about-stat .lbl { font-size: 12px; font-weight: 700; line-height: 1.3; color: #9155A7; }
@media (max-width: 768px) {
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; row-gap: 14px; }
    .about-stat .num { font-size: 22px; }
    .about-stat:nth-child(2) { border-right: none; }
}

/* ---- Vestibular physician section (marquee + diagnosis + bridge host) ---- */
.vestibular-physician-section { padding: 12px 20px; background-color: var(--white); }
.def-highlight { background: linear-gradient(transparent 15%, #B2D4BA 15%); padding: 0 1px; }
.def-underline { text-decoration: underline; text-decoration-color: #147E2D; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.physician-content { width: 100%; }
.physician-role, .comparison-section, .bridge-section { margin-bottom: 12px; }
.physician-role h3, .comparison-section h3, .bridge-section h3 { font-size: 28px; color: var(--primary-purple); margin-bottom: 12px; font-weight: 600; text-align: center; }
.physician-role p, .comparison-section p, .bridge-section p { font-size: 16px; line-height: 1.8; color: var(--medium-gray); margin-bottom: 12px; }

/* ---- Care-pathway bridge ---- */
.bridge-visual { max-width: 88%; margin: 0 auto 16px; }
.bridge-figure { position: relative; width: 100%; border-radius: 10px; overflow: hidden; }
.bridge-figure img { width: 100%; height: auto; display: block; border-radius: 10px; }
.bridge-overlay-title { position: absolute; top: 0; left: 0; right: 0; padding: 14px 16px 30px; background: linear-gradient(to bottom, rgba(20,10,40,0.55) 0%, transparent 100%); color: #ffffff; font-family: 'Raleway', sans-serif; font-size: clamp(13px, 2vw, 21px); font-weight: 700; text-align: center; letter-spacing: 0.5px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); line-height: 1.3; pointer-events: none; }
.bridge-annot { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); pointer-events: none; }
.bridge-annot--gp   { left: 13%; bottom: 30%; }
.bridge-annot--vp   { left: 49%; bottom: 36%; }
.bridge-annot--neuro { left: 88%; bottom: 30%; }
.bridge-annot-bubble { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 8px; padding: 8px 10px; max-width: 190px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.18); font-family: 'Raleway', sans-serif; }
.bridge-annot-bubble strong { display: block; color: #4a1270; font-size: 12px; font-weight: 700; margin-bottom: 3px; line-height: 1.3; }
.bridge-annot-bubble span { font-size: 11px; line-height: 1.4; color: #333333; }
.bridge-annot-bubble--vp { background: rgba(100, 45, 140, 0.88); border-color: rgba(255, 255, 255, 0.35); }
.bridge-annot-bubble--vp strong { color: #ffffff; }
.bridge-annot-bubble--vp span   { color: rgba(255,255,255,0.9); }
.bridge-annot-line { width: 2px; height: 40px; flex-shrink: 0; background: repeating-linear-gradient(to bottom, rgba(59,192,135,0.85) 0px, rgba(59,192,135,0.85) 5px, transparent 5px, transparent 9px); }
.bridge-annot-line--vp { background: repeating-linear-gradient(to bottom, rgba(145,85,167,0.9) 0px, rgba(145,85,167,0.9) 5px, transparent 5px, transparent 9px); }
.bridge-tagline { text-align: center; font-weight: 700; color: var(--medium-gray); font-size: 15px; margin-top: 12px; line-height: 1; }
.bridge-infographic { display: block; margin-bottom: 6px; }
.bridge-text { display: none; }
@media (max-width: 900px) { .bridge-infographic { display: none; } .bridge-text { display: block; } }
@media (max-width: 700px) { .bridge-visual { max-width: 100%; } .bridge-annot { display: none; } .bridge-overlay-title { font-size: 13px; padding-bottom: 16px; } }

/* ---- Conditions marquee ---- */
.cond-marquee { position: relative; overflow: hidden; margin: 0 0 8px; }
.cond-track { display: flex; gap: 12px; width: max-content; padding: 8px 0 16px; animation: condScroll 96s linear infinite; }
.cond-marquee:hover .cond-track, .cond-marquee:focus-within .cond-track, .cond-marquee.paused .cond-track { animation-play-state: paused; }
.cond-track a { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; padding: 12px 18px; background: #ffffff; border: 1.5px solid #DBC8E6; border-radius: 10px; color: #6A2C82; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cond-track a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10); }
.cond-track a.sys { border-color: #B2D4BA; color: #147e2d; }
@keyframes condScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cond-track { animation: none; flex-wrap: wrap; width: auto; } .cond-track .marq-dup { display: none; } }

/* ---- How We Diagnose — interactive pathway deck ---- */
.diag-wrap { margin: 22px 0 44px; }
.diag-deck { position: relative; display: flex; justify-content: center; align-items: center; min-height: 250px; cursor: pointer; }
.diag-cover { position: relative; z-index: 10; width: 470px; max-width: 100%; min-height: 232px; border-radius: 14px; overflow: hidden; text-align: left;
  padding: 26px 24px; color: #3E1F57; background-color: #DFEDE2;
  background-image: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.5) 56%, rgba(255,255,255,0) 80%), url('../assets/how-we-diagnose-cover.jpg');
  background-position: 100% 32%; background-size: cover; background-repeat: no-repeat;
  box-shadow: 8px 8px 0 0 #EFE7F5, 8px 8px 0 1.5px #C9A8DC, 16px 16px 0 0 #EFE7F5, 16px 16px 0 1.5px #C9A8DC, 24px 24px 0 0 #EFE7F5, 24px 24px 0 1.5px #C9A8DC, 0 22px 34px rgba(0,0,0,.16);
  transition: opacity .4s ease, transform .4s ease; }
.diag-cover h3 { color:#6A2C82; margin:0 0 6px; font-size:23px; line-height:1.18; position:relative; z-index:1; max-width:60%; }
.diag-cover p { color:#3E1F57; margin:0 0 16px; font-size:14.5px; line-height:1.4; font-weight:600; position:relative; z-index:1; max-width:58%; }
.diag-cover__cta { position:relative; z-index:1; display:inline-block; font-weight:700; background:#147E2D; color:#fff; padding:10px 20px; border-radius:30px; font-size:14px; box-shadow:0 4px 12px rgba(0,0,0,.25); }
.diag-flow { display:none; }
.diag-deck.is-open { display:block; cursor:default; min-height:0; }
.diag-deck.is-open .diag-cover { display:none; }
.diag-deck.is-open .diag-flow { display:flex; flex-wrap:wrap; align-items:stretch; justify-content:center; gap:10px; }
.diag-step { flex:0 0 200px; width:200px; max-width:200px; height:230px; border-radius:12px; position:relative; background:#fff; padding:0; overflow:hidden; display:flex; flex-direction:column;
  opacity:0; transform:translateY(14px); transition:opacity 1.2s ease, transform 1.2s ease; }
.diag-step--purple { border:2px solid #9155A7; background:#F6EFFA; }
.diag-step--green { border:2px solid #147E2D; background:#DFEDE2; }
.diag-step--solid { display:flex; flex-direction:column; }
.diag-deck.is-anim .diag-step { opacity:1; transform:none; }
.diag-deck.is-open .diag-anim { transition-delay: var(--d, 0s); }
.diag-num { position:absolute; top:10px; left:10px; z-index:2; width:26px; height:26px; border-radius:50%; color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,.22); }
.diag-step--purple .diag-num { background:#9155A7; }
.diag-step--green .diag-num { background:#147E2D; }
.diag-step--solid .diag-num { background:#9155A7; }
.diag-step__img { width:100%; aspect-ratio:3 / 2; line-height:0; background:#EFE7F5; }
.diag-step__img img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.diag-step__body { padding:14px 16px 16px; flex:1 1 auto; display:flex; flex-direction:column; justify-content:center; }
.diag-step h4 { margin:0; font-size:15px; line-height:1.25; }
.diag-step--purple h4 { color:#6A2C82; }
.diag-step--green h4 { color:#147e2d; }
.diag-step--solid .diag-step__body { background:#3E1F57; }
.diag-step--solid h4 { color:#fff; }
.diag-step__sub { font-size:11px; color:#444; margin:5px 0 0; line-height:1.3; }
.diag-step__sub em { color:#6A2C82; font-style:italic; font-weight:600; }
.diag-step--v5 .diag-step__body { justify-content:flex-start; padding-top:12px; }
.diag-step--v5 h4 { font-size:13.5px; line-height:1.2; }
.diag-arrow { flex:0 0 auto; align-self:center; width:38px; height:38px; border-radius:50%; background:#fff; box-shadow:0 3px 9px rgba(0,0,0,.16); display:flex; align-items:center; justify-content:center; color:#9155A7; opacity:0; transition:opacity 1.08s ease; }
.diag-arrow svg { width:19px; height:19px; }
.diag-arrow--green { color:#147E2D; }
.diag-deck.is-anim .diag-arrow { opacity:1; }
.diag-foot { display:none; margin:18px auto 0; max-width:680px; text-align:center; border:2px solid #9155A7; border-radius:30px; padding:12px 22px; color:#6A2C82; font-weight:700; background:#fff; }
.diag-deck.is-open ~ .diag-foot { display:block; }
.diag-hint { text-align:center; font-size:13px; color:#888; margin-top:12px; }
.diag-deck.is-open ~ .diag-hint { display:none; }
@media (max-width:760px){
  .diag-deck.is-open .diag-flow { flex-direction:column; align-items:stretch; }
  .diag-step, .diag-step--solid { max-width:100%; width:100%; flex:1 1 100%; height:auto; }
  .diag-arrow { transform:rotate(90deg); align-self:center; }
}
@media (prefers-reduced-motion: reduce){ .diag-step, .diag-arrow, .diag-cover { transition:none; } }

/* ---- Mission & Values ---- */
.mission-section { padding: 12px 20px; background-color: var(--white); }
.mission-content { width: 100%; }
.mission-box { background: var(--white); color: #6A2C82; padding: 22px 30px; border: none; margin-bottom: 12px; text-align: center; }
.mission-box h3 { font-size: 28px; margin-bottom: 12px; font-weight: 600; }
.mission-box p { font-size: 18px; line-height: 1.8; }
.values-deck { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 0; margin-top: 16px; min-height: 280px; max-width: 380px; margin-left: auto; margin-right: auto; cursor: pointer; }
.values-deck .value-card { flex: 0 0 170px; width: 170px; height: 235px; margin-left: -170px; padding: 24px 14px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background-color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20); transform-origin: bottom center; transition: transform 1.3s cubic-bezier(.2,.7,.2,1), margin 1.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s ease; position: relative; border-radius: 8px; }
.values-deck .value-card:first-child { margin-left: 0; }
.values-deck:not(.is-open) .value-card p { display: none; }
.values-deck:not(.is-open) .value-card h4 { font-size: 16px; }
.values-deck .value-card:nth-child(1) { transform: rotate(5deg); z-index: 6; }
.values-deck .value-card:nth-child(2) { transform: rotate(-4deg); z-index: 5; }
.values-deck .value-card:nth-child(3) { transform: rotate(-13deg); z-index: 4; }
.values-deck .value-card:nth-child(4) { transform: rotate(-22deg); z-index: 3; }
.values-deck .value-card:nth-child(5) { transform: rotate(-31deg); z-index: 2; }
.values-deck .value-card:nth-child(6) { transform: rotate(-40deg); z-index: 1; }
.values-deck.is-open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: none; min-height: 0; cursor: default; }
.values-deck.is-open .value-card { width: 100%; height: auto; margin-left: 0; padding: 20px; justify-content: flex-start; transform: none; background-color: var(--off-white); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); align-self: stretch; }
.values-deck.is-open .value-card:hover { transform: translateY(-5px); }
.value-card:first-child .fan-heading  { display: block; }
.value-card:first-child .open-heading { display: none; }
.values-deck.is-open .value-card:first-child .fan-heading  { display: none; }
.values-deck.is-open .value-card:first-child .open-heading { display: block; }
.values-deck:not(.is-open) .value-card { background-image: url('../assets/about-card-diagnostic.webp'); background-size: cover; background-position: center 15%; justify-content: flex-end; padding-bottom: 14px; }
.values-deck:not(.is-open) .value-card .value-icon { display: none; }
.values-deck:not(.is-open) .value-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55%; background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.60)); border-radius: 0 0 8px 8px; pointer-events: none; }
.values-deck:not(.is-open) .value-card h4 { color: #fff; z-index: 1; font-size: 14px; line-height: 1.3; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.values-hint { text-align: center; color: #9155A7; font-weight: 600; font-size: 13px; margin-top: 40px; }
.value-card { background-color: var(--off-white); padding: 12px 20px; border-radius: 8px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: rgba(13, 178, 107, 0.10); display: flex; align-items: center; justify-content: center; color: var(--green-mid); }
.value-icon svg { width: 26px; height: 26px; }
.value-card h4 { font-size: 22px; color: var(--primary-purple); margin-bottom: 12px; font-weight: 600; }
.value-card p { font-size: 15px; line-height: 1.7; color: var(--medium-gray); font-weight: 400; }
@media (max-width: 768px) {
    .values-deck, .values-deck.is-open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; min-height: 0; max-width: 460px; margin: 16px auto 0; cursor: pointer; align-content: stretch; }
    .values-deck .value-card { flex: none; width: auto; height: auto; margin-left: 0; padding: 16px 14px; transform: none !important; justify-content: flex-start; background-color: var(--off-white); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); background-image: none; }
    .values-deck:not(.is-open) .value-card::after { display: none; }
    .values-deck:not(.is-open) .value-card h4 { color: var(--primary-purple); text-shadow: none; font-size: 16px; }
    .values-deck .value-card .value-icon { display: flex !important; }
    .values-deck:not(.is-open) .value-card p { display: none; }
    .values-deck.is-open .value-card p { display: block; }
    .values-deck.is-open .value-card h4 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .values-deck, .values-deck.is-open { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; min-height: 0; max-width: none; cursor: default; align-content: stretch; }
    .values-deck .value-card { flex: none; width: auto; height: auto; margin-left: 0; padding: 16px 20px; transform: none !important; justify-content: flex-start; background-color: var(--off-white); box-shadow: none; background-image: none; }
    .values-deck:not(.is-open) .value-card::after { display: none; }
    .values-deck:not(.is-open) .value-card h4 { color: var(--primary-purple); text-shadow: none; }
    .values-deck .value-card .value-icon { display: flex !important; }
    .values-deck .value-card p { display: block; }
    .values-deck .value-card h4 { font-size: 22px; }
    .values-hint { display: none; }
}

/* ---- Team cards (bio toggle) ---- */
.team-bio-toggle{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;font-family:'Raleway',sans-serif;font-size:12.5px;font-weight:700;color:#9155A7;background:rgba(145,85,167,0.10);border:1px solid rgba(145,85,167,0.35);border-radius:999px;padding:6px 14px;width:fit-content;transition:background .2s ease;}
.team-bio-toggle::-webkit-details-marker{display:none;}
.team-bio-toggle::marker{content:'';}
.team-bio-toggle:hover{background:rgba(145,85,167,0.18);}
.team-bio-toggle .team-bio-arrow{transition:transform .2s ease;display:inline-flex;}
.team-bio[open] .team-bio-toggle .team-bio-arrow{transform:rotate(180deg);}
.team-bio:not([open]) .team-bio-label-open{display:none;}
.team-bio[open] .team-bio-label-closed{display:none;}
.team-bio-text{font-family:'Raleway',sans-serif;font-size:14px;color:#333;line-height:1.75;text-align:justify;margin:12px 0 0 0;}

/* ---- About page baked-text banner (image carries the text; no overlay) ---- */
.about-banner { width: 100%; overflow: hidden; background: #F7F7F8; line-height: 0; }
.about-banner picture { display: block; }
.about-banner img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center top; }
@media (max-width: 768px) { .about-banner img { max-height: 320px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Our Clinician: horizontal photo+bio card + wide ADC network box ---- */
.clinician-h { display: grid; grid-template-columns: 300px 1fr; background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden; max-width: 1080px; margin: 32px auto 0; }
.clinician-h__photo { position: relative; background: #F3EDF7; min-height: 300px; }
.clinician-h__photo picture { display: block; }
.clinician-h__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.clinician-h__body { padding: 26px 32px; }
.clinician-h__body .team-bio-text { color: #333; }
.adc-network-box { max-width: 1080px; margin: 20px auto 0; background: linear-gradient(135deg, var(--purple-light) 0%, var(--green-light) 100%); border: 1.5px solid var(--purple-mid); border-radius: 12px; padding: 24px 32px; display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: center; }
.adc-network-box__head h4 { font-size: 18px; color: var(--primary-purple); margin-bottom: 8px; }
.adc-network-box__head a { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary-purple); border-bottom: 1px solid rgba(145,85,167,0.4); }
.adc-network-box p { font-size: 14.5px; color: var(--medium-gray); line-height: 1.7; margin: 0; text-align: left; }
@media (max-width: 760px) {
  .clinician-h { grid-template-columns: 1fr; }
  .clinician-h__photo { min-height: 0; height: 320px; }
  .adc-network-box { grid-template-columns: 1fr; gap: 14px; }
}

/* =====================================================================
   PATIENTS PAGE COMPONENTS  (ported from ADC patients.html, 2026-07-08)
   Symptom guide · condition lists · audit chart · treatments deck ·
   patient-resources carousel · FAQ · highlight boxes · buttons · utils.
   Used by sdc-website/patients.html (Sydney-localised).
   ===================================================================== */

/* ---- Buttons (green/purple variants) ---- */
.btn { padding: 14px 32px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; border-radius: 4px; text-decoration: none; display: inline-block; transition: all 0.3s ease; font-family: 'Raleway', sans-serif; }
.btn--green { background-color: var(--primary-green); color: var(--white); border: 2px solid var(--primary-green); }
.btn--green:hover { background-color: var(--dark-green); border-color: var(--dark-green); color: var(--white); }
.btn--purple { background-color: var(--primary-purple); color: var(--white); border: 2px solid var(--primary-purple); }
.btn--purple:hover { background-color: #7A3F93; border-color: #7A3F93; color: var(--white); }
.btn--lg { padding: 16px 40px; font-size: 17px; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.body-lg { font-size: 1.1rem; color: var(--dark-gray); line-height: 1.9; }
.heading-color-green { color: #147e2d; }
.heading-color-purple { color: var(--primary-purple); }
.heading-margin-bottom { margin-bottom: 0.8rem; }

/* ---- Highlight boxes ---- */
.highlight-box--green { background: rgba(13, 178, 107, 0.06); border-radius: 12px; padding: 12px 20px; margin: 12px auto 0; text-align: center; max-width: 800px; }
.highlight-box--purple { background: rgba(145, 85, 167, 0.06); border-radius: 12px; padding: 12px 20px; margin: 12px auto 0; text-align: center; max-width: 800px; }
.highlight-box--off-white { background: var(--off-white); border-radius: 12px; padding: 12px 20px; margin-top: 12px; text-align: center; }

/* ---- Base card + treatment card variants ---- */
.card { background: var(--white); border-radius: 8px; padding: 30px; box-shadow: var(--e1); border: 1px solid var(--border-color); transition: all 0.3s ease; }
.card:hover { box-shadow: var(--e2); transform: translateY(-4px); }
.card h3 { margin-bottom: 10px; }
.card--green-border { border-left: 4px solid #147E2D; }
.card--purple-border { border-left: 4px solid #9155A7; }
.card--light-green-border { border-left: 4px solid #59A46A; }
.card-heading--green { color: #147e2d; font-size: 1.05rem; }
.card-heading--purple { color: #9155A7; font-size: 1.05rem; }
.card-text--sm { font-size: 0.9rem; }

/* ---- Condition lists (detailed, with collapsible toggle) ---- */
.condition-category { margin-bottom: 12px; }
.condition-category h3 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #59A46A; color: var(--primary-purple); font-size: 22px; }
.condition-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; list-style: none; }
.condition-list li { padding: 8px 14px; background: var(--off-white); border-radius: 4px; font-size: 14px; display: flex; align-items: flex-start; gap: 8px; transition: background 0.3s ease; line-height: 1.5; }
.condition-list li:hover { background: var(--light-gray); }
.condition-list li::before { content: '\25CF'; color: var(--primary-green); font-size: 8px; margin-top: 6px; flex-shrink: 0; }
.conditions-toggle { text-align: center; margin-bottom: 12px; }
.conditions-toggle > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 10px 24px; background: var(--primary-purple); border: 2px solid var(--primary-green); border-radius: 30px; color: var(--white); font-weight: 700; font-size: 15px; list-style: none; transition: background 0.25s ease, color 0.25s ease; }
.conditions-toggle > summary::-webkit-details-marker { display: none; }
.conditions-toggle > summary::marker { content: ''; }
.conditions-toggle > summary:hover { background: #7A3F93; }
.conditions-toggle[open] > summary { background: #7A3F93; color: var(--white); }
.conditions-toggle .chev { transition: transform 0.3s ease; }
.conditions-toggle[open] > summary .chev { transform: rotate(180deg); }
.conditions-toggle__body { text-align: left; margin-top: 16px; animation: condFade 0.4s ease; }
@keyframes condFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- Audit chart ---- */
.chart-container { background: var(--white); border-radius: 12px; padding: 12px 20px; box-shadow: var(--e1); }
.ac-chart { display: flex; flex-direction: column; gap: 6px; }
.ac-row { display: flex; align-items: center; gap: 10px; padding: 2px 4px; border-radius: 6px; position: relative; transition: opacity .25s ease, transform .2s ease; outline: none; }
.ac-label { min-width: 340px; max-width: 340px; text-align: right; font-size: 0.82rem; color: #605E5E; line-height: 1.3; }
.ac-label--bold { font-weight: 700; }
.ac-track { flex: 1; background: #F2F2F2; border-radius: 4px; height: 24px; position: relative; overflow: hidden; }
.ac-fill { height: 100%; width: 0; border-radius: 4px; filter: saturate(1.45); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.ac-val { min-width: 70px; text-align: left; font-size: 0.85rem; font-weight: 700; color: #2F2E2E; white-space: nowrap; }
.ac-share { color: #9155A7; opacity: 0; transition: opacity .2s ease; }
.ac-suffix { color: #2F2E2E; font-weight: 700; }
.ac-caption { text-align: center; font-size: 0.78rem; color: #147E2D; margin-top: 1rem; }
.ac-row.ac-hl { transform: scale(1.05); transform-origin: left center; z-index: 2; }
.ac-row.ac-hl .ac-track { box-shadow: 0 0 0 2px var(--bar), 0 0 34px -1px var(--bar), 0 6px 20px rgba(0,0,0,.20); }
.ac-row.ac-hl .ac-fill { filter: saturate(2.6) brightness(1.2) contrast(1.4); }
.ac-row.ac-hl .ac-share { opacity: 1; }
.ac-row.ac-hl .ac-label { color: var(--bar); font-weight: 700; }
.ac-row.ac-hl .ac-num { color: var(--bar); }
.ac-row.ac-hl .ac-val { font-weight: 800; }
.ac-row:focus-visible .ac-track { box-shadow: 0 0 0 2px rgba(145,85,167,.45); }
@media (max-width: 640px) { .ac-label { min-width: 150px; max-width: 150px; font-size: 0.74rem; } .ac-val { min-width: 58px; } }

/* ---- Treatments deck (stacked cards fan open on click) ---- */
.treat-deck { display: flex; justify-content: flex-start; align-items: center; flex-wrap: nowrap; gap: 0; position: relative; min-height: 220px; max-width: 360px; margin: 16px 0 0; cursor: pointer; }
.treat-deck .card { flex: 0 0 300px; width: 300px; height: 180px; margin-left: -300px; position: relative; z-index: 1; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.16); transition: flex-basis .9s cubic-bezier(.2,.7,.2,1), margin .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.treat-cover { position: relative; z-index: 10; flex: 0 0 340px; width: 340px; display: block; border-radius: 12px; overflow: hidden; box-shadow: 8px 8px 0 0 #DFEDE2, 8px 8px 0 1.5px #59A46A, 16px 16px 0 0 #DFEDE2, 16px 16px 0 1.5px #59A46A, 24px 24px 0 0 #DFEDE2, 24px 24px 0 1.5px #59A46A, 0 22px 34px rgba(0,0,0,.12); transition: opacity .4s ease, transform .4s ease; }
.treat-cover img { display: block; width: 100%; height: auto; }
.treat-cover__cta { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-weight: 700; background: #9155A7; color: #fff; padding: 9px 18px; border-radius: 30px; font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.treat-deck.is-open { flex-wrap: wrap; gap: 16px; max-width: 100%; align-items: stretch; align-content: flex-start; cursor: default; min-height: 0; }
.treat-deck.is-open .treat-cover { position: absolute; inset: 0; margin: auto; opacity: 0; transform: scale(.9); pointer-events: none; }
.treat-deck.is-open .card { flex: 1 1 260px; width: auto; height: auto; margin-left: 0; transform: none; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.treat-hint { text-align: center; color: #9155A7; font-weight: 600; font-size: 13px; margin-top: 36px; }
@media (max-width: 600px) { .treat-deck:not(.is-open) { max-width: 300px; } .treat-deck.is-open .card { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .treat-deck, .treat-deck.is-open { flex-wrap: wrap; gap: 16px; max-width: 100%; min-height: 0; cursor: default; } .treat-deck .card { flex: 1 1 260px; width: auto; height: auto; margin-left: 0; transform: none; transition: none; box-shadow: 0 4px 12px rgba(0,0,0,.08); } .treat-cover, .treat-hint { display: none; } }

/* ---- Patient resources carousel ---- */
.pr-carousel { position: relative; max-width: 560px; margin: 0 auto; padding: 0 6px; }
.pr-viewport { overflow: hidden; border-radius: 12px; }
.pr-track { display: flex; transition: transform .5s ease; }
.pr-slide { flex: 0 0 100%; box-sizing: border-box; padding: 6px; }
.pr-card-img { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.10); transition: transform .25s ease, box-shadow .25s ease; }
.pr-card-img img { width: 100%; height: auto; display: block; }
.pr-card-img:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.pr-cta { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; background: #9155A7; color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 30px; box-shadow: 0 4px 12px rgba(0,0,0,.28); transition: background .2s ease, transform .2s ease; }
.pr-card-img:hover .pr-cta { background: #7A3F93; transform: translateX(2px); }
.pr-arrow { position: absolute; top: 44%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: #9155A7; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.2); z-index: 3; }
.pr-arrow:hover { background: #7A3F93; }
.pr-prev { left: -6px; }
.pr-next { right: -6px; }
.pr-dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
.pr-dot { width: 11px; height: 11px; border-radius: 50%; border: none; background: #dbc8e6; cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease; }
.pr-dot.active { background: #9155A7; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .pr-track { transition: none; } .pr-card-img { transition: none; } }

/* ---- Check lists ---- */
.list-unstyled-compact { list-style: none; max-width: 500px; margin: 0 auto; text-align: left; }
.list-check-item { padding: 0.6rem 0; display: flex; align-items: flex-start; gap: 0.8rem; }
.list-check-icon { color: var(--primary-green); font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid #efe7f5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #9155A7; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: #9155A7; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item summary:hover { background: rgba(145,85,167,0.05); }
.faq-item .faq-answer { padding: 2px 18px 16px; color: #333; line-height: 1.7; text-align: left; }

/* ---- Patient symptom guide ---- */
.symptom-guide .sg-intro { max-width: 860px; margin: 0 auto 16px; text-align: center; line-height: 1.6; color: #444; }
.sg-box { max-width: 940px; margin: 0 auto; background: #fff; border: 2px solid var(--primary-green); border-radius: 16px; padding: 20px 22px 22px; box-shadow: 0 6px 22px rgba(13,178,107,0.10); }
.sg-box .sg-intro, .sg-box .sg-options { max-width: 100%; }
.sg-box .sg-intro { margin-top: 0; }
.sg-options { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .sg-options { grid-template-columns: 1fr; } }
.sg-btn { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border: 2px solid color-mix(in srgb, var(--sg) 70%, #fff); background: #fff; border-radius: 16px; font: inherit; color: #2b2b2b; cursor: pointer; box-shadow: 0 2px 10px rgba(20,20,40,0.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden; }
.sg-btn::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--sg); }
.sg-btn:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,20,40,0.14); border-color: var(--sg); }
.sg-btn.sg-active { border-color: var(--sg); box-shadow: 0 10px 26px rgba(20,20,40,0.16); }
.sg-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sg) 15%, #fff); color: var(--sg); }
.sg-ico svg { width: 24px; height: 24px; }
.sg-label { flex: 1; font-weight: 600; line-height: 1.35; font-size: 0.95rem; }
.sg-arrow { color: var(--sg); font-size: 1.25rem; opacity: .45; transition: transform .2s ease, opacity .2s ease; }
.sg-btn:hover .sg-arrow { opacity: 1; transform: translateX(4px); }
.sg-results { max-width: 900px; margin: 18px auto 0; }
.sg-result-item { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #eceff3; border-top: 4px solid var(--sg); box-shadow: 0 10px 30px rgba(20,20,40,0.10); }
.sg-result-item:not([hidden]) { animation: sgIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes sgIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sg-res-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: color-mix(in srgb, var(--sg) 12%, #fff); }
.sg-res-head svg { width: 26px; height: 26px; color: var(--sg); flex-shrink: 0; }
.sg-res-head h4 { margin: 0; color: var(--sg); font-size: 1.12rem; line-height: 1.3; }
.sg-result-item > p { text-align: left; line-height: 1.6; margin: 12px 18px; color: #333; }
.sg-result-item .sg-do { background: #DFEDE2; border-radius: 9px; padding: 11px 14px; margin: 12px 18px 16px; color: #147e2d; }
.sg-cta { max-width: 900px; margin: 18px auto 0; text-align: center; animation: sgIn .45s ease; }
.sg-cta .sg-disclaimer { margin-top: 12px; font-size: 0.82rem; color: var(--purple-dark); font-weight: 600; }

/* ---- Symptom guide: side-by-side layout (options left, answer to the right) ---- */
.sg-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; max-width: 1150px; margin: 0 auto; }
.sg-layout .sg-options { max-width: none; margin: 0; grid-template-columns: 1fr 1fr; }
.sg-panel { position: relative; }
.sg-panel .sg-results { margin: 0; max-width: none; }
.sg-panel .sg-cta { margin: 14px 0 0; max-width: none; text-align: left; }
.sg-placeholder { border: 1.5px dashed var(--purple-mid); border-radius: 16px; padding: 34px 24px; text-align: center; color: var(--medium-gray); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 0.95rem; line-height: 1.5; }
.sg-placeholder svg { width: 40px; height: 40px; color: var(--purple-mid); }
.sg-placeholder[hidden] { display: none; }
@media (max-width: 760px) { .sg-layout { grid-template-columns: 1fr; } .sg-placeholder { display: none; } }
@media (max-width: 560px) { .sg-layout .sg-options { grid-template-columns: 1fr; } }

/* =====================================================================
   GP PAGE COMPONENTS  (ported from ADC gps.html, 2026-07-18)
   Why-refer split · flip cards · referral deck · education stats/panels ·
   courses · Become-a-VP band.  Background images borrowed from ADC.
   ===================================================================== */

/* ---- Why refer: text + image split ---- */
.gp-split { display:flex; gap:28px; align-items:center; flex-wrap:wrap; }
.gp-split__text { flex:1 1 380px; min-width:280px; }
.gp-split__img { flex:1 1 320px; min-width:260px; }
.gp-split__img img { width:100%; height:clamp(220px,28vw,320px); object-fit:cover; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,.12); display:block; }

/* ---- Flip cards ---- */
.gp-flip-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; }
.gp-flip { perspective:900px; cursor:pointer; outline-offset:3px; flex:0 1 calc(33.333% - 12px); min-width:250px; max-width:340px; }
.gp-flip__inner { position:relative; width:100%; min-height:320px; transition:transform .55s ease; transform-style:preserve-3d; }
.gp-flip.is-flipped .gp-flip__inner { transform:rotateY(180deg); }
@media (hover:hover) and (pointer:fine){ .gp-flip:hover .gp-flip__inner { transform:rotateY(180deg); } }
.gp-flip__face { position:absolute; inset:0; -webkit-backface-visibility:hidden; backface-visibility:hidden; border-radius:12px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.08); }
.gp-flip__front { background:#fff; display:flex; flex-direction:column; }
.gp-flip__img { width:100%; flex:1 1 auto; background:#EFE7F5; overflow:hidden; }
.gp-flip__img picture, .gp-flip__img img { width:100%; height:100%; object-fit:cover; display:block; }
.gp-flip__title { padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:8px; flex:0 0 auto; }
.gp-flip__title h3 { font-size:1.02rem; margin:0; line-height:1.3; text-align:left; }
.gp-flip--purple .gp-flip__title h3 { color:#6A2C82; }
.gp-flip--green .gp-flip__title h3 { color:#147e2d; }
.gp-flip__icon { flex:0 0 auto; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.gp-flip--purple .gp-flip__icon { color:#9155A7; background:rgba(145,85,167,.12); }
.gp-flip--green .gp-flip__icon { color:#147E2D; background:rgba(13,178,107,.12); }
.gp-flip__back { transform:rotateY(180deg); padding:20px 18px; display:flex; flex-direction:column; justify-content:center; }
.gp-flip--purple .gp-flip__back { background:#6A2C82; }
.gp-flip--green .gp-flip__back { background:#147e2d; }
.gp-flip__back h3 { color:#fff; font-size:1.05rem; margin:0 0 10px; text-align:left; }
.gp-flip__back p { color:rgba(255,255,255,.93); font-size:.95rem; line-height:1.6; margin:0; text-align:left; }
@media (prefers-reduced-motion: reduce){ .gp-flip__inner { transition:none; } }

/* ---- Referral deck (reuses the .diag-* system) ---- */
.diag-cover--gp { background-image: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.5) 56%, rgba(255,255,255,0) 80%), url('../assets/gp-refer-cover.jpg'); background-position:100% 35%; }
#refDeck .diag-step__sub { font-size:13.5px; line-height:1.45; margin-top:6px; color:#3A3A3A; }
#refDeck .diag-step h4 { font-size:16px; }
@media (min-width:761px){ #refDeck .diag-step { flex:0 0 250px; width:250px; max-width:250px; height:300px; } }
#refDeck .diag-step--v5 h4 { font-size:15px; }

/* ---- Education stats, panels and courses ---- */
.gp-stats { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:0 0 18px; }
.gp-stat { background:#fff; border-radius:12px; padding:10px 18px; text-align:center; box-shadow:0 3px 10px rgba(0,0,0,.07); min-width:120px; }
.gp-stat strong { display:block; font-size:1.5rem; line-height:1.1; }
.gp-stat span { font-size:.8rem; color:#555; }
.gp-stat--purple strong { color:#6A2C82; }
.gp-stat--green strong { color:#147e2d; }
.gp-panels { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; }
.gp-panel, .gp-course { flex:1 1 340px; max-width:520px; background:#fff; border-radius:12px; padding:18px 20px; box-shadow:0 4px 14px rgba(0,0,0,.08); display:flex; flex-direction:column; }
.gp-panel--purple { border-top:4px solid #9155A7; }
.gp-panel--green { border-top:4px solid #147E2D; }
.gp-panel h3 { font-size:1.1rem; margin:0 0 10px; text-align:left; }
.gp-panel--purple h3 { color:#6A2C82; }
.gp-panel--green h3 { color:#147e2d; }
.gp-panel ul, .gp-course ul { list-style:none; margin:0 0 14px; padding:0; flex:1 1 auto; }
.gp-panel li, .gp-course li { position:relative; padding-left:22px; margin-bottom:8px; font-size:.95rem; line-height:1.55; text-align:left; }
.gp-panel li::before, .gp-course li::before { content:''; position:absolute; left:0; top:7px; width:10px; height:10px; border-radius:50%; }
.gp-panel--purple li::before { background:rgba(145,85,167,.35); }
.gp-panel--green li::before { background:rgba(13,178,107,.35); }
.gp-panel .btn, .gp-course .btn { align-self:center; }
.gp-courses-banner { max-width:760px; margin:0 auto 16px; }
.gp-courses-banner img { width:100%; height:auto; border-radius:12px; box-shadow:0 5px 16px rgba(0,0,0,.1); display:block; }
.gp-course { padding-top:0; overflow:hidden; }
.gp-course__band { margin:0 -20px 12px; padding:10px 20px; color:#fff; font-weight:700; font-size:1.05rem; text-align:center; }
.gp-course__band--green { background:#147E2D; }
.gp-course__band--purple { background:#9155A7; }
.gp-course__who { font-style:italic; color:#555; font-size:.92rem; margin:0 0 10px; text-align:left; }
.gp-course li::before { background:rgba(106,44,130,.3); }
.gp-stat--hero { background:#6A2C82; color:#fff; border-radius:12px; padding:14px 22px; text-align:center; max-width:560px; margin:0 auto 14px; box-shadow:0 5px 16px rgba(0,0,0,.14); }
.gp-stat--hero strong { display:block; font-size:1.25rem; line-height:1.3; }
.gp-stat--hero span { font-size:.88rem; color:rgba(255,255,255,.85); }
.gp-stats-caption { text-align:center; font-size:1.1rem; font-weight:700; color:#6A2C82; margin:12px 0 20px; }
.gp-anim-ready .gp-stat { opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.gp-anim-ready .gp-stat.is-in { opacity:1; transform:none; }
@keyframes gpHeroPulse { 0%{transform:scale(1);} 40%{transform:scale(1.035); box-shadow:0 8px 24px rgba(106,44,130,.35);} 100%{transform:scale(1);} }
.gp-stat--hero.do-pulse { animation:gpHeroPulse .7s ease; }
.gp-stats-caption.gp-cap-wait { opacity:0; }
.gp-stats-caption.gp-cap-wait.is-in { opacity:1; transition:opacity .5s ease; }

/* ---- Become a Vestibular Physician band ---- */
.gp-vp-band { background:#fff; border:2px solid var(--primary-purple); border-radius:var(--radius-lg); padding:0; text-align:center; display:flex; align-items:flex-end; justify-content:space-between; min-height:260px; overflow:hidden; box-shadow:0 5px 18px rgba(0,0,0,.08); }
.gp-vp-band__cut { align-self:stretch; background-repeat:no-repeat; background-position:bottom center; background-size:contain; }
.gp-vp-band__cut--left { flex:0 0 300px; background-image:url('../assets/vp-doctor-female.webp'); }
.gp-vp-band__cut--right { flex:0 0 200px; background-image:url('../assets/vp-doctor-male.webp'); }
.gp-vp-band__text { flex:1 1 auto; align-self:center; padding:26px 12px; }
.gp-vp-band__text h2 { color:var(--primary-purple); margin-bottom:12px; }
.gp-vp-band__text p { color:var(--dark-green); margin:0 auto 14px; max-width:620px; font-weight:600; }
@media (max-width:760px){ .gp-vp-band__cut { display:none; } .gp-vp-band { min-height:0; } }
