:root {
    --ink: #0B1520; /* midnight */
    --ink-2: #132433; /* raised midnight */
    --sand: #F3EEE6; /* warm paper */
    --sand-2: #E6DED1;
    --brass: #C9A227; /* signature brass */
    --brass-soft: #E4C766;
    --teal: #1F6F6B; /* deep oasis teal */
    --muted: #7C8896;
    --line: rgba(255, 255, 255, .12);
    --line-dark: rgba(11, 21, 32, .12);
    --radius: 18px;
    --shadow: 0 24px 60px -24px rgba(11, 21, 32, .35);
}

* {
    -webkit-tap-highlight-color: transparent
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--sand);
    color: var(--ink);
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-face {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.08
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .7rem
}

::selection {
    background: var(--brass);
    color: var(--ink)
}

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
    border-radius: 4px
}

/* ── Eyebrow with route-line motif (signature) ───────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--brass);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: .8
}

.eyebrow.on-dark {
    color: var(--brass-soft)
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: .85rem 1.9rem;
    transition: all .35s cubic-bezier(.2, .8, .2, 1);
    border: 1px solid transparent
}

.btn-brass {
    background: var(--brass);
    color: var(--ink);
}

.btn-brass:hover {
    background: var(--brass-soft);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(201, 162, 39, .65)
}

.btn-ink {
    background: var(--ink);
    color: var(--sand)
}

.btn-ink:hover {
    background: var(--ink-2);
    color: #fff;
    transform: translateY(-2px)
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    background: transparent
}

.btn-ghost-light:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff
}

.btn-ghost-dark {
    border-color: var(--line-dark);
    color: var(--ink);
    background: transparent
}

.btn-ghost-dark:hover {
    background: var(--ink);
    color: var(--sand);
    border-color: var(--ink)
}

/* ── Navigation ──────────────────────────────────────────── */
.nav-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: all .4s ease;
    padding: 1.1rem 0
}

.nav-shell.scrolled {
    background: rgba(11, 21, 32, .88);
    backdrop-filter: saturate(180%) blur(18px);
    padding: .6rem 0;
    box-shadow: 0 1px 0 var(--line)
}

.logo-slot {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    display: grid;
    place-items: center;
    color: var(--brass-soft);
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, .06)
}

.logo-text {
    color: #fff;
    line-height: 1.1
}

.logo-text b {
    font-family: 'Fraunces', serif;
    font-size: 1.12rem;
    letter-spacing: -.01em;
    display: block
}

.logo-text span {
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55)
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, .82);
    font-size: .94rem;
    font-weight: 400;
    padding: .5rem 0;
    margin: 0 1.05rem;
    position: relative
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: .15rem;
    height: 1px;
    width: 0;
    background: var(--brass);
    transition: width .35s ease
}

.navbar-nav .nav-link:hover {
    color: #fff
}

.navbar-nav .nav-link.active {
    color: var(--brass);
    font-weight: 700
}

.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 100%
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
    padding: .4rem .6rem
}

.navbar-toggler:focus {
    box-shadow: none
}

.navbar-toggler i {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--ink);
        margin-top: 1rem;
        border-radius: var(--radius);
        padding: 1.25rem;
        border: 1px solid var(--line)
    }

    .navbar-nav .nav-link {
        margin: 0;
        padding: .7rem 0;
        border-bottom: 1px solid var(--line)
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: 0
    }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink)
}

.hero video, .hero .video-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: contrast(1.04) saturate(1.08)
}

.hero video {
    z-index: 1
}

.video-fallback {
    background: radial-gradient(120% 90% at 20% 10%, #25506b 0%, #0B1520 60%)
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(11, 21, 32, .45) 0%, rgba(11, 21, 32, .08) 45%, rgba(11, 21, 32, .7) 100%),
    radial-gradient(70% 90% at 12% 55%, rgba(11, 21, 32, .55), transparent 70%)
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")
}

.hero-inner {
    position: relative;
    z-index: 3;
    padding: 9rem 0 5rem;
    color: #fff
}

.hero h1 {
    font-size: clamp(2.4rem, 6.4vw, 5.1rem);
    font-weight: 400;
    color: #fff;
    margin: 1.6rem 0 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .55)
}

.hero h1 em {
    font-style: italic;
    color: var(--brass-soft)
}

.typeline {
    display: block;
    min-height: 1.2em;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4.2vw, 3.1rem);
    color: var(--brass-soft);
    margin-top: .35rem
}

