:root {
    --navy: #0b1f3a;
    --navy-2: #123156;
    --sky: #1a8cff;
    --sky-soft: #e8f3ff;
    --sand: #f4f7fb;
    --ink: #10243f;
    --muted: #5b6b82;
    --line: #d7e2ef;
    --white: #ffffff;
    --accent: #ff6a3d;
    --accent-2: #ff8f4a;
    --ok: #0f9f6e;
    --radius: 18px;
    --shadow: 0 22px 60px rgba(11, 31, 58, 0.14);
    --font-display: "Bricolage Grotesque", sans-serif;
    --font-body: "Karla", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    background: var(--sand);
}

body.home-pro {
    background: linear-gradient(180deg, #f3f7fc 0%, #eef4fb 45%, #f7f9fc 100%);
}

body.home-pro.has-solid-nav {
    padding-top: 76px;
}

.container {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

/* ─── Nav: transparent over hero → solid on scroll ─── */
.home-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.home-nav.is-solid {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--line);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
}

.home-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #fff;
    transition: color .2s;
}

.home-nav.is-solid .home-brand { color: var(--navy); }

.home-brand img {
    height: 40px;
    border-radius: 10px;
    background: #fff;
}

.home-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255, 106, 61, 0.35);
}

.home-brand strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.home-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.home-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    transition: background .18s, color .18s;
}

.home-nav.is-solid .home-links a { color: var(--navy-2); }

.home-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.home-nav.is-solid .home-links a:hover {
    background: var(--sky-soft);
    color: var(--sky);
}

.home-nav .btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.home-nav.is-solid .btn-ghost {
    color: var(--navy);
    background: #fff;
    border-color: var(--line);
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
}

.home-nav.is-solid .nav-toggle {
    border-color: var(--line);
    background: #fff;
    color: var(--navy);
}

/* ─── Buttons ─── */
.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 14px;
    padding: 0.9rem 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    transition: transform .18s, box-shadow .18s, background .18s;
}

.btn-home:hover { transform: translateY(-2px); }

.btn-accent {
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 32px rgba(255, 106, 61, 0.32);
}

.btn-navy {
    color: #fff !important;
    background: linear-gradient(135deg, var(--navy), #1c4f8c);
    box-shadow: 0 14px 32px rgba(11, 31, 58, 0.22);
}

.btn-ghost {
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
}

.btn-ghost:hover { color: var(--navy); }

.btn-hero-ghost {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

/* ─── Full-bleed hero ─── */
.home-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 5.5rem;
    overflow: hidden;
    color: #fff;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(11, 31, 58, 0.88) 0%, rgba(18, 49, 86, 0.72) 45%, rgba(11, 31, 58, 0.55) 100%),
        url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
    animation: heroDrift 28s ease-in-out infinite alternate;
}

.home-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 80% 20%, rgba(26, 140, 255, 0.28), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 106, 61, 0.18), transparent 50%);
    animation: washPulse 10s ease-in-out infinite alternate;
}

