:root {
    --primary: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-soft: #eff6ff;
    --accent: #059669;
    --accent-soft: #ecfdf5;
    --dark: #0f172a;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-soft: #f8fafc;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
    --bottom-nav-h: 64px;
}

* { font-family: 'Inter', system-ui, sans-serif; box-sizing: border-box; }

body {
    color: var(--text);
    background: #fff;
    padding-bottom: calc(var(--bottom-nav-h) + 12px + env(safe-area-inset-bottom, 8px));
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
}

.site-navbar {
    padding: .6rem 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.site-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark) !important;
    letter-spacing: -.02em;
}

.site-navbar .navbar-brand i { color: var(--primary); }

/* Top navigation menu */
.site-navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.site-nav {
    gap: .15rem;
    margin-left: 1rem;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .45rem .75rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    border: none;
    background: transparent;
    transition: background .2s, color .2s;
}

.site-nav-link:hover,
.site-nav-link.active,
.site-nav-dropdown-btn.show {
    color: var(--primary);
    background: var(--primary-soft);
}

.site-nav-dropdown-menu {
    border-radius: 12px;
    padding: .5rem;
    min-width: 220px;
    margin-top: .5rem !important;
}

.site-nav-dropdown-menu .dropdown-item {
    border-radius: 8px;
    font-size: .9rem;
    padding: .5rem .75rem;
}

.site-nav-dropdown-menu .dropdown-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.site-nav-toggle {
    text-decoration: none;
    line-height: 1;
}

.site-mobile-nav { width: min(320px, 88vw); }

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .85rem;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}

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

.mobile-nav-section {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    font-weight: 700;
    padding: .5rem .85rem .25rem;
}

.mobile-nav-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 600;
    gap: 3px;
    border: none;
    background: transparent;
    padding: 0;
}

.mobile-nav-tab-btn i { font-size: 1.2rem; }

.nav-anchor {
    height: 0;
    scroll-margin-top: 80px;
}

.service-category-section,
#book, #why-us, #faq {
    scroll-margin-top: 80px;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    background: var(--primary-soft);
    border: 1px solid #bfdbfe;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all .2s;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
}

.location-pill:hover { background: #dbeafe; }
.location-pill i { font-size: 1rem; flex-shrink: 0; }

.location-pill.empty {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
}

.location-bar {
    background: linear-gradient(90deg, #ecfdf5, #eff6ff);
    border-bottom: 1px solid #bbf7d0;
    padding: .5rem 0;
    font-size: .85rem;
    color: #166534;
}

.location-bar strong { color: var(--dark); }

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
}

.btn-primary:hover, .btn-primary:focus {
    background: #1e40af;
    border-color: #1e40af;
}

.section-title {
    font-weight: 800;
    color: var(--dark);
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    letter-spacing: -.02em;
}

.discount-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: .7rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.stars { color: #f59e0b; }

.hero {
    background: linear-gradient(160deg, #eff6ff 0%, #f0f9ff 40%, #fff 100%);
    padding: 1.75rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero { padding: 3.5rem 0 4rem; }
}

.hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.badge-trusted {
    background: var(--accent-soft);
    color: #047857;
    font-weight: 600;
    padding: .4rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    border: 1px solid #a7f3d0;
}

.search-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-top: 1.25rem;
    overflow: visible;
}

.hero-city-picker {
    position: relative;
}

.hero-city-picker .input-group {
    cursor: pointer;
}

.hero-city-picker .hero-city-caret {
    border-left: 0;
    background: #fff;
    color: var(--text-muted);
}

.hero-city-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.hero-city-results button {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.hero-city-results button:last-child { border-bottom: 0; }
.hero-city-results button:hover,
.hero-city-results button.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.hero-city-results .hero-city-empty,
.hero-city-results .hero-city-loading {
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.service-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    overflow: visible;
    padding: .35rem .25rem .25rem;
}

.service-scroll .service-card {
    width: 100%;
    min-width: 0;
    max-width: none;
}

@media (min-width: 768px) {
    .service-scroll {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .service-scroll {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.service-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    height: 100%;
    min-height: 320px;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.service-card-img-wrap {
    position: relative;
    height: 180px;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .service-card-img-wrap {
        height: 200px;
        min-height: 200px;
    }
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.service-card:hover .service-card-img { transform: scale(1.05); }

.service-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 50%);
}

.service-card-price-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    font-size: .9rem;
    padding: .3rem .65rem;
    border-radius: 8px;
    z-index: 1;
}

.service-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title,
.service-card-body h6 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: .4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.service-card-book {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: .5rem;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
}

/* Real-time service search */
.search-match-hidden { display: none !important; }
.search-section-hidden { display: none !important; }

.search-status {
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    font-size: .9rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.service-card.search-highlight,
.popular-card.search-highlight {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    animation: search-pulse 1.2s ease 2;
}

@keyframes search-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(29, 78, 216, 0); }
}

#service-search:focus {
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
    border-color: var(--primary);
}

.popular-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .25s;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.popular-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.popular-card img { width: 100%; height: 130px; object-fit: cover; }

.offer-banner {
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    padding: 2rem 1.5rem;
}

.trust-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.trust-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: .75rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid var(--border);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.city-badge {
    display: inline-block;
    padding: .45rem 1rem;
    margin: .2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text);
    transition: all .2s;
    text-decoration: none;
    font-size: .85rem;
}

.city-badge:hover, .city-badge.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.location-modal .modal-content { border-radius: var(--radius-lg); border: none; }
.location-modal .modal-header { background: linear-gradient(135deg, var(--primary-soft), #fff); }

.location-city-picker {
    position: relative;
    z-index: 5;
}

.location-city-picker .hero-city-results {
    top: calc(100% + 4px);
    max-height: 260px;
}

.location-search-wrap .form-control {
    border-right: 0;
}

.location-search-wrap #city-search-clear {
    border-left: 0;
    border-color: var(--border);
}

.city-list-status {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 1rem 0.5rem;
}

#city-list mark {
    background: #fef08a;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

.ucs-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--dark);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    max-width: 90%;
    text-align: center;
}

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

