:root {
    --maroon: #7b2040;
    --maroon-dark: #5c1830;
    --maroon-light: #9a3058;
    --white: #fff;
    --off-white: #f9f7f5;
    --warm-gray: #f2efeb;
    --mid-gray: #e8e4e0;
    --text-dark: #2d2926;
    --text-med: #5a5651;
    --text-light: #8a8580;
    --gold: #c9a96e;
    --navy: #1b2a4a;
    --navy-light: #243560;
    --navy-pale: #eef1f6;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Libre Franklin", sans-serif;
    color: var(--text-dark);
    background: var(--white);
    font-size: 16px;
}
.annotation {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    background: rgba(123, 32, 64, 0.07);
    border: 1px solid rgba(123, 32, 64, 0.12);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 9px;
    line-height: 1.4;
    font-family: "IBM Plex Mono", monospace;
    color: var(--maroon);
    max-width: 260px;
}
section {
    position: relative;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-light) 100%);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 40%, rgba(201, 169, 110, 0.12) 0%, transparent 55%);
}
.hero-accent {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-accent-2 {
    position: absolute;
    right: 60px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.05);
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 60px 80px;
    max-width: 820px;
}
.hero-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}
.hero h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero .subhead {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 38px;
    max-width: 680px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
}
.btn-primary {
    background: var(--white);
    color: var(--maroon);
    padding: 13px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.btn-outline-w {
    background: transparent;
    color: var(--white);
    padding: 13px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
}
.hero-stat-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-stat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    flex-shrink: 0;
}
.hero-stat-text .num {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.hero-stat-text .lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== EMPATHY ===== */
.empathy {
    padding: 80px 60px;
    background: var(--white);
}
.empathy-inner {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: center;
}
.empathy h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
}
.empathy p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
    margin-bottom: 14px;
}
.empathy-visual {
    border-radius: 14px;
    overflow: hidden;
    min-height: 360px;
    background: linear-gradient(145deg, var(--warm-gray), var(--mid-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
    font-family: "IBM Plex Mono", monospace;
    text-align: center;
    padding: 20px;
}
.symptom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.symptom-tag {
    background: rgba(123, 32, 64, 0.06);
    color: var(--maroon);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid rgba(123, 32, 64, 0.1);
}

/* ===== EXPERTISE ===== */
.expertise {
    padding: 80px 60px;
    background: linear-gradient(180deg, var(--off-white), var(--warm-gray));
}
.expertise-inner {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
    align-items: center;
}

@media (max-width: 800px) {
    .expertise-inner {
        grid-template-columns: 1fr;
    }
}

.expertise h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
}
.expertise p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
    margin-bottom: 14px;
}
.expertise-photo {
    border-radius: 14px;
    min-height: 380px;
    background: linear-gradient(145deg, rgba(123, 32, 64, 0.1), rgba(123, 32, 64, 0.04));
    border: 1px solid rgba(123, 32, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
    font-family: "IBM Plex Mono", monospace;
    text-align: center;
    padding: 20px;
}
.credential-cards {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.credential-card {
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: 10px;
    padding: 16px 18px;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
}
.credential-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 32, 64, 0.12), rgba(123, 32, 64, 0.05));
    border: 2px solid rgba(123, 32, 64, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--maroon);
    font-family: "Montserrat", sans-serif;
    flex-shrink: 0;
}
.credential-info .title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}
.credential-info .detail {
    font-size: 11px;
    color: var(--maroon);
    font-weight: 600;
    line-height: 1.4;
}

/* ===== DIAGNOSTICS (NAVY), NO ICONS, HOVER COLOR ===== */
.diagnostics {
    padding: 80px 60px;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.diagnostics::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.diagnostics-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.diagnostics h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.diagnostics .sub {
    text-align: center;
    font-size: 16px;
    opacity: 0.7;
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.6;
}
.diag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .diag-grid {
        grid-template-columns: 1fr;
    }
}

.diag-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px 26px;
    transition: all 0.3s ease;
    cursor: default;
}
.diag-card:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}
.diag-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    transition: color 0.3s;
}
.diag-card:hover h4 {
    color: var(--navy);
}
.diag-card p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
}
.diag-card:hover p {
    color: var(--text-med);
}

/* ===== TREATMENTS, INTERACTIVE BARS ===== */
.treatments {
    padding: 80px 60px;
    background: var(--white);
}
.treatments-inner {
    max-width: 900px;
    margin: 0 auto;
}
.treatments h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.treatments .sub {
    text-align: center;
    font-size: 16px;
    color: var(--text-med);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.6;
}

