/* =============================================================================
   Maa Shatrupa Gau Sadan Shansher - Dedicated Mobile Stylesheet
   File: css/mobile.css
   Active for Viewports <= 1024px and <= 767px | Zero CSS Conflicts
   Mobile-First Polish: Compact, Devotional, Perfectly Balanced
============================================================================= */

@media (max-width: 1023px) {
    /* Hide desktop nav links, reveal mobile hamburger */
    .desktop-nav-links {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        background: #fffdf5;
        border: 1.5px solid var(--primary-light, #f59e0b);
        border-radius: 8px;
        padding: 9px;
        cursor: pointer;
        z-index: 1002;
        box-shadow: 0 2px 6px rgba(180, 83, 9, 0.08);
        transition: all 0.2s ease;
    }

    .mobile-menu-toggle:hover {
        background: #fef3c7;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 2.5px;
        background-color: var(--primary-dark, #78350f);
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* -----------------------------------------------------------------------------
   Mobile Drawer Navigation & Backdrop Overlay
----------------------------------------------------------------------------- */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #fffdf7;
    box-shadow: -10px 0 35px rgba(120, 53, 15, 0.25);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    visibility: hidden;
    pointer-events: none;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-drawer-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
}

.mobile-drawer-brand span {
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-heading, serif);
    color: var(--primary-dark, #78350f);
    line-height: 1.2;
}

.mobile-drawer-close {
    background: rgba(120, 53, 15, 0.08);
    border: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-dark, #78350f);
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-drawer-close:hover {
    background: rgba(120, 53, 15, 0.16);
}

.mobile-drawer-nav {
    padding: 8px 0;
    flex: 1;
}

.mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #292524;
    border-bottom: 1px solid #f5f5f4;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
    background: #fef3c7;
    color: var(--primary-saffron, #b45309);
    padding-left: 22px;
}

.mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #292524;
    background: none;
    border: none;
    border-bottom: 1px solid #f5f5f4;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-accordion-toggle:hover {
    background: #fef3c7;
    color: var(--primary-saffron, #b45309);
}

.mobile-accordion-icon {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-saffron, #b45309);
    transition: transform 0.2s ease;
}

.mobile-accordion-content {
    display: none;
    background: #fafaf9;
    padding: 4px 0 6px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-accordion-content.open {
    display: block;
}

.mobile-accordion-sublink {
    display: block;
    padding: 11px 16px;
    font-size: 0.86rem;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mobile-accordion-sublink:hover {
    color: var(--primary-saffron, #b45309);
}

.mobile-drawer-footer {
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #fde68a;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-drawer-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    font-size: 0.9rem;
    border-radius: var(--radius-full, 9999px);
}

/* -----------------------------------------------------------------------------
   Strict Mobile Viewports (<= 767px) - Core Mobile Polish
----------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Prevent any horizontal page overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .container {
        padding: 0 14px !important;
    }

    .section-padding {
        padding: 32px 0 !important;
    }

    /* Single Column Layouts on Mobile */
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* 1. Header and Announcement Bars Mobile Polish */
    .top-sacred-bar {
        padding: 5px 0 !important;
        font-size: 0.76rem !important;
        line-height: 1.3 !important;
    }

    .top-sacred-bar .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 10px !important;
    }

    .top-bar-emergency-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        font-size: 0.78rem !important;
        width: 100% !important;
    }

    .emergency-label-full {
        display: none !important;
    }

    .emergency-label-short {
        display: inline !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
    }

    .top-bar-phone-link {
        font-weight: 700 !important;
        white-space: nowrap !important;
        font-size: 0.78rem !important;
        color: #ffffff !important;
        text-decoration: underline !important;
    }

    .emergency-sos-badge {
        padding: 2px 7px !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
        gap: 3px !important;
        margin-left: 2px !important;
    }

    .gps-text-full {
        display: none !important;
    }

    .gps-text-short {
        display: inline !important;
    }

    .top-bar-marquee-wrap,
    .top-bar-trust-wrap {
        display: none !important;
    }

    /* Primary Site Header */
    .site-header {
        padding: 8px 0 !important;
    }

    .site-header .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    .brand-wrapper {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 8px !important;
    }

    .brand-logo-icon {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
    }

    .brand-titles {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .brand-titles h1 {
        font-size: 0.88rem !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        line-height: 1.15 !important;
        margin: 0 !important;
        color: var(--primary-dark) !important;
        font-family: var(--font-heading) !important;
        font-weight: 700 !important;
    }

    .brand-titles p {
        font-size: 0.62rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
        margin: 2px 0 0 0 !important;
        color: var(--text-muted) !important;
    }

    .mobile-menu-toggle {
        flex-shrink: 0 !important;
        width: 38px !important;
        height: 38px !important;
        padding: 7px !important;
    }

    /* Live Announcement Ticker */
    .live-ticker-wrap {
        padding: 6px 0 !important;
        font-size: 0.78rem !important;
        background: #fffbeb !important;
        border-bottom: 1px solid #fde68a !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .ticker-track {
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        animation: marquee 28s linear infinite !important;
    }

    .ticker-separator {
        margin: 0 10px !important;
    }

    /* 2. Mobile Hero Section */
    .hero-section {
        padding: 16px 0 24px 0 !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }

    .hero-eyebrow {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
        background: #fef3c7 !important;
        color: var(--primary-dark) !important;
        border: 1px solid #fde68a !important;
        border-radius: 9999px !important;
        max-width: 100% !important;
    }

    .hero-title, .hero-h1 {
        font-size: clamp(1.48rem, 6.2vw, 1.95rem) !important;
        line-height: 1.2 !important;
        font-family: var(--font-heading) !important;
        font-weight: 700 !important;
        color: var(--primary-dark) !important;
        margin-bottom: 8px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .hero-title-accent {
        color: var(--primary-saffron) !important;
    }

    .hero-subtitle {
        font-size: clamp(0.88rem, 3.6vw, 0.98rem) !important;
        line-height: 1.35 !important;
        color: var(--primary-dark) !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
        padding-left: 8px !important;
        border-left: 3px solid var(--primary-saffron) !important;
    }

    .hero-description {
        font-size: clamp(0.84rem, 3.4vw, 0.92rem) !important;
        line-height: 1.48 !important;
        color: var(--text-muted) !important;
        margin-bottom: 14px !important;
        max-width: 100% !important;
    }

    .hero-cta-group, .hero-buttons-wrap {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .hero-cta-group .btn-primary,
    .hero-buttons-wrap .btn-primary {
        width: 100% !important;
        min-height: 48px !important;
        font-size: 0.98rem !important;
        font-weight: 700 !important;
        justify-content: center !important;
        padding: 12px !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25) !important;
    }

    .hero-cta-group .hero-secondary-btn,
    .hero-buttons-wrap .hero-secondary-btn {
        width: 100% !important;
        min-height: 44px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        background: transparent !important;
        border: 1px solid #d97706 !important;
        color: var(--primary-dark) !important;
        border-radius: 10px !important;
        opacity: 0.95 !important;
        box-shadow: none !important;
    }

    /* 3. Balanced 2-Column Trust Indicators Grid */
    .hero-trust-strip {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 10px 0 6px 0 !important;
    }

    .trust-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.74rem !important;
        font-weight: 600 !important;
        padding: 6px 8px !important;
        background: #fffdf5 !important;
        border: 1px solid #fde68a !important;
        border-radius: 8px !important;
        color: var(--primary-dark) !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .trust-pill:nth-child(3) {
        grid-column: 1 / -1 !important; /* 3rd badge spans full width */
    }

    .hero-helpline-note {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
        font-size: 0.78rem !important;
        color: var(--text-muted) !important;
        text-align: center !important;
        width: 100% !important;
    }

    .hero-helpline-note a {
        color: #b91c1c !important;
        font-weight: 700 !important;
        text-decoration: underline !important;
    }

    /* 4. Hero Offering Card Mobile Polish */
    .hero-visual-card {
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #fde68a !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 18px rgba(180, 83, 9, 0.08) !important;
        margin-top: 0 !important;
    }

    .hero-media-showcase {
        position: relative !important;
        width: 100% !important;
        height: 180px !important;
        overflow: hidden !important;
    }

    .hero-media-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 30% !important;
        display: block !important;
    }

    .hero-media-badge {
        position: absolute !important;
        bottom: 6px !important;
        left: 6px !important;
        right: 6px !important;
        background: rgba(20, 15, 10, 0.78) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        color: #fef08a !important;
        font-size: 0.66rem !important;
        font-weight: 600 !important;
        padding: 3px 8px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        justify-content: center !important;
    }

    .hero-offering-box {
        padding: 12px 14px !important;
    }

    .offering-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 4px !important;
    }

    .offering-header .badge-tag {
        font-size: 0.7rem !important;
        padding: 2px 7px !important;
    }

    .offering-badge-tax {
        font-size: 0.7rem !important;
        color: #15803d !important;
        font-weight: 600 !important;
    }

    .hero-offering-box p {
        font-size: 0.8rem !important;
        color: var(--text-muted) !important;
        margin-bottom: 8px !important;
        line-height: 1.35 !important;
    }

    .hero-freq-selector {
        display: flex !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
        background: #fefce8 !important;
        padding: 3px !important;
        border-radius: 8px !important;
        border: 1px solid #fde68a !important;
    }

    .hero-freq-selector .freq-label {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        padding: 6px 4px !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        color: var(--text-dark) !important;
        transition: all 0.2s ease !important;
    }

    .hero-freq-selector .freq-label.active {
        background: #ffffff !important;
        color: var(--primary-saffron) !important;
        box-shadow: 0 1px 4px rgba(180, 83, 9, 0.15) !important;
    }

    .amount-chips {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .chip-btn {
        min-height: 44px !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        padding: 8px 6px !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        border: 1.5px solid #e7e5e4 !important;
        color: var(--text-dark) !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
    }

    .chip-btn.active {
        background: #fffbeb !important;
        border-color: var(--primary-saffron) !important;
        color: var(--primary-dark) !important;
        box-shadow: 0 0 0 1px var(--primary-saffron) inset !important;
    }

    .hero-input-group {
        margin-bottom: 10px !important;
    }

    .hero-input-group label {
        display: block !important;
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        margin-bottom: 3px !important;
    }

    .hero-input-group .form-control {
        width: 100% !important;
        height: 40px !important;
        font-size: 0.92rem !important;
        padding: 6px 10px !important;
        border-radius: 8px !important;
        border: 1px solid #d6d3d1 !important;
    }

    .hero-proceed-btn {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 0.94rem !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        padding: 10px !important;
    }

    /* 5. Glass Cards & Mobile Media Bleed */
    .glass-card {
        padding: 14px 16px !important;
        border-radius: 12px !important;
    }

    .card-media-wrapper {
        aspect-ratio: 16/9 !important;
        height: auto !important;
        max-height: 180px !important;
        margin: -14px -16px 12px -16px !important;
        width: calc(100% + 32px) !important;
        border-radius: 12px 12px 0 0 !important;
        overflow: hidden !important;
    }

    .card-media-wrapper img,
    .card-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* 6. Section Headings & Intro Typography on Mobile */
    .section-padding h2,
    section h2 {
        font-size: clamp(1.38rem, 5.4vw, 1.75rem) !important;
        line-height: 1.25 !important;
        margin: 8px 0 10px 0 !important;
    }

    .section-padding p {
        font-size: clamp(0.85rem, 3.4vw, 0.94rem) !important;
        line-height: 1.5 !important;
    }

    /* 7. Card Components & Buttons */
    .glass-card {
        padding: 14px 16px !important;
        border-radius: 12px !important;
    }

    .glass-card .btn {
        width: 100% !important;
        min-height: 42px !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }

    .package-price {
        font-size: 1.35rem !important;
        font-weight: 800 !important;
        color: var(--primary-saffron) !important;
        margin-bottom: 8px !important;
    }

    /* 8. Filter Buttons & Campaign Controls */
    .filter-buttons-container,
    .campaign-filter-wrap {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 4px 2px 8px 2px !important;
        gap: 6px !important;
        width: 100% !important;
        scrollbar-width: none !important;
    }

    .filter-buttons-container::-webkit-scrollbar,
    .campaign-filter-wrap::-webkit-scrollbar {
        display: none !important;
    }

    .filter-btn {
        white-space: nowrap !important;
        font-size: 0.78rem !important;
        padding: 7px 14px !important;
        min-height: 38px !important;
        flex-shrink: 0 !important;
        border-radius: 9999px !important;
    }

    .progress-container {
        height: 8px !important;
        margin-top: 10px !important;
        border-radius: 4px !important;
    }

    .glass-card .progress-container + .flex-between {
        font-size: 0.78rem !important;
        gap: 6px !important;
        margin-top: 6px !important;
    }

    /* Modal Dialog on Mobile */
    .modal-dialog {
        max-width: 95vw !important;
        margin: 10px auto !important;
        border-radius: 12px !important;
    }

    .modal-body {
        padding: 14px !important;
    }

    /* 9. Sticky Bottom Mobile Action Bar */
    .mobile-sticky-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
        display: flex !important;
        gap: 8px;
        z-index: 1000;
        border-top: 1px solid var(--border-light, #e7e5e4);
    }

    .mobile-sticky-action-bar .btn {
        flex: 1;
        min-height: 44px;
        font-size: 0.85rem;
        padding: 8px 10px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* 10. Footer Mobile Adjustments (2-Column Left/Right Balanced Grid) */
    .site-footer {
        padding: 26px 0 18px 0 !important;
        margin-top: 28px !important;
    }

    .site-footer .grid-4,
    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 14px !important;
        row-gap: 20px !important;
        align-items: stretch !important;
    }

    .site-footer .footer-col {
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .footer-col h4 {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
        padding-bottom: 5px !important;
        color: #fef08a !important;
        display: block !important;
        border-bottom: 1.5px solid var(--primary-saffron) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .footer-col p,
    .footer-desc {
        font-size: 0.74rem !important;
        line-height: 1.42 !important;
        margin-bottom: 10px !important;
        color: #d6d3d1 !important;
    }

    .footer-hotline {
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(153, 27, 27, 0.3)) !important;
        border: 1px solid rgba(251, 146, 60, 0.45) !important;
        border-left: 3px solid var(--primary-saffron) !important;
        border-radius: 8px !important;
        padding: 8px 9px !important;
        margin-bottom: 10px !important;
    }

    .footer-hotline-label {
        font-size: 0.66rem !important;
        font-weight: 700 !important;
        color: #fde68a !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

    .footer-phone-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        color: #ffffff !important;
        background: rgba(234, 88, 12, 0.35) !important;
        border: 1px solid rgba(251, 146, 60, 0.55) !important;
        border-radius: 6px !important;
        padding: 4px 6px !important;
        font-weight: 800 !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    .footer-links {
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
    }

    .footer-links li {
        margin-bottom: 5px !important;
        line-height: 1.32 !important;
    }

    .footer-links a {
        font-size: 0.75rem !important;
        line-height: 1.32 !important;
        display: inline-block !important;
        padding: 1px 0 !important;
        color: #e7e5e4 !important;
    }

    .footer-trust-box,
    .footer-address {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 9px 9px !important;
        font-size: 0.71rem !important;
        line-height: 1.42 !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(251, 191, 36, 0.3) !important;
        border-left: 3px solid #f59e0b !important;
        color: #f5f5f4 !important;
    }

    .footer-box-title {
        color: #fde68a !important;
        font-weight: 700 !important;
        font-size: 0.73rem !important;
        margin-bottom: 5px !important;
        line-height: 1.25 !important;
    }

    .footer-meta-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: baseline !important;
        gap: 4px !important;
        margin-bottom: 2px !important;
        font-size: 0.69rem !important;
    }

    .footer-address-text {
        color: #f5f5f4 !important;
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }

    .footer-pin-badge {
        color: #fde68a !important;
        font-weight: 700 !important;
        background: rgba(245, 158, 11, 0.18) !important;
        padding: 1px 4px !important;
        border-radius: 4px !important;
        font-size: 0.68rem !important;
    }

    .footer-email-wrap {
        margin-top: 6px !important;
        padding-top: 6px !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.18) !important;
    }

    .footer-email-label {
        color: #fde68a !important;
        font-weight: 700 !important;
        font-size: 0.69rem !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

    .footer-email-pill {
        display: block !important;
        text-align: center !important;
        color: #fff7ed !important;
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.32), rgba(217, 119, 6, 0.25)) !important;
        border: 1px solid rgba(251, 146, 60, 0.5) !important;
        border-radius: 6px !important;
        padding: 4px 4px !important;
        font-weight: 600 !important;
        font-size: clamp(0.58rem, 2.45vw, 0.67rem) !important;
        letter-spacing: -0.015em !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .footer-social-links {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .social-icon-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .social-icon-btn svg {
        width: 15px !important;
        height: 15px !important;
    }

    .footer-bottom {
        font-size: 0.72rem !important;
        padding-top: 14px !important;
        margin-top: 16px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }

    .zebsite-credit {
        margin: 10px auto 0 !important;
        padding: 5px 14px !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
        font-size: 0.74rem !important;
        color: #d6d3d1 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(251, 191, 36, 0.22) !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .zebsite-credit img {
        width: 88px !important;
        height: auto !important;
    }
}

/* -----------------------------------------------------------------------------
   Compact Mobile Viewports (<= 480px)
----------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .site-header {
        padding: 7px 0 !important;
    }

    .site-header .container {
        padding: 0 10px !important;
        gap: 6px !important;
    }

    .brand-logo-icon {
        width: 34px !important;
        height: 34px !important;
    }

    .brand-titles h1 {
        font-size: 0.84rem !important;
        line-height: 1.15 !important;
    }

    .brand-titles p {
        font-size: 0.6rem !important;
    }

    .hero-title, .hero-h1 {
        font-size: 1.7rem !important;
        line-height: 1.18 !important;
    }

    .hero-media-showcase {
        height: 175px !important;
    }

    .hero-subtitle {
        font-size: 0.92rem !important;
    }

    .hero-description {
        font-size: 0.88rem !important;
    }

    .top-sacred-bar {
        padding: 4px 0 !important;
    }

    .top-bar-emergency-wrap {
        font-size: 0.74rem !important;
    }

    .top-bar-phone-link {
        font-size: 0.74rem !important;
    }

    .emergency-sos-badge {
        font-size: 0.68rem !important;
        padding: 2px 6px !important;
    }
}

/* -----------------------------------------------------------------------------
   Small Mobile Viewports (<= 374px - Ultra-Compact Android, iPhone SE 1st gen)
----------------------------------------------------------------------------- */
@media (max-width: 374px) {
    .container {
        padding: 0 10px !important;
    }

    .site-header .container {
        padding: 0 6px !important;
        gap: 4px !important;
    }

    .brand-wrapper {
        gap: 6px !important;
    }

    .brand-logo-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .brand-titles h1 {
        font-size: 0.76rem !important;
        line-height: 1.12 !important;
    }

    .brand-titles p {
        display: none !important;
    }

    .mobile-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 7px !important;
        flex-shrink: 0 !important;
    }

    .hero-title, .hero-h1 {
        font-size: 1.42rem !important;
        line-height: 1.18 !important;
    }

    .hero-eyebrow {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
        gap: 4px !important;
    }

    .hero-media-showcase {
        height: 160px !important;
    }

    .hero-media-badge {
        font-size: 0.62rem !important;
        padding: 3px 6px !important;
    }

    .hero-offering-box {
        padding: 10px 12px !important;
    }

    .hero-freq-selector .freq-label {
        font-size: 0.76rem !important;
        padding: 5px 4px !important;
    }

    .top-bar-emergency-wrap {
        font-size: 0.68rem !important;
        gap: 3px !important;
    }

    .top-bar-phone-link {
        font-size: 0.68rem !important;
    }

    .emergency-sos-badge {
        font-size: 0.64rem !important;
        padding: 1px 5px !important;
    }

    .trust-pill {
        font-size: 0.7rem !important;
        padding: 5px 6px !important;
    }

    .trust-txt-full {
        display: none !important;
    }

    .trust-txt-short {
        display: inline !important;
    }

    .chip-btn {
        font-size: 0.85rem !important;
        min-height: 40px !important;
        padding: 6px 4px !important;
    }

    .filter-btn {
        font-size: 0.72rem !important;
        padding: 5px 8px !important;
    }

    .mobile-drawer {
        width: 270px !important;
        max-width: 90vw !important;
    }

    .hero-helpline-note {
        font-size: 0.72rem !important;
    }
}