.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 2.5rem 0 1.5rem;
}

.site-footer h5 { color: #fff; font-weight: 600; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: var(--bottom-nav-h);
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 1030;
    padding-top: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 8px));
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}

@media (min-width: 768px) {
    .mobile-bottom-nav { display: none; }
}

.mobile-bottom-nav-inner {
    display: flex;
    width: 100%;
    flex: 1;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button.mobile-nav-tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .65rem;
    font-weight: 600;
    gap: 3px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mobile-bottom-nav a i,
.mobile-bottom-nav button.mobile-nav-tab-btn i { font-size: 1.2rem; }
.mobile-bottom-nav a.active { color: var(--primary); }

.service-hero-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: var(--bg-soft);
}

@media (min-width: 768px) {
    .service-hero-img { height: 380px; border-radius: var(--radius-lg); }
}

.price-box {
    background: linear-gradient(135deg, var(--primary-soft), #fff);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.package-option {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all .2s;
}

.package-option:hover, .package-option.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.sticky-book-bar {
    position: fixed;
    bottom: var(--bottom-nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: .75rem 1rem;
    z-index: 1025;
    box-shadow: 0 -8px 30px rgba(0,0,0,.08);
}

@media (min-width: 768px) {
    .sticky-book-bar {
        position: sticky;
        top: 90px;
        bottom: auto;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
}

.bg-section { background: var(--bg-soft); }

/* ---------- Auth ---------- */
.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-md);
}
.auth-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto .75rem;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* ---------- Account panel ---------- */
.account-shell {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 992px) {
    .account-shell {
        grid-template-columns: 260px 1fr;
        align-items: start;
        gap: 1.5rem;
    }
}
.account-sidebar {
    display: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}
@media (min-width: 992px) {
    .account-sidebar { display: block; }
}
.account-sidebar-profile {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.account-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.account-side-nav {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.account-side-nav a,
.account-side-logout {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .85rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: .92rem;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
}
.account-side-nav a:hover,
.account-side-logout:hover {
    background: var(--bg-soft);
}
.account-side-nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}
.account-side-logout { color: #dc2626; cursor: pointer; }

.account-mobile-tabs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .15rem;
}
.account-mobile-tabs a {
    flex: 0 0 auto;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
}
.account-mobile-tabs a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.account-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.account-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.account-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.account-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}
.account-stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.account-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.account-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
}
.account-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: .75rem;
    opacity: .7;
}
.booking-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .75rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.booking-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-sm);
}
.booking-card:last-child { margin-bottom: 0; }

.category-chip-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-chip-row::-webkit-scrollbar { display: none; }
.category-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.category-chip:hover { border-color: var(--primary); color: var(--primary); }
.category-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Category photo grid (homepage) */
.category-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .category-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (min-width: 992px) {
    .category-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
.category-photo-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.category-photo-card:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.category-photo-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    overflow: hidden;
}
.category-photo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.category-photo-card:hover .category-photo-media img {
    transform: scale(1.05);
}
.category-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, .55) 100%);
    pointer-events: none;
}
.category-photo-body {
    padding: .9rem 1rem 1rem;
}
.category-photo-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .35rem;
    line-height: 1.25;
    color: var(--dark);
}
.category-photo-meta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
}
@media (min-width: 768px) {
    .category-photo-title { font-size: 1.08rem; }
    .category-photo-body { padding: 1rem 1.1rem 1.15rem; }
}

