@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;900&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --ink:          #0d0f12;
    --ink-soft:     #1e2330;
    --paper:        #f8f7f4;
    --paper-warm:   #f1ede6;
    --gold:         #c8922a;
    --gold-light:   #e6b84a;
    --gold-dark:    #9e6f1a;
    --blue:         #1a56db;
    --blue-light:   #3b82f6;
    --muted:        #6b7280;
    --border:       #e5e1d8;
    --white:        #ffffff;
    --success:      #059669;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'Courier New', monospace;

    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --radius-xl:    32px;

    --shadow-sm:    0 1px 3px rgba(13,15,18,0.08);
    --shadow-md:    0 4px 16px rgba(13,15,18,0.1);
    --shadow-lg:    0 12px 40px rgba(13,15,18,0.14);
    --shadow-xl:    0 24px 80px rgba(13,15,18,0.18);

    --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    margin: 0; padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-top: 0;
    line-height: 1.2;
}

.outstation-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HERO — DARK CINEMATIC
   ============================================ */
.os-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px 120px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(13,15,18,0.85) 0%, rgba(30,35,48,0.75) 60%, rgba(200,146,42,0.15) 100%),
        url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=90&w=2070&auto=format&fit=crop') center/cover no-repeat;
}

/* Subtle grain overlay */
.os-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.os-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.os-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,146,42,0.15);
    border: 1px solid rgba(200,146,42,0.35);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.os-hero-badge span { font-size: 1rem; }

.os-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 22px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.os-hero h1 em {
    font-style: normal;
    color: var(--gold-light);
}

.os-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* Animated route bar */
.os-route-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.os-pin {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.25);
}
.os-pin.end {
    background: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(230,184,74,0.25);
}
.os-line {
    width: 120px; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.4) 0, rgba(255,255,255,0.4) 5px, transparent 5px, transparent 10px);
    position: relative;
    overflow: hidden;
}
.os-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer-line 2s ease-in-out infinite;
}
@keyframes shimmer-line { to { left: 200%; } }

/* Trust badges */
.os-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}
.os-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
}
.os-trust-item strong { color: var(--white); }


/* ============================================
   BOOKING WIDGET
   ============================================ */
.os-widget-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -70px;
    padding: 0 24px;
}

.os-widget {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 36px 40px;
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.os-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--paper);
    border-radius: var(--radius-md);
    padding: 4px;
    width: fit-content;
}
.os-tab {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    padding: 9px 22px;
    border-radius: 9px;
    transition: var(--transition);
}
.os-tab.active {
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.os-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.os-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}
.os-form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.os-form-group input {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 500;
    background: var(--paper);
    color: var(--ink);
    transition: var(--transition);
}
.os-form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(200,146,42,0.1);
}
.os-form-group input::placeholder { color: var(--muted); font-weight: 400; }

/* Autocomplete */
.os-autocomplete-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}
.os-autocomplete-list.active { display: block; }
.os-autocomplete-item {
    padding: 11px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.os-autocomplete-item:hover { background: var(--paper); color: var(--gold-dark); }

.os-btn {
    background: var(--ink);
    color: var(--white);
    border: none;
    padding: 15px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 20px;
    letter-spacing: 0.02em;
}
.os-btn:hover { background: var(--ink-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.os-btn.primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 20px rgba(200,146,42,0.35);
}
.os-btn.primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 8px 30px rgba(200,146,42,0.45);
    transform: translateY(-2px);
}

/* ============================================
   STATS BAR
   ============================================ */
.os-stats-bar {
    background: var(--ink);
    padding: 36px 0;
}
.os-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.os-stat h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-light);
    margin-bottom: 4px;
}
.os-stat p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.os-section { padding: 100px 0; }
.os-section.bg-warm { background: var(--paper-warm); }
.os-section.bg-dark { background: var(--ink); }

.os-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,146,42,0.1);
    border: 1px solid rgba(200,146,42,0.25);
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 16px;
    text-align: center;
}
.section-title.light { color: var(--white); }
.section-title.left { text-align: left; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}
.section-subtitle.left { text-align: left; margin: 0 0 40px; }

