/* ============================================================
   PEDALPATH — MAIN STYLESHEET
   Base design system + all page component styles
   ============================================================ */

/* --- Design tokens (light mode default) --- */
:root {
    --primary-color: #16803D;
    --primary-hover: #0F6B34;
    --primary-deep: #0B3D24;
    --primary-soft: rgba(22, 128, 61, 0.1);
    --primary-soft-2: rgba(22, 128, 61, 0.06);
    --accent-color: #22C55E;
    --accent-hover: #16A34A;
    --accent-soft: rgba(34, 197, 94, 0.14);
    --green-bright: #22C55E;
    --ink: #08170F;
    --text-color: #24302A;
    --text-muted: #6B7280;
    --dark-surface: #0B1F16;
    --dark-soft: #07150E;
    --bg-canvas: #FFFFFF;
    --bg-alt: #F3F7F4;
    --border-color: #E4EAE6;
    --card-bg: #FFFFFF;
    --nav-bg: rgba(255, 255, 255, 0.92);
    --shadow-sm: 0 4px 14px rgba(16, 45, 28, 0.08);
    --shadow-md: 0 12px 32px rgba(16, 45, 28, 0.12);
}

/* --- Reset & base --- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-canvas);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4, h5 {
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

html {
    scroll-behavior: smooth;
}

section[id],
.section[id],
div[id] {
    scroll-margin-top: 84px;
}

::selection { background: var(--primary-color); color: #fff; }

.container {
    width: min(1200px, 100% - 48px);
    margin-inline: auto;
}

.section { padding: 96px 0; }
.section-alt { background-color: var(--bg-alt); }
.station-section {
    background: linear-gradient(165deg, #082F1E 0%, #0B1F16 60%, #07150E 100%);
}

.center { text-align: center; }
.center-content { text-align: center; }
.justify-center { justify-content: center; }

/* --- Scroll reveal --- */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* --- Shared type helpers --- */
.hl, .accent-word { color: var(--green-bright); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.eyebrow i { font-size: 0.95rem; }
.eyebrow-light { background: rgba(255, 255, 255, 0.12); color: var(--green-bright); }

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: var(--green-bright);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    border: 1px solid transparent;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
                transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}
.btn i { font-size: 1.05rem; }

.btn-lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 10px; }
.btn-full, .btn-block { width: 100%; }

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.28);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(21, 128, 61, 0.34);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.32);
}
.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--primary-hover));
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(21, 128, 61, 0.38);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: #0B3D24;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
    transform: translateY(-2px);
    background: #ECFDF5;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover { background: var(--primary-soft); transform: translateY(-2px); }

.btn-outline-white {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    line-height: 1;
}
.logo i { color: var(--primary-color); font-size: 1.5rem; }
.logo span { color: var(--primary-color); }

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    margin: 0 auto;
}
.nav-item { position: relative; flex-shrink: 0; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--text-color);
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color); background: var(--primary-soft); }
.nav-link .bi-chevron-down { font-size: 0.75rem; transition: transform 0.3s ease; }

.nav-item.dropdown.open .dropdown-toggle .bi-chevron-down { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1001;
}
.nav-item:last-child .dropdown-menu {
    left: auto;
    right: 0;
}
.nav-item.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-item:hover, .dropdown-item.active { background: var(--primary-soft); color: var(--primary-color); }
.dropdown-item i { font-size: 1rem; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.desktop-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.desktop-nav-actions .btn {
    height: 42px;
    padding: 0 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--ink);
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.icon-btn:hover { border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-2px); }
.icon-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

.menu-toggle { display: none; }
.menu-toggle .bi-x { display: none; }

.mobile-menu-actions { display: none; }

/* Laptop & compact desktop intermediate optimization (screens 993px to 1220px) */
@media (min-width: 993px) and (max-width: 1220px) {
    .nav-container { gap: 10px; }
    .logo { font-size: 1.22rem; }
    .logo i { font-size: 1.32rem; }
    .nav-menu { gap: 2px; }
    .nav-link { padding: 7px 8px; font-size: 0.83rem; gap: 4px; }
    .desktop-nav-actions { gap: 6px; }
    .desktop-nav-actions .btn { height: 38px; padding: 0 12px; font-size: 0.82rem; border-radius: 9px; }
    .icon-btn { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 10px; }
}

/* Mobile & tablet drawer (<= 992px) */
@media (max-width: 992px) {
    .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        color: var(--ink);
        font-size: 1.3rem;
        flex-shrink: 0;
        transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }
    .menu-toggle:hover { color: var(--primary-color); border-color: var(--primary-color); }
    .desktop-nav-actions { display: none; }

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 16px;
        right: 16px;
        max-width: 720px;
        margin-inline: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1001;
    }
    .nav-menu.active { opacity: 1; visibility: visible; transform: none; }

    .nav-item { width: 100%; }
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 4px 8px;
        margin: 4px 0 8px;
        background: var(--bg-alt);
        border-radius: 12px;
    }
    .nav-item.dropdown.open .dropdown-menu { display: block; }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border-color);
    }
    .mobile-toggles { display: flex; flex-direction: column; gap: 8px; }

    .mobile-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 14px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background: var(--bg-canvas);
        color: var(--text-color);
        font-weight: 600;
        font-size: 0.9rem;
        transition: border-color 0.25s ease;
    }
    .mobile-toggle-btn:hover { border-color: var(--primary-color); }
    .mobile-toggle-left { display: flex; align-items: center; gap: 10px; }
    .mobile-toggle-left i { color: var(--primary-color); font-size: 1rem; }

    .toggle-switch-indicator {
        width: 36px;
        height: 20px;
        border-radius: 999px;
        background: #D1D5DB;
        position: relative;
        flex-shrink: 0;
        transition: background 0.25s ease;
    }
    .toggle-switch-indicator::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        transition: transform 0.25s ease;
    }
    .mobile-toggle-btn.active .toggle-switch-indicator,
    .toggle-switch-indicator.on { background: var(--primary-color); }
    .mobile-toggle-btn.active .toggle-switch-indicator::after,
    .toggle-switch-indicator.on::after { transform: translateX(16px); }

    .mobile-auth-btns { display: flex; flex-direction: column; gap: 10px; }
    .mobile-auth-btns .btn {
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra small mobile devices (<= 480px) */
@media (max-width: 480px) {
    .navbar { height: 66px; }
    .logo { font-size: 1.24rem; gap: 6px; }
    .logo i { font-size: 1.32rem; }
    .menu-toggle { width: 40px; height: 40px; font-size: 1.2rem; }
    .nav-menu {
        top: 72px;
        left: 12px;
        right: 12px;
        padding: 14px 12px;
    }
}

/* ============================================================
   HERO (Home 1)
   ============================================================ */
.hero {
    position: relative;
    background:
        radial-gradient(60% 80% at 85% 15%, rgba(34, 197, 94, 0.2), transparent 60%),
        linear-gradient(160deg, #07150E 0%, #0B1F16 60%, #07150E 100%);
    color: #fff;
    padding: 200px 0 120px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-copy h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.trust-item i { color: var(--green-bright); }
.trust-divider { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-bike-stage {
    position: relative;
    aspect-ratio: 4 / 3.4;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
    width: 100%;
}
.hero-bike-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 70% at 70% 30%, rgba(34, 197, 94, 0.35), transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.hero-bike-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: linear-gradient(120deg, #14532D 0%, #16803D 60%, #1E7A44 100%);
    padding: 44px 0;
    color: #fff;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 8px 16px; position: relative; }
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.stat-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.stat-value em { font-style: normal; color: var(--green-bright); }
.stat-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); margin-top: 8px; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    max-width: 680px;
    margin-bottom: 48px;
    text-align: center;
    margin-inline: auto;
}
.section-title .eyebrow { margin-bottom: 14px; }
.section-title h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.65; margin-inline: auto; }
.section-title.center { text-align: center; margin-inline: auto; }

.section-cta-wrap { display: flex; justify-content: center; margin-top: 44px; }

/* ============================================================
   STEPS (How it works)
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.step-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--primary-soft);
    letter-spacing: 0.04em;
}
.step-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.3rem;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   TABS
   ============================================================ */
.fleet-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }

.tab-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tab-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.25);
}

/* ============================================================
   CARDS (fleet / tours shared)
   ============================================================ */
.fleet-grid,
.grid-auto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--bg-alt);
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img-wrap img { transform: scale(1.07); }

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 28, 17, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--green-bright);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.tour-duration-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border-color);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }

.bike-type {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body > p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; flex: 1; }

.card-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.card-features li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 500; }
.card-features li i { color: var(--primary-color); font-size: 0.9rem; }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.price { font-size: 1.3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price small { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); }

.tour-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.tour-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.tour-meta span i { color: var(--primary-color); }

/* Availability block (fleet cards) */
.fl-avail {
    background: var(--bg-alt);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.fl-avail-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.fl-avail-top span i { color: var(--primary-color); margin-right: 6px; }
.fl-avail-top strong { color: var(--primary-color); font-size: 0.78rem; white-space: nowrap; }

.avail-bar { height: 8px; border-radius: 999px; background: var(--border-color); overflow: hidden; }
.avail-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green-bright), var(--primary-color));
    transition: width 1.2s ease 0.2s;
}

/* ============================================================
   LIVE STATIONS
   ============================================================ */
.live-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.live-title h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.live-title p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}
.live-badge .live-dot { font-size: 0; }

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.stations-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: stretch; }
.station-list { display: flex; flex-direction: column; gap: 12px; }

.station-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.station-row:hover { border-color: rgba(74, 222, 128, 0.4); }
.station-row.active {
    border-color: rgba(74, 222, 128, 0.55);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.25);
}

.station-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.station-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.96rem; color: #fff; }
.station-name i { color: var(--green-bright); }
.station-count { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }

.station-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; }
.station-meta span { display: inline-flex; align-items: center; gap: 6px; }
.station-meta i { color: rgba(74, 222, 128, 0.85); }
.station-row .avail-bar { background: rgba(255, 255, 255, 0.14); }

.map-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--dark-surface);
}
.map-wrap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.map-pin {
    position: absolute;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: var(--primary-color);
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.map-pin i { transform: rotate(45deg); font-size: 1.05rem; }
.map-pin.p1 { top: 34%; left: 38%; }
.map-pin.p2 { top: 58%; left: 62%; }
.map-pin.p3 { top: 26%; left: 70%; }

.map-overlay-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(7, 28, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(6px);
    z-index: 3;
}
.map-overlay-card > i { color: var(--green-bright); font-size: 1.3rem; flex-shrink: 0; }
.map-overlay-card h5 { color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.map-overlay-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.testimonial-carousel-container { max-width: 860px; margin-inline: auto; }
.testimonial-carousel-viewport { overflow: hidden; border-radius: 24px; }
.testimonial-carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-slide { flex: 0 0 100%; padding: 6px; }

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.rating-stars { display: inline-flex; align-items: center; gap: 3px; color: #F59E0B; }
.rating-val { margin-left: 6px; color: var(--ink); font-weight: 800; font-size: 0.9rem; }

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
}

.testimonial-quote { color: var(--text-color); font-size: 1.02rem; line-height: 1.75; margin-bottom: 24px; flex: 1; }

.testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.author-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }
.author-info h4 { font-size: 0.98rem; margin-bottom: 2px; }
.author-role { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 7px; }
.ride-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--bg-alt);
    padding: 4px 10px;
    border-radius: 999px;
}

.carousel-nav-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.carousel-nav-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--ink);
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.carousel-nav-btn:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; transform: translateY(-2px); }

.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-color);
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dot.active { background: var(--primary-color); width: 26px; border-radius: 999px; }

.carousel-counter { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; }

/* ============================================================
   SAFETY BAND & PORTAL CTA (Home 1)
   ============================================================ */
.safety-band {
    background: linear-gradient(120deg, #14532D 0%, #15803D 70%);
    border-radius: 28px;
    padding: 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}
.safety-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 90% at 88% 0%, rgba(74, 222, 128, 0.28), transparent 60%);
    pointer-events: none;
}

.safety-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.safety-copy .eyebrow { background: rgba(255, 255, 255, 0.14); color: var(--green-bright); }
.safety-copy h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 14px 0 12px; }
.safety-copy p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; line-height: 1.7; }
.safety-copy .btn { margin-top: 24px; }

.safety-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.safety-point { display: flex; gap: 12px; align-items: flex-start; }
.safety-point > i { color: var(--green-bright); font-size: 1.2rem; margin-top: 3px; }
.safety-point div { font-weight: 700; font-size: 0.95rem; color: #fff; line-height: 1.35; }
.safety-point small { display: block; font-weight: 500; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); margin-top: 3px; }

.portal-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}
.portal-copy h3 { font-size: 1.35rem; margin-bottom: 8px; }
.portal-copy p { color: var(--text-muted); font-size: 0.95rem; max-width: 560px; }
.portal-actions { display: flex; gap: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #ffffff;
    color: var(--text-muted);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }

.footer-col h4 { color: var(--ink); font-size: 1rem; margin-bottom: 18px; letter-spacing: -0.01em; font-weight: 700; }
.footer-col > p { font-size: 0.88rem; line-height: 1.7; margin: 16px 0 22px; max-width: 290px; color: var(--text-muted); }
.footer .logo,
.footer-logo {
    color: var(--ink);
}
.footer .logo i,
.footer-logo i {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.footer .logo span,
.footer-logo span {
    color: var(--primary-color);
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; transform: translateY(-3px); }

.footer-links,
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s ease, padding 0.25s ease;
}
.footer-links a i { color: var(--green-bright); font-size: 0.72rem; transition: transform 0.25s ease; }
.footer-links a:hover { color: var(--primary-color); }
.footer-links a:hover i { transform: translateX(3px); }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.footer-contact li i { color: var(--green-bright); margin-top: 4px; }
.footer-contact a { color: var(--text-muted); transition: color 0.25s ease; }
.footer-contact a:hover { color: var(--primary-color); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.84rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: color 0.25s ease; }
.footer-bottom a:hover { color: var(--primary-color); }

/* ============================================================
   HOME 2  (h2-*)
   ============================================================ */
.h2-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 150px 0 90px;
    color: #fff;
}
.h2-hero-bg { position: absolute; inset: 0; z-index: 0; }
.h2-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.h2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 21, 12, 0.86) 0%, rgba(5, 21, 12, 0.76) 100%);
}
.h2-hero-content { position: relative; z-index: 1; width: 100%; }

.h2-hero-copy.center { text-align: center; }
.h2-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: var(--green-bright);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.h2-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 18px; }
.h2-hero-desc { color: rgba(255, 255, 255, 0.8); max-width: 640px; margin-inline: auto; font-size: 1.1rem; line-height: 1.7; margin-bottom: 30px; }

.h2-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.h2-hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-inline: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    width: fit-content;
}
.h2-hero-stats li { text-align: center; }
.h2-hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--green-bright); line-height: 1.1; }
.h2-hero-stats span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }

