/* ==========================================================================
   Diagnocat — Landing Page Stylesheet
   Brand fonts: sirius (headings) / hauss (body) — self-hosted below
   Brand highlight: #5241cc   |   Body/heading text: #000000
   ========================================================================== */

/* ========== BRAND FONTS ========== */

@font-face {
    font-family: 'sirius';
    src: url('./fonts/sirius-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'sirius';
    src: url('./fonts/sirius-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'sirius';
    src: url('./fonts/sirius-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'sirius Fallback';
    src: local('Arial');
    ascent-override: 95.66%;
    descent-override: 28.33%;
    line-gap-override: 0.92%;
    size-adjust: 105.81%;
}

@font-face {
    font-family: 'hauss';
    src: url('./fonts/hauss-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'hauss';
    src: url('./fonts/hauss-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'hauss Fallback';
    src: local('Arial');
    ascent-override: 96.67%;
    descent-override: 24.66%;
    line-gap-override: 4.91%;
    size-adjust: 101.37%;
}

:root {
    /* Dark surfaces (kept under the original variable names so the rest of the
       stylesheet does not need to change) */
    --navy: #101021;
    --navy-dark: #08080F;

    /* Brand highlight */
    --teal: #5241cc;
    --teal-dark: #4234a8;
    --teal-light: #EEEBFC;

    /* Secondary accent — also brand purple */
    --gold: #5241cc;
    --gold-light: #F3F1FD;

    --white: #FFFFFF;
    --off-white: #F8F7FD;
    --light-gray: #F1F0F8;
    --border-gray: rgba(82, 65, 204, 0.16);

    --text-dark: #000000;
    --text-body: #46465A;
    --text-muted: #6E6E80;

    --font-heading: 'sirius', 'sirius Fallback', Arial, Helvetica, sans-serif;
    --font-body: 'hauss', 'hauss Fallback', Arial, Helvetica, sans-serif;

    --shadow-sm: 0 1px 3px rgba(16, 16, 33, 0.08);
    --shadow-md: 0 4px 12px rgba(16, 16, 33, 0.10);
    --shadow-lg: 0 8px 30px rgba(82, 65, 204, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

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

/* ========== BUTTONS ========== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--teal);
    border-radius: 50px;   /* matches the header CTA pills */
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--border-gray);
    border-radius: 50px;   /* matches the header CTA pills */
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.section-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-title span {
    color: var(--teal);
}

.section-padding {
    padding: 80px 0;
}

.section-intro {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-body);
    font-size: 17px;
    line-height: 1.7;
}

.section-intro--left {
    margin-left: 0;
    text-align: left;
}

.section-label--center,
.section-title--center {
    text-align: center;
}

/* ========== HEADER / NAVBAR ========== */

.site-header {
    background: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: var(--transition);
}

.header-phone:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

.header-phone svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.header-book {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.header-book:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    color: var(--white);
}

/* ===== HAMBURGER ===== */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    background: none;
    border: 2px solid var(--navy);
    border-radius: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE NAV OVERLAY ===== */

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(16, 16, 33, 0.96);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-nav-overlay.open {
    display: flex;
    opacity: 1;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    padding: 0 24px;
}

.mobile-nav-inner .header-phone,
.mobile-nav-inner .header-book {
    justify-content: center;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 50px;
    white-space: nowrap;
}

/* ========== HERO SECTION ========== */

.hero-section {
    background: linear-gradient(160deg, #FFFFFF 0%, #F3F1FD 55%, #EAE7FB 100%);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('./lp-images/diagnocat-hero-bot.png') right bottom/46% auto no-repeat;
    background-image: image-set(
        url('./lp-images/diagnocat-hero-bot.webp') type('image/webp'),
        url('./lp-images/diagnocat-hero-bot.png') type('image/png')
    );
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(to right, #FFFFFF 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-content .section-label {
    color: var(--teal);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--teal);
}

.hero-eyebrow-heading {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 20px;
    max-width: 620px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 600px;
}

.hero-subtitle + .hero-subtitle {
    margin-top: -20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    color: var(--text-dark);
    border-color: rgba(82, 65, 204, 0.35);
}

.hero-buttons .btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.hero-trust-badges {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
}

.hero-trust-badges .badge svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
}

/* ========== TRUST BAR ========== */

.trust-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-gray);
}

.trust-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-item {
    padding: 16px;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: var(--border-gray);
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-number--small {
    font-size: 28px;
    line-height: 1.2;
}

.trust-number .star {
    color: var(--teal);
}

.trust-label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== PAIN POINTS ========== */

.pain-points {
    background: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.pain-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pain-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pain-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Full-bleed band: sits outside .container so it spans the viewport, and the
   section's own bottom padding is removed so it meets the next section flush. */
.pain-cta-box {
    margin-top: 48px;
    background: var(--gold-light);
    padding: 56px 0;
    text-align: center;
}

.pain-points.section-padding {
    padding-bottom: 0;
}

.pain-cta-box h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.pain-cta-box p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== WHY CHOOSE US ========== */

.why-choose-us {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--teal);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

.features-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .features-grid--2x2 {
        grid-template-columns: 1fr;
    }
}

.feature-icon--img {
    background: none;
    width: 38px;          /* 40% smaller than the previous 64px */
    height: 38px;
    padding: 0;
    flex-shrink: 0;
}

.feature-icon--img img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

/* ========== HOW IT WORKS ========== */

.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.step-card {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    color: var(--white);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.step-card h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.step-number--time {
    width: auto;
    min-width: 78px;
    padding: 0 16px;
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: -0.5px;
}

.step-number--time span {
    font-size: 14px;
    font-weight: 400;
    margin-left: 3px;
}

/* ========== SURGEONS ========== */

.surgeons-section {
    background: var(--off-white);
}

.surgeons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.surgeon-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    padding: 36px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: var(--transition);
}

.surgeon-card:hover {
    box-shadow: var(--shadow-md);
}

.surgeon-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
    border: 3px solid var(--teal-light);
}

.surgeon-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.surgeon-info .surgeon-title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
    display: block;
}

.surgeon-info p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */

.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #F5A623;
    fill: #F5A623;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 8px;
}

.testimonial-text.expanded::-webkit-scrollbar {
    width: 5px;
}

.testimonial-text.expanded::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.testimonial-text.expanded::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 10px;
}

