/* =============================================
   SHINE DENTAL - World-Class Mobile Experience
   Premium mobile UX for dental hospital website
   ============================================= */

/* ---- BASE MOBILE RESETS ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 48px 0;
        --safe-bottom: env(safe-area-inset-bottom, 0px);
    }

    html {
        scroll-padding-top: 70px;
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-size: 15px;
        line-height: 1.6;
        overscroll-behavior-y: none;
        touch-action: manipulation;
        -webkit-overflow-scrolling: touch;
    }

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

    /* Prevent horizontal scroll - only on body, NOT html (kills iOS scroll) */
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* ---- GPU ACCELERATION & SCROLL PERFORMANCE ---- */
    .navbar, .mobile-bottom-nav, .mobile-sticky-bar, .fab-container {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Momentum scroll containers */
    .nav-menu, .hero-stats, .filter-tabs, .testimonial-slider,
    .mobile-scroll-section, .gallery-page-grid {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    /* Prevent scroll hijacking on sections */
    section {
        will-change: auto;
    }

    /* ---- SMOOTH TOUCH INTERACTIONS ---- */
    .btn, .nav-link, .social-link, .treatment-card,
    .tech-card, .gallery-item, .review-card, .faq-item {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .btn:active, .nav-link:active, .social-link:active {
        transform: scale(0.97);
    }

    .treatment-card:active, .tech-card:active,
    .gallery-item:active, .review-card:active {
        transform: scale(0.98);
    }

    /* ---- MOBILE NAVIGATION ---- */
    .navbar {
        padding: 12px 16px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.92);
    }

    .nav-container {
        padding: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 32px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 2px;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 12px;
        color: var(--text-secondary);
    }

    .nav-link:hover, .nav-link.active {
        background: var(--blue-light);
        color: var(--blue-primary);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .nav-call {
        display: none;
    }

    .nav-appointment {
        display: none;
    }

    /* ---- MOBILE BOTTOM NAVIGATION BAR (APP-STYLE) ---- */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 6px 0 calc(6px + var(--safe-bottom));
        z-index: 990;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 6px 8px;
        border-radius: 12px;
        color: var(--text-muted);
        font-size: 0.625rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        text-decoration: none;
        transition: color 0.2s ease;
        min-width: 56px;
        position: relative;
    }

    .mobile-bottom-nav a svg,
    .mobile-bottom-nav a i {
        width: 22px;
        height: 22px;
        font-size: 1.25rem;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a:hover {
        color: var(--blue-primary);
    }

    .mobile-bottom-nav .nav-cta {
        position: relative;
        top: -16px;
        background: var(--blue-gradient);
        color: var(--white) !important;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(0, 102, 204, 0.4);
        min-width: unset;
        padding: 0;
        font-size: 0;
    }

    .mobile-bottom-nav .nav-cta svg,
    .mobile-bottom-nav .nav-cta i {
        width: 24px;
        height: 24px;
        fill: white;
        color: white;
    }

    .mobile-bottom-nav .nav-cta:active {
        transform: scale(0.92);
    }

    .mobile-bottom-nav .active-indicator {
        position: absolute;
        top: -1px;
        width: 20px;
        height: 3px;
        background: var(--blue-primary);
        border-radius: 0 0 3px 3px;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .mobile-bottom-nav a.active .active-indicator {
        opacity: 1;
    }

    /* Body padding for bottom nav */
    .mobile-bottom-nav + .fab-container {
        bottom: 80px;
    }

    body {
        padding-bottom: 72px;
    }

    /* ---- MOBILE HERO SECTION ---- */
    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
        text-align: center;
    }

    .hero-content {
        padding: 20px 0 0;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        padding: 24px;
        margin: 0 -4px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-badge {
        padding: 6px 16px;
        font-size: 0.75rem;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 0.9375rem;
        color: var(--text-secondary);
        line-height: 1.7;
        margin-bottom: 24px;
        max-width: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9375rem;
        border-radius: 14px;
    }

    /* Mobile Stats - Horizontal Scroll */
    .hero-stats {
        display: flex;
        gap: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -20px;
        padding: 0 20px;
    }

    .hero-stats::-webkit-scrollbar {
        display: none;
    }

    .hero-stat {
        flex: 0 0 auto;
        scroll-snap-align: center;
        background: var(--white);
        padding: 20px 24px;
        border-radius: 16px;
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(0, 0, 0, 0.04);
        min-width: 130px;
        text-align: center;
        margin-right: 12px;
    }

    .hero-stat:last-child {
        margin-right: 0;
    }

    .hero-stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-plus {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* ---- MOBILE BUTTONS ---- */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 28px;
        border-radius: 14px;
        font-size: 0.9375rem;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 48px;
        text-decoration: none;
    }

    .btn-primary {
        background: var(--blue-gradient);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

    .btn-primary:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    }

    .btn-outline {
        background: transparent;
        color: var(--blue-primary);
        border: 2px solid var(--blue-primary);
    }

    .btn-outline-white {
        background: transparent;
        color: var(--white);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .btn-green {
        background: var(--green-gradient);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .btn-sm {
        padding: 10px 20px;
        font-size: 0.8125rem;
        min-height: 40px;
    }

    /* ---- MOBILE SECTION HEADERS ---- */
    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.875rem;
        color: var(--text-muted);
        line-height: 1.6;
    }

    .section-badge {
        padding: 6px 14px;
        font-size: 0.6875rem;
    }

    /* ---- MOBILE TREATMENT CARDS ---- */
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .treatment-card {
        border-radius: 20px;
        overflow: hidden;
        background: var(--white);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(0, 0, 0, 0.04);
    }

    .treatment-card-image {
        height: 180px;
        overflow: hidden;
    }

    .treatment-card-content {
        padding: 20px;
    }

    .treatment-card h3 {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }

    .treatment-card p {
        font-size: 0.8125rem;
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 16px;
    }

    /* ---- MOBILE TECH CARDS ---- */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .tech-card {
        padding: 24px;
        border-radius: 20px;
    }

    /* ---- MOBILE STATS SECTION ---- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats-bg {
        padding: 32px 20px;
    }

    .stat-card {
        padding: 24px 16px;
        border-radius: 16px;
        text-align: center;
    }

    .stat-card-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
    }

    .stat-card-number {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .stat-card-label {
        font-size: 0.75rem;
    }

    /* ---- MOBILE GALLERY ---- */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .gallery-item {
        border-radius: 16px;
        overflow: hidden;
        height: 220px;
    }

    /* ---- MOBILE TESTIMONIALS ---- */
    .testimonial-slider {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .testimonial-card {
        min-width: 100%;
        padding: 24px;
        border-radius: 20px;
    }

    /* ---- MOBILE ABOUT SECTION ---- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .highlight-card {
        padding: 16px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .highlight-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    /* ---- MOBILE FORMS ---- */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .form-group label {
        font-size: 0.8125rem;
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
    }

    .form-control {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 12px;
        border: 2px solid var(--gray-200);
        background: var(--white);
        transition: border-color 0.2s ease;
        min-height: 48px;
    }

    .form-control:focus {
        border-color: var(--blue-primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }

    select.form-control {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
    }

    /* ---- MOBILE APPOINTMENT ---- */
    .appointment-form {
        padding: 20px;
    }

    .appt-info-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    /* ---- MOBILE FOOTER ---- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .footer-bottom {
        text-align: center;
        padding: 16px 0;
        font-size: 0.75rem;
    }

    /* ---- MOBILE FAB BUTTONS ---- */
    .fab-container {
        bottom: 88px;
        right: 16px;
        gap: 12px;
    }

    .fab {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .fab-whatsapp {
        width: 56px;
        height: 56px;
    }

    /* ---- MOBILE PAGE HERO ---- */
    .page-hero {
        padding: 100px 0 48px;
    }

    .page-hero .section-title {
        font-size: 1.75rem;
    }

    .page-hero .section-subtitle {
        font-size: 0.875rem;
    }

    /* ---- MOBILE EMERGENCY ---- */
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .emergency-card {
        padding: 20px;
    }

    .first-aid-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ---- MOBILE FAQ ---- */
    .faq-item {
        border-radius: 14px;
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 16px 48px 16px 20px;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 20px 16px;
        font-size: 0.875rem;
    }

    .faq-toggle {
        width: 32px;
        height: 32px;
    }

    /* ---- MOBILE REVIEWS ---- */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 20px;
        border-radius: 16px;
    }

    .review-summary-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    /* ---- MOBILE CTA SECTION ---- */
    .cta-card {
        padding: 24px;
        border-radius: 20px;
        margin: 0 20px;
    }

    .cta-actions {
        flex-direction: column;
    }

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

    /* ---- MOBILE CONTACT ---- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-card {
        padding: 20px;
    }

    /* ---- MOBILE TREATMENT DETAIL ---- */
    .treatment-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }

    .treatment-detail-content {
        padding: 20px;
    }

    /* ---- MOBILE ABOUT DETAIL ---- */
    .about-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-detail-card {
        padding: 24px;
    }

    .mission-cards {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .achievement-card {
        padding: 16px;
        text-align: center;
    }

    /* ---- MOBILE FILTER TABS ---- */
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 20px;
        margin-bottom: 24px;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        flex: 0 0 auto;
        padding: 10px 20px;
        border-radius: 50px;
        font-size: 0.8125rem;
        font-weight: 500;
        white-space: nowrap;
        min-height: 40px;
    }

    /* ---- MOBILE STICKY WHATSAPP BAR ---- */
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding: 10px 16px calc(10px + var(--safe-bottom));
        z-index: 989;
        gap: 10px;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
    }

    .mobile-sticky-bar .btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 0.8125rem;
        border-radius: 12px;
        min-height: 44px;
    }

    .mobile-sticky-bar .btn svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }

    /* ---- MOBILE HORIZONTAL SCROLL SECTIONS ---- */
    .mobile-scroll-section {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 0 20px;
        margin: 0 -20px;
        scrollbar-width: none;
    }

    .mobile-scroll-section::-webkit-scrollbar {
        display: none;
    }

    .mobile-scroll-section > * {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* ---- MOBILE ANIMATIONS ---- */
    .fade-in-up {
        animation: fadeInUpMobile 0.5s ease forwards;
    }

    @keyframes fadeInUpMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Stagger children animations */
    .stagger-children > * {
        opacity: 0;
        animation: fadeInUpMobile 0.4s ease forwards;
    }

    .stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
    .stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
    .stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
    .stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
    .stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
    .stagger-children > *:nth-child(6) { animation-delay: 0.3s; }

    /* ---- MOBILE LIGHTBOX ---- */
    .mobile-lightbox {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .mobile-lightbox.active {
        display: flex;
    }

    .mobile-lightbox img {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 12px;
        object-fit: contain;
    }

    .mobile-lightbox-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.25rem;
        border: none;
        cursor: pointer;
        backdrop-filter: blur(8px);
    }

    /* ---- MOBILE PULL INDICATOR ---- */
    .scroll-indicator-mobile {
        display: flex;
        justify-content: center;
        padding: 12px 0;
    }

    .scroll-indicator-mobile .dots {
        display: flex;
        gap: 6px;
    }

    .scroll-indicator-mobile .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gray-300);
        transition: all 0.3s ease;
    }

    .scroll-indicator-mobile .dot.active {
        width: 24px;
        border-radius: 4px;
        background: var(--blue-primary);
    }

    /* ---- MOBILE TOAST / NOTIFICATION ---- */
    .mobile-toast {
        position: fixed;
        bottom: 140px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background: var(--gray-800);
        color: var(--white);
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 0.8125rem;
        font-weight: 500;
        z-index: 9999;
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .mobile-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* ---- MOBILE MODAL / BOTTOM SHEET ---- */
    .mobile-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-bottom-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        border-radius: 24px 24px 0 0;
        padding: 8px 24px calc(24px + var(--safe-bottom));
        z-index: 9999;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 85vh;
        overflow-y: auto;
    }

    .mobile-bottom-sheet.active {
        transform: translateY(0);
    }

    .mobile-bottom-sheet .sheet-handle {
        width: 40px;
        height: 4px;
        background: var(--gray-300);
        border-radius: 2px;
        margin: 0 auto 16px;
    }

    /* ---- MOBILE IMAGE GALLERY GRID ---- */
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 20px;
    }

    .gallery-page-grid .gallery-page-item {
        border-radius: 14px;
        overflow: hidden;
        height: 160px;
    }

    /* ---- MOBILE LOADING SKELETON ---- */
    .skeleton {
        background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
        background-size: 200% 100%;
        animation: shimmer 1.5s infinite;
        border-radius: 8px;
    }

    @keyframes shimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }

    /* ---- MOBILE ACCESSIBILITY ---- */
    @media (prefers-reduced-motion: reduce) {
        .stagger-children > * {
            animation: none;
            opacity: 1;
        }

        .fade-in-up {
            animation: none;
        }
    }

    /* Dark mode support */
    @media (prefers-color-scheme: dark) {
        /* Keep light theme for dental website */
    }

    /* Landscape mode */
    @media (max-width: 768px) and (orientation: landscape) {
        .hero {
            min-height: auto;
            padding-top: 70px;
        }

        .hero-container {
            grid-template-columns: 1fr 1fr;
            text-align: left;
        }

        .hero-visual {
            order: 0;
        }

        .hero-actions {
            flex-direction: row;
        }

        .hero-stats {
            flex-wrap: nowrap;
        }
    }
}

/* ---- EXTRA SMALL SCREENS ---- */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .hero-actions .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .hero-stat {
        min-width: 110px;
        padding: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .mobile-bottom-nav a {
        min-width: 48px;
        padding: 6px 4px;
        font-size: 0.5625rem;
    }

    .mobile-bottom-nav .nav-cta {
        width: 50px;
        height: 50px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .treatment-card-content {
        padding: 16px;
    }
}

/* ---- TABLET LANDSCAPE ---- */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-bottom-nav,
    .mobile-sticky-bar {
        display: none;
    }
}

/* Desktop hide mobile-only elements */
@media (min-width: 769px) {
    .mobile-bottom-nav,
    .mobile-sticky-bar,
    .mobile-toast,
    .mobile-lightbox,
    .mobile-bottom-sheet,
    .mobile-modal-overlay {
        display: none !important;
    }
}