/* Marquee */
.h2-marquee {
    background: linear-gradient(90deg, #14532D, #16803D);
    padding: 16px 0;
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
}
.h2-marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.h2-marquee-group { display: flex; flex-shrink: 0; }
.h2-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}
.h2-marquee-item i { color: var(--green-bright); font-size: 1.05rem; }
.h2-marquee-item + .h2-marquee-item { border-left: 1px solid rgba(255, 255, 255, 0.18); }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Home 2 section header */
.h2-head {
    max-width: 640px;
    margin-bottom: 48px;
    text-align: center;
    margin-inline: auto;
}
.h2-head.center { text-align: center; margin-inline: auto; }
.h2-head .eyebrow { margin-bottom: 14px; }
.h2-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.h2-head p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-inline: auto; }
.h2-head-line { display: block; width: 64px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-color), var(--green-bright)); margin-top: 16px; margin-inline: auto; }
.h2-head.center .h2-head-line { margin-inline: auto; }

/* Ride styles */
.h2-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.h2-style {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.h2-style:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.h2-style-media { position: relative; height: 170px; overflow: hidden; }
.h2-style-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.h2-style:hover .h2-style-media img { transform: scale(1.07); }

.h2-style-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 28, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--green-bright);
    font-size: 0.74rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.h2-style-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.h2-style-num {
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--primary-soft);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.h2-style-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.h2-style-body p { flex: 1; color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; margin-bottom: 16px; }

.h2-style-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-color); }
.h2-style-price { font-weight: 800; font-size: 1.05rem; color: var(--ink); line-height: 1; }
.h2-style-price small { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.h2-style-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--primary-color); }
.h2-style-link i { transition: transform 0.25s ease; }
.h2-style-link:hover i { transform: translate(2px, -2px); }

/* Booking journey */
.h2-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.h2-journey-line {
    position: absolute;
    top: 31px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--border-color));
    z-index: 0;
}

.h2-jstep { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.h2-jstep-node {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 0 8px var(--bg-alt), 0 8px 24px rgba(21, 128, 61, 0.35);
    margin-bottom: 20px;
}
.h2-jstep-num {
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.h2-jstep-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.h2-jstep-card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; max-width: 230px; margin-inline: auto; }

/* Dashboard preview */
.h2-app {
    background:
        radial-gradient(75% 110% at 88% 0%, rgba(34, 197, 94, 0.16), transparent 55%),
        linear-gradient(160deg, #0B1F16 0%, #07150E 100%);
    color: #E5E7EB;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.h2-app-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.h2-app-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 14px 0; }
.h2-app-copy > p { color: rgba(255, 255, 255, 0.75); font-size: 1rem; line-height: 1.7; max-width: 520px; margin-bottom: 24px; }

.h2-app-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.h2-app-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; color: #E5E7EB; }
.h2-app-list li i { color: var(--green-bright); font-size: 1.15rem; }

.h2-app-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.h2-app-phone { display: flex; justify-content: center; }
.h2-phone {
    width: 300px;
    background: #101F18;
    border: 10px solid #1B2A22;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.h2-phone-notch { width: 110px; height: 26px; border-radius: 999px; background: #1B2A22; margin: 0 auto 10px; }
.h2-phone-screen {
    background: linear-gradient(180deg, #0E2016, #0A1A11);
    border-radius: 22px;
    padding: 18px;
    color: #fff;
}

.h2-phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 16px; }
.h2-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-bright); font-size: 0.76rem; }
.h2-live span { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); animation: livePulse 1.6s infinite; }

.h2-phone-avail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.h2-phone-avail span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    font-size: 0.64rem;
    color: rgba(255, 255, 255, 0.7);
}
.h2-phone-avail i { display: block; color: var(--green-bright); font-size: 1rem; margin-bottom: 4px; }
.h2-phone-avail strong { display: block; font-size: 1.1rem; color: #fff; line-height: 1.1; }

.h2-phone-map {
    height: 110px;
    border-radius: 14px;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px),
        linear-gradient(135deg, #12341F, #0B1F16);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}
.h2-phone-map i { color: var(--green-bright); font-size: 1.9rem; filter: drop-shadow(0 4px 10px rgba(34, 197, 94, 0.5)); }

.h2-phone-rental {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}
.h2-phone-rental-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; }
.h2-phone-rental-top strong { color: #fff; font-size: 0.9rem; }

.h2-phone-deadline { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; margin-bottom: 14px; }
.h2-phone-deadline span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-bright), var(--primary-color)); border-radius: 999px; }

.h2-phone-rows { display: flex; flex-direction: column; gap: 8px; }
.h2-phone-rows div { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); }
.h2-phone-rows i { color: var(--green-bright); margin-right: 6px; }
.h2-phone-rows strong { color: #fff; }

.h2-phone-actions { display: flex; gap: 10px; }
.h2-phone-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-bright), var(--primary-color));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.h2-phone-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.h2-phone-btn.ghost { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }

/* Home 2 tours */
.h2-tours { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: stretch; }

.h2-tour-feature {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.h2-tour-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h2-tour-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 21, 12, 0.05) 30%, rgba(5, 21, 12, 0.86) 100%);
    z-index: 1;
}

.h2-tour-feature-body { position: relative; z-index: 2; padding: 32px; color: #fff; width: 100%; }
.h2-tour-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: var(--green-bright);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.h2-tour-feature-body h3 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.h2-tour-feature-body > p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; line-height: 1.7; max-width: 470px; margin-bottom: 18px; }

.h2-tour-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.h2-tour-facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 600;
}
.h2-tour-facts i { color: var(--green-bright); }

.h2-tour-feature-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.h2-tour-price { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.h2-tour-price small { font-size: 0.8rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }

.h2-tour-rail { display: flex; flex-direction: column; gap: 26px; }

.h2-tour-mini {
    display: flex;
    gap: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.h2-tour-mini:hover { transform: translateY(-4px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.h2-tour-mini-img { width: 130px; flex-shrink: 0; position: relative; border-radius: 14px; overflow: hidden; }
.h2-tour-mini-img img { width: 130px; height: 130px; object-fit: cover; }
.h2-tour-mini-dur {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(7, 28, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
}
.h2-tour-mini-dur i { color: var(--green-bright); }

.h2-tour-mini-body { flex: 1; display: flex; flex-direction: column; }
.h2-tour-mini-body h3 { font-size: 1.06rem; margin: 6px 0; }
.h2-tour-mini-body > p { color: var(--text-muted); font-size: 0.84rem; line-height: 1.55; flex: 1; margin-bottom: 12px; }

.h2-tour-mini-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--border-color); }
.h2-tour-mini-foot .h2-tour-price { color: var(--ink); font-size: 1.15rem; }
.h2-tour-mini-foot .h2-tour-price small { color: var(--text-muted); }
.h2-tour-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--primary-color); }
.h2-tour-link i { transition: transform 0.25s ease; }
.h2-tour-link:hover i { transform: translateX(3px); }

/* Home 2 deposit & rules */
.h2-rules { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: stretch; }

.h2-deposit {
    background: linear-gradient(160deg, #14532D, #16803D);
    border-radius: 24px;
    padding: 34px;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.h2-deposit .eyebrow { background: rgba(255, 255, 255, 0.14); color: var(--green-bright); }
.h2-deposit h3 { color: #fff; font-size: 2.3rem; margin: 14px 0 10px; }
.h2-deposit h3 small { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); font-weight: 500; margin-top: 6px; }
.h2-deposit p { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; line-height: 1.65; margin-bottom: 20px; }

.h2-deposit-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.h2-deposit-points li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 600; }
.h2-deposit-points li i { color: var(--green-bright); }
.h2-deposit .btn { margin-top: auto; }

.h2-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.h2-rule {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.h2-rule:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.h2-rule > i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.h2-rule h4 { font-size: 1.02rem; margin-bottom: 6px; }
.h2-rule p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }

/* Home 2 CTA */
.h2-cta {
    background: linear-gradient(120deg, #14532D, #15803D 70%);
    border-radius: 28px;
    padding: 60px 56px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.h2-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 85% 0%, rgba(74, 222, 128, 0.3), transparent 60%);
    pointer-events: none;
}
.h2-cta-copy { position: relative; }
.h2-cta-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.h2-cta-copy p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-inline: auto; font-size: 1.02rem; margin-bottom: 28px; }
.h2-cta-actions { position: relative; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE  (ab-*)
   ============================================================ */
.ab-hero {
    padding: 172px 0 96px;
    background:
        linear-gradient(rgba(7, 28, 17, 0.72), rgba(7, 28, 17, 0.9)),
        url('../images/about-bg.avif') center / cover no-repeat;
    color: #fff;
    position: relative;
}

.ab-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}
.ab-breadcrumb a { color: #fff; transition: color 0.25s ease; }
.ab-breadcrumb a:hover { color: var(--green-bright); }
.ab-breadcrumb i { color: rgba(255, 255, 255, 0.4); font-size: 0.78rem; }

.ab-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 18px; }
.ab-hero-sub { color: rgba(255, 255, 255, 0.85); max-width: 680px; margin-inline: auto; font-size: 1.08rem; line-height: 1.7; margin-bottom: 28px; }
.ab-hero-actions { display: flex; justify-content: center; }

.ab-head {
    max-width: 640px;
    margin-bottom: 48px;
    text-align: center;
    margin-inline: auto;
}
.ab-head.center { text-align: center; margin-inline: auto; }
.ab-head .eyebrow { margin-bottom: 14px; }
.ab-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.ab-head p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-inline: auto; }
.ab-head-line { display: block; width: 64px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-color), var(--green-bright)); margin-top: 16px; margin-inline: auto; }
.ab-head.center .ab-head-line { margin-inline: auto; }

/* Story */
.ab-story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ab-story-media { position: relative; }
.ab-story-img-main { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-md); }
.ab-story-img-main img { width: 100%; height: 440px; object-fit: cover; }

.ab-story-badge {
    position: absolute;
    bottom: -22px;
    right: 24px;
    background: linear-gradient(135deg, #16803D, #14532D);
    color: #fff;
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-canvas);
}
.ab-story-badge strong { display: block; font-size: 1.3rem; color: #fff; line-height: 1.1; }
.ab-story-badge span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.82); }

.ab-story-copy .eyebrow { margin-bottom: 14px; }
.ab-story-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.ab-story-copy p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.75; margin-bottom: 16px; }

.ab-story-sign { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border-color); }
.ab-story-sign-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }
.ab-story-sign h5 { font-size: 0.98rem; margin-bottom: 2px; }
.ab-story-sign span { font-size: 0.82rem; color: var(--text-muted); }

/* Values */
.ab-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ab-value {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.ab-value:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.ab-value-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.ab-value h3 { font-size: 1.08rem; margin-bottom: 8px; }
.ab-value p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.6; }

/* Impact band */
.ab-impact {
    background:
        radial-gradient(60% 100% at 85% 0%, rgba(34, 197, 94, 0.16), transparent 60%),
        linear-gradient(135deg, #07281A, #0B3D24);
    padding: 96px 0;
    color: #fff;
}
.ab-impact .ab-head h2 { color: #fff; }
.ab-impact .ab-head p { color: rgba(255, 255, 255, 0.75); }
.ab-impact .ab-head-line { background: linear-gradient(90deg, var(--green-bright), transparent); }

.ab-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.ab-impact-value { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.ab-impact-value em { font-style: normal; color: var(--green-bright); }
.ab-impact-label { margin-top: 8px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }

/* Timeline - Alternating Zigzag Layout */
.ab-timeline {
    position: relative;
    max-width: 920px;
    margin-inline: auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
}

/* Central spine */
.ab-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--primary-color) 0%, #22c55e 55%, rgba(34, 197, 94, 0.2) 100%);
    border-radius: 4px;
    z-index: 1;
}

/* Items */
.ab-tl-item {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 36px;
}

.ab-tl-item:last-child {
    margin-bottom: 0;
}

/* Odd items -> Left side */
.ab-tl-item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 56px;
    padding-left: 0;
}

/* Even items -> Right side */
.ab-tl-item:nth-child(even) {
    align-self: flex-end;
    padding-left: 56px;
    padding-right: 0;
}

/* Horizontal connectors between card and spine node */
.ab-tl-item:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 38px;
    right: 0;
    width: 56px;
    height: 2px;
    background: linear-gradient(to right, var(--border-color), var(--primary-color));
    z-index: 1;
}

.ab-tl-item:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    width: 56px;
    height: 2px;
    background: linear-gradient(to left, var(--border-color), var(--primary-color));
    z-index: 1;
}

/* Year Badge - Centered on Spine */
.ab-tl-year {
    position: absolute;
    top: 19px;
    width: 76px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #22c55e 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    border: 3px solid var(--bg-canvas, #ffffff);
    z-index: 4;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.ab-tl-item:nth-child(odd) .ab-tl-year {
    right: -38px;
    left: auto;
}

.ab-tl-item:nth-child(even) .ab-tl-year {
    left: -38px;
    right: auto;
}

.ab-tl-item:hover .ab-tl-year {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
}

/* Card */
.ab-tl-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.ab-tl-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Tag inside card */
.ab-tl-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ab-tl-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.ab-tl-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Team */
.ab-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ab-member {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.ab-member:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.ab-member-img {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--bg-card, #f4f6f5);
}
.ab-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform-origin: center 25%;
    transition: transform 0.6s ease;
}
.ab-member:hover .ab-member-img img { transform: scale(1.06); }

.ab-member-social {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(5, 21, 12, 0.78));
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.ab-member:hover .ab-member-social { opacity: 1; transform: none; }
.ab-member-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    color: #0B3D24;
    font-size: 0.95rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.ab-member-social a:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); }

.ab-member-body { padding: 18px 20px; text-align: center; }
.ab-member-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.ab-member-role { font-size: 0.82rem; color: var(--text-muted); }

/* About CTA */
.ab-cta {
    background: linear-gradient(120deg, #14532D, #15803D 70%);
    border-radius: 28px;
    padding: 60px 56px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ab-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 85% 0%, rgba(74, 222, 128, 0.3), transparent 60%);
    pointer-events: none;
}
.ab-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.ab-cta p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-inline: auto; font-size: 1rem; margin-bottom: 28px; }
.ab-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FLEET PAGE  (fl-*)
   ============================================================ */
.fl-hero {
    padding: 172px 0 96px;
    background:
        linear-gradient(rgba(7, 28, 17, 0.86), rgba(7, 28, 17, 0.93)),
        url('../images/fleet-bg.avif') center / cover no-repeat;
    color: #fff;
    position: relative;
}
.fl-hero-inner {
    max-width: 840px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sv-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 24px;
    margin-inline: auto;
}
.sv-breadcrumb a { color: #fff; transition: color 0.25s ease; }
.sv-breadcrumb a:hover { color: var(--green-bright); }
.sv-breadcrumb i { color: rgba(255, 255, 255, 0.4); font-size: 0.78rem; }

.fl-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 18px; text-align: center; }
.fl-hero-sub { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; line-height: 1.7; max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: 28px; }
.fl-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }

.sv-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.sv-chip i { color: var(--green-bright); }
.sv-chip:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); }
.sv-chip:hover i { color: #fff; }

.fl-hero-stats {
    list-style: none;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    width: 100%;
}
.fl-hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--green-bright); line-height: 1.1; }
.fl-hero-stats span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }

/* Fleet category tiles */
.fl-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fl-cat {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.fl-cat:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.fl-cat img { width: 100%; height: 150px; object-fit: cover; transition: transform 0.5s ease; }
.fl-cat:hover img { transform: scale(1.06); }
.fl-cat-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.fl-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.fl-cat-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.fl-cat-body p { flex: 1; color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 14px; }
.fl-cat-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; color: var(--primary-color); }
.fl-cat-link i { transition: transform 0.25s ease; }
.fl-cat-link:hover i { transform: translateX(3px); }