/* ============================================
   FLEET CARDS (Results)
   ============================================ */
#os-results { padding: 60px 0; background: var(--paper); }
#os-results h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
}
.os-results-tagline {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
}
.os-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.os-car-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.os-car-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.os-car-img {
    width: 100%; height: 210px;
    object-fit: cover;
}
.os-car-details { padding: 24px; }
.os-car-details h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.os-car-details > p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 18px;
}
.os-breakdown {
    background: var(--paper);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    border: 1px solid var(--border);
}
.os-breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    color: var(--muted);
}
.os-breakdown-row.total {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 8px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.os-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.os-feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.os-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.os-feature-card:hover::before { transform: scaleX(1); }
.os-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.os-feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 18px;
}
.os-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.os-feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.os-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}
.os-steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}
.os-step {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.os-step-num {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 2.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold-dark);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}
.os-step h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.os-step p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.os-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.os-testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.os-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.os-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.os-testimonial blockquote {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 20px;
    font-style: italic;
}
.os-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.os-reviewer-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}
.os-reviewer-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}
.os-reviewer-info span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ============================================
   ABOUT SPLIT
   ============================================ */
.os-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.os-split-content p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
}
.os-split-image {
    position: relative;
}
.os-split-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    aspect-ratio: 4/3;
}
.os-split-image::after {
    content: '';
    position: absolute;
    inset: -12px -12px -12px 12px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.4;
}

/* Achievement badges */
.os-achieve-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.os-achieve-badge {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    text-align: center;
    min-width: 110px;
}
.os-achieve-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold-dark);
    font-weight: 900;
}
.os-achieve-badge span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* ============================================
   CONTACT
   ============================================ */
.os-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.os-contact-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    transition: var(--transition);
}
.os-contact-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.os-contact-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 16px;
}
.os-contact-card h3 {
    color: var(--gold-light);
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.os-contact-card p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 8px;
}
.os-contact-card strong {
    color: var(--white);
    font-size: 1rem;
}

/* ============================================
   PASSENGER FORM & CONFIRMATION
   ============================================ */
#os-passenger-form {
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 560px;
    margin: 60px auto;
    padding: 48px;
}
#os-passenger-form h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}
#os-passenger-form > p { color: var(--muted); margin-bottom: 32px; }

#os-confirmation {
    display: none;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 60px auto;
    padding: 60px 48px;
}
.os-confirm-checkmark {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(5,150,105,0.35);
}

.os-ref-code {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-dark);
    background: var(--paper-warm);
    border: 2px dashed var(--gold);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin: 16px 0 32px;
    letter-spacing: 0.1em;
}

/* ============================================
   FOOTER
   ============================================ */
.os-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.5);
    padding: 56px 24px 32px;
}
.os-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.os-footer-brand { max-width: 280px; }
.os-footer-brand h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 14px;
}
.os-footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.os-footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.os-footer-col ul { list-style: none; margin: 0; padding: 0; }
.os-footer-col ul li { margin-bottom: 10px; }
.os-footer-col ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.os-footer-col ul li a:hover { color: var(--gold-light); }
.os-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.os-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .os-form-grid { grid-template-columns: 1fr 1fr; }
    .os-stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .os-split-layout { grid-template-columns: 1fr; gap: 40px; }
    .os-split-image::after { display: none; }
    .os-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .os-hero h1 { font-size: 2.4rem; }
    .os-form-grid { grid-template-columns: 1fr; }
    .os-stats-grid { grid-template-columns: 1fr 1fr; }
    .os-widget { padding: 24px 20px; }
    .os-steps-grid::before { display: none; }
    .os-footer-grid { grid-template-columns: 1fr; }
    .os-trust-row { gap: 16px; }
}

/* ============================================
   CAR BADGES & INCLUSIONS
   ============================================ */
.os-car-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.os-badge {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}
.os-badge.badge-green {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}
.os-badge.badge-warn {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.os-inc-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
}
.os-inc-item {
    font-size: 0.775rem;
    font-weight: 500;
    padding: 3px 0;
}
.os-inc-item.inc { color: #065f46; }
.os-inc-item.exc { color: #991b1b; }