.home-hero__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 140, 255, 0.35), transparent 70%);
    top: 10%;
    right: -80px;
    z-index: 1;
    pointer-events: none;
    animation: floatOrb 9s ease-in-out infinite;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero__brand {
    display: block;
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.home-hero__brand span {
    background: linear-gradient(120deg, #fff 20%, #8ec8ff 55%, #ffb08a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero h1 {
    margin: 0 0 0.85rem;
    max-width: 16ch;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.96);
}

.home-hero p.lead {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    line-height: 1.55;
    margin: 0 0 1.75rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-scroll {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    animation: bounceSoft 2.2s ease-in-out infinite;
}

.hero-scroll i { font-size: 0.9rem; }

.hero-enter {
    opacity: 0;
    transform: translateY(28px);
    animation: heroEnter .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-enter-delay-1 { animation-delay: .12s; }
.hero-enter-delay-2 { animation-delay: .24s; }
.hero-enter-delay-3 { animation-delay: .36s; }
.hero-enter-delay-4 { animation-delay: .48s; }

@keyframes heroEnter {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes washPulse {
    from { opacity: 0.75; }
    to { opacity: 1; }
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@keyframes bounceSoft {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: .7; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ─── Search dock ─── */
.search-dock {
    position: relative;
    z-index: 50;
    margin-top: -3.5rem;
    padding-bottom: 0.5rem;
}

.search-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: visible;
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 10;
}

.search-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 0.85rem 0;
    background: linear-gradient(180deg, #f4f8fd, #eef4fb);
    border-bottom: 1px solid var(--line);
    border-radius: 24px 24px 0 0;
}

.search-tabs button {
    border: none;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 700;
    padding: 0.75rem 1.1rem;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: color .18s, background .18s;
}

.search-tabs button i { margin-right: 0.35rem; }

.search-tabs button.is-active {
    background: #fff;
    color: var(--navy);
    box-shadow: inset 0 -3px 0 var(--accent);
}

.search-body { padding: 1.25rem; }

.search-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 0.7fr auto;
    gap: 0.75rem;
    align-items: end;
}

.search-grid.rides {
    grid-template-columns: 1.3fr 1.3fr 1fr auto;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input, .field select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.field input:focus, .field select:focus {
    border-color: rgba(26, 140, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(26, 140, 255, 0.12);
}

/* ─── Stats ─── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin: 1.75rem 0 0;
    position: relative;
    z-index: 1;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.05);
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.stat span { color: var(--muted); font-size: 0.88rem; }

/* ─── Sections ─── */
.section { padding: 4rem 0 1rem; position: relative; z-index: 1; }

.section h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    color: var(--navy);
    letter-spacing: -0.03em;
}

.section .sub { color: var(--muted); margin: 0 0 1.75rem; font-size: 1.05rem; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.section-head .sub { margin-bottom: 0; }

.kicker {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--sky);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cards-4, .cards-3 {
    display: grid;
    gap: 1.1rem;
}

.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.cards-auto {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-pro {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.35rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-pro::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.card-pro:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: #c5d8ef;
    color: inherit;
}

.card-pro:hover::before { transform: scaleX(1); }

.card-pro:hover .icon-box {
    transform: scale(1.08) rotate(-4deg);
}

.card-pro img.card-media {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0.95rem;
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 0.95rem;
    font-size: 1.2rem;
    transition: transform .22s ease;
}

.icon-ride { background: #dbeafe; color: #1d4ed8; }
.icon-flight { background: #e0f2fe; color: #0369a1; }
.icon-wallet { background: #d1fae5; color: #047857; }
.icon-driver { background: #ffedd5; color: #c2410c; }
.icon-picnic { background: #dcfce7; color: #15803d; }
.icon-hotel { background: #ffe4e6; color: #be123c; }
.icon-drone { background: #e0e7ff; color: #3730a3; }

/* ─── Picnic listing & detail ─── */
.page-band {
    position: relative;
    padding: 6.5rem 0 3rem;
    color: #fff;
    overflow: hidden;
}
.page-band--picnic {
    background:
        linear-gradient(115deg, rgba(15, 61, 46, 0.92) 0%, rgba(22, 101, 52, 0.78) 55%, rgba(11, 31, 58, 0.7) 100%),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
}
.page-band .kicker { color: #bbf7d0; }
.page-band h1 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 16ch;
}
.page-band .lead {
    margin: 0;
    max-width: 38rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}
.page-band-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}
.page-band-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.86rem;
    font-weight: 600;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background .18s, transform .18s;
}
.page-back i {
    font-size: 0.85rem;
    line-height: 1;
}
.page-back:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff !important;
    transform: translateX(-2px);
}

.picnic-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1.5rem;
}
.picnic-toolbar p { margin: 0; color: var(--muted); }

.picnic-card {
    padding: 0;
    overflow: hidden;
}
.picnic-card .picnic-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(145deg, #dcfce7, #e0f2fe);
}
.picnic-card .picnic-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
    transition: transform .45s ease;
}
.picnic-card:hover .picnic-card-media img { transform: scale(1.06); }
.picnic-card .picnic-card-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    color: #15803d;
}
.picnic-card .picnic-card-body {
    padding: 1.15rem 1.2rem 1.3rem;
}
.picnic-card .picnic-card-body h3 { margin-bottom: 0.35rem; }
.picnic-card .picnic-card-body p {
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.picnic-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 0.75rem;
}
.picnic-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
}
.picnic-card-cta i {
    font-size: 0.78rem;
    transition: transform .18s ease;
}
.picnic-card:hover .picnic-card-cta i {
    transform: translateX(4px);
}

.picnic-pagination {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
}
.picnic-pagination .pagination {
    gap: 0.35rem;
    flex-wrap: wrap;
}
.picnic-pagination .page-link {
    border-radius: 12px !important;
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    min-width: 2.4rem;
    text-align: center;
    padding: 0.5rem 0.75rem;
}
.picnic-pagination .page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.picnic-pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background: #f8fafc;
}
.picnic-pagination .page-link:hover {
    background: var(--sky-soft);
    color: var(--navy);
}

.picnic-detail {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.35rem;
    align-items: start;
}
.picnic-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.picnic-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #f1f5f9;
}
.picnic-gallery img:first-child {
    grid-column: 1 / -1;
    height: 280px;
}
.picnic-map-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05);
    position: sticky;
    top: 5.5rem;
}
.picnic-map-panel .picnic-map {
    height: 320px;
    width: 100%;
    background: #e8eef5;
}
.picnic-map-panel .picnic-map-meta {
    padding: 1.1rem 1.2rem 1.25rem;
}
.picnic-map-panel .picnic-map-meta h3 {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
}
.picnic-coords {
    margin: 0 0 0.95rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}
.picnic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

@media (max-width: 960px) {
    .picnic-detail { grid-template-columns: 1fr; }
    .picnic-map-panel { position: static; }
    .picnic-gallery img:first-child { height: 220px; }
}

@media (max-width: 760px) {
    .page-band { padding: 5.75rem 0 2.25rem; }
    .picnic-gallery { grid-template-columns: 1fr; }
    .picnic-gallery img,
    .picnic-gallery img:first-child { height: 200px; grid-column: auto; }
}

.card-pro h3 {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.18rem;
    color: var(--navy);
}

.card-pro p { color: var(--muted); font-size: 0.94rem; margin: 0 0 0.95rem; line-height: 1.45; }

.route-card .codes {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.route-card .cities { color: var(--muted); font-size: 0.9rem; margin: 0.3rem 0 0.9rem; }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.step::after {
    content: "";
    position: absolute;
    top: -30px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 140, 255, 0.12), transparent 70%);
}

.step .num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.step h3 {
    margin: 0.4rem 0 0.45rem;
    font-family: var(--font-display);
    color: var(--navy);
}

.cta-band {
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(26, 140, 255, 0.35), transparent 55%),
        linear-gradient(135deg, var(--navy), #1c4f8c);
    color: #fff;
    border-radius: 24px;
    padding: 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    box-shadow: 0 24px 50px rgba(11, 31, 58, 0.22);
}

.cta-band h2 {
    color: #fff;
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
}

.cta-band .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cta-band .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ─── Reveal on scroll ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ─── Footer ─── */
.home-footer {
    background:
        radial-gradient(ellipse 50% 60% at 0% 0%, rgba(26, 140, 255, 0.18), transparent 55%),
        var(--navy);
    color: #9fb0c8;
    padding: 3.5rem 0 1.75rem;
    margin-top: 3rem;
}

.home-footer a { color: #d6e4f5; text-decoration: none; transition: color .18s; }
.home-footer a:hover { color: #fff; }
.home-footer h5, .home-footer h6 {
    color: #fff;
    font-family: var(--font-display);
    margin: 0 0 0.75rem;
}
.home-footer p { margin: 0 0 0.45rem; line-height: 1.5; }

.airport-field { position: relative; }
.airport-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    z-index: 100;
    display: none;
    max-height: 260px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.airport-suggestions.show { display: block; }
.airport-suggestions button {
    width: 100%;
    text-align: left;
    border: none;
    background: #fff;
    padding: 0.75rem 0.95rem;
    cursor: pointer;
    font: inherit;
    border-bottom: 1px solid #eef2f7;
}
.airport-suggestions button:hover { background: var(--sky-soft); }
.airport-code { font-weight: 800; color: var(--sky); min-width: 2.5rem; display: inline-block; }

.place-field { position: relative; }
.place-suggestions-home {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    z-index: 100;
    display: none;
    max-height: 260px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.place-suggestions-home.show { display: block; }
.place-suggestions-home button {
    width: 100%;
    text-align: left;
    border: none;
    background: #fff;
    padding: 0.75rem 0.95rem;
    cursor: pointer;
    font: inherit;
    border-bottom: 1px solid #eef2f7;
    color: var(--ink);
}
.place-suggestions-home button:hover { background: var(--sky-soft); }
.place-suggestions-home .place-meta {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

@media (max-width: 1100px) {
    .search-grid, .search-grid.rides { grid-template-columns: 1fr 1fr; }
    .cards-4, .cards-3, .stats-row, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .home-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 0.85rem;
    }
    .home-links.open { display: flex; }
    .home-nav .container { flex-wrap: wrap; }
    .home-nav:not(.is-solid) .home-links.open {
        background: rgba(11, 31, 58, 0.92);
        border-radius: 14px;
        padding: 0.6rem;
        margin-top: 0.35rem;
    }
    .search-grid, .search-grid.rides, .cards-4, .cards-3, .stats-row, .steps { grid-template-columns: 1fr; }
    .home-hero {
        min-height: auto;
        padding: 7rem 0 4.5rem;
    }
    .home-hero h1 { max-width: none; }
    .search-dock { margin-top: -2rem; }
    .hero-scroll { display: none; }
}
