/*
 * UrbanPro — mobile.css
 * UrbanClap-style mobile-first overrides
 * Loaded on all screens, but primarily targets ≤768px
 *
 * Sections:
 *  1. Mobile CSS Variables
 *  2. Mobile Header — App-style top bar
 *  3. Bottom Navigation Bar (UrbanClap style)
 *  4. Mobile Hero — Compact search
 *  5. Category Pills / Horizontal Scroll Row
 *  6. Service Cards — Full-width mobile cards
 *  7. Featured Banners (Promo Carousel)
 *  8. Booking CTA Strip
 *  9. Mobile Footer (minimal)
 *  10. Utility / Animation
 *  11. Safe Area (notch) support
 */


/* =============================================================================
   1. MOBILE CSS VARIABLES
   ============================================================================= */
:root {
    --mob-nav-height: 64px;
    --mob-header-height: 56px;
    --mob-radius: 16px;
    --mob-card-radius: 14px;
    --mob-shadow: 0 2px 12px rgba(0,0,0,.08);
    --mob-shadow-card: 0 4px 20px rgba(0,0,0,.10);
    --mob-primary: #1D4ED8;
    --mob-accent: #F59E0B;
    --mob-green: #16A34A;
    --mob-bg: #F5F7FA;
    --mob-white: #FFFFFF;
    --mob-border: #E8ECF0;
    --mob-text: #1A1D23;
    --mob-muted: #64748B;
    --mob-pill-bg: #EFF6FF;
    --mob-pill-active: #1D4ED8;
    --bottom-nav-bg: #FFFFFF;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
}


/* =============================================================================
   2. MOBILE HEADER — App-style sticky top bar
   ============================================================================= */
@media (max-width: 768px) {

    /* Override default sticky header */
    .site-header {
        height: var(--mob-header-height);
        background: var(--mob-primary);
        border-bottom: none;
        box-shadow: none;
        padding-top: var(--safe-top);
    }

    .site-header.scrolled {
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
    }

    .header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    /* Logo — white on colored header */
    .site-logo .logo-text {
        color: #FFFFFF;
        font-size: 1.2rem;
    }
    .site-logo .logo-text span {
        color: var(--mob-accent);
    }
    .site-logo img {
        filter: brightness(0) invert(1);
        height: 28px;
    }

    /* Hide desktop nav completely */
    .main-nav { display: none !important; }
    .menu-toggle { display: none !important; }

    /* Location selector in header */
    .header-location-pill {
        display: flex;
        align-items: center;
        gap: 4px;
        background: rgba(255,255,255,.15);
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 20px;
        padding: 4px 10px;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 500;
        cursor: pointer;
        white-space: nowrap;
    }
    .header-location-pill .loc-icon { font-size: 0.8rem; }
    .header-location-pill .loc-chevron { font-size: 0.6rem; opacity: .7; }

    /* Header actions — white icons */
    .header-actions {
        gap: 8px;
    }
    .header-actions .btn-ghost {
        background: rgba(255,255,255,.15);
        border-color: rgba(255,255,255,.25);
        color: #fff;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .header-actions .btn-primary {
        background: #fff;
        border-color: #fff;
        color: var(--mob-primary);
        padding: 6px 14px;
        font-size: 0.75rem;
        font-weight: 700;
    }
    .header-actions .btn-primary:hover {
        background: #f0f0f0;
        transform: none;
        box-shadow: none;
    }

    /* Notification bell icon */
    .header-notif-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,.15);
        border: none;
        color: #fff;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        flex-shrink: 0;
    }
    .header-notif-btn .notif-dot {
        position: absolute;
        top: 6px; right: 6px;
        width: 8px; height: 8px;
        background: var(--mob-accent);
        border-radius: 50%;
        border: 2px solid var(--mob-primary);
    }
}


/* =============================================================================
   3. BOTTOM NAVIGATION BAR (UrbanClap / Urban Company style)
   ============================================================================= */