.treatment-bars {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--mid-gray);
}
.treatment-bar {
    border-bottom: 1px solid var(--mid-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.treatment-bar:last-child {
    border-bottom: none;
}
.treatment-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    transition: all 0.3s ease;
}
.treatment-bar-header h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.3s;
}
.treatment-bar-header .tag {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}
.treatment-bar-header .arrow {
    font-size: 18px;
    color: var(--text-light);
    transition: all 0.3s;
    margin-left: 12px;
}

/* Default state */
.treatment-bar .treatment-bar-header {
    background: var(--white);
}
.treatment-bar .treatment-bar-header h3 {
    color: var(--text-dark);
}
.treatment-bar .tag-noninvasive {
    background: rgba(123, 32, 64, 0.06);
    color: var(--maroon);
}
.treatment-bar .tag-comprehensive {
    background: rgba(201, 169, 110, 0.12);
    color: #8a6d30;
}
.treatment-bar .tag-supportive {
    background: rgba(74, 85, 104, 0.08);
    color: #4a5568;
}
.treatment-bar .tag-surgical {
    background: rgba(92, 24, 48, 0.08);
    color: var(--maroon-dark);
}

/* Hover state, bar changes color */
.treatment-bar:nth-child(1):hover .treatment-bar-header {
    background: linear-gradient(135deg, #b8944e, var(--gold));
}
.treatment-bar:nth-child(2):hover .treatment-bar-header {
    background: var(--maroon);
}
.treatment-bar:nth-child(3):hover .treatment-bar-header {
    background: var(--navy);
}
.treatment-bar:nth-child(4):hover .treatment-bar-header {
    background: #4a5568;
}
.treatment-bar:nth-child(5):hover .treatment-bar-header {
    background: var(--maroon-dark);
}

.treatment-bar:hover .treatment-bar-header h3 {
    color: var(--white);
}
.treatment-bar:hover .treatment-bar-header .tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.treatment-bar:hover .treatment-bar-header .arrow {
    color: var(--white);
    transform: rotate(90deg);
}

/* Expanded body */
.treatment-bar-body {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.3s ease;
    padding: 0 28px;
    background: var(--off-white);
}
.treatment-bar:hover .treatment-bar-body {
    max-height: 200px;
    padding: 20px 28px;
}
.treatment-bar-body p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
    margin-bottom: 8px;
}
.treatment-bar-body .stat {
    font-size: 13px;
    font-weight: 700;
    color: var(--maroon);
}
.treatment-bar-body a {
    font-size: 13px;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    border-bottom: 1.5px solid var(--maroon);
    padding-bottom: 1px;
    display: inline-block;
    margin-top: 6px;
}

/* Surgery feature */
.surgery-feature {
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--maroon);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}
.surgery-left {
    background: linear-gradient(135deg, var(--maroon-dark), #3d0f22);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}
.surgery-left h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.surgery-left .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: "IBM Plex Mono", monospace;
    margin-bottom: 12px;
    align-self: flex-start;
}
.surgery-left .performed {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}
.surgery-right {
    padding: 32px 28px;
    background: var(--white);
}
.surgery-right p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
    margin-bottom: 10px;
}
.surgery-right .stat {
    font-size: 13px;
    font-weight: 700;
    color: var(--maroon);
    padding: 8px 12px;
    background: rgba(123, 32, 64, 0.06);
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
}
.surgery-right a {
    font-size: 13px;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    border-bottom: 1.5px solid var(--maroon);
    padding-bottom: 1px;
}

/* ===== PATIENT STORY ===== */
.patient-story {
    padding: 80px 60px;
    background: linear-gradient(180deg, var(--off-white), var(--warm-gray));
}
.story-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.story-inner h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}
.story-quote {
    position: relative;
    padding: 40px 36px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--mid-gray);
}
.story-quote::before {
    content: "\201C";
    position: absolute;
    top: 4px;
    left: 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 90px;
    color: var(--maroon);
    opacity: 0.12;
    line-height: 1;
}
.story-quote .stars {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 18px;
}
.story-quote blockquote {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 18px;
}
.story-quote .author {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-med);
}
.story-context {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 60px;
    background: var(--white);
}
.faq-inner {
    max-width: 760px;
    margin: 0 auto;
}
.faq h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.faq .sub {
    text-align: center;
    font-size: 17px;
    color: var(--text-med);
    margin-bottom: 40px;
}
.faq-item {
    border-bottom: 1px solid var(--mid-gray);
    overflow: hidden;
}
.faq-item:first-child {
    border-top: 1px solid var(--mid-gray);
}
.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 22px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    transition: color 0.2s;
    user-select: none;
}
.faq-item h4:hover {
    color: var(--maroon);
}
.faq-item h4::before {
    content: "Q";
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(123, 32, 64, 0.08);
    color: var(--maroon);
    font-size: 12px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.faq-item h4::after {
    content: "+";
    margin-left: auto;
    font-size: 22px;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.open h4::after {
    content: "−";
}
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.3s ease;
    padding: 0 40px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 40px 22px;
}
.faq-item .faq-answer p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
}