.read-more-toggle {
    background: none;
    border: none;
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    font-family: var(--font-body);
    text-align: left;
    display: block;
}

.read-more-toggle:hover {
    color: var(--teal-dark);
}

.testimonial-author {
    border-top: 1px solid var(--border-gray);
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-info h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========== FAQ ========== */

.faq-section {
    background: var(--off-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    align-items: start;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 22px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--teal);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--teal);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
}

.faq-answer-inner {
    padding: 0 28px 22px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ========== INSURANCE ========== */

.insurance-section {
    background: var(--white);
}

.insurance-box {
    background: var(--off-white);
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius-md);
    padding: 40px;
}

.insurance-box h3 {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.insurance-box > p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 28px;
}

.insurance-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.insurance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.insurance-badge svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
}

/* ========== LOCATIONS ========== */

.locations-section {
    background: var(--off-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}

.location-map {
    width: 100%;
    height: 300px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.location-card h3,
.location-card .location-address,
.location-card .location-hours,
.location-card .location-phone {
    margin-left: 36px;
    margin-right: 36px;
}

.location-card:hover {
    box-shadow: var(--shadow-md);
}

.location-card h3 {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-top: 24px;
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 10px;
    line-height: 1.5;
}

.location-address a {
    color: var(--text-body);
}

.location-address a:hover {
    color: var(--teal);
}

.location-address svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.location-hours svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    background: var(--teal);
    padding: 12px 20px;
    border-radius: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.location-phone:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.location-phone svg {
    flex-shrink: 0;
}

/* ========== PRICING HIGHLIGHT ========== */

.pricing-highlight {
    background: var(--gold-light);
}

.pricing-card {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}

.pricing-card h2 {
    font-size: 32px;
    color: var(--navy);
    margin: 10px 0 16px;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-includes {
    font-size: 18px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 12px;
}

.pricing-note {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 28px;
}

/* ========== FINAL CTA ========== */

.final-cta {
    background: var(--navy);
    padding: 70px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 16px;
}

.final-cta h2 span {
    color: var(--teal);
}

.final-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.final-cta-buttons .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.final-cta-buttons .btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.final-cta-benefits {
    list-style: none;
    max-width: 620px;
    margin: 0 auto 34px;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.final-cta-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.final-cta-benefits li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #A79BF0;
}

.final-cta .section-label {
    color: #A79BF0;
}

/* ========== FOOTER ========== */

.site-footer {
    background: var(--gold-light);
    padding: 24px 0;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 14px;
    color: var(--navy);
}

.footer-link {
    font-size: 14px;
    color: var(--navy);
}

.footer-link:hover {
    color: var(--teal);
}

/* ========== RESPONSIVE ========== */

@media only screen and (max-width: 1536px){
    .hero-section::before {
        background-size: 48% auto;
    }
}
@media only screen and (max-width: 1440px){
    .hero-section::before {
        background-size: 50% auto;
    }
}

@media only screen and (max-width: 1240px){
    .hero-section::before {
        background-size: 54% auto;
    }
}

@media (max-width: 1199px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 36px;
    }

    .hero-content h1 {
        font-size: 40px;
    }
     
    .hero-section::before {
        right: 0;
        bottom: 0;
        top: 0;
        left: 0;
        background-position: right center;
        background-size: 62% auto;
        opacity: 0.30;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .trust-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2)::after {
        display: none;
    }

    .surgeon-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .hero-section {
        padding: 50px 0 60px;
    }

    .hero-section::before {
        width: 100%;
        opacity: 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .trust-bar .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-item::after {
        display: none;
    }

    .trust-number {
        font-size: 36px;
    }

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

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

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }

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

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

    .final-cta h2 {
        font-size: 28px;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-buttons .btn-primary,
    .final-cta-buttons .btn-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .site-footer .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .pain-cta-box {
        padding: 28px 20px;
    }

    .pain-cta-box h3 {
        font-size: 24px;
    }

    .insurance-box {
        padding: 28px 20px;
    }

    .insurance-badges {
        flex-direction: column;
    }

    .insurance-badge {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding: 50px 0;
    }

    .trust-bar {
        padding: 30px 0;
    }

    .hero-section {
        padding: 40px 0 50px;
    }

    .final-cta {
        padding: 50px 0;
    }
    .faq-question {
        padding: 15px;
    }

    .trust-item:nth-child(odd)::after {
        display: block;
        height: 60px;
        background: var(--border-gray);
        width: 2px;
    }
    .location-card h3, .location-card .location-address, .location-card .location-hours, .location-card .location-phone {
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .trust-number {
        font-size: 30px;
    }

    .header-logo img {
        height: 40px;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-phone-number {
        display: none;
    }

    .surgeon-photo {
        width: 100px;
        height: 100px;
    }

    .step-card {
        padding: 28px 24px;
    }
}

@media (max-width: 375.98px) {
    .pain-cta-box .btn-primary {
        width: 100%;
    }
}

/* ==========================================================================
   DIAGNOCAT — ADDITIONAL COMPONENTS
   ========================================================================== */

/* ========== STATEMENT / NARRATIVE BAND ========== */

.statement-section {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.statement-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 65, 204, 0.55) 0%, rgba(82, 65, 204, 0) 70%);
    pointer-events: none;
}

.statement-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.statement-inner .section-label {
    color: #A79BF0;
}

.statement-inner h2 {
    font-size: 40px;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.statement-inner h2 span {
    color: #A79BF0;
}

.statement-inner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.statement-inner p.statement-emphasis {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    margin-top: 28px;
}

/* ========== CONNECTED RECORD ========== */

.record-section {
    background: var(--off-white);
}

.record-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
    color: var(--text-body);
    font-size: 17px;
    line-height: 1.7;
}

.record-box {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-md);
    max-width: 940px;
    margin: 0 auto;
}

.record-box > h3 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 28px;
    color: var(--text-dark);
}

.record-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 24px;
    list-style: none;
}