/* Services list pagination */
.services-pagination .pagination {
    gap: .25rem;
    flex-wrap: wrap;
    justify-content: center;
}
.services-pagination .page-link {
    border-radius: 10px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    padding: .85rem 1rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
    font-weight: 700;
    font-size: .9rem;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float i { font-size: 1.45rem; line-height: 1; }
.whatsapp-float:hover {
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 32px rgba(37, 211, 102, .55);
}
@media (min-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        padding: .9rem 1.15rem;
    }
}

.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1ebe57;
    border-color: #1ebe57;
    color: #fff;
}
#book-now-btn,
#whatsapp-book-btn {
    font-size: .9rem;
    font-weight: 600;
    min-height: 42px;
}

/* ============================================================
   MOBILE NATIVE APP EXPERIENCE (customer side)
   ============================================================ */
@media (max-width: 767.98px) {
    :root {
        --bottom-nav-h: 72px;
        --app-radius: 16px;
    }

    body.customer-app {
        background: #f1f5f9;
        padding-bottom: calc(var(--bottom-nav-h) + 20px + env(safe-area-inset-bottom, 8px));
    }

    /* App header */
    .app-mobile-header {
        position: sticky;
        top: 0;
        z-index: 1040;
        background: linear-gradient(145deg, #0f172a 0%, #312e81 55%, #4338ca 100%);
        padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px;
    }

    .app-mobile-header-inner {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .app-brand {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #fff !important;
        text-decoration: none;
        font-weight: 800;
        font-size: 1rem;
        letter-spacing: -0.02em;
        flex-shrink: 0;
    }

    .app-brand i { color: #a5b4fc; font-size: 1.15rem; }

    .app-location-chip {
        flex: 1;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 999px;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        overflow: hidden;
    }

    .app-location-chip span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-location-chip.empty {
        background: rgba(251, 191, 36, 0.2);
        border-color: rgba(251, 191, 36, 0.4);
        color: #fde68a;
    }

    .app-header-action .btn-link { color: #fff !important; }

    /* Bottom nav — full-width native docked bar */
    .mobile-bottom-nav {
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        pointer-events: auto;
        min-height: var(--bottom-nav-h);
    }

    .mobile-bottom-nav-inner {
        display: flex;
        width: 100%;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 6px 8px 4px;
        background: transparent;
        min-height: var(--bottom-nav-h);
        align-items: stretch;
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button.mobile-nav-tab-btn {
        border-radius: 10px;
        padding: 6px 4px 4px;
        font-size: 0.6875rem;
        font-weight: 600;
        gap: 4px;
        min-height: 52px;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav button.mobile-nav-tab-btn.active {
        color: var(--primary);
        background: #eef2ff;
    }

    .mobile-bottom-nav a i,
    .mobile-bottom-nav button.mobile-nav-tab-btn i {
        font-size: 1.35rem;
        line-height: 1;
    }

    /* Extra bottom space when service book bar is present */
    body.customer-app:has(.sticky-book-bar) {
        padding-bottom: calc(var(--bottom-nav-h) + 76px + env(safe-area-inset-bottom, 8px));
    }

    /* Hide footer on mobile — nav handles everything */
    .site-footer { display: none !important; }

    /* Hero — app style */
    .hero {
        background: linear-gradient(180deg, #4338ca 0%, #6366f1 40%, #f1f5f9 100%);
        padding: 0 0 1.5rem;
        margin-top: 0;
        border-radius: 0 0 24px 24px;
    }

    .hero .container { padding-top: 1rem; }

    .hero h1 {
        color: #fff;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero .mobile-hero-sub {
        color: rgba(255,255,255,0.8) !important;
        font-size: 0.875rem;
    }

    .hero .badge-trusted {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.25);
        color: #e0e7ff;
    }

    .hero .search-box {
        border-radius: 20px;
        border: none;
        box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
        margin-top: 1rem;
    }

    .hero .btn-primary {
        border-radius: 12px;
        padding: 0.65rem;
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
    }

    /* Sections */
    section.py-4, section.py-3 {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

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

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Cards */
    .category-photo-card {
        border-radius: var(--app-radius);
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
        border: none;
    }

    .service-card {
        border-radius: var(--app-radius);
        border: none;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
        min-height: 280px;
    }

    .trust-card {
        border-radius: var(--app-radius);
        border: none;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }

    .offer-banner {
        border-radius: var(--app-radius);
    }

    /* Account — app style */
    .account-shell {
        display: block;
    }

    .account-sidebar {
        display: none !important;
    }

    .account-mobile-tabs {
        display: flex !important;
        gap: 6px;
        background: #fff;
        border-radius: 14px;
        padding: 5px;
        margin-bottom: 16px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
        overflow-x: auto;
    }

    .account-mobile-tabs a {
        flex: 1;
        white-space: nowrap;
        text-align: center;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 0.75rem;
        font-weight: 700;
        text-decoration: none;
        color: var(--text-muted);
    }

    .account-mobile-tabs a.active {
        background: var(--primary);
        color: #fff;
    }

    .account-hero {
        background: linear-gradient(145deg, #0f172a, #4338ca);
        color: #fff;
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 16px !important;
        border: none;
    }

    .account-hero h1 { color: #fff; }
    .account-hero .text-muted { color: rgba(255,255,255,0.75) !important; }
    .account-hero .btn-primary {
        background: rgba(255,255,255,0.15);
        border: 1px solid rgba(255,255,255,0.3);
        backdrop-filter: blur(8px);
    }

    .account-stat {
        border-radius: var(--app-radius);
        border: none;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }

    .account-panel {
        border-radius: var(--app-radius);
        border: none;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }

    .booking-card {
        border-radius: var(--app-radius);
        border: none !important;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    }

    /* Auth pages */
    .auth-page-wrap {
        min-height: calc(100vh - var(--bottom-nav-h) - 40px);
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #4338ca 0%, #6366f1 35%, #f1f5f9 35%);
    }

    .auth-page-wrap .auth-card {
        margin-top: -20px;
        border-radius: 24px 24px 0 0;
        border: none;
        box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.1);
        flex: 1;
        padding: 28px 20px;
    }

    .auth-page-wrap .auth-hero-mobile {
        padding: 32px 24px 48px;
        color: #fff;
        text-align: center;
    }

    .auth-page-wrap .auth-hero-mobile h1 {
        font-size: 1.5rem;
        font-weight: 800;
        margin: 0 0 6px;
    }

    .auth-page-wrap .auth-hero-mobile p {
        margin: 0;
        opacity: 0.85;
        font-size: 0.875rem;
    }

    .auth-icon {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        background: linear-gradient(135deg, #eef2ff, #e0e7ff);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 12px;
    }

    /* Service detail — book bar sits flush above bottom nav */
    .sticky-book-bar {
        bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
        padding: 10px 16px;
        z-index: 1025;
    }

    body.customer-app:has(.sticky-book-bar) .whatsapp-float {
        bottom: calc(var(--bottom-nav-h) + 76px + env(safe-area-inset-bottom, 8px));
        z-index: 1020;
    }

    .whatsapp-float {
        bottom: calc(var(--bottom-nav-h) + 8px + env(safe-area-inset-bottom, 8px));
        right: 14px;
        padding: 0.75rem;
    }

    .whatsapp-float-label { display: none !important; }

    /* Alerts */
    .container > .alert,
    .partner-content > .alert {
        border-radius: 12px;
        font-size: 0.8125rem;
    }

    /* Services page header */
    .bg-section {
        background: linear-gradient(145deg, #0f172a, #4338ca) !important;
        color: #fff;
        border: none !important;
        border-radius: 0 0 20px 20px;
    }

    .bg-section .section-title,
    .bg-section h1,
    .bg-section .breadcrumb-item,
    .bg-section .breadcrumb-item a,
    .bg-section .text-muted,
    .bg-section p,
    .bg-section strong {
        color: rgba(255,255,255,0.9) !important;
    }

    .bg-section .breadcrumb-item.active { color: #fff !important; }

    .bg-section .text-muted,
    .bg-section p.text-muted {
        color: rgba(255,255,255,0.75) !important;
    }

    /* White cards inside dark sections — keep dark readable text */
    .bg-section .testimonial-card {
        color: var(--text);
        border: none;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    }

    .bg-section .testimonial-card p,
    .bg-section .testimonial-card h6 {
        color: var(--text) !important;
    }

    .bg-section .testimonial-card .text-muted {
        color: var(--text-muted) !important;
    }

    .bg-section .testimonial-card .stars {
        color: #f59e0b;
    }

    .bg-section .accordion-item {
        background: #fff;
        border-color: rgba(255,255,255,0.15) !important;
    }

    .bg-section .accordion-button {
        color: var(--text) !important;
        background: #fff;
    }

    .bg-section .accordion-button:not(.collapsed) {
        color: var(--primary) !important;
        background: #eef2ff;
    }

    .bg-section .accordion-body {
        color: var(--text-muted) !important;
        background: #fff;
    }

    .bg-section .btn-outline-secondary {
        border-color: rgba(255,255,255,0.4);
        color: #fff;
    }

    /* Offcanvas menu — above bottom nav and book bar */
    .site-mobile-nav {
        border-radius: 20px 0 0 20px;
        z-index: 1055;
    }

    .offcanvas-backdrop {
        z-index: 1050;
    }

    .mobile-nav-link {
        border-radius: 12px;
    }

    .mobile-nav-link.active {
        background: #eef2ff;
        color: var(--primary);
    }
}
