/**
 * AC Scrap Platform — Unique Premium Design
 * Emerald + Amber · Plus Jakarta Sans
 */
:root {
    --brand: #059669;
    --brand-light: #10b981;
    --brand-dark: #047857;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --dark: #0c1929;
    --dark-mid: #1a2e44;
    --bg: #f4f7f5;
    --surface: #ffffff;
    --text: #0f1c2e;
    --text-muted: #5c6b7a;
    --border: rgba(12,25,41,0.07);
    --shadow: 0 4px 24px rgba(12,25,41,0.06);
    --shadow-lg: 0 20px 60px rgba(12,25,41,0.12);
    --radius: 18px;
    --radius-sm: 12px;
    --nav-height: 64px;
    --nav-bottom-gap: 10px;
    --nav-total: calc(var(--nav-height) + var(--nav-bottom-gap) + env(safe-area-inset-bottom, 0px));
    --topbar-height: 72px;
    --app-max: 1200px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body.app-body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Background blobs */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-blobs span {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.bg-blobs span:nth-child(1) { width: 400px; height: 400px; background: #a7f3d0; top: -100px; right: -100px; }
.bg-blobs span:nth-child(2) { width: 300px; height: 300px; background: #fde68a; bottom: 20%; left: -80px; }
.bg-blobs span:nth-child(3) { width: 250px; height: 250px; background: #bfdbfe; top: 40%; right: 10%; }

.app-shell { position: relative; z-index: 1; min-height: 100vh; }
.app-main { width: 100%; padding: 0 16px calc(var(--nav-total) + 16px); min-height: 100vh; }

.desktop-topbar, .desktop-footer { display: none; }
.mobile-topbar { display: flex; }

/* Loader */
.app-loader { position: fixed; inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.4s; }
.app-loader.hidden { opacity: 0; pointer-events: none; }
.loader-spinner { width: 44px; height: 44px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Glass / Cards */
.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Mobile Top Bar */
.mobile-topbar {
    position: sticky; top: 0; z-index: 1100;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 12px 0 14px;
    margin: 0 0 12px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(12,25,41,0.05);
}
.mobile-brand {
    display: flex; align-items: center; text-decoration: none; color: var(--text);
}
.mobile-brand-logo { height: 42px; width: auto; max-width: 170px; object-fit: contain; }
.mobile-topbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mobile-icon-btn {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none; position: relative;
    background: rgba(5,150,105,0.06); border: 1px solid rgba(5,150,105,0.1);
    transition: var(--transition);
}
.mobile-icon-btn:hover, .mobile-icon-btn.active { color: var(--brand); background: rgba(5,150,105,0.12); border-color: rgba(5,150,105,0.2); }
.mobile-track-btn { border: 2px solid rgba(5,150,105,0.25); }
.mobile-book-btn {
    padding: 9px 16px !important; font-size: 0.8rem !important; border-radius: 12px !important;
}

/* Legacy per-page mobile headers — hidden, use global topbar */
.mobile-only-header { display: none !important; }
.page-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin: 0; }
.page-subtitle { font-size: 0.82rem; color: var(--text-muted); margin: 4px 0 0; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    border: none; font-weight: 600; border-radius: var(--radius-sm);
    transition: var(--transition); color: #fff;
}
.btn-ghost {
    background: transparent; border: 2px solid var(--border);
    color: var(--text); border-radius: var(--radius-sm); font-weight: 600;
    padding: 10px 24px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand {
    background: transparent; border: 2px solid var(--brand);
    color: var(--brand); border-radius: var(--radius-sm); font-weight: 600;
    padding: 10px 24px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
    transition: var(--transition);
}
.btn-outline-brand:hover { background: rgba(5,150,105,0.08); color: var(--brand-dark, #047857); border-color: var(--brand); }
.btn-outline-brand.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-glow { box-shadow: 0 6px 20px rgba(5,150,105,0.35); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(5,150,105,0.4); color: #fff; }
.app-input { border-radius: var(--radius-sm); border: 2px solid #e8edf2; padding: 12px 16px; transition: var(--transition); }
.app-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(5,150,105,0.1); outline: none; }

/* Bottom Nav - Floating Mobile */
.bottom-nav-wrap {
    position: fixed; bottom: var(--nav-bottom-gap); left: 12px; right: 12px;
    z-index: 1000; padding-bottom: env(safe-area-inset-bottom, 0);
    pointer-events: none;
}
.bottom-nav {
    pointer-events: auto;
    height: var(--nav-height);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(12,25,41,0.08);
    border-radius: 22px;
    display: flex; align-items: center; justify-content: space-around;
    box-shadow: 0 8px 32px rgba(12,25,41,0.12), 0 2px 8px rgba(12,25,41,0.06);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; color: var(--text-muted);
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.02em;
    padding: 6px 10px; position: relative; transition: var(--transition);
    min-width: 52px; border-radius: 14px;
}
.nav-item i { font-size: 1.28rem; margin-bottom: 3px; transition: var(--transition); }
.nav-item.active {
    color: var(--brand);
    background: rgba(5,150,105,0.1);
}
.nav-item.active i { transform: scale(1.08); }
.nav-item.nav-item-book {
    color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-light));
    box-shadow: 0 4px 14px rgba(5,150,105,0.35);
    min-width: 56px; padding: 8px 12px;
}
.nav-item.nav-item-book.active { color: #fff; }
.nav-item.nav-item-book i { font-size: 1.45rem; margin-bottom: 2px; }
.nav-item.active::before { display: none; }
.nav-badge {
    position: absolute; top: 0; right: 6px;
    background: #ef4444; color: #fff;
    font-size: 0.55rem; min-width: 16px; height: 16px;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

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

/* ========== LIVE CHAT WIDGET ========== */
.chat-widget {
    position: fixed; z-index: 1050;
    bottom: calc(var(--nav-total) + 10px); right: 14px;
}
.chat-float-btn {
    width: 58px; height: 58px; border: none; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff; font-size: 1.45rem; cursor: pointer;
    box-shadow: 0 8px 28px rgba(5,150,105,0.45);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; transition: var(--transition);
}
.chat-float-btn:hover { transform: scale(1.06); }
.chat-float-label { font-size: 0.5rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.chat-float-btn .chat-icon-close { display: none; font-size: 1.2rem; }
.chat-float-btn.is-open .chat-icon-open { display: none; }
.chat-float-btn.is-open .chat-icon-close { display: block; }
.chat-float-btn.is-open .chat-float-label { display: none; }

.chat-panel {
    position: absolute; bottom: calc(100% + 12px); right: 0;
    width: min(360px, calc(100vw - 28px)); height: min(520px, calc(100vh - var(--nav-total) - 100px));
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 20px; box-shadow: 0 16px 48px rgba(12,25,41,0.18);
    display: flex; flex-direction: column; overflow: hidden;
    animation: chatSlideUp 0.25s ease;
}
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.chat-header strong { display: block; font-size: 0.92rem; font-weight: 700; }
.chat-status { font-size: 0.68rem; opacity: 0.9; display: flex; align-items: center; gap: 4px; }
.chat-status i { font-size: 0.45rem; color: #86efac; }
.chat-close-btn {
    width: 32px; height: 32px; border: none; border-radius: 8px;
    background: rgba(255,255,255,0.15); color: #fff; cursor: pointer;
}

.chat-messages {
    flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px;
    background: #f8fafc;
}
.chat-bubble-row { display: flex; }
.chat-bubble-row--user { justify-content: flex-end; }
.chat-bubble-row--bot { justify-content: flex-start; }
.chat-bubble {
    max-width: 85%; padding: 10px 14px; border-radius: 16px;
    font-size: 0.84rem; line-height: 1.5; word-break: break-word;
}
.chat-bubble--user {
    background: var(--brand); color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-bubble--bot {
    background: #fff; color: var(--text); border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.chat-typing { display: flex; align-items: center; gap: 4px; padding: 12px 16px !important; }
.chat-typing span {
    width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
    animation: chatDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1); } }

.chat-quick-replies {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px;
    border-top: 1px solid var(--border); background: #fff;
}
.chat-chip {
    border: 1px solid rgba(5,150,105,0.25); background: rgba(5,150,105,0.06);
    color: var(--brand); border-radius: 20px; padding: 5px 10px;
    font-size: 0.68rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.chat-chip:hover { background: rgba(5,150,105,0.14); }

.chat-input-wrap {
    display: flex; gap: 8px; padding: 10px 12px;
    border-top: 1px solid var(--border); background: #fff;
}
.chat-input {
    flex: 1; border: 2px solid #e8edf2; border-radius: 12px;
    padding: 10px 14px; font-size: 0.84rem; outline: none;
}
.chat-input:focus { border-color: var(--brand); }
.chat-send-btn {
    width: 42px; height: 42px; border: none; border-radius: 12px;
    background: var(--brand); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========== HOME ========== */
.page-home { position: relative; }
.home-hero-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 14px; }
.home-hero-content { display: none; order: 2; }
.home-hero-visual {
    order: 1; width: 100%; margin: 0;
    border-radius: var(--radius); overflow: visible;
    box-shadow: none; background: transparent;
}
.home-hero-visual .adaptive-banner-carousel {
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    background: transparent !important; overflow: visible;
}
.home-hero-visual .adaptive-banner-img {
    width: 100%; height: auto; max-height: none;
    object-fit: contain; object-position: center;
    background: transparent; display: block;
}
.mobile-hero-intro {
    text-align: center; padding: 6px 4px 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 16px;
    box-shadow: var(--shadow);
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(5,150,105,0.1); color: var(--brand);
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.68rem; font-weight: 700; margin-bottom: 10px;
}
.adaptive-banner-link { display: block; text-decoration: none; line-height: 0; color: inherit; }
.mobile-hero-intro .hero-headline { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
.mobile-hero-intro .hero-desc { font-size: 0.84rem; color: var(--text-muted); margin: 0 0 14px; line-height: 1.5; }
.mobile-hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mobile-hero-actions .btn { flex: 1; min-width: 130px; max-width: 180px; font-size: 0.82rem; padding: 10px 14px; }
.mobile-stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px;
}
.mobile-stat {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 10px 6px; text-align: center;
    box-shadow: var(--shadow);
}
.mobile-stat strong { display: block; font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; color: var(--brand); }
.mobile-stat span { font-size: 0.58rem; color: var(--text-muted); font-weight: 600; }

.banner-carousel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.banner-slide { height: 210px; background-size: cover; background-position: center; position: relative; }
.banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(12,25,41,0.5) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff;
}
.banner-overlay h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0; }
.banner-overlay p { font-size: 0.82rem; opacity: 0.9; margin: 4px 0 0; }

/* Adaptive banner — full image, auto height, no crop */
.adaptive-banner-carousel {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
    line-height: 0; background: #0c1929;
}
.adaptive-banner-carousel .carousel-inner,
.adaptive-banner-carousel .carousel-item { line-height: 0; }
.adaptive-banner-frame { position: relative; line-height: 0; }
.adaptive-banner-img {
    width: 100%; height: auto; display: block;
    object-fit: contain; object-position: center;
    max-height: none; vertical-align: top;
}
.adaptive-banner-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 24px; line-height: 1.4; color: #fff;
    background: linear-gradient(transparent, rgba(12,25,41,0.8));
}
.adaptive-banner-caption h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; }
.adaptive-banner-caption p { font-size: 0.82rem; opacity: 0.9; margin: 0 0 8px; }
.section-banner-wrap { margin-bottom: 28px; padding: 0; }
.section-banner-wrap .adaptive-banner-carousel { margin: 0; }

/* Full-width banner — natural image height, no bg gap, no crop */
.fullwidth-banner-section {
    width: 100vw; max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 24px; line-height: 0; background: transparent;
}
.adaptive-banner-natural,
.adaptive-banner-natural .carousel-inner,
.adaptive-banner-natural .carousel-item,
.adaptive-banner-natural .adaptive-banner-frame {
    background: transparent !important; line-height: 0;
}
.fullwidth-banner-section .adaptive-banner-carousel {
    border-radius: 0; box-shadow: none; background: transparent !important;
    overflow: visible;
}
.fullwidth-banner-section .adaptive-banner-img {
    width: 100%; height: auto; display: block;
    max-height: none; object-fit: contain; object-position: center;
    background: transparent; vertical-align: top;
}
.fullwidth-banner-section .carousel-control-prev,
.fullwidth-banner-section .carousel-control-next { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.fullwidth-banner-section .carousel-indicators { margin-bottom: 6px; }

.adaptive-banner-hero,
.adaptive-banner-hero .carousel-inner,
.adaptive-banner-hero .carousel-item,
.adaptive-banner-hero .adaptive-banner-frame {
    background: transparent !important;
}
.adaptive-banner-hero .adaptive-banner-img {
    width: 100%; height: auto; max-height: none;
    object-fit: contain; background: transparent;
}

.hero-visual-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1a3a2a 100%);
    border-radius: var(--radius); padding: 40px; text-align: center; color: #fff;
}
.hero-visual-icon { font-size: 3rem; color: var(--brand-light); margin-bottom: 12px; }

.trust-strip {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    margin-bottom: 24px;
}
.trust-item {
    background: var(--surface); border-radius: var(--radius-sm);
    padding: 12px; font-size: 0.75rem; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.trust-item i { color: var(--brand); font-size: 1rem; }

.section { margin-bottom: 28px; }
.section-categories,
.section-steps,
.section-reviews {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 16px; box-shadow: var(--shadow);
}
.section-steps { background: linear-gradient(180deg, #fff 0%, rgba(236,253,245,0.5) 100%); }
.section-reviews { background: linear-gradient(180deg, rgba(255,251,235,0.4) 0%, #fff 100%); }
.section-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--brand); background: rgba(5,150,105,0.1);
    padding: 4px 10px; border-radius: 20px; margin-bottom: 6px;
}
.section-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; }
.section-desc { font-size: 0.82rem; color: var(--text-muted); margin: 0; display: none; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.category-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 8px; text-align: center;
    text-decoration: none; color: var(--text);
    transition: var(--transition); box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.category-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0); transition: var(--transition);
}
.category-card:active::before, .category-card:hover::before { transform: scaleX(1); }
.cat-icon-wrap {
    width: 44px; height: 44px; margin: 0 auto 8px;
    background: linear-gradient(135deg, rgba(5,150,105,0.12), rgba(16,185,129,0.08));
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.category-card i { font-size: 1.3rem; color: var(--brand); }
.category-card span { font-size: 0.72rem; font-weight: 700; display: block; line-height: 1.2; }
.category-card small { font-size: 0.62rem; color: var(--brand); font-weight: 600; margin-top: 4px; display: block; }

.steps-list { display: flex; flex-direction: column; gap: 10px; }
.step-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px;
    display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center;
    box-shadow: var(--shadow);
}
.step-num {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800;
}
.step-icon { font-size: 1.3rem; color: var(--brand); }
.step-item strong { display: block; font-size: 0.88rem; grid-column: 2 / -1; }
.step-item small { grid-column: 2 / -1; color: var(--text-muted); font-size: 0.75rem; }

.home-mid-row { display: block; }

/* Service Areas */
.areas-section {
    background: linear-gradient(180deg, rgba(5,150,105,0.04) 0%, transparent 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 16px; box-shadow: var(--shadow);
}
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.area-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 16px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    text-decoration: none; color: var(--text);
    transition: var(--transition); box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.area-card::after {
    content: '→'; position: absolute; top: 14px; right: 14px;
    font-size: 0.85rem; color: var(--brand); font-weight: 700; opacity: 0.5;
}
.area-card-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(5,150,105,0.15), rgba(16,185,129,0.08));
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 1.1rem;
}
.area-card strong { font-family: var(--font-display); font-size: 0.92rem; font-weight: 800; }
.area-card span { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }
.area-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.area-card:hover::after { opacity: 1; }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip {
    padding: 10px 16px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 30px;
    text-decoration: none; color: var(--text);
    font-size: 0.82rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    box-shadow: var(--shadow); transition: var(--transition);
}
.area-chip i { color: var(--brand); }
.area-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.area-chip:hover i { color: #fff; }

.cta-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1a3a2a 100%);
    border-radius: var(--radius); padding: 28px 24px; text-align: center;
    color: #fff; position: relative; overflow: hidden;
}
.cta-glow { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(5,150,105,0.3), transparent 60%); }
.cta-icon {
    width: 52px; height: 52px; margin: 0 auto 12px;
    background: rgba(5,150,105,0.3); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #34d399; position: relative;
}
.cta-card h3 { font-family: var(--font-display); position: relative; }
.cta-card p { opacity: 0.75; font-size: 0.85rem; position: relative; }

.reviews-wrap {
    display: flex; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px;
    -ms-overflow-style: none; scrollbar-width: none;
}
.reviews-wrap::-webkit-scrollbar { display: none; }

.section-header-row {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 12px; margin-bottom: 16px;
}
.reviews-nav { display: flex; gap: 8px; flex-shrink: 0; }
.reviews-nav-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); color: var(--text);
    box-shadow: var(--shadow);
}
.reviews-nav-btn:hover:not(:disabled) { background: var(--brand); color: #fff; border-color: var(--brand); }
.reviews-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.reviews-carousel { overflow: hidden; width: 100%; }
.reviews-track { display: flex; gap: 14px; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.reviews-track .review-card { flex: 0 0 100%; min-width: 0; }
.review-card {
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; flex-shrink: 0;
    box-shadow: var(--shadow);
}
.review-avatar {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff; font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.review-stars { color: var(--accent); margin-bottom: 8px; }
.review-card p { font-size: 0.84rem; line-height: 1.55; margin-bottom: 8px; font-style: italic; }
.review-card small { color: var(--text-muted); font-weight: 600; }

.bottom-cta-card {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    border-radius: var(--radius); padding: 32px 24px; text-align: center; color: #fff;
}
.bottom-cta-card h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.bottom-cta-card p { opacity: 0.85; margin-bottom: 20px; }
.bottom-cta-card .btn { background: #fff; color: var(--brand-dark); border: none; }

/* ========== BOOK PAGE ========== */
.book-steps-bar {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 20px; padding: 0 8px;
}
.book-step-dot {
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.62rem; font-weight: 600; color: var(--text-muted);
}
.book-step-dot span {
    width: 28px; height: 28px; border-radius: 50%;
    background: #e8edf2; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; margin-bottom: 4px;
}
.book-step-dot.active span { background: var(--brand); color: #fff; }
.book-step-dot.active { color: var(--brand); }
.book-step-line { flex: 1; height: 2px; background: #e8edf2; max-width: 40px; margin-bottom: 16px; }

.form-section {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 14px;
    box-shadow: var(--shadow);
}
.form-section-head {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
}
.form-section-head > i {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(5,150,105,0.1); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.form-section-head h4 { margin: 0; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.form-section-head p { margin: 2px 0 0; font-size: 0.78rem; color: var(--text-muted); }
.form-label { font-weight: 600; font-size: 0.82rem; margin-bottom: 6px; }

.category-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-option { cursor: pointer; }
.cat-option input { display: none; }
.cat-option-inner {
    padding: 14px 10px; border: 2px solid #e8edf2; border-radius: var(--radius-sm);
    text-align: center; transition: var(--transition);
}
.cat-option-inner i { display: block; font-size: 1.4rem; color: var(--text-muted); margin-bottom: 6px; }
.cat-option-inner span { font-size: 0.75rem; font-weight: 700; }
.cat-option.selected .cat-option-inner, .cat-option:has(input:checked) .cat-option-inner {
    border-color: var(--brand); background: rgba(5,150,105,0.05);
}
.cat-option.selected .cat-option-inner i, .cat-option:has(input:checked) .cat-option-inner i { color: var(--brand); }

.qty-control { display: flex; align-items: center; gap: 20px; justify-content: center; }
.qty-btn {
    width: 42px; height: 42px; border-radius: 50%;
    border: 2px solid var(--brand); background: transparent;
    color: var(--brand); font-size: 1.3rem; font-weight: 700; cursor: pointer;
}
.qty-input { width: 50px; text-align: center; font-size: 1.6rem; font-weight: 800; border: none; background: transparent; font-family: var(--font-display); }

.upload-trigger {
    padding: 24px; border: 2px dashed #cbd5e1; border-radius: var(--radius-sm);
    cursor: pointer; text-align: center; transition: var(--transition);
}
.upload-trigger:hover { border-color: var(--brand); background: rgba(5,150,105,0.03); }
.upload-trigger i { font-size: 1.8rem; color: var(--brand); display: block; margin-bottom: 4px; }
.upload-trigger span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; justify-content: center; }
.photo-preview img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; border: 2px solid var(--border); }

.saved-address { display: flex; gap: 14px; align-items: center; }
.saved-avatar {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff; font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.book-submit { margin-top: 8px; }

/* ========== TRACK ========== */
.empty-state {
    text-align: center; padding: 48px 24px;
    background: var(--surface); border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.empty-icon {
    width: 72px; height: 72px; margin: 0 auto 16px;
    background: rgba(5,150,105,0.1); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--brand);
}
.empty-state h3 { font-family: var(--font-display); font-weight: 700; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

.track-summary { margin-bottom: 12px; }
.track-count {
    font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
    background: var(--surface); padding: 6px 14px; border-radius: 20px;
    border: 1px solid var(--border);
}

.booking-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px;
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition);
}
.booking-card.expanded { border-color: rgba(5,150,105,0.3); box-shadow: 0 8px 32px rgba(5,150,105,0.1); }
.booking-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px; cursor: pointer;
}
.booking-id-wrap { display: flex; align-items: center; gap: 12px; }
.booking-cat-icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(5,150,105,0.1); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.booking-header strong { display: block; font-family: var(--font-display); }
.booking-header small { color: var(--text-muted); font-size: 0.78rem; }
.status-badge {
    padding: 5px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
    background: color-mix(in srgb, var(--status-color, var(--brand)) 15%, transparent);
    color: var(--status-color, var(--brand));
}
.booking-timeline { display: none; padding: 0 16px 16px; }
.booking-card.expanded .booking-timeline { display: block; }
.timeline-track { display: flex; flex-direction: column; gap: 4px; }
.timeline-step {
    display: flex; align-items: center; gap: 12px;
    padding: 6px 0; opacity: 0.35; transition: var(--transition);
}
.timeline-step.done, .timeline-step.current { opacity: 1; }
.timeline-dot {
    width: 32px; height: 32px; border-radius: 50%;
    background: #e8edf2; display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; color: #fff; flex-shrink: 0;
    background: var(--dot-color, #e8edf2);
}
.timeline-step span { font-size: 0.82rem; font-weight: 600; }
.timeline-step.current .timeline-dot { box-shadow: 0 0 0 4px rgba(5,150,105,0.2); }
.booking-meta {
    padding: 0 16px 14px; display: flex; gap: 14px; flex-wrap: wrap;
    font-size: 0.75rem; color: var(--text-muted);
}
.booking-amount { color: var(--brand) !important; font-weight: 700; }

/* ========== FAQ ========== */
.faq-hero { margin-bottom: 20px; }
.faq-search-wrap {
    position: relative; margin-bottom: 12px;
}
.faq-search-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.faq-search {
    width: 100%; padding: 14px 16px 14px 44px;
    border: 2px solid #e8edf2; border-radius: var(--radius);
    font-size: 0.9rem; background: var(--surface);
    transition: var(--transition);
}
.faq-search:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(5,150,105,0.1); }
.faq-quick-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.faq-tag {
    padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
    background: var(--surface); border: 1px solid var(--border);
    cursor: pointer; color: var(--text-muted); transition: var(--transition);
}
.faq-tag.active, .faq-tag:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden;
}
.faq-question {
    width: 100%; padding: 16px; border: none; background: transparent;
    text-align: left; display: flex; align-items: center; gap: 12px;
    cursor: pointer; font-weight: 600; font-size: 0.88rem; color: var(--text);
}
.faq-num { font-family: var(--font-display); color: var(--brand); font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.faq-q-text { flex: 1; }
.faq-toggle-icon { color: var(--brand); transition: var(--transition); flex-shrink: 0; }
.faq-question:not(.collapsed) .faq-toggle-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 16px 16px 52px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.faq-cta {
    text-align: center; padding: 32px 20px; margin-top: 24px;
    background: var(--surface); border-radius: var(--radius);
    border: 1px solid var(--border);
}
.faq-cta h4 { font-family: var(--font-display); font-weight: 700; }

/* ========== CONTACT ========== */
.contact-layout { display: flex; flex-direction: column; gap: 16px; }
.contact-info-panel h3 { font-family: var(--font-display); font-weight: 800; }
.contact-cards { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.contact-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    text-decoration: none; color: var(--text);
    box-shadow: var(--shadow); transition: var(--transition);
}
.contact-card:hover { border-color: var(--brand); transform: translateX(4px); color: var(--text); }
.contact-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(5,150,105,0.1); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-card-icon.whatsapp { background: rgba(37,211,102,0.12); color: #25d366; }
.contact-card strong { display: block; font-size: 0.85rem; }
.contact-card span { font-size: 0.78rem; color: var(--text-muted); }
.contact-hours {
    display: flex; gap: 12px; align-items: center;
    padding: 14px; background: rgba(5,150,105,0.06); border-radius: var(--radius-sm);
}
.contact-hours i { font-size: 1.3rem; color: var(--brand); }
.contact-hours strong { display: block; font-size: 0.85rem; }
.contact-hours span { font-size: 0.78rem; color: var(--text-muted); }

.contact-form-panel {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.contact-form-panel h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 20px; }

/* ========== OTHER PAGES ========== */
.login-icon {
    width: 72px; height: 72px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 22px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem;
}
.toast-msg {
    position: fixed; bottom: calc(var(--nav-total) + 12px); left: 50%;
    transform: translateX(-50%); padding: 12px 24px; border-radius: 12px;
    color: #fff; font-weight: 600; z-index: 9999;
}
.profile-avatar { font-size: 4rem; color: var(--brand); }
.menu-item {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    text-decoration: none; color: var(--text); font-weight: 500;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); margin-bottom: 8px;
}
.content-section { padding: 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }

/* Inner page layout */
.page-hero-bar {
    margin: 0 -16px 16px; padding: 18px 16px 16px;
    background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(255,255,255,0.95));
    border-bottom: 1px solid var(--border);
}
.page-hero-bar h1 {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin: 0 0 6px;
}
.page-hero-bar p { color: var(--text-muted); margin: 0; font-size: 0.88rem; line-height: 1.5; }
.page-content-wrap { width: 100%; }
.page-book, .page-track, .page-faq, .page-contact, .page-profile,
.page-notifications, .page-about, .page-content, .page-area {
    width: 100%; max-width: none;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.app-main > * > * { animation: fadeInUp 0.35s ease both; }

/* ========== DESKTOP WEBAPP ========== */
@media (min-width: 992px) {
    body.app-body { background: linear-gradient(160deg, #ecfdf5 0%, #f8fafc 40%, #fffbeb 100%); background-attachment: fixed; }
    .mobile-topbar, .bottom-nav-wrap { display: none !important; }
    .mobile-only-header { display: none !important; }
    .mobile-hero-intro, .mobile-stats-row { display: none; }
    .home-hero-visual { margin: 0; width: 100%; }
    .home-hero-visual .adaptive-banner-carousel { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
    .desktop-topbar, .desktop-footer { display: block; }

    .app-main { max-width: var(--app-max); padding: 24px 32px 48px; margin: 0 auto; width: 100%; }
    .app-shell { padding-top: var(--topbar-height); }

    .page-hero-bar {
        margin: 0 0 28px; padding: 28px 32px;
        border-radius: var(--radius); border: 1px solid var(--border);
        background: var(--surface); box-shadow: var(--shadow);
    }
    .page-hero-bar h1 { font-size: 2rem; }
    .page-hero-bar p { font-size: 0.95rem; max-width: 640px; }

    .desktop-topbar {
        position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-height);
        background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border); z-index: 1100;
        box-shadow: 0 4px 24px rgba(12,25,41,0.06);
    }
    .desktop-topbar-inner {
        max-width: var(--app-max); margin: 0 auto; height: 100%;
        padding: 0 32px; display: flex; align-items: center; gap: 20px;
    }
    .desktop-brand {
        display: flex; align-items: center; gap: 12px;
        text-decoration: none; color: var(--text); flex-shrink: 0;
    }
    .desktop-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
    .desktop-brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
    .desktop-brand-text small { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }
    .desktop-logo { height: 44px; max-width: 160px; object-fit: contain; }
    .desktop-nav-links { display: flex; gap: 4px; flex: 1; justify-content: center; }
    .desktop-nav-link {
        padding: 9px 14px; text-decoration: none; color: var(--text-muted);
        font-size: 0.86rem; font-weight: 600; border-radius: 10px;
        display: flex; align-items: center; gap: 6px; transition: var(--transition);
        border: 1px solid transparent;
    }
    .desktop-nav-link:hover { color: var(--brand); background: rgba(5,150,105,0.06); }
    .desktop-nav-link.active { color: var(--brand); background: rgba(5,150,105,0.1); border-color: rgba(5,150,105,0.15); }
    .desktop-topbar-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
    .desktop-track-btn { white-space: nowrap; }
    .desktop-icon-btn {
        width: 40px; height: 40px; border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        color: var(--text-muted); text-decoration: none; position: relative;
    }
    .desktop-icon-btn:hover, .desktop-icon-btn.active { background: rgba(5,150,105,0.08); color: var(--brand); }
    .desktop-cta { padding: 9px 20px !important; }

    .desktop-footer {
        background: var(--dark); color: #94a3b8;
        padding: 40px 32px; margin-top: 20px;
    }
    .desktop-footer-inner {
        max-width: var(--app-max); margin: 0 auto;
        display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px;
    }
    .footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
    .footer-links { display: flex; gap: 20px; }
    .footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.88rem; }
    .footer-links a:hover { color: #34d399; }

    .whatsapp-float { display: none !important; }
    .chat-widget { bottom: 28px; right: 28px; }
    .chat-panel { height: min(560px, calc(100vh - 120px)); }
    .toast-msg { bottom: 32px; }

    /* Home desktop */
    .home-hero-row {
        display: grid; grid-template-columns: 1fr 1.05fr;
        gap: 48px; align-items: center; margin-bottom: 40px; padding: 20px 0;
    }
    .home-hero-content { display: block; order: unset; }
    .home-hero-visual { order: unset; }
    .section-categories, .section-steps, .section-reviews { padding: 28px 24px; }
    .hero-badge {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(5,150,105,0.1); color: var(--brand);
        padding: 6px 14px; border-radius: 20px;
        font-size: 0.8rem; font-weight: 700; margin-bottom: 16px;
    }
    .hero-headline {
        font-family: var(--font-display); font-size: clamp(1.75rem, 2.6vw, 2.45rem);
        font-weight: 800; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.03em;
        white-space: nowrap;
    }
    .hero-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; max-width: 480px; }
    .hero-actions { display: flex; gap: 12px; margin-bottom: 32px; }
    .hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
    .stat-pill {
        background: var(--surface); border: 1px solid var(--border);
        border-radius: var(--radius-sm); padding: 12px 18px;
        box-shadow: var(--shadow);
    }
    .stat-pill strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--brand); }
    .stat-pill span { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }

    .banner-slide { height: 400px; }
    .trust-strip { grid-template-columns: repeat(4, 1fr); }
    .section-desc { display: block; }
    .section-title { font-size: 1.6rem; }
    .category-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .step-item { display: flex; flex-direction: column; text-align: center; padding: 28px 20px; }
    .step-item strong, .step-item small { grid-column: unset; }
    .areas-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .areas-section { padding: 28px 24px; }
    .home-mid-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }
    .reviews-track .review-card { flex: 0 0 calc((100% - 28px) / 3); }

    /* Inner pages — full width within app shell */
    .form-row-2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 14px; }
    .category-select { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
    .timeline-track { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .book-steps-bar { margin-bottom: 28px; }
    .page-book .booking-form { display: grid; gap: 0; }
    .page-faq .faq-list { max-width: none; }
    .page-track .track-form-card { max-width: none; }

    .about-features { grid-template-columns: repeat(4, 1fr); }
    .about-page-hero h1 { font-size: 2.2rem; }
    .about-cta-strip { flex-direction: row; justify-content: space-between; text-align: left; }
    .legal-hero h1 { font-size: 1.85rem; }
    .legal-prose { font-size: 1rem; }
    .legal-help-card { flex-direction: row; align-items: center; justify-content: space-between; }
    .page-home .section-title { font-size: 1.6rem; }

    .login-container {
        max-width: 920px; display: grid;
        grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    }
    .login-hero-panel {
        display: block; padding: 32px 24px;
        background: linear-gradient(135deg, var(--dark) 0%, #1a3a2a 100%);
        border-radius: var(--radius); color: #fff;
        box-shadow: var(--shadow-lg);
    }
    .login-hero-icon {
        width: 56px; height: 56px; border-radius: 16px;
        background: rgba(5,150,105,0.3); color: #34d399;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem; margin-bottom: 16px;
    }
    .login-hero-panel h1 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; }
    .login-hero-panel p { opacity: 0.85; font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; }
    .login-features { list-style: none; padding: 0; margin: 0; }
    .login-features li {
        display: flex; align-items: center; gap: 10px;
        font-size: 0.88rem; margin-bottom: 10px; opacity: 0.9;
    }
    .login-features i { color: #34d399; }
    .page-book .category-select { grid-template-columns: repeat(3, 1fr); }
    .page-book .book-steps-bar { max-width: 520px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 768px) {
    .reviews-track .review-card { flex: 0 0 calc((100% - 14px) / 2); }
}

@media (min-width: 1200px) {
    :root { --app-max: 1280px; }
    .home-hero-content .hero-headline { font-size: clamp(1.85rem, 2.4vw, 2.55rem); }
}

.login-prompt-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24; border-radius: var(--radius-sm);
    padding: 12px 16px; margin-bottom: 16px; font-size: 0.85rem; font-weight: 600;
}
.login-prompt-bar i { color: #d97706; font-size: 1.1rem; }
.login-prompt-bar span { flex: 1; }

/* ========== LOGIN PAGE ========== */
.page-login {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; padding: 0 0 32px;
}
.login-bg-pattern {
    position: fixed; inset: 0; z-index: 0; overflow: hidden;
    background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 45%, #fffbeb 100%);
}
.login-bg-shape {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45;
}
.login-bg-shape-1 { width: 320px; height: 320px; background: #6ee7b7; top: -80px; right: -60px; }
.login-bg-shape-2 { width: 260px; height: 260px; background: #fde68a; bottom: 10%; left: -60px; }

.login-page-header {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0 8px;
}
.login-back-link {
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none; color: var(--text-muted);
    font-size: 0.82rem; font-weight: 600;
}
.login-back-link:hover { color: var(--brand); }
.login-header-logo img { height: 40px; width: auto; max-width: 140px; object-fit: contain; }

.login-container {
    position: relative; z-index: 1; width: 100%;
    max-width: 440px; margin: 0 auto; flex: 1;
    display: flex; flex-direction: column; justify-content: center;
}
.login-hero-panel { display: none; }

.login-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 16px;
}
.login-step {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
}
.login-step span {
    width: 24px; height: 24px; border-radius: 50%;
    background: #e8edf2; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
.login-step.active { color: var(--brand); }
.login-step.active span { background: var(--brand); color: #fff; }
.login-step-line { width: 40px; height: 2px; background: #e8edf2; margin: 0 8px; }

.login-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 20px;
    box-shadow: var(--shadow-lg);
}
.login-card h2 {
    font-family: var(--font-display); font-weight: 800;
    font-size: 1.25rem; margin: 0 0 6px;
}
.login-card-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }
.login-change-email {
    border: none; background: none; color: var(--brand);
    font-size: 0.78rem; font-weight: 600; padding: 0; margin-bottom: 10px;
    display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
}
.dev-otp-box {
    display: none;
    align-items: center; gap: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24; border-radius: var(--radius-sm);
    padding: 12px 14px; margin-bottom: 16px;
}
.dev-otp-box i { color: #d97706; font-size: 1.2rem; flex-shrink: 0; }
.dev-otp-box small { display: block; font-size: 0.72rem; color: #92400e; }
.dev-otp-box strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 6px; color: #78350f; }

.login-footer-note {
    text-align: center; font-size: 0.75rem; color: var(--text-muted);
    margin: 16px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.login-footer-note i { color: var(--brand); }

.otp-inputs { display: flex; gap: 8px; justify-content: center; }
.otp-digit {
    width: 44px; height: 52px; text-align: center; font-size: 1.3rem; font-weight: 800;
    border: 2px solid #e8edf2; border-radius: var(--radius-sm); font-family: var(--font-display);
    transition: var(--transition);
}
.otp-digit:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(5,150,105,0.12); }

.input-icon-wrap { position: relative; }
.input-icon-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-icon-wrap .app-input { padding-left: 42px; }

body.page-login .app-main { padding: 0 16px 32px; min-height: 100vh; }
body.page-login .chat-widget { bottom: 24px; right: 24px; }

/* ========== PROFILE ========== */
.profile-hero {
    text-align: center; padding: 32px 20px; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark) 0%, #1a3a2a 100%);
    border-radius: var(--radius); color: #fff;
}
.profile-hero-avatar {
    width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800;
}
.profile-hero h2 { font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; }
.profile-hero p { opacity: 0.8; margin-bottom: 8px; }
.profile-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15); padding: 4px 12px; border-radius: 20px; font-size: 0.82rem;
}
.profile-menu { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.profile-menu-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem;
    box-shadow: var(--shadow); transition: var(--transition);
}
.profile-menu-item:hover { border-color: var(--brand); color: var(--brand); transform: translateX(4px); }
.profile-menu-item.danger:hover { border-color: #ef4444; color: #ef4444; }
.profile-menu-item > .bi-chevron-right { margin-left: auto; color: var(--text-muted); }
.pmi-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(5,150,105,0.1); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
}
.profile-menu-item.danger .pmi-icon { background: rgba(239,68,68,0.1); color: #ef4444; }

/* ========== HOME — larger mobile typography ========== */
.page-home .section-title { font-size: 1.38rem; }
.page-home .section-desc { font-size: 0.92rem; display: block; }
.page-home .section-tag { font-size: 0.76rem; }
.page-home .trust-item { font-size: 0.88rem; padding: 14px; }
.page-home .category-card span { font-size: 0.84rem; }
.page-home .category-card small { font-size: 0.72rem; }
.page-home .cat-icon-wrap { width: 48px; height: 48px; }
.page-home .category-card i { font-size: 1.45rem; }
.page-home .step-item strong { font-size: 0.96rem; }
.page-home .step-item small { font-size: 0.82rem; }
.page-home .area-card strong { font-size: 1rem; }
.page-home .area-card span { font-size: 0.78rem; }
.page-home .review-card p { font-size: 0.92rem; }
.page-home .mobile-hero-intro .hero-headline { font-size: 1.75rem; }
.page-home .mobile-hero-intro .hero-desc { font-size: 0.95rem; }
.page-home .mobile-stat strong { font-size: 1rem; }
.page-home .mobile-stat span { font-size: 0.65rem; }
.page-home .bottom-cta-card h2 { font-size: 1.45rem; }
.page-home .bottom-cta-card p { font-size: 0.92rem; }

.booking-invoice-row { padding: 0 16px 14px; }
.booking-invoice-row .btn { width: 100%; font-weight: 600; }

/* ========== ABOUT PAGE ========== */
.about-page-hero {
    position: relative; border-radius: var(--radius); overflow: hidden;
    margin-bottom: 20px; color: #fff;
}
.about-page-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a3a2a 100%);
}
.about-page-hero-inner {
    position: relative; padding: 32px 24px; text-align: center;
}
.about-page-hero h1 {
    font-family: var(--font-display); font-size: 1.65rem; font-weight: 800;
    margin: 0 0 10px; line-height: 1.2;
}
.about-page-hero p { opacity: 0.85; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.55; }
.about-hero-stats {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.about-hero-stats div { text-align: center; }
.about-hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: #34d399; }
.about-hero-stats span { font-size: 0.72rem; opacity: 0.75; }

.about-feat-icon {
    width: 44px; height: 44px; margin: 0 auto 10px;
    background: rgba(5,150,105,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 1.3rem;
}
.about-mission-card {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.about-mission-icon {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.about-mission-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; }
.about-mission-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.about-content-card { margin-bottom: 20px; }
.about-cta-strip {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    text-align: center; background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    border-radius: var(--radius); padding: 28px 24px; color: #fff;
}
.about-cta-strip h3 { font-family: var(--font-display); font-weight: 800; margin: 0 0 4px; font-size: 1.2rem; }
.about-cta-strip p { margin: 0; opacity: 0.85; font-size: 0.9rem; }
.about-cta-strip .btn { background: #fff; color: var(--brand-dark); border: none; }

.about-features {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px;
}
.about-feature-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 18px 14px; text-align: center;
    box-shadow: var(--shadow);
}
.about-feature-card strong { display: block; font-size: 0.92rem; font-family: var(--font-display); }
.about-feature-card small { font-size: 0.78rem; color: var(--text-muted); }

/* ========== LEGAL PAGES (Privacy, Terms) ========== */
.page-legal { max-width: 100%; }
.legal-hero {
    text-align: center; padding: 28px 20px; margin-bottom: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.legal-hero-icon {
    width: 56px; height: 56px; margin: 0 auto 14px;
    background: linear-gradient(135deg, rgba(5,150,105,0.12), rgba(16,185,129,0.08));
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 1.6rem;
}
.legal-hero h1 {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
    margin: 0 0 8px; line-height: 1.2;
}
.legal-hero p { color: var(--text-muted); font-size: 0.92rem; margin: 0; line-height: 1.5; }
.legal-updated {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px; font-size: 0.78rem; color: var(--text-muted); font-weight: 600;
}

.legal-toc {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
    margin-bottom: 16px; -ms-overflow-style: none; scrollbar-width: none;
}
.legal-toc::-webkit-scrollbar { display: none; }
.legal-toc-link {
    flex-shrink: 0; padding: 10px 16px; border-radius: 30px;
    background: var(--surface); border: 1px solid var(--border);
    text-decoration: none; color: var(--text); font-size: 0.84rem; font-weight: 600;
    box-shadow: var(--shadow); transition: var(--transition);
}
.legal-toc-link.active, .legal-toc-link:hover {
    background: var(--brand); color: #fff; border-color: var(--brand);
}
.legal-toc-link i { margin-right: 4px; }

.legal-content-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 20px;
    box-shadow: var(--shadow); margin-bottom: 16px;
}
.legal-prose { font-size: 0.95rem; line-height: 1.75; color: #334155; }
.legal-prose h2, .legal-prose h3 { font-family: var(--font-display); color: var(--text); margin: 1.4em 0 0.6em; font-size: 1.1rem; }
.legal-prose p { margin-bottom: 1em; }
.legal-prose ul, .legal-prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.legal-prose li { margin-bottom: 0.4em; }

.legal-help-card {
    display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 20px;
}
.legal-help-card strong { font-family: var(--font-display); font-size: 1rem; }
.legal-help-card p { margin: 4px 0 0; font-size: 0.88rem; color: var(--text-muted); }

/* Legacy about-hero (unused) */
.about-hero {
    text-align: center; padding: 32px 20px; margin-bottom: 20px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-hero-icon {
    width: 64px; height: 64px; margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.8rem;
}
.about-hero h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.about-cta { text-align: center; padding: 24px 0; }

/* ========== NOTIFICATIONS ========== */
.header-badge {
    display: inline-block; background: #ef4444; color: #fff;
    font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 700;
}
.notif-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    margin-bottom: 8px; position: relative; box-shadow: var(--shadow);
}
.notif-item.unread { border-left: 3px solid var(--brand); background: rgba(5,150,105,0.03); }
.notif-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
    position: absolute; top: 16px; right: 16px;
}
.notif-content p { font-size: 0.84rem; color: var(--text-muted); margin: 4px 0; }
.notif-content small { font-size: 0.72rem; color: #94a3b8; }
