/* ============================================================
   ASIBONGE FUNERAL PARLOR — MOBILE APP EXPERIENCE
   Applied ONLY on screens ≤ 768px. Zero desktop impact.
   ============================================================ */

/* ── Desktop Guard: hide all mobile-only UI on large screens ── */
.mobile-app-bar,
.mobile-fab,
.mobile-drawer-overlay,
.drawer-header,
.drawer-emergency-pill,
.drawer-section-label,
.drawer-footer {
    display: none;
}

@media screen and (max-width: 768px) {

    /* ========================================================
       1. APP SHELL: Base layout with safe areas for bottom bar
       ======================================================== */
    body {
        /* Reserve space for the always-visible bottom nav */
        padding-bottom: 80px;
        /* Smooth momentum scrolling on iOS */
        -webkit-overflow-scrolling: touch;
        /* Prevent horizontal scroll */
        overflow-x: hidden;
    }

    /* Global side padding for a spacious, premium feel on all sections */
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* ========================================================
       2. HEADER: Compact App-Style Top Bar
       ======================================================== */
    .top-bar {
        display: none !important; /* Remove gold info bar on mobile — it's in the drawer */
    }

    .main-header {
        position: sticky !important;
        top: 0 !important;
        background: rgba(26, 22, 18, 0.97) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(179, 128, 49, 0.2) !important;
        box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
        height: 60px;
        display: flex;
        align-items: center;
        z-index: 1000;
    }

    .main-header.scrolled {
        background: rgba(26, 22, 18, 0.98) !important;
        border-bottom: 1px solid rgba(179, 128, 49, 0.3) !important;
        position: sticky !important;
        top: 0 !important;
    }

    .header-content {
        height: 60px;
        padding: 0 1rem;
    }

    .logo-container {
        height: 48px !important;
    }

    /* Always show white logo on dark mobile header */
    .logo-white {
        opacity: 1 !important;
    }
    .logo-black {
        opacity: 0 !important;
    }
    .main-header.scrolled .logo-white {
        opacity: 1 !important;
    }
    .main-header.scrolled .logo-black {
        opacity: 0 !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(179, 128, 49, 0.12);
        border: 1px solid rgba(179, 128, 49, 0.25);
        color: var(--color-gold-sun) !important;
        transition: all 0.2s ease;
    }

    .mobile-toggle:active {
        background: rgba(179, 128, 49, 0.25);
        transform: scale(0.94);
    }

    /* ========================================================
       3. MOBILE DRAWER — Slides from the LEFT
       ======================================================== */

    /* Overlay backdrop */
    .mobile-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1998;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .mobile-drawer-overlay.active {
        display: block;
        opacity: 1;
    }

    /* The drawer panel itself */
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        left: -320px !important; /* Hidden off-screen left */
        bottom: 0 !important;
        width: 300px !important;
        background: #0F0C09 !important;
        padding: 0 !important;
        gap: 0 !important;
        border: none !important;
        border-right: 1px solid rgba(179, 128, 49, 0.15) !important;
        box-shadow: 6px 0 40px rgba(0, 0, 0, 0.5) !important;
        z-index: 1999 !important;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-links.active {
        left: 0 !important;
    }

    /* Drawer Header: Logo + Close Button */
    .nav-links::before {
        content: '';
        display: block;
        height: 1px;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.25rem 1rem;
        border-bottom: 1px solid rgba(179, 128, 49, 0.15);
        background: rgba(179, 128, 49, 0.04);
        flex-shrink: 0;
    }

    .drawer-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .drawer-emergency-pill {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(179, 128, 49, 0.12);
        border: 1px solid rgba(179, 128, 49, 0.3);
        border-radius: 25px;
        padding: 0.6rem 1.25rem;
        margin: 1rem 1.25rem;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--color-gold-sun);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .drawer-emergency-pill svg {
        color: var(--color-gold-sun);
        flex-shrink: 0;
    }

    .drawer-section-label {
        font-size: 0.62rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.25);
        padding: 1rem 1.25rem 0.25rem;
    }

    /* Nav Items in Drawer */
    .nav-links > a,
    .nav-item > .nav-link {
        display: flex !important;
        align-items: center !important;
        padding: 0.95rem 1.25rem !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: #D0C8BE !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        transition: all 0.2s ease !important;
        border-radius: 0 !important;
        gap: 0.75rem;
        text-decoration: none;
    }

    .nav-links > a:hover,
    .nav-item > .nav-link:hover {
        color: var(--color-gold-sun) !important;
        background: rgba(179, 128, 49, 0.06) !important;
    }

    .nav-links > a.active,
    .nav-link.active {
        color: var(--color-gold-sun) !important;
        background: rgba(179, 128, 49, 0.1) !important;
        border-left: 3px solid var(--color-gold-sig) !important;
    }

    /* Nav icon dots */
    .nav-link-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(179, 128, 49, 0.4);
        flex-shrink: 0;
    }

    /* Submenus in drawer */
    .nav-item {
        width: 100% !important;
    }

    .dropdown-menu,
    .mega-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255,255,255,0.02) !important;
        border: none !important;
        border-left: 2px solid rgba(179, 128, 49, 0.15) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0.25rem 0 0.25rem 1.5rem !important;
        margin-left: 1.25rem;
        width: auto !important;
    }

    .dropdown-menu a,
    .mega-col a {
        padding: 0.65rem 0 !important;
        font-size: 0.88rem !important;
        color: rgba(200, 192, 178, 0.7) !important;
        border: none !important;
        display: block !important;
        font-weight: 400 !important;
    }

    .dropdown-menu a:hover,
    .mega-col a:hover {
        color: var(--color-gold-sun) !important;
    }

    .mega-col h4 { display: none !important; }
    .mega-grid { display: block !important; }
    .chevron { display: none !important; }

    /* Drawer Footer */
    .drawer-footer {
        margin-top: auto;
        padding: 1.25rem;
        border-top: 1px solid rgba(179, 128, 49, 0.15);
        background: rgba(179, 128, 49, 0.03);
    }

    .drawer-footer-address {
        font-size: 0.75rem;
        color: rgba(200, 192, 178, 0.4);
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .drawer-social-row {
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .drawer-social-row a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        color: #aaa !important;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .drawer-social-row a:hover {
        background: var(--color-gold-sig);
        border-color: var(--color-gold-sig);
        color: #fff !important;
    }

    /* ========================================================
       4. BOTTOM NAVIGATION BAR — Always Visible App-Style
       ======================================================== */
    .mobile-app-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1990;
        background: rgba(10, 8, 5, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(179, 128, 49, 0.2);
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    }

    .app-bar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 0.25rem;
        gap: 4px;
        text-decoration: none;
        color: rgba(200, 192, 178, 0.5);
        transition: all 0.2s ease;
        cursor: pointer;
        border: none;
        background: none;
        font-family: var(--font-app);
        min-height: 60px;
        position: relative;
    }

    .app-bar-item:active {
        transform: scale(0.9);
    }

    .app-bar-item.active {
        color: var(--color-gold-sun);
    }

    .app-bar-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 2px;
        background: var(--color-gold-sig);
        border-radius: 0 0 2px 2px;
    }

    .app-bar-icon {
        width: 22px;
        height: 22px;
    }

    .app-bar-label {
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    /* Call button — urgent gold highlight */
    .app-bar-item.app-call {
        color: #fff;
        background: linear-gradient(135deg, #8B5E1A 0%, #B38031 100%);
        margin: 6px 8px 6px 4px;
        border-radius: 12px;
        min-height: 48px;
        flex: 1.3;
        box-shadow: 0 4px 16px rgba(179, 128, 49, 0.35);
    }

    .app-bar-item.app-call:active {
        transform: scale(0.94);
    }

    /* ========================================================
       5. FLOATING ACTION BUTTON — Enroll / Register
       ======================================================== */
    .mobile-fab {
        display: flex;
        position: fixed;
        bottom: 76px; /* Sits above the bottom nav bar */
        right: 18px;
        z-index: 1985;
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: linear-gradient(135deg, #8B5E1A 0%, #C9922A 50%, #B38031 100%);
        box-shadow: 0 6px 24px rgba(179, 128, 49, 0.45), 0 2px 8px rgba(0,0,0,0.3);
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        color: #fff;
        font-family: var(--font-app);
        transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        flex-direction: column;
        gap: 2px;
        text-decoration: none;
    }

    .mobile-fab:active {
        transform: scale(0.88);
        box-shadow: 0 2px 10px rgba(179, 128, 49, 0.3);
    }

    .mobile-fab-icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .mobile-fab-label {
        font-size: 0.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        line-height: 1;
    }

    /* Pulse animation on FAB to draw attention */
    @keyframes fab-pulse {
        0%, 100% { box-shadow: 0 6px 24px rgba(179, 128, 49, 0.45), 0 2px 8px rgba(0,0,0,0.3); }
        50% { box-shadow: 0 6px 24px rgba(179, 128, 49, 0.7), 0 0 0 10px rgba(179, 128, 49, 0.08); }
    }

    .mobile-fab {
        animation: fab-pulse 3s ease-in-out infinite;
    }

    /* ========================================================
       6. HERO SECTION — Full-Screen App Splash
       ======================================================== */
    .hero {
        min-height: 100svh !important;
        padding: 80px 0 100px !important;
        display: flex;
        align-items: center;
    }

    /* Generous side padding for a premium, airy look */
    .hero .container {
        padding-left: 1.75rem !important;
        padding-right: 1.75rem !important;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        text-align: left !important;
    }

    .hero-left { order: 1; }

    .hero-eyebrow {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: clamp(1.55rem, 6.5vw, 2rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.82rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.75rem;
        opacity: 0.7;
    }

    .hero-cta-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.6rem !important;
        flex-wrap: nowrap !important;
        align-items: center;
    }

    /* Primary button — compact and refined */
    .hero-cta-row .btn-primary {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        letter-spacing: 0.05em !important;
        box-shadow: 0 3px 12px rgba(100, 60, 10, 0.3) !important;
        white-space: nowrap;
    }

    /* Outline button — ghost/light style */
    .hero-cta-row .btn-outline {
        padding: 0.6rem 1.1rem !important;
        font-size: 0.72rem !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        background: transparent !important;
        color: rgba(255,255,255,0.85) !important;
        white-space: nowrap;
    }

    /* Hide the Asibonge Promise box entirely on mobile */
    .hero-right {
        display: none !important;
    }


    /* ========================================================
       7. QUICK LINKS — 2-col app-style icon grid
       ======================================================== */
    .quick-links {
        padding: 2rem 0 !important;
        background: #fff;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .link-card {
        padding: 1.25rem 1rem !important;
        border-radius: 12px !important;
        text-align: center;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    }

    .link-card .icon-wrap {
        margin-bottom: 0.75rem;
    }

    .link-card h3 {
        font-size: 0.88rem !important;
        margin-bottom: 0.3rem;
    }

    .link-card p {
        font-size: 0.75rem !important;
        line-height: 1.5;
    }

    /* ========================================================
       8. SERVICES BENTO GRID — Vertical Clean Cards
       ======================================================== */
    .services-bento {
        padding: 2.5rem 0 3rem !important;
    }

    .services-bento-header {
        margin-bottom: 1.5rem !important;
        text-align: left;
    }

    .bento-eyebrow {
        font-size: 0.65rem;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 0.75rem !important;
    }

    .bento-image {
        height: 200px !important;
        border-radius: 12px !important;
    }

    .bento-tall {
        grid-row: auto !important;
        height: 200px;
    }

    .bento-text {
        padding: 1.25rem !important;
        border-radius: 12px !important;
        gap: 0.5rem !important;
    }

    .bento-text h3 {
        font-size: 1rem !important;
    }

    .bento-cta {
        grid-column: 1 !important;
        padding: 1.5rem 1.25rem !important;
        border-radius: 12px !important;
        gap: 0.5rem !important;
    }

    .bento-cta h3 {
        font-size: 1.05rem !important;
        max-width: 100% !important;
    }

    .bento-cta p {
        max-width: 100% !important;
        font-size: 0.85rem !important;
    }

    /* ========================================================
       9. BURIAL PLANS — App-style scrollable tier cards
       ======================================================== */
    .plans-section {
        padding: 2.5rem 0 3rem !important;
    }

    .plans-section .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
        text-align: left !important;
    }

    .section-sub {
        text-align: left !important;
        font-size: 0.85rem !important;
        margin-bottom: 1.5rem !important;
    }

    .plans-grid {
        grid-template-columns: 1fr !important;
        gap: 0.875rem !important;
        margin-bottom: 2rem !important;
    }

    .plan-card {
        border-radius: 14px !important;
        overflow: hidden;
    }

    .plan-header {
        padding: 1.5rem 1.25rem 1.25rem !important;
    }

    .plan-card h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .plan-card .price,
    .plan-card .price .p-amount {
        font-size: 2rem !important;
    }

    .per-month-pill {
        font-size: 0.58rem !important;
        margin-top: 0.5rem !important;
    }

    .plan-benefits li {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .plan-footer {
        padding: 0.75rem 1rem 1rem !important;
    }

    .btn-plan {
        padding: 0.8rem 1rem !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
    }

    .plans-inclusive {
        border-radius: 12px !important;
        padding: 1.25rem !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: flex-start !important;
    }

    .plans-inclusive .tags {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .plans-inclusive .tags span {
        display: block !important;
        font-size: 0.8rem !important;
    }

    /* ========================================================
       10. CTA BANNER — Full-width mobile call-to-action
       ======================================================== */
    .cta-banner {
        padding: 2rem 0 !important;
    }

    .cta-banner-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.25rem !important;
    }

    .cta-banner-text h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.3rem !important;
    }

    .cta-banner-text p {
        font-size: 0.85rem !important;
    }

    .cta-banner-actions {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 0.6rem !important;
        width: 100% !important;
    }

    .cta-banner-actions .btn {
        width: 100% !important;
        text-align: center !important;
        border-radius: 10px !important;
        padding: 0.9rem 1rem !important;
    }

    /* ========================================================
       11. WHY CHOOSE US — Compact horizontal-scroll cards
       ======================================================== */
    .why-us-section {
        padding: 2.5rem 0 3rem !important;
    }

    .why-intro {
        margin-bottom: 1.5rem !important;
        text-align: left !important;
    }

    .why-intro .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.3rem !important;
    }

    .why-sub {
        font-size: 0.85rem !important;
    }

    .why-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .why-card {
        border-radius: 12px !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }

    .why-card-header {
        background-color: #F8F8F8 !important;
        padding: 1.1rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 90px;
        border-bottom: none !important;
        border-right: 1px solid #F0F0F0;
    }

    .why-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.5rem !important;
    }

    .why-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .why-card h3 {
        font-size: 0.82rem !important;
        text-align: center;
    }

    .why-card .why-content {
        padding: 1rem !important;
        display: flex;
        align-items: center;
    }

    .why-card p {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
    }

    /* ========================================================
       12. FEATURED TOMBSTONE SECTION
       ======================================================== */
    .shop-feature-section {
        padding: 2.5rem 0 3rem !important;
    }

    .shop-feature-layout {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: left !important;
    }

    .shop-feature-img-wrap {
        border-radius: 14px !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
    }

    .shop-feature-content .section-title {
        font-size: 1.4rem !important;
    }

    .featured-desc {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
        margin-bottom: 1.25rem !important;
    }

    .featured-specs {
        gap: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }

    .spec-item {
        font-size: 0.88rem !important;
        gap: 0.6rem !important;
    }

    .shop-cta-wrap {
        margin-top: 1.5rem !important;
    }

    .shop-cta-wrap .btn {
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }

    /* ========================================================
       13. BRAND DIVIDERS — Thinner on mobile
       ======================================================== */
    .brand-divider {
        height: 32px !important;
        margin: 2.5rem 0 !important;
    }

    /* ========================================================
       14. SECTION TITLE — Global mobile sizing
       ======================================================== */
    .section-title {
        font-size: 1.45rem !important;
        margin-bottom: 1rem !important;
    }

    /* ========================================================
       15. CONTACT / SUBPAGE INFO — Clean list view
       ======================================================== */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .contact-info .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.25rem !important;
    }

    .contact-detail {
        font-size: 0.88rem !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .contact-cta {
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }

    /* ========================================================
       16. PAGE HERO (Subpages) — Mobile-friendly
       ======================================================== */
    .page-hero {
        margin-top: 0 !important;
        min-height: 200px !important;
        height: auto !important;
        padding: 2.5rem 0 !important;
    }

    .page-hero-bg {
        width: 100% !important;
        opacity: 0.2 !important;
        clip-path: none !important;
    }

    .page-hero-ribbon-gold,
    .page-hero-ribbon-dark {
        display: none !important;
    }

    .page-hero-text {
        align-items: flex-start !important;
        text-align: left !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .page-hero h1 {
        font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    }

    /* ========================================================
       17. FOOTER — Simplified single column on mobile
       ======================================================== */
    .main-footer {
        padding: 2.5rem 0 2rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .footer-logo {
        height: 48px !important;
    }

    /* Light, simple, modern footer nav links */
    .footer-nav h4 {
        font-size: 0.65rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.14em !important;
        color: rgba(200, 192, 178, 0.4) !important;
        margin-bottom: 0.6rem !important;
    }

    .footer-nav a {
        font-size: 0.85rem !important;
        font-weight: 300 !important;
        color: rgba(200, 192, 178, 0.55) !important;
        padding: 0.25rem 0 !important;
        letter-spacing: 0.01em !important;
        transition: color 0.2s ease !important;
        display: block !important;
    }

    .footer-nav a:hover {
        color: var(--color-gold-sun) !important;
        transform: none !important;
    }

    /* Footer contact links — same light treatment */
    .footer-contact h4 {
        font-size: 0.65rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.14em !important;
        color: rgba(200, 192, 178, 0.4) !important;
        margin-bottom: 0.6rem !important;
    }

    .footer-contact p,
    .footer-contact a {
        font-size: 0.85rem !important;
        font-weight: 300 !important;
        color: rgba(200, 192, 178, 0.55) !important;
        line-height: 1.7 !important;
    }

    .footer-contact a:hover {
        color: var(--color-gold-sun) !important;
    }

    /* Footer SEO block — subtle */
    .footer-seo h4 {
        font-size: 0.65rem !important;
        font-weight: 500 !important;
        color: rgba(200, 192, 178, 0.4) !important;
        letter-spacing: 0.14em !important;
    }

    .footer-seo p {
        font-size: 0.78rem !important;
        font-weight: 300 !important;
        color: rgba(200, 192, 178, 0.35) !important;
        line-height: 1.65 !important;
    }

    /* Slogan */
    .slogan {
        font-size: 0.8rem !important;
        font-weight: 300 !important;
        color: rgba(223, 177, 99, 0.6) !important;
    }

    .footer-bottom {
        padding: 1.5rem 0 1rem !important;
    }

    .footer-legal {
        flex-direction: column !important;
        gap: 0.5rem !important;
        font-size: 0.72rem !important;
        color: rgba(200, 192, 178, 0.3) !important;
    }

    .footer-legal a {
        color: rgba(200, 192, 178, 0.35) !important;
        font-weight: 300 !important;
    }

    .footer-legal .sep { display: none !important; }

    /* ========================================================
       18. MODAL — Full-screen sheet on mobile
       ======================================================== */
    .modal-content {
        border-radius: 20px 20px 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: fixed !important;
        bottom: 80px !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 85svh !important;
        overflow-y: auto !important;
        transform: translateY(100%) !important;
    }

    .modal-overlay.active .modal-content {
        transform: translateY(0) !important;
    }

    .modal-overlay {
        align-items: flex-end !important;
    }

    .modal-content .enroll-form-top {
        padding: 1.5rem 1.5rem 1rem !important;
    }

    .modal-content .enroll-form-body {
        padding: 1.25rem 1.5rem !important;
    }

    .modal-content .enroll-form-foot {
        padding: 1rem 1.5rem 1.5rem !important;
    }

    /* ========================================================
       19. ENROLLMENT SECTION FULL-PAGE
       ======================================================== */
    .enroll-section-v2 {
        padding: 2.5rem 0 3rem !important;
    }

    .enroll-inner {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .enroll-left h2 {
        font-size: 1.7rem !important;
    }

    .enroll-form-card {
        border-radius: 16px !important;
    }

    .enroll-form-top {
        padding: 1.5rem !important;
    }

    .enroll-form-body {
        padding: 1.5rem !important;
    }

    .enroll-form-foot {
        padding: 1rem 1.5rem 1.5rem !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .ef-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* ========================================================
       20. GENERAL INTERACTIVE IMPROVEMENTS
       ======================================================== */

    /* Better tap targets */
    .btn {
        min-height: 44px !important;
        touch-action: manipulation;
    }

    a, button {
        touch-action: manipulation;
    }

    /* Remove hover transform on mobile (no hover on touch) */
    .link-card:hover,
    .plan-card:hover,
    .why-card:hover,
    .bento-card:hover {
        transform: none !important;
    }

    /* Scrollbars hidden for cleaner look */
    ::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    /* Smooth transitions for interactive elements */
    .btn:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s ease !important;
    }

    /* Legacy/About page sections */
    .legacy-inner {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .legacy-image {
        height: 240px !important;
        border-radius: 14px !important;
    }

    .legacy-image::after,
    .legacy-image::before {
        display: none !important;
    }

    .legacy-section {
        padding: 2.5rem 0 3rem !important;
    }

    /* Comparison Table */
    .comparison-section {
        padding: 2.5rem 0 3rem !important;
    }

    .comparison-container {
        border-radius: 12px !important;
    }

    /* Subpage body padding override */
    body.subpage {
        padding-bottom: 80px;
    }
}

/* ============================================================
   EXTRA SMALL SCREENS (≤ 400px)
   ============================================================ */
@media screen and (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem !important;
    }

    .hero-cta-row {
        grid-template-columns: 1fr !important;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .link-card {
        padding: 1rem 0.75rem !important;
    }

    .link-card h3 {
        font-size: 0.8rem !important;
    }

    .link-card p {
        display: none; /* Hide description on very small screens */
    }

    .app-bar-label {
        font-size: 0.55rem !important;
    }
}