.caret {
    display: inline-block;
    width: 2px;
    height: .95em;
    background: var(--brass);
    vertical-align: -.1em;
    margin-left: .12em;
    animation: blink 1s steps(1) infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.hero-lede {
    color: rgba(255, 255, 255, .82);
    font-size: 1.06rem;
    max-width: 34rem;
    margin-top: 1.6rem;
    line-height: 1.75;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .55)
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2.4rem
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line)
}

.hero-meta .k {
    font-family: 'Fraunces', serif;
    font-size: 1.9rem;
    color: #fff;
    line-height: 1
}

.hero-meta .v {
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: .4rem
}

.scroll-hint {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, .5);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem
}

.scroll-hint span.bar {
    width: 1px;
    height: 38px;
    background: linear-gradient(var(--brass), transparent);
    animation: drop 2.2s ease-in-out infinite
}

@keyframes drop {
    0%, 100% {
        transform: scaleY(.3);
        transform-origin: top
    }
    50% {
        transform: scaleY(1);
        transform-origin: top
    }
}

@media (max-width: 575.98px) {
    .hero-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem
    }

    .hero-meta {
        gap: 1.6rem
    }

    .scroll-hint {
        display: none
    }
}

/* ── Section scaffolding ─────────────────────────────────── */
.section {
    padding: 6.5rem 0
}

.section-dark {
    background: var(--ink);
    color: #fff
}

.section-dark h2, .section-dark h3 {
    color: #fff
}

.section-paper {
    background: var(--sand)
}

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    margin: 1.1rem 0 0
}

.section-title em {
    font-style: italic;
    color: var(--brass)
}

.section-dark .section-title em {
    color: var(--brass-soft)
}

.section-lede {
    color: var(--muted);
    max-width: 38rem;
    margin-top: 1.1rem;
    line-height: 1.8
}

.section-dark .section-lede {
    color: rgba(255, 255, 255, .62)
}

/* ── Product showcase (BookSaudia) ───────────────────────── */
.brand-plate {
    overflow: hidden;
}

.brand-plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.plate-media {
    position: relative;
    min-height: 420px;
    background: none;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .35)
}

@media (max-width: 767.98px) {
    .plate-media {
        min-height: 0;
        aspect-ratio: auto
    }

    .brand-plate img {
        width: 100%;
        height: auto;
        object-fit: initial
    }
}

.plate-media .ph {
    text-align: center;
    padding: 2rem
}

.plate-media .ph i {
    font-size: 2.4rem;
    display: block;
    margin-bottom: .6rem;
    color: var(--brass-soft)
}

.feature-row {
    display: flex;
    gap: 1.1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line-dark)
}

.section-dark .feature-row {
    border-color: var(--line)
}

.feature-row:last-child {
    border-bottom: 0
}

.feature-row .ic {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(201, 162, 39, .14);
    color: var(--brass);
    font-size: 1.05rem
}

.section-dark .feature-row .ic {
    background: rgba(228, 199, 102, .13);
    color: var(--brass-soft)
}

.feature-row h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0;
    margin: 0 0 .3rem
}

.feature-row p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.65
}

.section-dark .feature-row p {
    color: rgba(255, 255, 255, .6)
}

.stat-strip {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff
}

.stat-strip div {
    padding: 1.6rem 1.2rem;
    text-align: center;
    border-right: 1px solid var(--line-dark)
}

.stat-strip div:last-child {
    border-right: 0
}

.stat-strip .n {
    font-family: 'Fraunces', serif;
    font-size: 1.85rem;
    color: var(--ink)
}

.stat-strip .l {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .3rem
}

@media (max-width: 575.98px) {
    .stat-strip {
        grid-template-columns:1fr
    }

    .stat-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line-dark)
    }

    .stat-strip div:last-child {
        border-bottom: 0
    }
}

/* ── Why BookSaudia — split panel like Uber's Plan for later ── */
.why-panel {
    background: var(--ink-2);
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line)
}

.why-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 90% at 85% 15%, rgba(31, 111, 107, .4), transparent 65%);
    pointer-events: none
}

.why-body {
    position: relative;
    z-index: 2;
    padding: 3.2rem
}

@media (max-width: 575.98px) {
    .why-body {
        padding: 2rem 1.4rem
    }
}

.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    color: rgba(255, 255, 255, .78)
}

.benefit-list li:last-child {
    border-bottom: 0
}

.benefit-list i {
    color: var(--brass-soft);
    font-size: 1.1rem;
    margin-top: .15rem
}

.benefit-list b {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: .15rem
}

.benefit-list small {
    color: rgba(255, 255, 255, .5);
    font-size: .86rem;
    line-height: 1.6;
    display: block
}

