:root {
    --background: #07111f;
    --background-soft: #0c192a;
    --surface: #101f32;
    --primary: #d7b46a;
    --text: #f7f8fa;
    --text-muted: #aeb8c6;
    --border: rgba(255, 255, 255, 0.1);
    --max-width: 1240px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--font-family);
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
}

h1,
h2,
h3,
p {
    font-family: var(--font-family);
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 17, 31, 0.92);
    backdrop-filter: blur(16px);
}

.navigation {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 180, 106, 0.55);
    border-radius: 50%;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
}

.brand-name span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

.nav-links a {
    transition: color 160ms ease;
}

.nav-links a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.demo-badge {
    padding: 6px 10px;
    border: 1px solid rgba(215, 180, 106, 0.35);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(215, 180, 106, 0.08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-link {
    padding: 10px 17px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    transition:
        border-color 160ms ease,
        background 160ms ease;
}

.contact-link:hover {
    border-color: rgba(215, 180, 106, 0.55);
    background: rgba(215, 180, 106, 0.08);
}

/* Hero */

.hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 85px 0 150px;
    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 31, 0.98) 0%,
            rgba(7, 17, 31, 0.86) 45%,
            rgba(7, 17, 31, 0.35) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 17, 31, 0.05) 55%,
            #07111f 100%
        ),
        url("https://images.unsplash.com/photo-1540962351504-03099e0a754b?auto=format&fit=crop&w=2000&q=85")
        center 48% / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    right: -170px;
    bottom: -190px;
    width: 750px;
    height: 390px;
    border: 1px solid rgba(215, 180, 106, 0.12);
    border-radius: 50%;
    transform: rotate(-10deg);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--primary);
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(46px, 7vw, 78px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy {
    max-width: 610px;
    margin: 0;
    color: #c3ccd8;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.7;
}

.trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    margin-top: 35px;
    color: #dce2e9;
    font-size: 13px;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 9px;
}

.trust-point::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

/* GoOllie search */

.search-section {
    position: relative;
    z-index: 2;
    margin-top: -95px;
    padding-bottom: 20px;
    scroll-margin-top: 90px;
}

.search-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.search-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.search-heading h2 {
    margin: 0 0 7px;
    font-size: 25px;
    font-weight: 700;
}

.search-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.powered-by {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}

.powered-by strong {
    color: var(--text);
}

/* The GoOllie component determines its own natural height. */

#goollieOSEPlaceholder {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

#goollieOSEPlaceholder iframe {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

/* Popular routes */

.popular-section {
    padding: 22px 0 90px;
    scroll-margin-top: 90px;
}

.section-heading {
    max-width: 660px;
    margin-bottom: 34px;
}

.section-heading .label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.route-card {
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition:
        transform 180ms ease,
        border-color 180ms ease;
}

.route-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(4, 10, 18, 0.05) 15%,
            rgba(4, 10, 18, 0.94) 100%
        );
}

.route-card > * {
    position: relative;
    z-index: 1;
}

.route-card:nth-child(1) {
    background-image:
        url("https://images.unsplash.com/photo-1513026705753-bc3fffca8bf4?auto=format&fit=crop&w=1000&q=80");
}

.route-card:nth-child(2) {
    background-image:
        url("https://images.unsplash.com/photo-1533104816931-20fa691ff6ca?auto=format&fit=crop&w=1000&q=80");
}

.route-card:nth-child(3) {
    background-image:
        url("https://images.unsplash.com/photo-1530789253388-582c481c54b0?auto=format&fit=crop&w=1000&q=80");
}

.route-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 180, 106, 0.55);
}

.route-code {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.route-card h3 {
    margin: 0 0 7px;
    font-size: 21px;
    font-weight: 700;
}

.route-card p {
    margin: 0;
    color: #c5ced9;
    font-size: 13px;
}

/* Services */

.benefits {
    padding: 85px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--background-soft);
    scroll-margin-top: 90px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-number {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
}

.benefit h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.benefit p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Disclaimer */

.disclaimer {
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    background: #091522;
    font-size: 12px;
    text-align: center;
}

/* Footer */

.footer {
    padding: 45px 0;
    scroll-margin-top: 90px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a:hover {
    color: var(--text);
}

/* Tablet */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 530px;
        padding-top: 70px;
        background-position: 58% center;
    }

    .route-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        gap: 34px;
    }

    .route-card {
        min-height: 280px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .navigation {
        min-height: 68px;
    }

    .brand {
        font-size: 16px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .contact-link {
        display: none;
    }

    .hero {
        min-height: 520px;
        padding: 58px 0 135px;
        background-position: 64% center;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .trust-points {
        display: grid;
        gap: 11px;
    }

    .search-section {
        margin-top: -82px;
        padding-bottom: 12px;
    }

    .search-card {
        padding: 18px;
        border-radius: 18px;
    }

    .search-heading {
        display: block;
        margin-bottom: 18px;
    }

    .search-heading h2 {
        font-size: 22px;
    }

    .powered-by {
        display: block;
        margin-top: 12px;
    }

    #goollieOSEPlaceholder {
        min-height: 0;
        background: transparent;
    }

    .popular-section {
        padding: 18px 0 68px;
    }

    .route-card {
        min-height: 235px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
}