/* Comparison table */
.fl-compare-scroll { overflow-x: auto; border-radius: 22px; border: 1px solid var(--border-color); background: var(--card-bg); box-shadow: var(--shadow-sm); }
.fl-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.fl-table th {
    background: var(--primary-color);
    color: #fff;
    text-align: left;
    padding: 16px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}
.fl-table th i { margin-right: 6px; color: var(--green-bright); }
.fl-table td { padding: 14px 18px; font-size: 0.9rem; border-top: 1px solid var(--border-color); color: var(--text-color); }
.fl-table tbody tr:hover { background: var(--bg-alt); }
.fl-td-feat { font-weight: 700; color: var(--ink); background: var(--bg-alt); width: 200px; }
.fl-cell-yes { color: var(--primary-color); font-weight: 600; }
.fl-cell-no { color: #B91C1C; font-weight: 600; }
.fl-cell-yes i, .fl-cell-no i { margin-right: 6px; }

/* Shared final CTA (fleet + tours) */
.fl-cta {
    background: linear-gradient(120deg, #14532D, #15803D 70%);
    border-radius: 28px;
    padding: 56px;
    display: flex;
    ify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.fl-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 88% 0%, rgba(74, 222, 128, 0.28), transparent 60%);
    pointer-events: none;
}
.fl-cta-copy { position: relative; }
.fl-cta-copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.fl-cta-copy p { color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; line-height: 1.7; max-width: 540px; }
.fl-cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   SERVICES PAGE  (sv-*)
   ============================================================ */
.sv-hero {
    padding: 172px 0 96px;
    background:
        linear-gradient(rgba(7, 28, 17, 0.86), rgba(7, 28, 17, 0.93)),
        url('../images/service-bg.avif') center / cover no-repeat;
    color: #fff;
    position: relative;
}
.sv-hero-inner {
    max-width: 840px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sv-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 18px; text-align: center; }
.sv-hero-sub { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; line-height: 1.7; max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: 28px; }
.sv-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Services headline */
.sv-head {
    max-width: 680px;
    margin-bottom: 48px;
    text-align: center;
    margin-inline: auto;
}
.sv-head.center { text-align: center; margin-inline: auto; }
.sv-head .eyebrow { margin-bottom: 14px; }
.sv-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.sv-head p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-inline: auto; }
.sv-head-line { display: block; width: 64px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-color), var(--green-bright)); margin-top: 16px; margin-inline: auto; }
.sv-head.center .sv-head-line { margin-inline: auto; }

/* Service cards */
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sv-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.sv-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.sv-card-media { position: relative; height: 180px; overflow: hidden; }
.sv-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sv-card:hover .sv-card-media img { transform: scale(1.06); }
.sv-card-num {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(7, 28, 17, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--green-bright);
    font-weight: 800;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.sv-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sv-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sv-card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.2rem;
}
.sv-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
}
.sv-card-badge i { color: var(--primary-color); }
.sv-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sv-card-body p { flex: 1; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 18px; }
.sv-card-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.92rem; color: var(--primary-color); }
.sv-card-link i { transition: transform 0.25s ease; }
.sv-card-link:hover i { transform: translateX(3px); }

/* Process deck */
.sv-proc-deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sv-proc-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.sv-proc-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }

.sv-proc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sv-proc-step { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 800; color: var(--primary-color); }
.sv-proc-step i { font-size: 1rem; }
.sv-proc-num { font-size: 2.1rem; font-weight: 800; color: var(--border-color); line-height: 1; }

.sv-proc-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-deep));
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.3);
}
.sv-proc-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sv-proc-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; }
.sv-proc-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}
.sv-proc-tag i { color: var(--primary-color); }

/* Service spotlight */
.sv-spot {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.sv-spot.reverse { grid-template-columns: 1.05fr 1fr; }
.sv-spot.reverse .sv-spot-img { order: 2; }

.sv-spot-img { position: relative; min-height: 420px; overflow: hidden; }
.sv-spot-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-spot-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(7, 28, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--green-bright);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}
.sv-spot-stat {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(7, 28, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    color: #fff;
}
.sv-spot-stat-val { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.92rem; color: #fff; }
.sv-spot-stat-val i { color: var(--green-bright); }
.sv-spot-stat-lbl { font-size: 0.76rem; color: rgba(255, 255, 255, 0.75); }

.sv-spot-copy { padding: 44px 40px; }
.sv-spot-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.sv-spot-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
}
.sv-spot-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}
.sv-spot-pill i { color: var(--primary-color); }
.sv-spot-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 14px; }
.sv-spot-copy > p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.7; margin-bottom: 20px; }

.sv-spot-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.sv-spot-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.92rem; color: var(--text-color); }
.sv-spot-list li::before {
    content: '\2713';
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 2px;
}

.sv-spot-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pricing plans */
.sv-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sv-plan {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.sv-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sv-plan.featured { border: 2px solid var(--primary-color); box-shadow: 0 24px 50px rgba(21, 128, 61, 0.16); }

.sv-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-bright), var(--primary-color));
    color: #04260F;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.sv-plan-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.sv-plan h3 { font-size: 1.25rem; margin-bottom: 8px; }
.sv-plan-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

.sv-plan-price { background: var(--bg-alt); border: 1px dashed var(--border-color); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.sv-plan-price strong { font-size: 2.2rem; letter-spacing: -0.02em; color: var(--ink); }
.sv-plan-price small { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.sv-plan-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.sv-plan-list li { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 500; color: var(--text-color); }
.sv-plan-list li i { color: var(--primary-color); }
.sv-plan .btn { width: 100%; }

/* Guarantee band */
.sv-guarantee {
    background:
        radial-gradient(60% 100% at 85% 0%, rgba(34, 197, 94, 0.16), transparent 60%),
        linear-gradient(135deg, #07281A, #0B3D24);
    padding: 96px 0;
    color: #fff;
}
.sv-guarantee .sv-head h2 { color: #fff; }
.sv-guarantee .sv-head p { color: rgba(255, 255, 255, 0.75); }
.sv-guarantee .eyebrow { background: rgba(255, 255, 255, 0.12); color: var(--green-bright); }
.sv-guarantee .sv-head-line { background: linear-gradient(90deg, var(--green-bright), transparent); }

.sv-guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sv-guar-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 26px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.sv-guar-item:hover { transform: translateY(-5px); border-color: rgba(74, 222, 128, 0.5); }
.sv-guar-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(74, 222, 128, 0.15);
    color: var(--green-bright);
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.sv-guar-item h4 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.sv-guar-item p { color: rgba(255, 255, 255, 0.72); font-size: 0.86rem; line-height: 1.6; }

/* Services CTA panel */
.sv-cta-panel {
    background: linear-gradient(120deg, #14532D, #15803D 70%);
    border-radius: 28px;
    padding: 60px 56px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sv-cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 85% 0%, rgba(74, 222, 128, 0.3), transparent 60%);
    pointer-events: none;
}
.sv-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: var(--green-bright);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 14px;
}
.sv-cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.sv-cta-panel p { color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; max-width: 600px; margin-inline: auto; margin-bottom: 28px; }
.sv-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   CONTACT PAGE  (ct-*)
   ============================================================ */
.ct-hero {
    padding: 172px 0 96px;
    background:
        linear-gradient(rgba(7, 28, 17, 0.86), rgba(7, 28, 17, 0.93)),
        url('../images/contact-bg.avif') center / cover no-repeat;
    color: #fff;
    position: relative;
}
.ct-hero-inner {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ct-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 18px; text-align: center; }
.ct-hero-sub { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; line-height: 1.7; max-width: 660px; margin-inline: auto; text-align: center; margin-bottom: 28px; }

.ct-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 24px;
    margin-inline: auto;
}
.ct-breadcrumb a { color: #fff; transition: color 0.25s ease; }
.ct-breadcrumb a:hover { color: var(--green-bright); }
.ct-breadcrumb i { color: rgba(255, 255, 255, 0.4); font-size: 0.78rem; }

.ct-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ct-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.ct-chip i { color: var(--green-bright); }
.ct-chip:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); }
.ct-chip:hover i { color: #fff; }

/* Contact headline */
.ct-head {
    max-width: 680px;
    margin-bottom: 48px;
    text-align: center;
    margin-inline: auto;
}
.ct-head.center { text-align: center; margin-inline: auto; }
.ct-head .eyebrow { margin-bottom: 14px; }
.ct-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.ct-head p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-inline: auto; }
.ct-head-line { display: block; width: 64px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-color), var(--green-bright)); margin-top: 22px; margin-inline: auto; }
.ct-head.center .ct-head-line { margin-inline: auto; }

/* Info cards */
.ct-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ct-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    min-width: 0;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.ct-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--green-bright));
    opacity: 0.9;
}
.ct-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.ct-card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.ct-card-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.ct-card h3 {
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.35;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.ct-card p { flex: 1; color: var(--text-muted); font-size: 0.86rem; line-height: 1.65; margin-bottom: 18px; }
.ct-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; color: var(--primary-color); }
.ct-card-link i { transition: transform 0.25s ease; }
.ct-card-link:hover i { transform: translateX(3px); }

/* Form + map grid */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }

.ct-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { margin-bottom: 18px; }
.ct-field label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.ct-field label span { color: var(--primary-color); }
.ct-input,
.ct-select,
.ct-textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-alt);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.ct-input::placeholder,
.ct-textarea::placeholder { color: var(--text-muted); opacity: 0.85; }
.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
    background: var(--bg-canvas);
}
.ct-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239CA3AF' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}
.ct-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.ct-form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.ct-form-consent input { margin-top: 3px; flex-shrink: 0; }
.ct-form-consent label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.ct-form-consent a { color: var(--primary-color); font-weight: 600; }

.ct-check {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-canvas);
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ct-check:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.ct-check:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.ct-check:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }

/* Map card */
.ct-map-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.ct-map-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ct-map-head h3 { font-size: 1.25rem; margin-bottom: 2px; }
.ct-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}
.ct-map-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); flex: 1; min-height: 260px; }
.ct-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* Contact CTA */
.ct-cta {
    background: linear-gradient(120deg, #14532D, #15803D 70%);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ct-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 85% 0%, rgba(74, 222, 128, 0.3), transparent 60%);
    pointer-events: none;
}
.ct-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: var(--green-bright);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 14px;
}
.ct-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.ct-cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; max-width: 600px; margin-inline: auto; margin-bottom: 28px; }
.ct-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual {
        max-width: 660px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-inline: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-bike-stage {
        width: 100%;
        max-width: 660px;
        margin-left: auto;
        margin-right: auto;
        margin-inline: auto;
    }
    .ct-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .section { padding: 80px 0; }
    .hero { padding: 150px 0 90px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .stat-item:nth-child(2)::after { display: none; }

    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .fleet-grid, .grid-auto, .sv-grid { grid-template-columns: repeat(2, 1fr); }
    .h2-styles { grid-template-columns: repeat(2, 1fr); }
    .h2-journey { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .h2-journey-line { display: none; }
    .ab-values-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .ab-member-img { height: 320px; }
    .ab-member-img img { object-position: center top; }
    .fl-cats { grid-template-columns: repeat(2, 1fr); }
    .sv-proc-deck { grid-template-columns: repeat(2, 1fr); }
    .sv-spot, .sv-spot.reverse { grid-template-columns: 1fr; }
    .sv-spot.reverse .sv-spot-img { order: 0; }
    .sv-spot-img { min-height: 320px; }
    .ct-cards { grid-template-columns: repeat(2, 1fr); }
    .ct-grid { grid-template-columns: 1fr; }

    .stations-grid { grid-template-columns: 1fr; }
    .safety-grid { grid-template-columns: 1fr; }
    .h2-app-grid { grid-template-columns: 1fr; gap: 48px; }
    .h2-tours { grid-template-columns: 1fr; }
    .h2-tour-feature { min-height: 440px; }
    .h2-tour-rail { flex-direction: column; }
    .h2-rules { grid-template-columns: 1fr; }
    .ab-story-grid { grid-template-columns: 1fr; gap: 56px; }
    .ab-story-img-main img { height: 380px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .sv-plans { grid-template-columns: 1fr; }
    .sv-plan.featured { transform: none; }
.sv-guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
    .h2-hero { padding: 130px 0 70px; min-height: auto; }
    .h2-hero-stats { gap: 30px; }
    .map-wrap { min-height: 320px; }
    .fl-cta { padding: 44px 32px; flex-direction: column; text-align: center; }
    .fl-cta-copy p { margin-inline: auto; }
    .fl-cta-actions, .h2-cta-actions, .ab-cta-actions, .sv-cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
    section[id],
    .section[id],
    div[id] {
        scroll-margin-top: 76px;
    }
    .section { padding: 64px 0; }
    .h2-head { margin-bottom: 28px; }
    .h2-head .eyebrow { margin-bottom: 10px; }
    .h2-head h2 { font-size: clamp(1.45rem, 5.2vw, 1.85rem); margin-bottom: 8px; }
    .h2-head p { font-size: 0.92rem; line-height: 1.55; }
    .h2-head-line { margin-top: 12px; }

    .container { width: calc(100% - 32px); }.steps-grid,
.fleet-grid,
.grid-auto,
.sv-grid,
.h2-styles,
.h2-journey,
.ab-values-grid,
.ab-team-grid,
.fl-cats,
.sv-proc-deck,
.ab-impact-grid,
.ct-cards,
.sv-guarantee-grid { grid-template-columns: 1fr; }

    .ab-team-grid {
        max-width: 420px;
        margin-inline: auto;
        gap: 22px;
    }
    .ab-member-img { height: 330px; }
    .ab-member-img img { object-position: center top; }

    .h2-rule-grid { grid-template-columns: 1fr; }
    .h2-tours { gap: 20px; }
    .h2-tour-feature { min-height: 420px; border-radius: 22px; }
    .h2-tour-feature::before {
        background: linear-gradient(180deg, rgba(5, 21, 12, 0.35) 0%, rgba(5, 21, 12, 0.72) 42%, rgba(5, 21, 12, 0.96) 100%);
    }
    .h2-tour-feature-body { padding: 22px 18px; }
    .h2-tour-tag {
        background: rgba(7, 28, 17, 0.82);
        border: 1px solid rgba(74, 222, 128, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .h2-tour-feature-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
    .h2-tour-feature-body > p { font-size: 0.88rem; line-height: 1.55; margin-bottom: 14px; }
    .h2-tour-facts { gap: 8px; margin-bottom: 18px; }
    .h2-tour-facts li { padding: 5px 10px; font-size: 0.76rem; }
    .h2-tour-feature-foot { gap: 12px; }
    .h2-tour-feature-foot .btn { padding: 10px 18px; font-size: 0.88rem; }

    .h2-tour-rail { gap: 16px; }
    .h2-tour-mini { flex-direction: column; padding: 14px; border-radius: 18px; }
    .h2-tour-mini-img, .h2-tour-mini-img img { width: 100%; height: 145px; border-radius: 12px; }
    .h2-tour-mini-body h3 { font-size: 1.05rem; margin: 6px 0 4px; }
    .h2-tour-mini-body > p {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .h2-tour-mini-foot { padding-top: 10px; }

    .stats-grid { gap: 24px; }
    .stat-item::after { display: none; }

    .safety-band, .portal-cta { padding: 32px 24px; }
    .safety-band { border-radius: 22px; }
    .safety-points { grid-template-columns: 1fr; }
    .portal-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .portal-actions { justify-content: center; }

    .fl-cta, .ab-cta, .h2-cta, .sv-cta-panel { padding: 44px 26px; text-align: center; }
    .fl-cta-copy h2, .ab-cta h2, .h2-cta-copy h2, .sv-cta-panel h2 { font-size: 1.7rem; }

    .ct-form-card { padding: 24px 20px; }
    .ct-form-row { grid-template-columns: 1fr; gap: 0; }
    .ct-map-card { padding: 18px; }
    .ct-cta { padding: 44px 24px; }
    .ct-cta h2 { font-size: 1.7rem; }

    .ab-story-badge { bottom: -18px; right: 16px; padding: 12px 16px; }
    .ab-story-img-main img { height: 300px; }
    .ab-timeline::before {
        left: 24px;
        transform: none;
        width: 3px;
    }
    .ab-tl-item,
    .ab-tl-item:nth-child(odd),
    .ab-tl-item:nth-child(even) {
        align-self: stretch;
        width: 100%;
        padding-left: 68px;
        padding-right: 0;
        margin-bottom: 28px;
    }
    .ab-tl-item:nth-child(odd)::before,
    .ab-tl-item:nth-child(even)::before {
        left: 24px;
        right: auto;
        width: 44px;
        top: 34px;
        background: linear-gradient(to right, var(--primary-color), var(--border-color));
    }
    .ab-tl-item:nth-child(odd) .ab-tl-year,
    .ab-tl-item:nth-child(even) .ab-tl-year {
        left: -6px;
        right: auto;
        top: 18px;
        width: 60px;
        height: 32px;
        font-size: 0.82rem;
    }

    .sv-spot-copy { padding: 28px 22px; }
    .sv-spot-img { min-height: 260px; }
    .sv-plan { padding: 28px 22px; }

    .h2-hero-stats { gap: 22px; }
    .h2-hero-stats strong { font-size: 1.25rem; }
    .h2-hero h1 { font-size: 2.5rem; }

    .testimonial-card { padding: 24px 22px; }
    .testimonial-top { flex-direction: column; align-items: flex-start; }

    .footer { padding-top: 60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
    .footer-bottom { justify-content: center; text-align: center; }

    .carousel-nav-wrap { gap: 12px; }
    .h2-marquee-item { padding: 0 20px; font-size: 0.88rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .h2-journey { gap: 28px; }
    .h2-phone { width: 100%; max-width: 300px; }
    .h2-tour-feature { min-height: 400px; }
    .h2-tour-feature-body { padding: 20px 16px; }
    .h2-tour-feature-body h3 { font-size: 1.35rem; }
    .h2-tour-facts li { padding: 4px 9px; font-size: 0.74rem; }
    .h2-tour-price { font-size: 1.35rem; }
    .h2-tour-feature-foot .btn { width: 100%; justify-content: center; }
    .section-cta-wrap { margin-top: 32px; }

    .ct-cards { grid-template-columns: 1fr; }
    .ab-team-grid { max-width: 100%; gap: 18px; }
    .ab-member-img { height: 290px; }
    .ab-member-img img { object-position: center top; }
}

/* ============================================================
   GUIDED TOURS PAGE  (.tr- prefix)
   ============================================================ */

/* --- 1. HERO --- */
.tr-hero {
    position: relative;
    padding: 172px 0 96px;
    background:
        linear-gradient(rgba(7, 28, 17, 0.84), rgba(7, 28, 17, 0.9)),
        url('../images/tour-bg.webp') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.tr-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 120% at 88% 0%, rgba(74, 222, 128, 0.22), transparent 60%);
    pointer-events: none;
}

.tr-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tr-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 18px;
    text-align: center;
}

.tr-hero h1 .hl { color: var(--green-bright); }

.tr-hero-sub {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 26px;
}

.tr-hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 38px;
}

.tr-hero-stats {
    list-style: none;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    width: 100%;
}

.tr-hero-stats strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--green-bright);
    line-height: 1.1;
}

.tr-hero-stats span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

/* Shared price token */
.tr-price {
    font-weight: 800;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1;
}

.tr-price small {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* --- 2. FEATURED FLAGSHIP TOUR --- */
.tr-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tr-featured-media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.tr-featured-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tr-featured-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(7, 28, 17, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--green-bright);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.tr-featured-body {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.tr-featured-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.tr-featured-body h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 14px;
}

.tr-featured-body > p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.tr-itinerary {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.tr-itinerary li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-color);
}

.tr-itinerary li i { color: var(--primary-color); font-size: 1rem; }

.tr-featured-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    margin-bottom: 24px;
}

.tr-featured-facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tr-featured-facts span i { color: var(--primary-color); }

.tr-featured-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* --- 3. TOUR CATALOG --- */
.tr-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tr-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.tr-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tr-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tr-card:hover .tr-card-img img { transform: scale(1.06); }

.tr-card-dur {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border-color);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.tr-card-diff {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

.tr-card-diff.easy { background: #15803D; }
.tr-card-diff.moderate { background: #D97706; }
.tr-card-diff.challenging { background: #B91C1C; }

.tr-card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tr-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }

.tr-card-body > p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.tr-card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.tr-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tr-card-meta span i { color: var(--primary-color); }

.tr-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* --- 4. DIFFICULTY & PACE --- */
.tr-pace {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tr-pace-card {
    position: relative;
    padding: 34px 28px;
    border-radius: 22px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.tr-pace-card.hot {
    border-color: var(--primary-color);
    box-shadow: 0 18px 40px rgba(21, 128, 61, 0.18);
}

.tr-pace-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tr-pace-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.tr-pace-label {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.tr-pace-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.tr-pace-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }

.tr-pace-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}

.tr-pace-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tr-pace-meta span i { color: var(--primary-color); }

/* --- 5. WHAT'S INCLUDED --- */
.tr-included {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tr-included-head {
    padding: 44px 40px;
    background:
        radial-gradient(120% 160% at 20% 0%, rgba(22, 163, 74, 0.12), transparent 60%),
        var(--bg-alt);
}

.tr-included-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    margin-bottom: 14px;
}

.tr-included-head p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.tr-included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 36px 40px;
}

.tr-inlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tr-inlist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tr-inlist li > i {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-top: 2px;
}

.tr-inlist strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.tr-inlist small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- 6. TOUR PROMISE BAND --- */
.tr-promise {
    background: radial-gradient(140% 160% at 50% 0%, var(--primary-color) 0%, var(--primary-deep) 60%, #052E16 100%);
    color: #fff;
    padding: 88px 0;
}

.tr-promise .sv-head h2 { color: #fff; }
.tr-promise .sv-head p { color: rgba(255, 255, 255, 0.8); }
.tr-promise .eyebrow { background: rgba(255, 255, 255, 0.12); color: var(--green-bright); }
.tr-promise .sv-head-line { background: linear-gradient(90deg, var(--green-bright), transparent); }

.tr-promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tr-promise-item {
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.tr-promise-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.5);
}

.tr-promise-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(74, 222, 128, 0.16);
    color: var(--green-bright);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.tr-promise-item h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.tr-promise-item p { color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; line-height: 1.6; }

.tr-promise-note {
    margin-top: 34px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.tr-promise-note i {
    color: var(--green-bright);
    font-size: 1.2rem;
    margin-top: 2px;
}

.tr-promise-note p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* --- GUIDED TOURS PAGE Responsive --- */
@media (max-width: 1024px) {
    .tr-hero { padding: 140px 0 76px; }
    .tr-featured { grid-template-columns: 1fr; }
    .tr-featured-media { min-height: 300px; }
    .tr-catalog { grid-template-columns: 1fr 1fr; }
    .tr-pace { grid-template-columns: 1fr; }
    .tr-pace-card.hot { transform: none; }
    .tr-pace-card.hot:hover { transform: translateY(-6px); }
    .tr-included { grid-template-columns: 1fr; }
    .tr-included-head { text-align: center; }
    .tr-promise-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .tr-hero { padding: 130px 0 68px; }
    .tr-hero-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding-top: 24px;
    }
}

@media (max-width: 640px) {
    .tr-hero { padding: 120px 0 56px; }
    .tr-hero h1 { font-size: clamp(1.85rem, 6vw, 2.3rem); line-height: 1.15; margin-bottom: 14px; }
    .tr-hero-sub { font-size: 0.96rem; line-height: 1.6; margin-bottom: 22px; }
    .tr-hero-chips { gap: 8px; margin-bottom: 26px; }
    .tr-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
        max-width: 440px;
        margin-inline: auto;
    }
    .tr-featured-body { padding: 26px 22px; }
    .tr-featured-foot { flex-direction: column; align-items: stretch; }
    .tr-featured-foot .btn { width: 100%; }
    .tr-catalog { grid-template-columns: 1fr; }
    .tr-card-img { height: 210px; }
    .tr-included-grid { grid-template-columns: 1fr 1fr; padding: 28px 22px; }
    .tr-promise { padding: 72px 0; }
    .tr-promise-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .tr-hero { padding: 110px 0 48px; }
    .tr-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }
    .tr-included-grid { grid-template-columns: 1fr; }
    .tr-promise-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   404 ERROR PAGE (err-*)
   ============================================================ */
.err-hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 90px;
    background: radial-gradient(circle at 50% 32%, rgba(34, 197, 94, 0.09) 0%, transparent 62%), var(--bg-canvas);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.err-visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.err-number {
    font-size: clamp(6.5rem, 16vw, 11rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--green-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.err-wheel-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(80px, 15vw, 140px);
    height: clamp(80px, 15vw, 140px);
    border-radius: 50%;
    border: clamp(8px, 1.4vw, 14px) dashed var(--primary-color);
    animation: errSpin 16s linear infinite;
    position: relative;
    flex-shrink: 0;
}

.err-wheel-wrap i {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

@keyframes errSpin {
    100% { transform: rotate(360deg); }
}

.err-title {
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.err-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 34px;
    line-height: 1.7;
}

.err-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

@media (max-width: 560px) {
    .err-hero { padding-top: 120px; }
}

/* ============================================================
   COMING SOON PAGE (cs-*)
   ============================================================ */
.cs-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 145px 0 95px;
    background: radial-gradient(circle at 50% 28%, rgba(34, 197, 94, 0.11) 0%, transparent 68%), var(--bg-canvas);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border: 1px solid rgba(22, 128, 61, 0.25);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.cs-badge i { font-size: 1rem; color: var(--green-bright); }

.cs-title {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 18px;
}

.cs-title span {
    color: var(--primary-color);
}

.cs-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 38px;
    line-height: 1.7;
}

/* Countdown Timer */
.cs-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.cs-time-box {
    min-width: 105px;
    padding: 18px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.cs-time-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.cs-time-val {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cs-time-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

@keyframes csPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

@media (max-width: 860px) {
    .cs-time-box { min-width: 85px; padding: 14px 10px; }
    .cs-time-val { font-size: 2.1rem; }
}

@media (max-width: 520px) {
    .cs-hero { padding-top: 120px; }
}

/* ============================================================
   ADMIN & SHARED DASHBOARD STYLES (from admin.css)
   ============================================================ */

/* ============================================================
   PEDALPATH — ADMIN DASHBOARD STYLESHEET
   Extends the base design system (style.css) with the admin shell:
   sidebar + topbar layout, cards, tables, badges, modals, charts.
   ============================================================ */

/* --- Admin tokens ------------------------------------------- */
:root {
    --ad-bg: #F3F7F4;
    --ad-surface: #FFFFFF;
    --ad-surface-2: #F7FAF8;
    --ad-border: #E4EAE6;
    --ad-sidebar-bg: #FFFFFF;
    --ad-sidebar-solid: #FFFFFF;
    --ad-sidebar-ink: var(--ink);
    --ad-sidebar-muted: var(--text-muted);
    --ad-sidebar-hover: var(--primary-soft);
    --ad-sidebar-active: var(--primary-soft);
    --ad-topbar-h: 70px;
    --ad-radius: 18px;
    --ad-red: #DC2626;
    --ad-red-soft: rgba(220, 38, 38, 0.1);
    --ad-amber: #D97706;
    --ad-amber-soft: rgba(217, 119, 6, 0.12);
    --ad-green: #16A34A;
    --ad-green-soft: rgba(22, 163, 74, 0.12);
    --ad-blue: #2563EB;
    --ad-blue-soft: rgba(37, 99, 235, 0.12);
    --ad-violet: #7C3AED;
    --ad-violet-soft: rgba(124, 58, 237, 0.12);
    --ad-slate: #6B7280;
    --ad-slate-soft: rgba(107, 114, 128, 0.14);
    --ad-pink: #DB2777;
    --ad-pink-soft: rgba(219, 39, 119, 0.12);
}

/* --- Admin Base ---------------------------------------------- */
body.ad-body {
    min-height: 100vh;
    background: var(--ad-bg);
    color: var(--text-color);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ad-shell {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
    margin-inline-start: 272px;
    transition: margin-inline-start 0.3s ease;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.ad-sidebar {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 272px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ad-sidebar-bg);
    border-inline-end: 1px solid var(--ad-border);
    overflow: hidden;
    z-index: 1200;
    transition: width 0.3s ease, transform 0.35s ease;
}

.ad-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: var(--ad-topbar-h);
    padding: 0 20px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--ad-border);
}
.ad-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
    line-height: 1;
}
.ad-logo i { color: var(--primary-color); font-size: 1.5rem; }
.ad-logo span { color: var(--primary-color); }
.ad-logo .ad-logo-badge {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: var(--primary-soft);
    border: 1px solid rgba(22, 163, 74, 0.25);
    padding: 3px 8px;
    border-radius: 999px;
    margin-inline-start: 4px;
}

.ad-sidebar-close { display: none; }

.ad-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 12px 20px;
}
.ad-nav::-webkit-scrollbar { width: 5px; }
.ad-nav::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 999px; }

.ad-nav-label {
    display: block;
    padding: 12px 12px 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.ad-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    margin: 2px 0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    text-align: start;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.ad-nav-link > i:first-child { font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; width: 20px; text-align: center; transition: color 0.2s ease; }
.ad-nav-link:hover { background: var(--ad-sidebar-hover); color: var(--primary-color); }
.ad-nav-link:hover > i:first-child { color: var(--primary-color); }
.ad-nav-link.active {
    background: var(--ad-sidebar-active);
    border-color: rgba(22, 163, 74, 0.35);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);
}
.ad-nav-link.active::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
}
html[dir="rtl"] .ad-nav-link.active::before {
    border-radius: 4px 0 0 4px;
}
.ad-nav-link.active > i:first-child { color: var(--primary-color); }

.ad-sub-chev { margin-inline-start: auto; font-size: 0.72rem !important; color: var(--text-muted) !important; transition: transform 0.3s ease, color 0.2s ease; width: auto !important; }
.ad-nav-link:hover .ad-sub-chev,
.ad-nav-group.open > .ad-nav-link .ad-sub-chev { color: var(--primary-color) !important; }
.ad-nav-group.open > .ad-nav-link .ad-sub-chev { transform: rotate(180deg); }

.ad-submenu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.3s ease;
}
.ad-nav-group.open .ad-submenu { max-height: 560px; opacity: 1; }
.ad-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px 9px 44px;
    margin: 2px 0;
    border-radius: 11px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.ad-submenu a i { font-size: 0.95rem; width: 20px; text-align: center; }
.ad-submenu a:hover { background: var(--ad-sidebar-hover); color: var(--primary-color); }
.ad-submenu a.active { color: var(--primary-color); background: var(--ad-sidebar-hover); font-weight: 700; }

.ad-sidebar-foot {
    padding: 12px;
    border-top: 1px solid var(--ad-border);
    flex-shrink: 0;
}

/* Collapsed sidebar */
.ad-body.sidebar-collapsed .ad-sidebar { width: 82px; }
.ad-body.sidebar-collapsed .ad-sidebar-head { justify-content: center; padding: 0; }
.ad-body.sidebar-collapsed .ad-logo span,
.ad-body.sidebar-collapsed .ad-logo .ad-logo-badge { display: none; }
.ad-body.sidebar-collapsed .ad-nav { padding: 16px 10px 20px; }
.ad-body.sidebar-collapsed .ad-nav-label { opacity: 0; height: 0; padding: 0; overflow: hidden; }
.ad-body.sidebar-collapsed .ad-nav-link { justify-content: center; padding: 11px 0; }.ad-body.sidebar-collapsed .ad-nav-link > span,
.ad-body.sidebar-collapsed .ad-sub-chev,
.ad-body.sidebar-collapsed .ad-submenu,
.ad-body.sidebar-collapsed .ad-sidebar-foot .ad-nav-link span { display: none; }
.ad-body.sidebar-collapsed .ad-nav-group.open .ad-submenu { max-height: 0; opacity: 0; }
.ad-body.sidebar-collapsed .ad-sidebar-foot { padding: 12px 10px; }

/* Mobile-only controls shown inside the sidebar on tablet & phone
   (theme/RTL toggles move here; hidden on desktop) */
.ad-sidebar-toggles { display: none; }
.ad-sidebar .mobile-toggle-btn {
    border: 1px solid var(--ad-border);
    background: var(--ad-surface-2);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.22s ease;
}
.ad-sidebar .mobile-toggle-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-soft);
    color: var(--primary-color);
}
.ad-sidebar .mobile-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ad-sidebar .mobile-toggle-left i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: color 0.2s ease;
}
.ad-sidebar .toggle-label-text {
    color: var(--ink);
    font-weight: 600;
    transition: color 0.2s ease;
}
.ad-sidebar .mobile-toggle-btn:hover .toggle-label-text {
    color: var(--primary-color);
}
.ad-sidebar .toggle-switch-indicator {
    background: #D1D5DB;
}
.ad-sidebar .mobile-toggle-btn.active .toggle-switch-indicator,
.ad-sidebar .toggle-switch-indicator.on {
    background: var(--primary-color);
}

