/* ============================================================
   SMART COACH — Bold & Vibrant Design System
   Matatu-inspired, Kenya-focused transport booking UI
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --navy: #0a1b2e;
    --navy-light: #132d4a;
    --orange: #ff6b2c;
    --orange-dark: #e85a1e;
    --green: #00c853;
    --green-dark: #00a344;
    --yellow: #ffc107;
    --pink: #ff2d87;
    --purple: #7c3aed;
    --text: #1a2332;
    --text-muted: #5a6a7e;
    --text-light: #8896a8;
    --bg: #f8f9fc;
    --bg-warm: #fefcfa;
    --white: #ffffff;
    --border: #e4e9f1;
    --border-light: #f0f3f8;
    --shadow-sm: 0 2px 8px rgba(10, 27, 46, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 27, 46, 0.1);
    --shadow-lg: 0 16px 48px rgba(10, 27, 46, 0.12);
    --shadow-glow: 0 8px 32px rgba(255, 107, 44, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
    --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }

::selection {
    background: var(--orange);
    color: var(--white);
}

/* --- Container --- */
.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.container-wide {
    width: min(1360px, calc(100% - 2rem));
    margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    line-height: 1.15;
    margin: 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead { color: var(--text-muted); font-size: 1.05rem; max-width: 700px; }

/* --- Section --- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 233, 241, 0.6);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.brand strong {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
    letter-spacing: 0.03em;
}

.brand span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--navy);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--orange);
    background: rgba(255, 107, 44, 0.06);
}

.nav-links a.active {
    color: var(--orange);
    background: rgba(255, 107, 44, 0.08);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.phone-pill {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition);
}

.phone-pill:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 32px rgba(10, 27, 46, 0.15);
    z-index: 105;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer.open { right: 0; }

.mobile-drawer a {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--navy);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: color var(--transition);
}

.mobile-drawer a:hover { color: var(--orange); }

.mobile-drawer .btn { margin-top: 1.2rem; width: 100%; text-align: center; }

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 27, 46, 0.4);
    z-index: 102;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.visible {
    opacity: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.8rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.3;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 44, 0.3);
}
.btn-primary:hover { box-shadow: var(--shadow-glow); }

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(10, 27, 46, 0.2);
}
.btn-secondary:hover { background: var(--navy-light); }

.btn-success {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    color: var(--white);
    background-image:
        linear-gradient(90deg, rgba(7, 20, 37, 0.62) 0%, rgba(7, 20, 37, 0.46) 30%, rgba(7, 20, 37, 0.14) 58%, rgba(7, 20, 37, 0.04) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(8, 28, 46, 0.1) 100%),
        radial-gradient(circle at 82% 22%, rgba(255, 193, 7, 0.18), transparent 22%),
        radial-gradient(circle at 72% 16%, rgba(170, 224, 255, 0.12), transparent 18%),
        url('/assets/smartcoach-hero.webp');
    background-size: 118% auto;
    background-position: 76% 48%;
    padding: 6rem 0 7.25rem;
    overflow: clip;
    animation: hero-pan 18s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 96px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%, rgba(10, 27, 46, 0.05) 100%),
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.09), transparent 18%);
    z-index: 1;
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 2;
    min-height: clamp(470px, 60vh, 620px);
    display: flex;
    align-items: center;
}

.hero-shell::after {
    content: '';
    position: absolute;
    inset: 11% 0 15% 49%;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
}

.hero-content {
    max-width: 580px;
    position: relative;
    padding: 1rem 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.55rem, 5.6vw, 4.5rem);
    font-weight: 800;
    line-height: 0.98;
    margin: 0 0 1.15rem;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-line,
.hero h1 .highlight {
    display: block;
}

.hero h1 .highlight {
    color: #ffe08a;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.72;
    max-width: 540px;
    margin: 0;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-badges {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.58rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(7, 20, 37, 0.12);
}

.hero-badge svg { width: 16px; height: 16px; }

@keyframes hero-pan {
    0%, 100% { background-position: 76% 48%; }
    50% { background-position: 78% 50%; }
}

/* Page hero (for inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--purple) 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

/* ============================================================
   SEARCH PANEL
   ============================================================ */
.search-panel {
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.panel-accent {
    border-top: 4px solid;
    border-image: linear-gradient(135deg, var(--orange), var(--pink), var(--purple)) 1;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-grid .full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

/* ============================================================
   FORMS
   ============================================================ */
label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

input, select, textarea {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text);
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    transition: all var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.12);
}

input::placeholder { color: var(--text-light); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--navy);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple), var(--green));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0.25rem 0 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all var(--transition);
}

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

.card-gradient {
    border-top: 4px solid transparent;
    border-image: linear-gradient(135deg, var(--orange), var(--pink)) 1;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.card p { color: var(--text-muted); margin: 0.25rem 0; }

.card .meta {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.88rem;
}

.card .price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0.5rem 0;
}

.muted { color: var(--text-muted); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all var(--transition);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.1), rgba(255, 45, 135, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--orange);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-icon svg { width: 20px; height: 20px; }

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   FLEET GALLERY
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 27, 46, 0.6), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Legacy gallery img support */
.gallery > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.4s ease;
}

.gallery > img:hover {
    transform: scale(1.03);
}