/* The bottom nav is injected via mobile.js — styles here */
.mobile-bottom-nav {
    display: none; /* shown only on mobile via JS */
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: var(--bottom-nav-bg);
        border-top: 1px solid var(--mob-border);
        height: calc(var(--mob-nav-height) + var(--safe-bottom));
        padding-bottom: var(--safe-bottom);
        box-shadow: 0 -4px 20px rgba(0,0,0,.10);
        align-items: stretch;
        justify-content: space-around;
    }

    .mob-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        cursor: pointer;
        text-decoration: none;
        color: var(--mob-muted);
        font-size: 0.65rem;
        font-weight: 500;
        position: relative;
        transition: color 0.15s ease;
        padding: 8px 0;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-nav-item:active { opacity: 0.7; }

    .mob-nav-icon {
        font-size: 1.3rem;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .mob-nav-label {
        font-size: 0.62rem;
        letter-spacing: 0.01em;
    }

    .mob-nav-item.active {
        color: var(--mob-primary);
    }

    .mob-nav-item.active .mob-nav-icon {
        transform: translateY(-2px);
    }

    /* Active indicator dot */
    .mob-nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 6px;
        width: 4px;
        height: 4px;
        background: var(--mob-primary);
        border-radius: 50%;
    }

    /* Center Book button — prominent CTA */
    .mob-nav-item.mob-nav-cta {
        color: var(--mob-white);
        background: var(--mob-primary);
        border-radius: 16px;
        margin: 8px 4px;
        padding: 8px 10px;
        box-shadow: 0 4px 12px rgba(29,78,216,.35);
        font-weight: 700;
        font-size: 0.65rem;
    }
    .mob-nav-item.mob-nav-cta .mob-nav-icon { font-size: 1.1rem; }
    .mob-nav-item.mob-nav-cta::after { display: none; }

    /* Add bottom padding to page so content isn't hidden behind nav */
    #page-wrapper,
    .site-main {
        padding-bottom: calc(var(--mob-nav-height) + var(--safe-bottom) + 8px);
    }
}


/* =============================================================================
   4. MOBILE HERO — Compact search bar (UrbanClap style)
   ============================================================================= */