/* Fleet rail */
.fleet-rail {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    padding: .4rem .2rem 1.6rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.fleet-rail::-webkit-scrollbar {
    display: none
}

.fleet-card {
    flex: 0 0 268px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s
}

.fleet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.fleet-thumb {
    height: 150px;
    background: linear-gradient(150deg, #e9e3d8, #cfc7b8);
    display: grid;
    place-items: center;
    color: #8d8577;
    font-size: 1.9rem;
    overflow: hidden
}

.fleet-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1)
}

.fleet-card:hover .fleet-thumb img {
    transform: scale(1.06)
}

.fleet-card .bd {
    padding: 1.1rem 1.25rem 1.4rem
}

.fleet-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0
}

.fleet-card .yr {
    font-size: .74rem;
    color: var(--muted);
    margin-top: .15rem
}

.fleet-spec {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .9rem
}

.fleet-spec span {
    font-size: .7rem;
    letter-spacing: .04em;
    background: var(--sand);
    border: 1px solid var(--line-dark);
    padding: .24rem .6rem;
    border-radius: 999px;
    color: #5c6874
}

.rail-nav {
    display: flex;
    gap: .5rem
}

.rail-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: var(--ink);
    transition: .3s
}

.rail-nav button:hover {
    background: var(--ink);
    color: var(--sand);
    border-color: var(--ink)
}

/* Services grid */
.svc {
    background: #fff;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 1.7rem;
    height: 100%;
    transition: .4s cubic-bezier(.2, .8, .2, 1);
    position: relative;
    overflow: hidden
}

.svc::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 0;
    background: var(--brass);
    transition: width .45s ease
}

.svc:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.svc:hover::after {
    width: 100%
}

.svc i {
    font-size: 1.5rem;
    color: var(--teal)
}

.svc h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0;
    margin: 1rem 0 .45rem
}

.svc p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
    margin: 0
}

/* ── App download ────────────────────────────────────────── */
.app-band {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden
}

.app-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 70% at 12% 20%, rgba(201, 162, 39, .18), transparent 60%)
}

.qr-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    transition: .4s;
    color: var(--ink);
    width: 100%;
    max-width: 460px
}

.qr-card:hover {
    transform: translateY(-4px)
}

.qr-slot {
    flex: 0 0 150px;
    height: 150px;
    border-radius: 14px;
    background: var(--sand);
    border: 1px dashed #b9b0a0;
    display: grid;
    place-items: center;
    color: #96907f;
    text-align: center;
    font-size: .68rem;
    letter-spacing: .1em;
    line-height: 1.5;
    padding: .5rem;
    overflow: hidden
}

.qr-slot:has(img) {
    background: #fff;
    border: 1px solid var(--line-dark);
    padding: 8px
}

.qr-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.qr-body {
    flex: 1;
    min-width: 0
}

.qr-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0
}

.qr-card p {
    margin: .25rem 0 0;
    font-size: .85rem;
    color: var(--muted)
}

.qr-card .go {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--ink);
    transition: transform .3s
}

.qr-card:hover .go {
    transform: translateX(5px)
}

@media (max-width: 400px) {
    .qr-card {
        flex-direction: column;
        align-items: flex-start
    }

    .qr-card .go {
        margin-left: 0
    }
}

.phone-mock {
    width: 230px;
    aspect-ratio: 9/18.5;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: linear-gradient(170deg, #16293a, #0B1520);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
    position: relative;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .3);
    text-align: center;
    padding: 1.5rem
}

.phone-mock::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .18)
}

/* ── Footer ──────────────────────────────────────────────── */
.foot {
    background: #070E16;
    color: rgba(255, 255, 255, .62);
    padding: 5rem 0 0
}

.foot h4 {
    font-family: 'Outfit', sans-serif;
    font-size: .74rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 600
}

.foot a {
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    font-size: .92rem;
    transition: .25s;
    display: inline-block;
    padding: .28rem 0
}

.foot a:hover {
    color: var(--brass-soft);
    transform: translateX(3px)
}

.foot ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.soc {
    display: flex;
    gap: .55rem;
    margin-top: 1.2rem
}

.soc a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .7)
}

.soc a:hover {
    background: var(--brass);
    color: var(--ink);
    border-color: var(--brass);
    transform: translateY(-3px)
}

.pay {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .4rem
}

.pay span {
    font-size: .68rem;
    letter-spacing: .06em;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .3rem .6rem;
    color: rgba(255, 255, 255, .6)
}

.foot-base {
    border-top: 1px solid var(--line);
    margin-top: 3.5rem;
    padding: 1.6rem 0;
    font-size: .84rem
}

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1)
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }

    html {
        scroll-behavior: auto
    }
}