.vehicle-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.75rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--orange);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card p {
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), var(--purple));
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 44, 0.2), transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.cta-banner .btn { position: relative; }

/* ============================================================
   SEAT GRID (Booking)
   ============================================================ */
.seat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
}

.seat-checkbox { position: relative; }

.seat-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.seat-checkbox span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.4rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: #f8faff;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.seat-checkbox span:hover {
    border-color: var(--green);
    background: rgba(0, 200, 83, 0.06);
}

.seat-checkbox input:checked + span {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-color: var(--green);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

.seat-booked {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.4rem;
    border-radius: var(--radius-sm);
    border: 2px solid #e8d0d0;
    background: #fdf2f2;
    color: #b45454;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: line-through;
    opacity: 0.65;
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-orange { background: rgba(255, 107, 44, 0.12); color: var(--orange); }
.badge-green { background: rgba(0, 200, 83, 0.12); color: var(--green-dark); }
.badge-navy { background: rgba(10, 27, 46, 0.08); color: var(--navy); }
.badge-purple { background: rgba(124, 58, 237, 0.1); color: var(--purple); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
    font-weight: 500;
}

.flash-success {
    background: rgba(0, 200, 83, 0.08);
    border-color: rgba(0, 200, 83, 0.25);
    color: #0a6b35;
}

.flash-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #9b2c2c;
}

.list { padding-left: 1.2rem; list-style: disc; color: var(--text-muted); }
.list li + li { margin-top: 0.4rem; }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

.hero-shell > *,
.form-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.footer-main > *,
.about-grid > * {
    min-width: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 0;
    margin-top: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.55);
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--orange);
    min-width: 18px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 28px; height: 28px; }

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ============================================================
   AMENITY ICONS
   ============================================================ */
.amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.amenity-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: rgba(255, 107, 44, 0.06);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange);
}

.amenity-tag svg { width: 14px; height: 14px; }

/* ============================================================
   BOOKING SUCCESS
   ============================================================ */
.success-banner {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-banner h2 { margin-bottom: 0.5rem; }

.booking-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

.booking-detail-row:last-child { border-bottom: none; }
.booking-detail-row strong { color: var(--navy); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.defer-render {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3, .gallery, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .about-grid { gap: 2rem; }
    .hero-content { max-width: 520px; }
    .hero-shell::after { inset: 13% 0 18% 56%; }
}

@media (max-width: 768px) {
    .nav-links, .phone-pill { display: none; }
    .hamburger { display: flex; }
    .mobile-drawer { display: block; }
    .mobile-drawer { width: min(88vw, 320px); padding-top: 4.5rem; }

    .nav-bar { min-height: 64px; }

    .hero {
        padding: 4rem 0 5.4rem;
        background-image:
            linear-gradient(180deg, rgba(7, 20, 37, 0.66) 0%, rgba(7, 20, 37, 0.34) 42%, rgba(7, 20, 37, 0.54) 100%),
            radial-gradient(circle at 52% 14%, rgba(255, 193, 7, 0.18), transparent 24%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(8, 28, 46, 0.12) 100%),
            url('/assets/smartcoach-hero-mobile.webp');
        background-size: 164% auto;
        background-position: 66% 48%;
        animation: none;
    }
    .hero-shell {
        min-height: 430px;
        align-items: flex-end;
    }
    .hero-shell::after {
        inset: 14% 0 18% 34%;
    }
    .hero-content {
        max-width: none;
        padding: 1.45rem 1.2rem 1.35rem;
        border-radius: 24px;
        background: linear-gradient(135deg, rgba(7, 20, 37, 0.38), rgba(7, 20, 37, 0.18));
        border: 1px solid rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 18px 36px rgba(4, 14, 27, 0.14);
    }
    .hero-kicker { margin-bottom: 0.9rem; }
    .hero h1 { font-size: clamp(2.2rem, 9vw, 3.35rem); }
    .hero p { font-size: 1rem; line-height: 1.6; }
    .hero-badges { gap: 0.65rem; }
    .search-panel { margin-top: -2rem; }

    .form-grid, .grid-2, .grid-3, .grid-4, .gallery {
        grid-template-columns: 1fr;
    }

    .seat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .footer-main { grid-template-columns: 1fr; gap: 2rem; }

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

    .section { padding: 2.5rem 0; }
    .page-hero { padding: 2.5rem 0 2rem; }

    .panel,
    .card,
    .service-card,
    .testimonial-card,
    .success-banner { padding: 1.25rem; }

    .cta-banner { padding: 2rem 1.5rem; }
    .booking-detail-row { gap: 0.75rem; }

    .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .hero { padding: 3rem 0 4.5rem; }
    .hero h1 { font-size: clamp(2rem, 10vw, 2.85rem); }
    .hero-shell {
        min-height: 395px;
    }
    .hero-shell::after {
        inset: 16% -12% 22% 38%;
    }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-badges { flex-direction: column; }
    .hero-badge { width: 100%; justify-content: flex-start; }

    .seat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: 1fr; }
    .booking-detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .booking-detail-row strong { text-align: left; }
    .panel,
    .card,
    .service-card,
    .testimonial-card,
    .success-banner { padding: 1rem; }

    .container { width: calc(100% - 1.25rem); }
}