@media (min-width: 992px) {
    .ad-topbar #adSidebarToggle { display: none; }
}

/* ============================================================
   TOPBAR
   ============================================================ */
.ad-topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--ad-topbar-h);
    padding: 0 26px;
    background: var(--ad-surface);
    border-bottom: 1px solid var(--ad-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ad-topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ad-topbar-title { min-width: 0; display: flex; align-items: center; }
.ad-topbar-title h1 { display: none; }
.ad-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ad-search {
    position: relative;
    width: min(460px, 100%);
}
.ad-search i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}
.ad-search input {
    width: 100%;
    padding: 10px 40px 10px 42px;
    border: 1.5px solid var(--ad-border);
    border-radius: 12px;
    background: var(--ad-surface-2);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.ad-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
    background: var(--ad-surface);
}
.ad-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    cursor: pointer;
    transition: background 0.18s ease;
}
.ad-search-item:hover { background: var(--primary-soft); }
.ad-search-item .s-ic {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}
.ad-search-item .s-tx b { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.ad-search-item .s-tx span { font-size: 0.78rem; color: var(--text-muted); }

.ad-topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-inline-start: auto; }

.ad-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--ad-border);
    background: var(--ad-surface);
    color: var(--ink);
    font-size: 1.05rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.ad-icon-btn:hover { border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-2px); }
.ad-icon-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

#adSidebarToggle {
    color: var(--primary-color);
    background: var(--primary-soft);
    border-color: rgba(22, 163, 74, 0.28);
}
#adSidebarToggle i {
    color: var(--primary-color);
    font-size: 1.35rem;
}
#adSidebarToggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
#adSidebarToggle:hover i {
    color: #fff;
}

.ad-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 5px;
    border-radius: 999px;
    border: 1px solid var(--ad-border);
    background: var(--ad-surface);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.ad-profile:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
    transform: translateY(-1px);
}
.ad-profile:active {
    transform: translateY(0);
}
.ad-profile img,
.ad-profile .ad-profile-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}
.ad-profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ad-green);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}
.ad-profile-name {
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    user-select: none;
}
.ad-profile-arrow {
    font-size: 0.72rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}
.ad-profile.active .ad-profile-arrow,
.ad-dropdown-wrap.open .ad-profile-arrow {
    transform: rotate(180deg);
}

.ad-profile-dropdown-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

/* Topbar / generic dropdown */
.ad-dropdown-wrap { position: relative; }
.ad-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 300px;
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1300;
}
.ad-dropdown.show { opacity: 1; visibility: visible; transform: none; }
.ad-dropdown--right { right: 0; left: auto; }

.ad-dropdown-menu { display: flex; flex-direction: column; }
.ad-dropdown-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.18s ease, color 0.18s ease;
}
.ad-dropdown-menu a i { color: var(--text-muted); width: 20px; text-align: center; }
.ad-dropdown-menu a:hover { background: var(--primary-soft); color: var(--primary-color); }
.ad-dropdown-menu a:hover i { color: var(--primary-color); }
.ad-dropdown-menu a.danger { color: var(--ad-red); }
.ad-dropdown-menu a.danger i { color: var(--ad-red); }
.ad-dropdown-menu a.danger:hover { background: var(--ad-red-soft); color: var(--ad-red); }
.ad-dropdown-sep { height: 1px; background: var(--ad-border); margin: 6px 4px; }
.ad-dropdown-user { display: flex; align-items: center; gap: 12px; padding: 10px 12px 14px; }
.ad-dropdown-user .ad-profile-avatar { width: 44px; height: 44px; }
.ad-dropdown-user b { display: block; font-size: 0.95rem; color: var(--ink); }
.ad-dropdown-user span { font-size: 0.78rem; color: var(--text-muted); }