/* ===== NERVE TEAM ===== */
.nerve-team {
    padding: 80px 60px;
    background: var(--off-white);
}
.nerve-team-inner {
    max-width: 820px;
    margin: 0 auto;
}
.nerve-team h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
.doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.doc-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--mid-gray);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
.doc-card-top {
    padding: 28px 24px 0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.doc-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 32, 64, 0.12), rgba(123, 32, 64, 0.05));
    border: 3px solid rgba(123, 32, 64, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--maroon);
    font-family: "Montserrat", sans-serif;
    flex-shrink: 0;
}
.doc-info .name {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}
.doc-info .cred {
    font-size: 13px;
    color: var(--maroon);
    font-weight: 600;
    line-height: 1.5;
}
.doc-info .raw-cred {
    font-size: 11px;
    color: var(--text-light);
    font-family: "IBM Plex Mono", monospace;
    margin-top: 5px;
}
.doc-card-bio {
    padding: 18px 24px 28px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-med);
}

/* ===== SECOND OPINION ===== */
.second-opinion {
    padding: 70px 60px;
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.second-opinion::before {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.06);
}
.so-inner {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}
.so-inner h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 14px;
}
.so-inner p {
    font-size: 16px;
    line-height: 1.65;
    opacity: 0.8;
    margin-bottom: 26px;
}
.btn-white-solid {
    background: var(--white);
    color: var(--maroon);
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

/* ===== BOTTOM CTA ===== */
.bottom-cta {
    padding: 70px 60px;
    background: var(--warm-gray);
    text-align: center;
}
.bottom-cta h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.bottom-cta p {
    font-size: 16px;
    color: var(--text-med);
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.65;
}
.bottom-cta .buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}
.btn-maroon-lg {
    background: var(--maroon);
    color: var(--white);
    padding: 14px 34px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.btn-outline-maroon {
    background: transparent;
    color: var(--maroon);
    padding: 14px 34px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid var(--maroon);
    cursor: pointer;
}

/* =====================================================================
   MOBILE / RESPONSIVE OVERRIDES  (keep at the very bottom of the file)
   Handles inline styles in the markup with attribute selectors + !important
   ===================================================================== */

/* Global safety nets */
img,
iframe,
video {
    max-width: 100%;
}
html,
body {
    overflow-x: hidden;
}
.btn-primary,
.btn-outline-w,
.btn-white-solid,
.btn-maroon-lg,
.btn-outline-maroon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    min-height: 48px;
    line-height: 1.2;
}