@media (max-width: 768px) {

    .hero-section {
        background: linear-gradient(160deg, #1D4ED8 0%, #2563EB 45%, #3B82F6 100%);
        padding: 20px 0 28px;
        margin-top: 0;
    }

    /* Remove desktop decorative pseudo */
    .hero-section::before { display: none; }

    .hero-content {
        text-align: left;
        max-width: 100%;
        padding: 0 16px;
    }

    /* Location row at top of hero */
    .hero-location-row {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
        color: rgba(255,255,255,.85);
        font-size: 0.8rem;
    }
    .hero-location-row strong { color: #fff; font-weight: 600; }

    /* Hide desktop eyebrow */
    .hero-eyebrow { display: none; }

    /* Compact hero title */
    .hero-title {
        font-size: 1.6rem !important;
        color: #fff;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    .hero-title .highlight {
        color: var(--mob-accent);
    }
    .hero-title .highlight::after { display: none; }

    .hero-subtitle {
        font-size: 0.85rem;
        color: rgba(255,255,255,.8);
        margin-bottom: 16px;
        max-width: 100%;
    }

    /* Mobile Search Bar — card style */
    .hero-search {
        background: var(--mob-white);
        border-radius: var(--mob-radius);
        box-shadow: 0 8px 32px rgba(0,0,0,.20);
        padding: 4px;
        display: flex;
        align-items: center;
        gap: 0;
        max-width: 100%;
        margin: 0 0 16px;
        border: none;
    }

    .hero-search-icon {
        padding: 0 10px;
        font-size: 1rem;
        color: var(--mob-muted);
    }

    .hero-search-input {
        font-size: 0.9rem;
        padding: 12px 0;
        color: var(--mob-text);
    }
    .hero-search-input::placeholder { color: #94A3B8; font-size: 0.85rem; }

    .hero-search-divider { display: none; }
    .hero-search-location { display: none; }

    .hero-search-btn {
        padding: 10px 16px;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    /* Hero stats — compact chips */
    .hero-stats {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        margin-top: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero-stats::-webkit-scrollbar { display: none; }

    .hero-stat-item {
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,255,255,.15);
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 20px;
        padding: 5px 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-stat-number {
        font-size: 0.85rem !important;
        font-weight: 700;
        color: #fff;
        display: inline;
    }

    .hero-stat-label {
        font-size: 0.72rem;
        color: rgba(255,255,255,.8);
        text-transform: none;
        letter-spacing: 0;
    }

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


/* =============================================================================
   5. CATEGORY PILLS / HORIZONTAL SCROLL (Mobile)
   ============================================================================= */
@media (max-width: 768px) {

    .categories-section {
        padding: 20px 0;
        background: var(--mob-white);
    }

    .categories-section .section-header {
        padding: 0 16px;
        margin-bottom: 12px;
        text-align: left;
    }
    .categories-section .section-title {
        font-size: 1.15rem;
        margin-bottom: 2px;
    }
    .categories-section .section-subtitle {
        font-size: 0.8rem;
        max-width: 100%;
        text-align: left;
        margin: 0;
    }
    .categories-section .section-label {
        font-size: 0.7rem;
    }

    /* Override grid → horizontal scroll */
    .categories-grid {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 4px 16px 12px;
        margin-top: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        grid-template-columns: unset;
    }
    .categories-grid::-webkit-scrollbar { display: none; }

    .category-card {
        flex: 0 0 auto;
        width: 76px;
        padding: 12px 8px;
        gap: 8px;
        border-radius: var(--mob-card-radius);
        border-color: var(--mob-border);
    }
    .category-card:hover {
        transform: translateY(-2px);
    }

    .category-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        font-size: 1.3rem !important;
        background: var(--mob-pill-bg) !important;
    }

    .category-name {
        font-size: 0.68rem;
        line-height: 1.2;
        text-align: center;
    }

    /* "See All" card at end */
    .category-card-more {
        flex: 0 0 auto;
        width: 76px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 8px;
        border: 1.5px dashed var(--mob-border);
        border-radius: var(--mob-card-radius);
        color: var(--mob-primary);
        font-size: 0.68rem;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
    }
    .category-card-more .more-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--mob-pill-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }
}


/* =============================================================================
   6. MOBILE SERVICE CARDS — Full-width list style
   ============================================================================= */
@media (max-width: 768px) {

    .services-section {
        padding: 20px 0;
        background: var(--mob-bg);
    }

    .services-section .section-header {
        padding: 0 16px;
        margin-bottom: 12px;
    }
    .services-section .section-title {
        font-size: 1.15rem;
        margin-bottom: 0;
    }
    .services-section .section-label {
        font-size: 0.7rem;
    }
    .services-section .flex-between {
        align-items: center;
    }
    .services-section .btn-outline {
        font-size: 0.72rem;
        padding: 6px 12px;
        border-radius: 20px;
    }

    /* Horizontal scroll cards */
    .services-grid {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        padding: 4px 16px 16px;
        grid-template-columns: unset;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .services-grid::-webkit-scrollbar { display: none; }

    .service-card {
        flex: 0 0 auto;
        width: 200px;
        border-radius: var(--mob-card-radius);
        box-shadow: var(--mob-shadow-card);
        overflow: hidden;
        background: var(--mob-white);
    }

    .service-card-image {
        height: 120px;
        overflow: hidden;
        position: relative;
    }
    .service-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-card-badge {
        position: absolute;
        top: 8px;
        left: 8px;
    }
    .service-card-badge .badge {
        font-size: 0.6rem;
        padding: 2px 7px;
    }

    .service-card-body {
        padding: 10px 12px 12px;
    }

    .service-card-category {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--mob-primary);
        font-weight: 600;
        margin-bottom: 3px;
    }

    .service-card-title {
        font-size: 0.85rem;
        font-weight: 700;
        margin-bottom: 4px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-card-desc {
        display: none; /* too long for compact card */
    }

    .service-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 6px;
        gap: 4px;
    }

    .service-card-price {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--mob-text);
    }
    .service-card-price .from {
        display: none;
    }

    .service-card-rating {
        display: flex;
        align-items: center;
        gap: 2px;
        font-size: 0.72rem;
        color: var(--mob-muted);
    }
    .service-card-rating .star { color: var(--mob-accent); }
    .service-card-rating strong { font-size: 0.75rem; }
}


/* =============================================================================
   7. PROMO BANNER STRIP (Mobile-only, injected via JS)
   ============================================================================= */
@media (max-width: 768px) {

    .mob-promo-strip {
        overflow-x: auto;
        display: flex;
        gap: 10px;
        padding: 12px 16px;
        background: var(--mob-white);
        border-top: 1px solid var(--mob-border);
        border-bottom: 1px solid var(--mob-border);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mob-promo-strip::-webkit-scrollbar { display: none; }

    .mob-promo-card {
        flex: 0 0 auto;
        width: 260px;
        border-radius: var(--mob-card-radius);
        overflow: hidden;
        position: relative;
        height: 100px;
        display: flex;
        align-items: center;
        padding: 14px 16px;
        gap: 12px;
        text-decoration: none;
        color: inherit;
    }

    .mob-promo-card.promo-blue {
        background: linear-gradient(135deg, #1D4ED8, #3B82F6);
        color: #fff;
    }
    .mob-promo-card.promo-amber {
        background: linear-gradient(135deg, #D97706, #F59E0B);
        color: #fff;
    }
    .mob-promo-card.promo-green {
        background: linear-gradient(135deg, #15803D, #22C55E);
        color: #fff;
    }

    .mob-promo-icon { font-size: 2rem; flex-shrink: 0; }

    .mob-promo-text { flex: 1; }
    .mob-promo-title {
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 3px;
    }
    .mob-promo-sub {
        font-size: 0.68rem;
        opacity: 0.85;
    }
    .mob-promo-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(255,255,255,.25);
        border-radius: 20px;
        padding: 2px 8px;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.04em;
    }
}


/* =============================================================================
   8. WHY CHOOSE US — Mobile compact
   ============================================================================= */
@media (max-width: 768px) {

    .why-us-section {
        padding: 20px 0;
        background: var(--mob-white);
    }

    .why-us-section .container { padding: 0 16px; }

    .why-us-section .section-label { font-size: 0.7rem; }
    .why-us-section .section-title { font-size: 1.15rem; margin-bottom: 4px; }
    .why-us-section .section-subtitle { font-size: 0.82rem; margin-bottom: 0; }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Hide image on mobile */
    .why-us-image { display: none; }

    /* Features as horizontal scroll chips */
    .why-us-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        background: var(--mob-bg);
        border-radius: var(--mob-card-radius);
        padding: 14px 12px;
        border: 1px solid var(--mob-border);
    }

    .feature-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
        flex-shrink: 0;
    }

    .feature-body h4 {
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 2px;
        color: var(--mob-text);
    }
    .feature-body p {
        font-size: 0.7rem;
        color: var(--mob-muted);
        margin: 0;
        line-height: 1.4;
    }
}


/* =============================================================================
   9. TESTIMONIALS — Mobile horizontal scroll
   ============================================================================= */
@media (max-width: 768px) {

    .testimonials-section {
        padding: 20px 0;
        background: var(--mob-bg);
    }

    .testimonials-section .section-header {
        padding: 0 16px;
        margin-bottom: 12px;
        text-align: left;
    }
    .testimonials-section .section-title { font-size: 1.15rem; }
    .testimonials-section .section-label { font-size: 0.7rem; }

    .testimonials-track {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 4px 16px 16px;
        grid-template-columns: unset;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .testimonials-track::-webkit-scrollbar { display: none; }

    .testimonial-card {
        flex: 0 0 auto;
        width: 260px;
        padding: 16px;
        border-radius: var(--mob-card-radius);
        box-shadow: var(--mob-shadow-card);
        background: var(--mob-white);
    }

    .testimonial-quote-icon { font-size: 2rem; margin-bottom: 4px; }

    .testimonial-text {
        font-size: 0.78rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .testimonial-author {
        margin-top: 10px;
        gap: 8px;
    }
    .testimonial-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
    .testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .testimonial-author-name { font-size: 0.78rem; font-weight: 700; }
    .testimonial-author-role { font-size: 0.7rem; color: var(--mob-muted); }
}


/* =============================================================================
   10. CTA SECTION — Mobile compact
   ============================================================================= */
@media (max-width: 768px) {

    .cta-section {
        padding: 24px 0;
        margin-bottom: 0;
    }

    .cta-content {
        padding: 0 16px;
        text-align: left;
    }

    .cta-title { font-size: 1.3rem !important; margin-bottom: 8px; }
    .cta-subtitle { font-size: 0.82rem; margin-bottom: 16px; }

    .cta-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 13px;
        border-radius: 12px;
    }

    .app-buttons {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
    .app-btn {
        flex: 1;
        min-width: 130px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 0.72rem;
    }
}


/* =============================================================================
   11. MOBILE FOOTER — Minimal
   ============================================================================= */
@media (max-width: 768px) {

    .site-footer {
        padding-bottom: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 1px solid var(--mob-border);
    }

    /* Collapsible footer columns */
    .footer-col {
        border-bottom: 1px solid var(--mob-border);
        padding: 0;
    }

    .footer-col h5 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        margin: 0;
        font-size: 0.85rem;
        cursor: pointer;
    }
    .footer-col h5::after {
        content: '›';
        font-size: 1.1rem;
        color: var(--mob-muted);
        transform: rotate(90deg);
        display: inline-block;
        transition: transform 0.2s ease;
    }
    .footer-col.open h5::after {
        transform: rotate(270deg);
    }

    .footer-col ul {
        display: none;
        padding: 0 16px 12px;
    }
    .footer-col.open ul {
        display: block;
    }
    .footer-col ul li {
        padding: 6px 0;
    }
    .footer-col ul li a {
        font-size: 0.82rem;
        color: var(--mob-muted);
    }

    /* Brand column */
    .footer-brand {
        padding: 20px 16px 16px;
    }
    .footer-brand p {
        font-size: 0.78rem;
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .social-links {
        gap: 8px;
    }
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 14px 16px;
        font-size: 0.75rem;
    }

    .footer-legal-links {
        gap: 12px;
        font-size: 0.75rem;
    }
}


/* =============================================================================
   12. SECTION SPACING & GENERAL MOBILE
   ============================================================================= */
@media (max-width: 768px) {

    /* All sections compact on mobile */
    .section { padding: 20px 0 !important; }

    /* Container side padding */
    .container { padding: 0 16px; }

    /* Section headers */
    .section-header { margin-bottom: 12px; }
    .section-header.centered { text-align: left; }
    .section-label { font-size: 0.7rem; margin-bottom: 4px; }
    .section-title { font-size: 1.15rem !important; margin-bottom: 4px; }
    .section-subtitle { font-size: 0.82rem; margin: 0; }

    /* Typography */
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.9rem; }

    p { font-size: 0.85rem; }
}


/* =============================================================================
   13. TAP ANIMATIONS (Touch feedback)
   ============================================================================= */
@media (max-width: 768px) {

    .category-card,
    .service-card,
    .testimonial-card,
    .mob-promo-card,
    .mob-nav-item {
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

    .category-card:active,
    .service-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    /* Smooth scroll helper */
    html { scroll-behavior: smooth; }

    /* Prevent horizontal overflow on page */
    body { overflow-x: hidden; }
}


/* =============================================================================
   14. SAFE AREA (iPhone notch / Dynamic Island)
   ============================================================================= */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .site-header {
            padding-top: max(var(--safe-top), 0px);
        }
        .mobile-bottom-nav {
            padding-bottom: max(var(--safe-bottom), 8px);
        }
    }
}