/* Custom Select Dropdowns */
.ad-custom-select {
    position: relative;
    width: 100%;
    z-index: 20;
}
.ad-custom-select.open {
    z-index: 1500;
}
.ad-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-alt);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: start;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.ad-select-btn:hover {
    border-color: var(--primary-color);
}
.ad-select-btn:focus,
.ad-custom-select.open .ad-select-btn {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
    background: var(--card-bg);
}
.ad-select-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    text-align: start;
}
.ad-select-btn i {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    margin-inline-start: 8px;
}
.ad-custom-select.open .ad-select-btn i {
    transform: rotate(180deg);
}
.ad-select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--ad-border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    max-height: 240px;
    overflow-y: auto;
}
.ad-custom-select.open .ad-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.ad-select-opt {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease, color 0.15s ease;
}
.ad-select-opt:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
}
.ad-select-opt.active {
    background: var(--primary-soft);
    color: var(--primary-color);
    font-weight: 700;
}
.ad-select-opt.active::after {
    content: '\F272';
    font-family: 'bootstrap-icons';
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Filter custom select in table toolbars */
.ad-filter-custom-select {
    position: relative;
    width: auto;
    min-width: 160px;
    z-index: 20;
}
.ad-filter-custom-select.open {
    z-index: 1500;
}
.ad-filter-custom-select .ad-select-btn {
    height: 40px;
    padding: 8px 14px;
    min-width: 160px;
    border-radius: 11px;
    font-size: 0.88rem;
    font-weight: 600;
    border-color: var(--ad-border);
}
.ad-filter-custom-select .ad-select-dropdown {
    min-width: 180px;
    width: 100%;
}

/* Native select cross-browser containment */
select.ct-select,
select.ad-filter-select {
    width: 100%;
    max-width: 100%;
    color-scheme: light dark;
}
select.ct-select option,
select.ad-filter-select option {
    background: var(--card-bg);
    color: var(--text-color);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.ad-main { flex: 1; padding: 28px 30px 48px; position: relative; min-width: 0; }
.ad-view { display: flex; flex-direction: column; gap: 24px; }

.ad-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ad-page-head .eyebrow { margin-bottom: 10px; }
.ad-page-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 6px; }
.ad-page-head p { color: var(--text-muted); font-size: 0.95rem; max-width: 640px; }
.ad-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Stat cards */
.ad-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.ad-stat {
    position: relative;
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: var(--ad-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ad-stat:hover { transform: translateY(-4px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.ad-stat-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.ad-stat-ic .bi { line-height: 1; }
.ad-stat-body { min-width: 0; }
.ad-stat-body .ad-stat-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.02em; }
.ad-stat-body .ad-stat-value { font-size: 1.65rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
.ad-stat-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.74rem; font-weight: 800; margin-top: 6px; padding: 3px 8px; border-radius: 999px; }
.ad-stat-delta.up { color: var(--ad-green); background: var(--ad-green-soft); }
.ad-stat-delta.down { color: var(--ad-red); background: var(--ad-red-soft); }
.ad-stat-delta.flat { color: var(--ad-slate); background: var(--ad-slate-soft); }
.ad-stat-spark { position: absolute; right: 14px; bottom: 12px; width: 88px; height: 34px; opacity: 0.85; }

/* Panels */
.ad-panel {
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: var(--ad-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.ad-panel:has(.ad-custom-select),
.ad-panel:has(.ad-dropdown),
.ad-modal:has(.ad-custom-select.open),
.ad-modal-body:has(.ad-custom-select.open),
.ad-form-grid:has(.ad-custom-select.open) {
    overflow: visible;
}
.ad-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ad-border);
}
.ad-panel-head h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.ad-panel-head h3 i { color: var(--primary-color); }
.ad-panel-head .ad-panel-sub { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.ad-panel-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ad-panel-body { padding: 22px; }
.ad-panel-foot { padding: 14px 22px; border-top: 1px solid var(--ad-border); background: var(--ad-surface-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted); }

.ad-grid { display: grid; gap: 24px; min-width: 0; }
.ad-grid-2 { grid-template-columns: 2fr 1fr; }
.ad-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ad-grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ============================================================
   CHARTS
   ============================================================ */
.ad-chart { width: 100%; height: auto; display: block; }
.ad-chart svg { display: block; width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.ad-donut-ring {
    --donut-a: 0deg;
    --donut-b: 0deg;
    --donut-c: 0deg;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: conic-gradient(
        var(--ad-green) var(--donut-a),
        var(--ad-blue) var(--donut-a) calc(var(--donut-b)),
        var(--ad-amber) calc(var(--donut-b)) calc(var(--donut-c)),
        #E5E7EB calc(var(--donut-c)) 360deg
    );
    display: grid;
    place-items: center;
    position: relative;
}
.ad-donut-ring .ad-donut-hole {
    width: 112px; height: 112px;
    border-radius: 50%;
    background: var(--ad-surface);
    display: grid;
    place-items: center;
    text-align: center;
}
.ad-donut-hole b { display: block; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.ad-donut-hole span { font-size: 0.68rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.ad-bars { display: flex; flex-direction: column; gap: 14px; }
.ad-bar-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 12px; }
.ad-bar-row .lbl { font-size: 0.82rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-bar-row .val { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-align: end; }
.ad-bar { height: 10px; border-radius: 999px; background: var(--border-color); overflow: hidden; }
.ad-bar > span { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1); }

/* ============================================================
   BADGES
   ============================================================ */
.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
}
.ad-badge i { font-size: 0.78rem; }
.b-green { background: var(--ad-green-soft); color: var(--ad-green); }
.b-red { background: var(--ad-red-soft); color: var(--ad-red); }
.b-amber { background: var(--ad-amber-soft); color: var(--ad-amber); }
.b-blue { background: var(--ad-blue-soft); color: var(--ad-blue); }
.b-violet { background: var(--ad-violet-soft); color: var(--ad-violet); }
.b-slate { background: var(--ad-slate-soft); color: var(--ad-slate); }

.ad-avail { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.ad-avail.on { background: var(--ad-green); box-shadow: 0 0 0 3px var(--ad-green-soft); }
.ad-avail.off { background: var(--ad-red); box-shadow: 0 0 0 3px var(--ad-red-soft); }
.ad-avail.pend { background: var(--ad-amber); box-shadow: 0 0 0 3px var(--ad-amber-soft); }

/* ============================================================
   TABLES
   ============================================================ */
.ad-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ad-table { min-width: 640px; }
.ad-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.ad-table th {
    background: var(--ad-surface-2);
    color: var(--text-muted);
    text-align: start;
    padding: 13px 18px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: default;
}
.ad-table th.sortable { cursor: pointer; user-select: none; }
.ad-table th.sortable:hover { color: var(--primary-color); }
.ad-table th .bi { font-size: 0.7rem; color: var(--text-muted); margin-inline-start: 4px; }
.ad-table th.sorted .bi { color: var(--primary-color); }
.ad-table td { padding: 15px 18px; font-size: 0.9rem; border-top: 1px solid var(--ad-border); color: var(--text-color); white-space: nowrap; }
.ad-table tbody tr { transition: background 0.18s ease; }
.ad-table tbody tr:hover { background: var(--ad-surface-2); }
.ad-table td .ad-cell-main { font-weight: 700; color: var(--ink); }
.ad-table td .ad-cell-sub { display: block; font-size: 0.76rem; color: var(--text-muted); font-weight: 500; margin-top: 1px; }
.ad-cell-avatar { display: flex; align-items: center; gap: 12px; }
.ad-cell-avatar .ad-profile-avatar { width: 38px; height: 38px; font-size: 0.85rem; }

.ad-row-actions { display: flex; align-items: center; gap: 6px; }
.ad-row-btn {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 10px;
    border: 1px solid var(--ad-border);
    background: var(--ad-surface);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.ad-row-btn:hover { color: var(--primary-color); border-color: var(--primary-color); background: var(--primary-soft); }
.ad-row-btn.warn:hover { color: var(--ad-amber); border-color: var(--ad-amber); background: var(--ad-amber-soft); }
.ad-row-btn.danger:hover { color: var(--ad-red); border-color: var(--ad-red); background: var(--ad-red-soft); }
.ad-chip {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--ad-border);
    background: var(--ad-surface);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.22s ease;
}
.ad-chip:hover { border-color: var(--primary-color); color: var(--primary-color); }
.ad-chip.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; box-shadow: 0 6px 16px rgba(21, 128, 61, 0.25); }
.ad-chip .cnt { opacity: 0.75; font-weight: 600; }

.ad-input-wrap { position: relative; }
.ad-input-wrap i { position: absolute; top: 50%; transform: translateY(-50%); left: 14px; color: var(--text-muted); font-size: 0.9rem; pointer-events: none; }
.ad-input-wrap input, .ad-filter-select {
    padding: 10px 14px 10px 38px;
    border: 1.5px solid var(--ad-border);
    border-radius: 11px;
    background: var(--ad-surface);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.88rem;
    min-width: 220px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.ad-filter-select { padding: 10px 38px 10px 14px; min-width: 160px; }
.ad-input-wrap input:focus, .ad-filter-select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-soft); }

/* ============================================================
   PAGINATION
   ============================================================ */
.ad-pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ad-page-btn {
    min-width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--ad-border);
    background: var(--ad-surface);
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}
.ad-page-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.ad-page-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.ad-page-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ad-table-info { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

/* ============================================================
   MODALS
   ============================================================ */
.ad-modal-root, .ad-toast-root { position: fixed; inset: 0; pointer-events: none; z-index: 1500; }
.ad-toast-root { inset: auto; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 2000; }
.ad-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(7, 21, 14, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
    z-index: 1500;
}
.ad-modal-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.ad-modal {
    width: min(620px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ad-modal-overlay.show .ad-modal { transform: none; }
.ad-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 24px 0; }
.ad-modal-head h3 { font-size: 1.2rem; }
.ad-modal-head p { font-size: 0.85rem; color: var(--text-muted); margin-top: 3px; }
.ad-modal-close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--ad-border); background: var(--ad-surface); color: var(--text-muted); font-size: 1.05rem; flex-shrink: 0; transition: all 0.2s ease; }
.ad-modal-close:hover { color: var(--ad-red); border-color: var(--ad-red); background: var(--ad-red-soft); }
.ad-modal-body { padding: 20px 24px 24px; }
.ad-modal-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 16px 24px 20px; border-top: 1px solid var(--ad-border); position: sticky; bottom: 0; background: var(--ad-surface); }

.ad-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ad-detail-grid > div { min-width: 0; }
.ad-detail-grid .k { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.ad-detail-grid .v { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-top: 2px; word-break: break-word; }

.ad-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ad-form-grid .full { grid-column: 1 / -1; }
.ad-field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.ad-field label span { color: var(--primary-color); }
.ad-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ad-border); }
.ad-form-row .ad-form-label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.ad-form-row .ad-form-hint { font-size: 0.76rem; color: var(--text-muted); font-weight: 500; }
.ad-form-row .ad-form-ctl { justify-self: end; }

/* ============================================================
   TOGGLES & TOASTS
   ============================================================ */
.ad-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.ad-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.ad-switch .track {
    display: block; width: 100%; height: 100%;
    border-radius: 999px;
    background: #D1D5DB;
    transition: background 0.25s ease;
    position: relative;
}
.ad-switch .track::after {
    content: '';
    position: absolute;
    top: 3px; right: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: none;
}
.ad-switch input:checked + .track { background: var(--primary-color); }
.ad-switch input:checked + .track::after { right: auto; left: 3px; }

.ad-toast {
    display: flex; align-items: center; gap: 12px;
    min-width: 300px; max-width: 380px;
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-left: 4px solid var(--primary-color);
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: var(--shadow-md);
    transform: translateX(120%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}
.ad-toast.show { transform: none; }
.ad-toast .t-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; background: var(--ad-green-soft); color: var(--ad-green); }
.ad-toast.danger { border-left-color: var(--ad-red); }
.ad-toast.danger .t-ic { background: var(--ad-red-soft); color: var(--ad-red); }
.ad-toast.warn { border-left-color: var(--ad-amber); }
.ad-toast.warn .t-ic { background: var(--ad-amber-soft); color: var(--ad-amber); }
.ad-toast .t-tx b { display: block; font-size: 0.88rem; color: var(--ink); }
.ad-toast .t-tx span { font-size: 0.78rem; color: var(--text-muted); }

.ad-empty { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.ad-empty i { font-size: 2.4rem; color: var(--border-color); display: block; margin-bottom: 12px; }
.ad-empty b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.ad-empty span { font-size: 0.86rem; }

.ad-progress { height: 8px; border-radius: 999px; background: var(--border-color); overflow: hidden; }
.ad-progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); }

.ad-type-card {
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: var(--ad-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ad-type-card:hover { transform: translateY(-4px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.ad-type-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ad-type-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; background: var(--primary-soft); color: var(--primary-color); flex-shrink: 0; }
.ad-type-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.ad-type-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--ad-border); border-bottom: 1px solid var(--ad-border); text-align: center; }
.ad-type-meta .m { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.ad-type-meta .m b { display: block; font-size: 0.98rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.ad-type-meta .m span { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 3px; white-space: nowrap; }
.ad-type-card .ad-bar-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.ad-type-card .ad-bar-row .lbl { font-size: 0.82rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ad-type-card .ad-bar-row .val { font-size: 0.82rem; font-weight: 800; color: var(--text-muted); text-align: end; }

.ad-book-card {
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: var(--ad-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.ad-book-card:hover { transform: translateY(-3px); border-color: var(--primary-color); }

/* Availability Cards */
.ad-avail-card {
    background: var(--ad-surface);
    border: 1px solid var(--ad-border);
    border-radius: var(--ad-radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.ad-avail-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}
.ad-avail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.ad-avail-info {
    flex: 1;
    min-width: 0;
}
.ad-avail-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin: 0 0 4px;
    word-break: break-word;
}
.ad-avail-addr {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.35em;
    margin: 0;
}
.ad-avail-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    background: var(--ad-bg);
    border: 1px solid var(--ad-border);
    border-radius: 14px;
    padding: 12px 6px;
    margin: 4px 0 16px;
}
.ad-avail-meta .m {
    padding: 0 4px;
    position: relative;
}
.ad-avail-meta .m:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 1px;
    background: var(--ad-border);
}
.ad-avail-meta .m b {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
}
.ad-avail-meta .m span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
.ad-avail-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}
.ad-avail-progress {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: var(--ad-border);
    overflow: hidden;
}
.ad-avail-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}
.ad-avail-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Settings tabs */
.ad-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--ad-border); margin-bottom: 22px; }
.ad-tab {
    padding: 10px 18px;
    border-radius: 12px 12px 0 0;
    border-bottom: 3px solid transparent;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.ad-tab:hover { color: var(--primary-color); background: var(--primary-soft); }
.ad-tab.active { color: var(--primary-color); border-bottom-color: var(--primary-color); background: transparent; }

.ad-set-pane { display: none; }
.ad-set-pane.active { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1450px) {
    .ad-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1449px) and (min-width: 1050px) {
    .ad-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .ad-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1049px) and (min-width: 641px) {
    .ad-stats { grid-template-columns: repeat(2, 1fr); }
    .ad-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ad-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .ad-shell { margin-inline-start: 0; }
    .ad-sidebar {
        position: fixed;
        top: 0; bottom: 0;
        width: 280px !important;
        transform: translateX(-110%);
        box-shadow: 0 0 60px rgba(0,0,0,0.35);
    }
    html[dir="rtl"] .ad-sidebar { transform: translateX(110%); }
    .ad-body.mobile-nav-open .ad-sidebar { transform: none; }
    .ad-sidebar-close {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 11px;
        background: var(--ad-surface-2);
        border: 1px solid var(--ad-border);
        color: var(--ink);
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .ad-sidebar-close:hover {
        background: var(--ad-red-soft);
        border-color: var(--ad-red);
        color: var(--ad-red);
    }
    .ad-sidebar-toggles {
        display: flex;
        border-top: 1px solid var(--ad-border);
        padding: 14px 12px 8px;
    }
    .ad-topbar #themeToggle,
    .ad-topbar #rtlToggle { display: none; }
    .ad-body.sidebar-collapsed .ad-sidebar { width: 280px !important; }
    .ad-body.sidebar-collapsed .ad-nav-link { justify-content: flex-start; padding: 11px 12px; }.ad-body.sidebar-collapsed .ad-nav-link > span,
.ad-body.sidebar-collapsed .ad-sub-chev { display: inline-flex; }
    .ad-body.sidebar-collapsed .ad-logo span, .ad-body.sidebar-collapsed .ad-logo .ad-logo-badge { display: inline; }
    .ad-body.sidebar-collapsed .ad-nav-label { opacity: 1; height: auto; padding: 12px 12px 6px; }
    .ad-body.sidebar-collapsed .ad-submenu { max-height: 0; opacity: 0; }
    .ad-body.sidebar-collapsed .ad-nav-group.open .ad-submenu { max-height: 560px; opacity: 1; }
    .ad-overlay {
        position: fixed; inset: 0;
        background: rgba(7,21,14,0.5);
        z-index: 1150;
        opacity: 0; visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
    }
    .ad-body.mobile-nav-open .ad-overlay { opacity: 1; visibility: visible; }
    .ad-topbar { padding: 0 16px; gap: 10px; }
    .ad-profile {
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--ad-border);
    }
    .ad-profile img,
    .ad-profile .ad-profile-img {
        width: 34px;
        height: 34px;
    }
    .ad-profile > span,
    .ad-profile > i,
    .ad-profile-name,
    .ad-profile-arrow { display: none !important; }
    .ad-main { padding: 22px 18px 40px; }.ad-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ad-stats { grid-template-columns: 1fr; }
    .ad-grid-3, .ad-grid-4 { grid-template-columns: 1fr; }
    .ad-form-grid, .ad-form-row, .ad-detail-grid { grid-template-columns: 1fr; }
    .ad-form-row .ad-form-ctl { justify-self: stretch; }
    .ad-dropdown { min-width: 250px; max-width: calc(100vw - 28px); }
    .ad-dropdown--right { right: 0; left: auto; }
    .ad-toast-root { left: 16px; right: 16px; }
    .ad-toast { min-width: 0; width: 100%; max-width: none; }
    .ad-row-actions { flex-wrap: wrap; }
    .ad-filter-custom-select, .ad-filter-custom-select .ad-select-btn { min-width: 0; width: 100%; }
}

@media (max-width: 480px) {
    .ad-topbar { padding: 0 12px; }
    .ad-topbar-title h1 { font-size: 1rem; }
    .ad-main { padding: 18px 14px 40px; }
    .ad-grid { gap: 16px; }
    .ad-panel-body { padding: 16px; }
    .ad-panel-head { padding: 14px 16px; }
    .ad-panel-foot { padding: 12px 16px; }
    .ad-page-head h2 { font-size: 1.4rem; }
    .ad-stat { padding: 16px; }
    .ad-stat-value { font-size: 1.4rem; }
    .ad-panel-tools { width: 100%; }
    .ad-filter-select, .ad-filter-custom-select, .ad-filter-custom-select .ad-select-btn { min-width: 0; width: 100%; }
    .ad-icon-btn { width: 38px; height: 38px; }
    .ad-profile {
        width: 38px;
        height: 38px;
        padding: 0;
    }
    .ad-profile img,
    .ad-profile .ad-profile-img {
        width: 32px;
        height: 32px;
    }
}

/* ============================================================
   DARK MODE
   ============================================================ */
html[data-theme="dark"] .ad-body { background: #000; }
html[data-theme="dark"] .ad-sidebar { background: linear-gradient(180deg, #0B1610 0%, #06120B 100%); border-right-color: #1F2E26; }
html[data-theme="dark"] .ad-sidebar-head { border-bottom-color: #1F2E26; }
html[data-theme="dark"] .ad-sidebar-foot { border-top-color: #1F2E26; }
html[data-theme="dark"] .ad-sidebar-toggles { border-top-color: #1F2E26; }
html[data-theme="dark"] .ad-logo { color: #fff; }
/* Sidebar Nav Inactive in Dark Mode */
html[data-theme="dark"] .ad-nav-link {
    color: #9CA3AF !important;
    background: transparent !important;
    border-color: transparent !important;
    position: relative;
    overflow: hidden;
}
html[data-theme="dark"] .ad-nav-link > i:first-child {
    color: #9CA3AF !important;
    transition: color 0.2s ease, filter 0.2s ease;
}

/* Sidebar Nav Hover in Dark Mode */
html[data-theme="dark"] .ad-nav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #F3F4F6 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-theme="dark"] .ad-nav-link:hover > i:first-child {
    color: #4ADE80 !important;
}

/* Sidebar Nav ACTIVE in Dark Mode - Subtle, Clean, No Glow */
html[data-theme="dark"] .ad-nav-link.active {
    background: rgba(34, 197, 94, 0.16) !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html[data-theme="dark"] .ad-nav-link.active > i:first-child {
    color: #4ADE80 !important;
    filter: none !important;
}
html[data-theme="dark"] .ad-nav-link.active > span {
    color: #FFFFFF !important;
}
html[data-theme="dark"] .ad-nav-link.active::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: #22C55E;
    border-radius: 0 3px 3px 0;
    box-shadow: none !important;
}
html[dir="rtl"][data-theme="dark"] .ad-nav-link.active::before,
[dir="rtl"] html[data-theme="dark"] .ad-nav-link.active::before {
    border-radius: 3px 0 0 3px;
}

/* Submenu Links in Dark Mode */
html[data-theme="dark"] .ad-submenu a {
    color: #9CA3AF !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    position: relative;
}
html[data-theme="dark"] .ad-submenu a > i {
    color: #9CA3AF !important;
    transition: color 0.2s ease;
}
html[data-theme="dark"] .ad-submenu a:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .ad-submenu a:hover > i {
    color: #4ADE80 !important;
}
html[data-theme="dark"] .ad-submenu a.active {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border-color: rgba(74, 222, 128, 0.35) !important;
    box-shadow: none !important;
}
html[data-theme="dark"] .ad-submenu a.active > i {
    color: #4ADE80 !important;
    filter: none !important;
}
html[data-theme="dark"] .ad-submenu a.active::before {
    content: '';
    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: none !important;
}
html[dir="rtl"][data-theme="dark"] .ad-submenu a.active::before,
[dir="rtl"] html[data-theme="dark"] .ad-submenu a.active::before {
    inset-inline-start: auto;
    inset-inline-end: 16px;
}

/* Nav Group Open in Dark Mode */
html[data-theme="dark"] .ad-nav-group.open > .ad-nav-link {
    color: #FFFFFF !important;
    border-color: rgba(74, 222, 128, 0.3) !important;
    background: rgba(34, 197, 94, 0.1) !important;
}
html[data-theme="dark"] .ad-nav-group.open > .ad-nav-link > i:first-child,
html[data-theme="dark"] .ad-nav-group.open > .ad-nav-link .ad-sub-chev {
    color: #4ADE80 !important;
}
html[data-theme="dark"] .ad-sidebar-close { background: #0F1713; border-color: #2A3A31; color: #fff; }
html[data-theme="dark"] .ad-sidebar .mobile-toggle-btn { border-color: #2A3A31; background: #0F1713; color: #fff; }
html[data-theme="dark"] .ad-sidebar .mobile-toggle-btn:hover { border-color: var(--green-bright); color: var(--green-bright); }
html[data-theme="dark"] .ad-sidebar .mobile-toggle-left i { color: var(--green-bright); }
html[data-theme="dark"] .ad-sidebar .toggle-label-text { color: #fff; }
html[data-theme="dark"] .ad-sidebar .mobile-toggle-btn:hover .toggle-label-text { color: var(--green-bright); }
html[data-theme="dark"] .ad-sidebar .toggle-switch-indicator { background: #374151; }
html[data-theme="dark"] .ad-sidebar .mobile-toggle-btn.active .toggle-switch-indicator,
html[data-theme="dark"] .ad-sidebar .toggle-switch-indicator.on { background: var(--primary-color); }
html[data-theme="dark"] .ad-topbar { background: rgba(0,0,0,0.88); border-bottom-color: #1F2E26; }
html[data-theme="dark"] .ad-search input { background: #0F1713; border-color: #2A3A31; }
html[data-theme="dark"] .ad-search input:focus { background: #000; }
html[data-theme="dark"] .ad-icon-btn { background: #0F1713; border-color: #2A3A31; color: #fff; }
html[data-theme="dark"] .ad-icon-btn:hover { background: #16201B; }
html[data-theme="dark"] #adSidebarToggle {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: var(--green-bright);
}
html[data-theme="dark"] #adSidebarToggle i {
    color: var(--green-bright);
}
html[data-theme="dark"] #adSidebarToggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
html[data-theme="dark"] #adSidebarToggle:hover i {
    color: #fff;
}
html[data-theme="dark"] .ad-profile { background: #0F1713; border-color: #2A3A31; color: #fff; }
html[data-theme="dark"] .ad-profile:hover { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
html[data-theme="dark"] .ad-profile-name { color: #fff; }
html[data-theme="dark"] .ad-dropdown-user b { color: #fff; }html[data-theme="dark"] .ad-dropdown,
html[data-theme="dark"] .ad-modal { background: #0F1713; border-color: #1F2E26; }
html[data-theme="dark"] .ad-dropdown-menu a:hover { background: #111111; }
html[data-theme="dark"] .ad-dropdown-sep { background: #1F2E26; }
html[data-theme="dark"] .ad-stat,
html[data-theme="dark"] .ad-panel,
html[data-theme="dark"] .ad-type-card,
html[data-theme="dark"] .ad-book-card,
html[data-theme="dark"] .ad-avail-card { background: #000; border-color: #1F2E26; }
html[data-theme="dark"] .ad-stat:hover,
html[data-theme="dark"] .ad-panel:hover,
html[data-theme="dark"] .ad-type-card:hover,
html[data-theme="dark"] .ad-book-card:hover,
html[data-theme="dark"] .ad-avail-card:hover { border-color: rgba(34,197,94,0.45); }
html[data-theme="dark"] .ad-panel-head { border-bottom-color: #1F2E26; }
html[data-theme="dark"] .ad-panel-foot { background: #0A0F0C; border-top-color: #1F2E26; }
html[data-theme="dark"] .ad-table th { background: #0A0F0C; color: #9CA3AF; }
html[data-theme="dark"] .ad-table td { border-top-color: #1C1C1C; }
html[data-theme="dark"] .ad-table tbody tr:hover { background: #0C130F; }
html[data-theme="dark"] .ad-row-btn { background: #0F1713; border-color: #2A3A31; color: #9CA3AF; }
html[data-theme="dark"] .ad-row-btn:hover { background: #111111; }
html[data-theme="dark"] .ad-chip { background: #0F1713; border-color: #2A3A31; color: #9CA3AF; }
html[data-theme="dark"] .ad-chip:hover { color: var(--green-bright); border-color: var(--green-bright); }
html[data-theme="dark"] .ad-chip.active { background: #16A34A !important; border-color: #16A34A !important; color: #FFFFFF !important; box-shadow: none !important; }
html[data-theme="dark"] .ad-input-wrap input,
html[data-theme="dark"] .ad-filter-select { background: #0F1713; border-color: #2A3A31; color: #fff; }
html[data-theme="dark"] .ad-page-btn { background: #0F1713; border-color: #2A3A31; color: #E5E7EB; }
html[data-theme="dark"] .ad-page-btn:hover { border-color: var(--green-bright); color: var(--green-bright); }
html[data-theme="dark"] .ad-page-btn.active { background: #16A34A !important; border-color: #16A34A !important; color: #FFFFFF !important; box-shadow: none !important; }
html[data-theme="dark"] .ad-modal-close { background: #0F1713; border-color: #2A3A31; color: #9CA3AF; }
html[data-theme="dark"] .ad-modal-foot { background: #0F1713; border-top-color: #1F2E26; }
html[data-theme="dark"] .ad-toast { background: #0F1713; border-color: #1F2E26; }
html[data-theme="dark"] .ad-donut-ring { background-image: conic-gradient(var(--ad-green) var(--donut-a), var(--ad-blue) var(--donut-a) calc(var(--donut-b)), var(--ad-amber) calc(var(--donut-b)) calc(var(--donut-c)), #1F1F1F calc(var(--donut-c)) 360deg); }
html[data-theme="dark"] .ad-donut-ring .ad-donut-hole { background: #000; }
html[data-theme="dark"] .ad-bar-row .lbl { color: #fff; }
html[data-theme="dark"] .ad-bar { background: #1F1F1F; }
html[data-theme="dark"] .ad-ad .ad-stat, html[data-theme="dark"] .ad-ad .ad-panel { background: #0F1713 !important; }
html[data-theme="dark"] .ad-type-meta { border-color: #1F2E26; }
html[data-theme="dark"] .ad-form-row { border-bottom-color: #1F2E26; }
html[data-theme="dark"] .ad-switch .track { background: #374151; }
html[data-theme="dark"] .ad-tab { color: #9CA3AF; }
html[data-theme="dark"] .ad-tab:hover { color: var(--green-bright); background: #111111; }
html[data-theme="dark"] .ad-tab.active { color: var(--green-bright); border-bottom-color: var(--green-bright); }
html[data-theme="dark"] .ad-tabs { border-bottom-color: #1F2E26; }
html[data-theme="dark"] .ad-empty i { color: #2A2A2A; }
html[data-theme="dark"] .ad-search-item .s-tx b { color: #fff; }
html[data-theme="dark"] .ad-avail.off { box-shadow: 0 0 0 3px rgba(220,38,38,0.2); }
html[data-theme="dark"] .ad-avail-title { color: #fff; }
html[data-theme="dark"] .ad-avail-meta { background: #0B1610; border-color: #1F2E26; }
html[data-theme="dark"] .ad-avail-meta .m b { color: #fff; }
html[data-theme="dark"] .ad-avail-meta .m:not(:last-child)::after { background: #1F2E26; }
html[data-theme="dark"] .ad-avail-progress { background: #1F2E26; }

/* ============================================================
   RTL
   ============================================================ */
html[dir="rtl"] .ad-sub-chev { transform: scaleX(-1); }
html[dir="rtl"] .ad-nav-group.open > .ad-nav-link .ad-sub-chev { transform: rotate(180deg) scaleX(-1); }
html[dir="rtl"] .ad-submenu a { padding-left: 12px; padding-right: 44px; }
html[dir="rtl"] .ad-search i { left: auto; right: 15px; }
html[dir="rtl"] .ad-search input { padding-left: 40px; padding-right: 42px; }
html[dir="rtl"] .ad-input-wrap i { left: auto; right: 14px; }
html[dir="rtl"] .ad-input-wrap input, html[dir="rtl"] .ad-filter-select { padding-left: 14px; padding-right: 38px; }
html[dir="rtl"] .ad-table th .bi { margin-inline-start: 0; margin-inline-end: 4px; }
html[dir="rtl"] .ad-stat-spark { left: 14px; right: auto; transform: scaleX(-1); }
html[dir="rtl"] .ad-dropdown { left: auto; right: 0; }
html[dir="rtl"] .ad-dropdown--right { right: auto; left: 0; }
html[dir="rtl"] .ad-toast { border-left: 1px solid var(--ad-border); border-right: 4px solid var(--primary-color); }
html[dir="rtl"] .ad-toast.danger { border-right-color: var(--ad-red); }
html[dir="rtl"] .ad-toast.warn { border-right-color: var(--ad-amber); }
html[dir="rtl"] .ad-profile > i { transform: scaleX(-1); }html[dir="rtl"] .ad-pagination { direction: rtl; }
html[dir="rtl"] .ad-row-actions { direction: ltr; }
html[dir="rtl"] .ad-avail-meta .m:not(:last-child)::after { right: auto; left: 0; }

@media (max-width: 991px) and (min-width: 640px) {
    html[dir="rtl"] .ad-sidebar { left: auto; right: 0; transform: translateX(110%); }
    html[dir="rtl"] .ad-body.mobile-nav-open .ad-sidebar { transform: none; }
}

@media (max-width: 640px) {
    html[dir="rtl"] .ad-dropdown--right { left: auto; right: 16px; min-width: calc(100vw - 32px); }
}

/* ============================================================
   USER DASHBOARD EXTRA COMPONENT STYLES
   ============================================================ */

/* ===== User dashboard extras (extends admin look) ===== */

        /* Welcome hero */
        .ud-hero {
            position: relative;
            overflow: hidden;
            border-radius: var(--ad-radius);
            background: linear-gradient(120deg, #14532D 0%, #166534 55%, #15803D 100%);
            color: #fff;
            padding: 30px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            box-shadow: var(--shadow-md);
        }
        .ud-hero::after {
            content: '';
            position: absolute;
            width: 340px;
            height: 340px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.07);
            top: -150px;
            right: -90px;
        }
        .ud-hero::before {
            content: '';
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            bottom: -80px;
            left: 42%;
        }
        .ud-hero-tx { position: relative; z-index: 1; min-width: 0; }
        .ud-hero-tx .eyebrow { color: rgba(255, 255, 255, 0.78); margin-bottom: 8px; }
        .ud-hero-tx h2 { color: #FFFFFF !important; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; letter-spacing: -0.02em; }
        .ud-hero-tx p { color: rgba(255, 255, 255, 0.85); font-size: 0.94rem; max-width: 580px; }
        .ud-hero-tx p b { color: #fff; }
        .ud-hero-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
        .ud-hero .btn-light { background: #fff; color: #14532D; border: 1px solid transparent; }
        .ud-hero .btn-light:hover { background: #ecfdf5; color: #14532D; transform: translateY(-2px); }
        html[data-theme="dark"] .ud-hero .btn-light { background: #0F1713; color: var(--green-bright); border-color: #1F2E26; }
        html[data-theme="dark"] .ud-hero .btn-light:hover { background: #111111; }

        /* Current ride timeline */
        .ud-ride {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 10px 0 20px;
            position: relative;
        }
        .ud-ride-step {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            flex: 1;
            min-width: 0;
        }
        .ud-ride-step .ic {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            flex-shrink: 0;
            background: var(--ad-slate-soft);
            color: var(--ad-slate);
            font-size: 1.05rem;
            margin-top: 1px;
        }
        .ud-ride-step .ic.done { background: var(--ad-green-soft); color: var(--ad-green); }
        .ud-ride-step .ic.current { background: var(--ad-blue-soft); color: var(--ad-blue); }
        .ud-ride-step > div { min-width: 0; flex: 1; }
        .ud-ride-step b {
            display: block;
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--ink);
            line-height: 1.25;
            margin-bottom: 2px;
        }
        .ud-ride-step .ud-hub {
            display: block;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-color);
            line-height: 1.35;
            word-break: break-word;
        }
        .ud-ride-step .ud-time {
            display: block;
            font-size: 0.72rem;
            color: var(--text-muted);
            line-height: 1.35;
            margin-top: 2px;
            word-break: break-word;
        }
        .ud-ride-line {
            flex: 1;
            min-width: 14px;
            height: 2px;
            background: var(--ad-border);
            margin: 20px 4px 0;
            flex-shrink: 1;
        }
        .ud-ride-line.done { background: var(--ad-green); }

        .ud-ride-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.76rem;
            color: var(--text-muted);
            font-weight: 700;
            margin-top: 22px;
            margin-bottom: 12px;
            flex-wrap: wrap;
            gap: 6px;
        }
        .ud-current-ride-panel .ad-progress {
            margin-top: 4px;
            margin-bottom: 22px;
        }

        /* Rewards card */
        .ud-reward {
            position: relative;
            overflow: hidden;
            border-radius: var(--ad-radius);
            padding: 22px;
            color: #fff;
            background: linear-gradient(135deg, #B45309 0%, #D97706 55%, #F59E0B 100%);
            box-shadow: var(--shadow-sm);
        }
        .ud-reward::after {
            content: '';
            position: absolute;
            width: 160px; height: 160px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            bottom: -70px;
            right: -50px;
        }
        .ud-reward .eyebrow { color: rgba(255, 255, 255, 0.85); }
        .ud-reward .eyebrow i { color: #FDE68A; }
        .ud-reward h3 { font-size: 1.7rem; color: #fff; margin: 12px 0 4px; letter-spacing: -0.02em; }
        .ud-reward p { color: rgba(255, 255, 255, 0.9); font-size: 0.82rem; margin-bottom: 14px; }
        .ud-reward p b { color: #fff; }
        .ud-reward .ad-progress { margin-top: 8px; margin-bottom: 16px; }
        .ud-reward .ad-badge { background: rgba(255, 255, 255, 0.2); color: #fff; }
        .ud-reward-tag { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
        .ud-perks { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
        .ud-perks span { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.95); font-weight: 600; }
        .ud-perks i { color: #FDE68A; font-size: 0.85rem; }

        /* Bike recommendation cards */
        .ud-bike-card {
            background: var(--ad-surface);
            border: 1px solid var(--ad-border);
            border-radius: var(--ad-radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .ud-bike-card:hover { transform: translateY(-4px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
        .ud-bike-img { position: relative; height: 150px; overflow: hidden; background: var(--ad-surface-2); }
        .ud-bike-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
        .ud-bike-card:hover .ud-bike-img img { transform: scale(1.05); }
        .ud-bike-type {
            position: absolute; top: 10px; left: 10px;
            font-size: 0.68rem; font-weight: 800;
            letter-spacing: 0.05em; text-transform: uppercase;
            background: rgba(0, 0, 0, 0.55);
            color: #fff;
            padding: 4px 9px;
            border-radius: 999px;
            backdrop-filter: blur(4px);
        }
        .ud-bike-body { padding: 16px 16px 18px; }
        .ud-bike-body h3 { font-size: 1rem; margin-bottom: 2px; }
        .ud-bike-body .sub { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
        .ud-bike-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
        .ud-bike-meta .price { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
        .ud-bike-meta .price small { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
        .ud-bike-meta .batt { font-size: 0.75rem; font-weight: 700; color: var(--ad-green); }

        /* Help/support cards & FAQ */
        .ud-help-card {
            background: var(--ad-surface);
            border: 1px solid var(--ad-border);
            border-radius: var(--ad-radius);
            padding: 20px;
            box-shadow: var(--shadow-sm);
            transition: transform 0.25s ease, border-color 0.25s ease;
        }
        .ud-help-card:hover { transform: translateY(-3px); border-color: var(--primary-color); }
        .ud-help-card i { font-size: 1.4rem; color: var(--primary-color); }
        .ud-help-card h3 { font-size: 1rem; margin: 12px 0 6px; }
        .ud-help-card p { font-size: 0.82rem; color: var(--text-muted); }
        .ud-faq { border: 1px solid var(--ad-border); border-radius: 14px; overflow: hidden; }
        .ud-faq details { border-top: 1px solid var(--ad-border); }
        .ud-faq details:first-child { border-top: 0; }
        .ud-faq summary {
            cursor: pointer;
            list-style: none;
            padding: 15px 18px;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--ink);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            transition: background 0.2s ease;
        }
        .ud-faq summary::-webkit-details-marker { display: none; }
        .ud-faq summary::after { content: '\F64D'; font-family: 'bootstrap-icons'; font-size: 0.8rem; color: var(--primary-color); transition: transform 0.25s ease; }
        .ud-faq details[open] summary::after { transform: rotate(180deg); }
        .ud-faq details[open] summary { background: var(--primary-soft); }
        .ud-faq .a { padding: 0 18px 16px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

        /* Payment method cards */
        .ud-pm {
            background: var(--ad-surface);
            border: 1px solid var(--ad-border);
            border-radius: var(--ad-radius);
            padding: 18px;
            box-shadow: var(--shadow-sm);
            display: flex;
            align-items: center;
            gap: 14px;
            transition: transform 0.25s ease, border-color 0.25s ease;
        }
        .ud-pm:hover { transform: translateY(-3px); border-color: var(--primary-color); }
        .ud-pm .pm-ic {
            width: 46px; height: 46px;
            border-radius: 13px;
            display: grid; place-items: center;
            font-size: 1.2rem;
            background: var(--primary-soft); color: var(--primary-color);
            flex-shrink: 0;
        }
        .ud-pm b { display: block; font-size: 0.92rem; color: var(--ink); }
        .ud-pm span { font-size: 0.76rem; color: var(--text-muted); }

        /* Welcome greeting sizing */
        .ud-page-head { margin-bottom: 4px; }

        /* Dark mode for user cards */
        html[data-theme="dark"] .ud-bike-card,
        html[data-theme="dark"] .ud-help-card,
        html[data-theme="dark"] .ud-pm { background: #000; border-color: #1F2E26; }
        html[data-theme="dark"] .ud-bike-card:hover,
        html[data-theme="dark"] .ud-help-card:hover,
        html[data-theme="dark"] .ud-pm:hover { border-color: rgba(34, 197, 94, 0.45); }
        html[data-theme="dark"] .ud-bike-img { background: #0B1610; }
        html[data-theme="dark"] .ud-bike-body h3,
        html[data-theme="dark"] .ud-help-card h3,
        html[data-theme="dark"] .ud-pm b { color: #fff; }
        html[data-theme="dark"] .ud-faq { border-color: #1F2E26; }
        html[data-theme="dark"] .ud-faq details { border-top-color: #1F2E26; }
        html[data-theme="dark"] .ud-faq summary { color: #fff; }

        @media (max-width: 1120px) {
            .ad-grid-2 { grid-template-columns: 1fr; }
        }

        @media (max-width: 820px) {
            .ud-hero { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
            .ud-ride {
                flex-direction: column;
                gap: 0;
                margin: 8px 0 16px;
                position: relative;
            }
            .ud-ride-line {
                display: none !important;
            }
            .ud-ride-step {
                position: relative;
                padding-bottom: 22px;
                width: 100%;
            }
            .ud-ride-step:last-child {
                padding-bottom: 0;
            }
            .ud-ride-step:not(:last-child)::after {
                content: '';
                position: absolute;
                inset-inline-start: 19px;
                top: 43px;
                bottom: 2px;
                width: 2px;
                background: var(--ad-border);
                border-radius: 2px;
                z-index: 1;
            }
            .ud-ride-step:first-child::after {
                background: var(--ad-green);
            }
            .ud-ride-step .ic {
                position: relative;
                z-index: 2;
            }
        }

        @media (max-width: 480px) {
            .ud-current-ride-panel .ad-page-actions {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .ud-current-ride-panel .ad-page-actions .btn {
                width: 100%;
                justify-content: center;
            }
        }

/* ============================================================
   AUTH (LOGIN & SIGN UP) PAGE STYLES (from auth.css)
   ============================================================ */

/* ============================================================
   PEDALPATH — AUTH PAGES (Sign Up / Log In) STYLESHEET
   Centered rounded card, brand green theme, modern typography,
   corner utility controls (theme & RTL), fully responsive
   ============================================================ */

:root {
    --au-bg: #F3F7F4;
    --au-card: #FFFFFF;
    --au-text: #07150E;
    --au-muted: #64748B;
    --au-border: #E2E8F0;
    --au-soft: #F8FAFC;
    --au-primary: #16A34A;
    --au-primary-hover: #15803D;
    --au-primary-soft: rgba(22, 163, 74, 0.1);
    --au-ring: rgba(34, 197, 94, 0.25);
    --au-error: #DC2626;
    --au-error-soft: rgba(220, 38, 38, 0.08);
    --au-shadow: 0 20px 50px -12px rgba(10, 30, 20, 0.1), 0 8px 24px -8px rgba(10, 30, 20, 0.06);
    --au-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[data-theme="dark"] {
    --au-bg: #07150E;
    --au-card: #0B1610;
    --au-text: #FFFFFF;
    --au-muted: #94A3B8;
    --au-border: #1F2E26;
    --au-soft: #0E1A14;
    --au-primary: #22C55E;
    --au-primary-hover: #16A34A;
    --au-primary-soft: rgba(34, 197, 94, 0.15);
    --au-ring: rgba(34, 197, 94, 0.35);
    --au-error: #F87171;
    --au-error-soft: rgba(248, 113, 113, 0.12);
    --au-shadow: 0 24px 70px -14px rgba(0, 0, 0, 0.9), 0 8px 26px rgba(0, 0, 0, 0.6);
}

/* --- Page shell --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.auth-body {
    background-color: var(--au-bg);
    color: var(--au-text);
    font-family: var(--au-font);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient glow blobs */
.auth-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.auth-blob--1 {
    width: 380px;
    height: 380px;
    top: -90px;
    inset-inline-end: -70px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, rgba(34, 197, 94, 0) 70%);
}

.auth-blob--2 {
    width: 320px;
    height: 320px;
    bottom: -100px;
    inset-inline-start: -70px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.25) 0%, rgba(74, 222, 128, 0) 70%);
}

html[data-theme="dark"] .auth-blob {
    opacity: 0.22;
}

/* --- Corner utility buttons (Theme & RTL) --- */
.auth-corner-tools {
    position: fixed;
    top: 20px;
    inset-inline-end: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-corner-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--au-card);
    border: 1px solid var(--au-border);
    color: var(--au-text);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.22s ease;
    text-decoration: none;
}

.auth-corner-btn:hover {
    border-color: var(--au-primary);
    color: var(--au-primary);
    background: var(--au-primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.18);
}

.auth-corner-btn:active {
    transform: translateY(0);
}

/* --- Stage & Card --- */
.auth-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 18px 24px;
    box-sizing: border-box;
    width: 100%;
}

.auth-card {
    position: relative;
    width: min(460px, 100%);
    background: var(--au-card);
    border: 1px solid var(--au-border);
    border-radius: 26px;
    box-shadow: var(--au-shadow);
    padding: 34px 34px 28px;
    margin: auto 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Form-top logo (identical to homepage) */
.auth-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

.auth-logo-wrap .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--au-text);
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1;
}

.auth-logo-wrap .logo i {
    color: var(--au-primary);
    font-size: 1.65rem;
    line-height: 1;
}

.auth-logo-wrap .logo span {
    color: var(--au-primary);
}

.auth-card-head {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card-head h1 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--au-text);
    margin-bottom: 6px;
    line-height: 1.25;
}

.auth-card-head p {
    color: var(--au-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Form fields --- */
.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--au-text);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap > .bi:not(.bi-eye):not(.bi-eye-slash) {
    position: absolute;
    inset-inline-start: 14px;
    font-size: 1.05rem;
    color: var(--au-muted);
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.auth-input {
    width: 100%;
    height: 48px;
    padding-inline: 44px 44px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--au-text);
    background: var(--au-soft);
    border: 1px solid var(--au-border);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.auth-input::placeholder {
    color: var(--au-muted);
    opacity: 0.75;
}

.auth-input:hover {
    border-color: var(--au-primary);
}

.auth-input:focus {
    background: var(--au-card);
    border-color: var(--au-primary);
    box-shadow: 0 0 0 3.5px var(--au-ring);
}

.auth-input:focus ~ .bi {
    color: var(--au-primary);
}

.auth-eye {
    position: absolute;
    inset-inline-end: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 9px;
    color: var(--au-muted);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.auth-eye:hover {
    color: var(--au-primary);
    background: var(--au-primary-soft);
}

.auth-eye.active {
    color: var(--au-primary);
}

/* Error states */
.auth-field.has-error .auth-input {
    border-color: var(--au-error);
    background: var(--au-error-soft);
}

.auth-field.has-error .auth-input:focus {
    box-shadow: 0 0 0 3.5px rgba(220, 38, 38, 0.18);
}

.auth-error {
    display: none;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--au-error);
}

.auth-field.has-error .auth-error {
    display: block;
}

/* --- Checkbox & Links row --- */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 20px;
}

.auth-row .auth-check {
    margin: 0;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 18px;
    cursor: pointer;
    user-select: none;
}

.auth-check input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.auth-check-box {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 6px;
    border: 1.5px solid var(--au-border);
    background: var(--au-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    transition: all 0.18s ease;
}

.auth-check-box i {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.18s ease;
}

.auth-check input:checked + .auth-check-box {
    background: var(--au-primary);
    border-color: var(--au-primary);
    box-shadow: 0 0 0 3px var(--au-ring);
}

.auth-check input:checked + .auth-check-box i {
    opacity: 1;
    transform: scale(1);
}

.auth-check-text {
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--au-muted);
}

.auth-check-text a {
    color: var(--au-primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-check-text a:hover {
    text-decoration: underline;
}

.auth-forgot {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--au-primary);
    text-decoration: none;
    white-space: nowrap;
}

.auth-forgot:hover {
    text-decoration: underline;
}

/* --- Submit button --- */
.auth-submit {
    position: relative;
    width: 100%;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    background: var(--au-primary);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-submit i {
    font-size: 1.15rem;
}

.auth-submit:hover {
    background: var(--au-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.auth-submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--au-ring);
}

.auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.au-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: au-spin 0.7s linear infinite;
}

@keyframes au-spin {
    to { transform: rotate(360deg); }
}

/* --- Divider --- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 18px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--au-border);
}

.auth-divider span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--au-muted);
    white-space: nowrap;
}

/* --- Social buttons --- */
.auth-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.auth-social-btn {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--au-text);
    background: var(--au-card);
    border: 1px solid var(--au-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-social-btn i {
    font-size: 1.1rem;
}

.auth-social-btn .g { color: #EA4335; }
.auth-social-btn .f { color: #1877F2; }
.auth-social-btn .a { color: var(--au-text); }

.auth-social-btn:hover {
    border-color: var(--au-primary);
    background: var(--au-primary-soft);
    color: var(--au-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(22, 163, 74, 0.25);
}

.auth-social-btn:active {
    transform: translateY(0);
}

/* --- Switch link (Sign up / Log in) --- */
.auth-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--au-muted);
}

.auth-switch a {
    color: var(--au-primary);
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.auth-switch a:hover {
    text-decoration: underline;
    gap: 7px;
}

/* --- Back to Home link inside form --- */
.auth-back-home {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--au-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 999px;
    width: fit-content;
    align-self: center;
}

.auth-back-home i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.auth-back-home:hover {
    color: var(--au-primary);
    background: var(--au-primary-soft);
}

.auth-back-home:hover i {
    transform: translateX(-4px);
}

[dir="rtl"] .auth-back-home i {
    transform: scaleX(-1);
}

[dir="rtl"] .auth-back-home:hover i {
    transform: scaleX(-1) translateX(-4px);
}

/* --- Success animation state --- */
.auth-done {
    display: none;
    text-align: center;
    padding: 24px 8px 10px;
}

.auth-done.show {
    display: block;
}

.auth-done-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--au-primary-soft);
    color: var(--au-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    animation: au-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}

@keyframes au-pop {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.auth-done h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--au-text);
    margin-bottom: 6px;
}

.auth-done p {
    font-size: 0.9rem;
    color: var(--au-muted);
}

/* --- Footer --- */
.auth-foot {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 12px 18px 24px;
    font-size: 0.8rem;
    color: var(--au-muted);
}

.auth-foot a {
    color: var(--au-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-foot a:hover {
    color: var(--au-primary);
}

/* --- Responsive adjustments --- */
@media (max-width: 640px) {
    body.auth-body {
        height: 100%;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden; /* Only auth pages are fixed and non-scrollable on mobile */
        position: fixed;
        width: 100%;
        inset: 0;
        overscroll-behavior: none;
    }

    /* Fixed corner tools - stays locked at corner across all views */
    .auth-corner-tools {
        position: fixed;
        top: 12px;
        inset-inline-end: 14px;
        z-index: 120;
        gap: 8px;
    }

    .auth-corner-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    /* Stage occupies area strictly below the fixed corner tools */
    .auth-stage {
        padding-top: 54px; /* Strictly below 12px + 36px = 48px corner buttons */
        padding-bottom: 6px;
        padding-left: 14px;
        padding-right: 14px;
        flex: 1 1 auto;
        height: calc(100dvh - 10px);
        max-height: calc(100dvh - 10px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Compact card fitting cleanly inside viewport with zero overlap */
    .auth-card {
        padding: 20px 18px 16px;
        border-radius: 20px;
        width: min(440px, 100%);
        margin: auto 0;
        max-height: calc(100dvh - 64px);
        overflow-y: auto; /* Fallback for ultra-short screens without moving page/tools */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .auth-card::-webkit-scrollbar {
        display: none;
    }

    .auth-logo-wrap {
        margin-bottom: 10px;
    }

    .auth-logo-wrap .logo {
        font-size: 1.3rem;
        gap: 6px;
    }

    .auth-logo-wrap .logo i {
        font-size: 1.4rem;
    }

    .auth-card-head {
        margin-bottom: 12px;
    }

    .auth-card-head h1 {
        font-size: 1.28rem;
        margin-bottom: 2px;
    }

    .auth-card-head p {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .auth-field {
        margin-bottom: 8px;
    }

    .auth-field label {
        font-size: 0.76rem;
        margin-bottom: 3px;
        font-weight: 600;
    }

    .auth-input {
        height: 38px;
        font-size: 0.85rem;
        padding-inline-start: 34px;
        border-radius: 10px;
    }

    .auth-input-wrap i {
        font-size: 0.92rem;
        inset-inline-start: 11px;
    }

    .auth-row {
        margin-bottom: 8px;
    }

    .auth-check-box {
        width: 16px;
        height: 16px;
        border-radius: 5px;
    }

    .auth-check-text {
        font-size: 0.76rem;
    }

    .auth-forgot {
        font-size: 0.76rem;
    }

    .auth-submit {
        height: 40px;
        font-size: 0.88rem;
        border-radius: 10px;
    }

    .auth-divider {
        margin: 8px 0;
        font-size: 0.7rem;
    }

    .auth-social {
        gap: 8px;
    }

    .auth-social-btn {
        height: 35px;
        font-size: 0.8rem;
        border-radius: 10px;
        gap: 6px;
    }

    .auth-switch {
        margin-top: 8px;
        font-size: 0.78rem;
    }

    .auth-back-home {
        margin-top: 6px;
        font-size: 0.78rem;
        padding: 3px 10px;
    }

    .auth-foot {
        display: none; /* In-card back-home used; frees vertical space so no page scroll occurs */
    }

    .auth-blob--1 { width: 220px; height: 220px; }
    .auth-blob--2 { width: 180px; height: 180px; }
}

@media (max-width: 420px) {
    .auth-card {
        padding: 16px 14px 14px;
    }

    .auth-social-btn span {
        display: none;
    }

    .auth-social-btn i {
        font-size: 1.15rem;
    }
}