/* ---------- Tablet (<= 900px) ---------- */
@media (max-width: 900px) {
    .hero-content {
        padding: 56px 32px 48px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero-stat-strip {
        padding: 20px 32px;
        gap: 16px;
    }

    .empathy,
    .expertise,
    .diagnostics,
    .treatments,
    .patient-story,
    .faq,
    .nerve-team {
        padding: 60px 32px;
    }
    .second-opinion,
    .bottom-cta {
        padding: 56px 32px;
    }

    .empathy-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .expertise-inner {
        gap: 32px;
    }

    /* Team grid: 4 across -> 2 across (overrides inline style) */
    .doc-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Treatment bars: no hover on touch, so always show the details */
    .treatment-bar {
        cursor: default;
    }
    .treatment-bar-body,
    .treatment-bar:hover .treatment-bar-body {
        max-height: none;
        padding: 20px 28px;
    }
    .treatment-bar-header .arrow {
        display: none;
    }

    .surgery-feature {
        grid-template-columns: 1fr;
    }
}

/* ---------- Phone (<= 640px) ---------- */
@media (max-width: 640px) {
    /* Hide the editor-only annotation labels */
    .annotation {
        display: none !important;
    }

    /* Section spacing */
    .empathy,
    .expertise,
    .diagnostics,
    .treatments,
    .patient-story,
    .faq,
    .nerve-team {
        padding: 44px 20px;
    }
    .second-opinion,
    .bottom-cta {
        padding: 44px 20px;
    }

    /* Headings */
    .empathy h2,
    .expertise h2,
    .faq h2,
    .nerve-team h2,
    .story-inner h2 {
        font-size: 26px;
    }
    .diagnostics h2,
    .treatments h2,
    .bottom-cta h2 {
        font-size: 28px;
    }
    .so-inner h3 {
        font-size: 24px;
    }
    .faq .sub,
    .diagnostics .sub,
    .treatments .sub {
        margin-bottom: 28px;
    }
    .nerve-team h2 {
        margin-bottom: 24px;
    }

    /* Inline nowrap on the expertise heading caused sideways scrolling */
    .expertise h2 span {
        white-space: normal !important;
    }

    /* ----- Hero ----- */
    .hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }
    .hero-content {
        padding: 44px 20px 32px;
    }
    .hero h1 {
        font-size: 32px;
        line-height: 1.12;
    }
    .hero-label {
        font-size: 11px;
    }
    .hero-accent,
    .hero-accent-2 {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons a {
        width: 100%;
    }

    /* Stat strip: leave the absolute position, become a 2x2 grid */
    .hero-stat-strip {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
        padding: 20px;
        align-items: start;
    }
    .hero-stat {
        gap: 10px;
        align-items: flex-start;
    }
    .hero-stat-avatar {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    .hero-stat-text .num {
        font-size: 22px;
    }
    .hero-stat-text .num[style] {
        font-size: 15px !important;
    }
    .hero-stat-text .lbl {
        font-size: 11px;
        line-height: 1.35;
        margin-top: 4px;
    }

    /* ----- Empathy ----- */
    .symptom-tag {
        padding: 8px 14px;
        font-size: 13px;
    }
    .empathy-visual {
        min-height: 0;
        padding: 0;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
    .empathy-visual iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

    /* ----- Expertise ----- */
    .expertise-photo {
        min-height: 0;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
    .expertise-photo iframe {
        min-height: 0 !important;
        width: 100%;
        height: 100%;
        border: 0;
    }
    .credential-cards {
        flex-direction: column;
    }
    .credential-card {
        min-width: 0;
    }
    .credential-info .title {
        font-size: 14px;
    }
    .credential-info .detail {
        font-size: 12px;
    }

    /* ----- Diagnostics ----- */
    .diag-card {
        padding: 22px 20px;
    }
    .diag-card h4 {
        font-size: 17px;
    }

    /* ----- Treatments ----- */
    .treatment-bar-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 18px 18px;
        align-items: flex-start;
        flex-direction: column;
    }
    .treatment-bar-header h3 {
        font-size: 18px;
        line-height: 1.3;
    }
    .treatment-bar-header .tag {
        font-size: 11px;
        padding: 6px 12px;
    }
    .treatment-bar-body,
    .treatment-bar:hover .treatment-bar-body {
        padding: 16px 18px 20px;
    }
    .treatment-bar-body a {
        padding: 6px 0;
    }

    /* ----- Patient story ----- */
    .story-quote {
        padding: 32px 20px 26px;
        border-radius: 12px;
    }
    .story-quote blockquote {
        font-size: 18px;
    }
    .story-quote .stars {
        font-size: 20px;
    }
    /* The two small testimonial cards (inline 2-col grid) -> stacked */
    .story-inner div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .story-inner iframe {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    /* ----- FAQ ----- */
    .faq-item h4 {
        font-size: 16px;
        padding: 18px 0;
        line-height: 1.35;
    }
    .faq-item .faq-answer {
        padding: 0 0 0 40px;
    }
    .faq-item.open .faq-answer {
        max-height: 600px;
        padding: 0 0 20px 40px;
    }

    /* ----- Nerve team ----- */
    .doc-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .doc-avatar {
        width: 76px;
        height: 76px;
        font-size: 22px;
    }
    .doc-card-top {
        padding: 22px 20px 0;
    }
    .doc-card-bio {
        padding: 14px 20px 24px;
    }

    /* ----- Second opinion + bottom CTA ----- */
    .so-inner .btn-white-solid {
        width: 100%;
    }
    .bottom-cta .buttons {
        flex-direction: column;
        gap: 10px;
    }
    .bottom-cta .buttons a {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}
