@media (max-width: 1080px) {
    .desktop-nav {
        gap: 16px;
        font-size: 0.86rem;
    }

    .hero-grid,
    .protocol-grid,
    .about-grid,
    .patient-portal-grid,
    .faq-grid,
    .contact-grid {
        gap: 48px;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.82fr;
    }

    .hero-card {
        min-height: 500px;
    }

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

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

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

    .footer-column:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 74px;
    }

    .desktop-nav,
    .desktop-only {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .brand img {
        width: 160px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 72px);
    }

    .hero-grid,
    .protocol-grid,
    .about-grid,
    .patient-portal-grid,
    .faq-grid,
    .contact-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy .eyebrow {
        justify-content: center;
    }

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

    .hero-lead {
        margin-inline: auto;
    }

    .hero-card {
        width: min(100%, 620px);
        min-height: 520px;
        margin-inline: auto;
    }

    .trust-strip-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .protocol-visual,
    .portrait-placeholder {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .protocol-copy,
    .about-copy {
        max-width: 760px;
        margin-inline: auto;
    }

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

    .testimonial-card {
        min-height: auto;
    }

    .patient-portal-copy,
    .contact-copy {
        max-width: 720px;
    }

    .faq-grid .section-heading {
        margin-bottom: 0;
    }

    .map-placeholder,
    .location-card {
        min-height: 420px;
    }

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

    .footer-column:last-child {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    body {
        padding-bottom: 70px;
    }

    .section {
        padding: 78px 0;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    h1 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 3rem);
    }

    .hero {
        padding-top: calc(var(--header-height) + 46px);
    }

    .hero-card {
        min-height: 430px;
        padding: 18px;
        border-radius: 28px;
    }

    .hero-card-bottom {
        display: grid;
    }

    .hero-card-bottom span {
        max-width: none;
        text-align: left;
    }

    .hero-symbol {
        width: 110px;
        height: 110px;
        font-size: 1.8rem;
    }

    .orbit-one {
        width: 210px;
        height: 210px;
    }

    .orbit-two {
        width: 300px;
        height: 300px;
    }

    .hero-actions,
    .inline-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .inline-actions .btn {
        width: 100%;
    }

    .hero-trust {
        display: grid;
        gap: 8px;
    }

    .trust-strip {
        overflow: hidden;
    }

    .trust-strip-grid {
        display: flex;
        width: max-content;
        animation: trustTicker 25s linear infinite;
    }

    .trust-strip-grid span {
        padding-inline: 22px;
    }

    @keyframes trustTicker {
        to { transform: translateX(-45%); }
    }

    .needs-grid,
    .services-grid,
    .feature-list,
    .portal-features,
    .field-grid,
    .custom-options,
    .choice-grid,
    .service-modal-meta {
        grid-template-columns: 1fr;
    }

    .need-card {
        min-height: auto;
    }

    .protocol-visual {
        min-height: 440px;
        border-radius: 36% 64% 56% 44% / 46% 40% 60% 54%;
    }

    .protocol-time {
        width: 200px;
        height: 200px;
    }

    .protocol-time strong {
        font-size: 4.2rem;
    }

    .protocol-label {
        left: 20px;
        bottom: 20px;
    }

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

    .step-card {
        min-height: auto;
    }

    .step-card > span {
        margin-bottom: 28px;
    }

    .service-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .service-tab {
        flex: 0 0 auto;
    }

    .service-card p {
        min-height: auto;
    }

    .service-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .portrait-placeholder {
        min-height: 460px;
        border-radius: 110px 110px 26px 26px;
    }

    .location-card,
    .contact-form,
    .final-cta-card,
    .legal-container {
        padding: 28px;
    }

    .final-cta-card {
        display: grid;
    }

    .final-cta-actions {
        width: 100%;
    }

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

    .footer-bottom {
        display: grid;
    }

    .floating-whatsapp {
        display: none;
    }

    .mobile-action-bar {
        position: fixed;
        z-index: 1200;
        left: 0;
        right: 0;
        bottom: 0;
        height: 68px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--color-border);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -12px 30px rgba(29, 57, 49, 0.08);
        backdrop-filter: blur(14px);
    }

    .mobile-action-bar button,
    .mobile-action-bar a {
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        color: var(--color-primary-strong);
        background: transparent;
        cursor: pointer;
        font-size: 0.72rem;
        font-weight: 800;
    }

    .mobile-action-bar span {
        font-size: 1rem;
    }

    .back-to-top {
        right: 14px;
        bottom: 82px;
    }

    .modal {
        align-items: end;
        padding: 0;
    }

    .modal-panel {
        width: 100%;
        max-height: 88vh;
        padding: 28px 20px 22px;
        border-radius: 26px 26px 0 0;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }

    .toast-region {
        top: 82px;
        right: 14px;
        width: calc(100% - 28px);
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