.record-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    background: var(--gold-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.record-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--teal);
    margin-top: 2px;
}

/* ========== DEMO FORM ========== */

.demo-section {
    background: linear-gradient(160deg, #FFFFFF 0%, #F3F1FD 100%);
    padding: 80px 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.demo-copy h2 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.demo-copy h2 span {
    color: var(--teal);
}

.demo-copy > p {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 28px;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.demo-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-dark);
}

.demo-benefits li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--teal);
    margin-top: 2px;
}

.demo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-visual img {
    width: 100%;
    max-width: 380px;
    height: auto;
}

.demo-copy-cta {
    margin-top: 30px;
}

.demo-form-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: 36px 34px;
    box-shadow: var(--shadow-lg);
}

.demo-form-card h3 {
    font-size: 24px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.demo-form-card .form-sub {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
}

.form-group label .req {
    color: var(--teal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--border-gray);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group textarea {
    min-height: 96px;
    resize: vertical;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235241cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(82, 65, 204, 0.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A0B0;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #D93025;
}

.form-error {
    display: none;
    font-size: 13px;
    font-weight: 500;
    color: #D93025;
    margin-top: 6px;
}

.form-group.has-error .form-error {
    display: block;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 22px;
}

.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--teal);
    cursor: pointer;
}

.form-consent label {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 400;
    cursor: pointer;
}

.form-consent a {
    color: var(--teal);
    text-decoration: underline;
}

.demo-form-card .btn-primary {
    width: 100%;
}

.demo-form-card .btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: var(--gold-light);
    color: var(--teal-dark);
    border: 1px solid var(--border-gray);
}

.form-status.is-error {
    background: #FDECEA;
    color: #B3261E;
    border: 1px solid rgba(217, 48, 37, 0.25);
}

/* ========== FOOTER TAGLINE ========== */

.site-footer .container {
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border-gray);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-top: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 10px;
}

.footer-contact-item:hover {
    color: var(--teal);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: var(--teal);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
}

.footer-address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--teal);
}

.site-footer {
    padding: 44px 0 26px;
}

.footer-copy {
    padding-top: 22px;
    text-align: center;
}

/* ========== RESPONSIVE — NEW COMPONENTS ========== */

@media (max-width: 1024px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .record-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .statement-inner h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .demo-section {
        padding: 60px 0;
    }

    .statement-section {
        padding: 60px 0;
    }

    .statement-inner h2 {
        font-size: 27px;
    }

    .statement-inner p {
        font-size: 16px;
    }

    .record-box {
        padding: 30px 22px;
    }

    .record-list {
        grid-template-columns: 1fr;
    }

    .demo-copy h2 {
        font-size: 28px;
    }

    .demo-form-card {
        padding: 28px 22px;
    }

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

    .hero-eyebrow-heading {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        text-align: left;
    }

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

    .footer-tagline {
        text-align: left;
    }
}

/* ==========================================================================
   SCROLL REVEAL + COUNT-UP
   Progressive enhancement: the `js-anim` class is only added by the inline
   head script when IntersectionObserver exists AND the visitor has not asked
   for reduced motion. Without it these rules never apply and everything
   renders normally, so there is no no-JS blank page.
   ========================================================================== */

/* Wrapped in :where() so the whole list weighs in at specificity (0,1,0).
   Without it, element-qualified entries like `.hero-content h1` score (0,2,1)
   and outrank the `.is-visible` reveal rule below — the elements would fade
   out and never come back. :where() also fails safe: a browser that doesn't
   understand it drops the rule entirely, leaving content visible. */
.js-anim :where(
    .section-label,
    .section-title,
    .hero-content h1,
    .hero-eyebrow-heading,
    .hero-subtitle,
    .hero-buttons,
    .hero-trust-badges,
    .trust-item,
    .pain-card,
    .pain-cta-box,
    .statement-inner h2,
    .statement-inner p,
    .feature-card,
    .step-card,
    .record-intro,
    .record-box,
    .insurance-box,
    .testimonial-card,
    .faq-item,
    .final-cta h2,
    .final-cta p,
    .final-cta-buttons,
    .demo-copy h2,
    .demo-copy > p,
    .demo-benefits li,
    .demo-form-card
) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* (0,2,0) — outranks the :where() block above for every target, whether or
   not the target's selector names an element. */
.js-anim .is-visible {
    opacity: 1;
    transform: none;
}

/* Stops the count-up from reflowing the row as digits change width. */
.trust-number {
    font-variant-numeric: tabular-nums;
}

/* Belt-and-braces: if a visitor turns reduced motion on after the page has
   loaded, drop the reveal transitions without touching any other animation
   (the hamburger and FAQ transforms must keep working). */
@media (prefers-reduced-motion: reduce) {
    .js-anim :where(
        .section-label,
        .section-title,
        .hero-content h1,
        .hero-eyebrow-heading,
        .hero-subtitle,
        .hero-buttons,
        .hero-trust-badges,
        .trust-item,
        .pain-card,
        .pain-cta-box,
        .statement-inner h2,
        .statement-inner p,
        .feature-card,
        .step-card,
        .record-intro,
        .record-box,
        .insurance-box,
        .testimonial-card,
        .faq-item,
        .final-cta h2,
        .final-cta p,
        .final-cta-buttons,
        .demo-copy h2,
        .demo-copy > p,
        .demo-benefits li,
        .demo-form-card
    ) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1024px) {
    .demo-visual {
        order: -1;
    }
    .demo-visual img {
        max-width: 280px;
    }
}
