:root {
    --navy: #102a43;
    --blue: #1769aa;
    --blue-dark: #125688;
    --sky: #eaf5ff;
    --white: #ffffff;
    --paper: #f5f8fc;
    --paper-deep: #eef5fb;
    --ink: #243447;
    --muted: #66758a;
    --line: #dce5ef;
    --accent: #f4a261;
    --accent-deep: #c97a3a;
    --card: var(--white);
    --teal: var(--blue);
    --teal-dark: var(--navy);
    --clay: var(--accent-deep);
    --sea: var(--blue);
    --gold: var(--accent);
    --warn: #8a5a12;
    --warn-bg: #fff6e8;
    --err: #9b2c2c;
    --err-bg: #fdecec;
    --ok: #0e6b56;
    --ok-bg: #e7f6f1;
    --shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
    --shadow-lift: 0 18px 36px rgba(16, 42, 67, 0.14);
    --display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --serif: var(--display);
    --sans: "Inter", "Segoe UI", sans-serif;
    --radius: 18px;
    --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--teal-dark);
}

h1,
h2,
h3,
.brand strong,
.offer-price {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

h1 {
    margin: 0 0 0.55rem;
    font-size: clamp(2.05rem, 4vw, 3.25rem);
}

h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 0.8rem;
}

.wrap {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.narrow {
    width: min(760px, calc(100% - 2rem));
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: white;
    padding: 0.6rem 0.9rem;
    z-index: 5;
}

.skip:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    backdrop-filter: blur(12px);
}

.header-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.6rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    color: var(--navy);
    display: flex;
}

.brand strong,
.brand-lockup {
    display: block;
    font-size: 1.25rem;
}

.brand small {
    display: block;
    color: var(--muted);
    letter-spacing: 0;
    font-family: var(--sans);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font: inherit;
}

.site-nav {
    display: flex;
    gap: 0.3rem;
}

.site-nav a {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-weight: 500;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.28rem;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--ease);
}

.site-nav a:hover {
    background: transparent;
    color: var(--blue);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
    background: var(--sky);
    color: var(--navy);
}

.hero {
    position: relative;
    padding: 4.2rem 0 2.4rem;
    overflow: visible;
    color: #f7f4ee;
    background: var(--navy);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7, 21, 38, 0.86) 8%, rgba(7, 21, 38, 0.55) 48%, rgba(7, 21, 38, 0.28) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    padding-bottom: 1.5rem;
}

.kicker {
    margin: 0 0 0.45rem;
    color: var(--clay);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lede {
    font-size: 1.15rem;
    color: var(--muted);
}

.search-card,
.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.tablist {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tablist button {
    border: 0;
    background: transparent;
    font: inherit;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: var(--muted);
    cursor: pointer;
}

.tablist button[aria-selected="true"] {
    background: var(--teal);
    color: white;
}

.search-form {
    position: relative;
    margin: 0;
}

.choice-row {
    border: 0;
    margin: 0 0 0.8rem;
    padding: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.choice {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.field label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    font: inherit;
    color: inherit;
}

.field textarea {
    resize: vertical;
}

.field-wide {
    grid-column: 1 / -1;
}

.field-error {
    min-height: 1.1rem;
    margin: 0.25rem 0 0;
    color: var(--err);
    font-size: 0.88rem;
}

.field-error:empty {
    display: none;
}

.is-invalid input,
.is-invalid select,
.is-invalid textarea {
    border-color: var(--err);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1rem;
    margin-top: 1rem;
}

.form-note,
.result-note,
.offer-foot,
.slice-meta,
.offer-meta {
    color: var(--muted);
    font-size: 0.92rem;
}

.btn,
.text-link {
    font: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    max-width: 100%;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 18px rgba(23, 105, 170, 0.22);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.btn-secondary:hover {
    background: var(--sky);
    border-color: var(--blue);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 42, 67, 0.08);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
}

.btn:disabled,
.btn.is-loading {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.text-link::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--ease);
}

.text-link:hover {
    color: var(--blue-dark);
}

.text-link:hover::after {
    transform: translateX(3px) rotate(45deg);
}

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.trust,
.section {
    padding: 3.2rem 0;
}

.trust-grid,
.card-grid,
.location-grid,
.footer-grid {
    display: grid;
    gap: 1rem;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid,
.location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-grid {
    margin: 0;
    padding: 0;
    list-style: none;
}

.location-grid li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
}

.card-grid > .offer {
    margin-top: 0;
    height: 100%;
}

.trust article,
.place-card,
.info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem 1.2rem;
}

.place-card,
.info-card {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.place-card:hover,
.info-card:hover,
.mosaic-card:hover {
    border-color: var(--teal);
}

.place-card p:last-child,
.info-card p:last-of-type {
    color: var(--muted);
}

.code-pair {
    margin-bottom: 0.35rem;
    color: var(--sea);
    font-weight: 650;
    letter-spacing: 0.04em;
}

.section-alt {
    background: var(--paper-deep);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 1.3rem;
}

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1.5rem;
    align-items: center;
}

.cruise-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.8rem;
}

.mosaic-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 150px;
    padding: 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: #f7f3ea;
    background: var(--sea);
}

.mosaic-card span {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mosaic-card strong {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 560;
    letter-spacing: -0.03em;
}

.mosaic-wide {
    grid-row: span 2;
    min-height: 310px;
    background: var(--teal-dark);
}

.cruise-mosaic .mosaic-card:nth-child(2) {
    background: #315c4a;
}

.cruise-mosaic .mosaic-card:nth-child(3) {
    background: var(--clay);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.1rem;
    border: 1px solid var(--line);
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.7rem;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-weight: 650;
}

.faq {
    border-top: 1px solid var(--line);
    padding: 0.8rem 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 650;
}

.page-hero {
    padding: 2.4rem 0 0.4rem;
}

.page-hero .lede {
    max-width: 42rem;
}

.results-wrap {
    margin-top: 1rem;
}

.status {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
}

.status-ok {
    background: var(--ok-bg);
    color: var(--teal-dark);
}

.status-err {
    background: var(--err-bg);
    color: var(--err);
}

.status-warn,
.status-wait {
    background: var(--warn-bg);
    color: var(--warn);
}

.offer {
    margin-top: 0.9rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}

.offer-top,
.slice-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.offer-carrier {
    margin: 0;
    font-size: 1.25rem;
    font-family: var(--serif);
}

.offer-price {
    margin: 0;
    font-size: 1.6rem;
    color: var(--teal-dark);
}

.slice {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}

.slice-route {
    font-size: 1.35rem;
    margin: 0.2rem 0;
}

.route-arrow {
    color: var(--teal);
}

.segments {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.plain-list {
    padding-left: 1.1rem;
}

.prose h2 {
    margin-top: 1.6rem;
}

.site-footer {
    background: var(--navy);
    color: #e8eef5;
    padding: 2.8rem 0 1.3rem;
}

.site-footer a {
    display: block;
    width: fit-content;
    color: #e8eef5;
    text-decoration: none;
    margin: 0.3rem 0;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: color var(--ease), background-size var(--ease);
}

.site-footer a:hover {
    color: var(--accent);
    background-size: 100% 1px;
}

.footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
}

.footer-grid h2 {
    font-family: var(--sans);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #c5d0dc;
}

.plain-result {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.plain-result main {
    padding: 2rem 0;
}

.notice {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: var(--card);
}

.notice.ok {
    background: var(--ok-bg);
}

.notice.err {
    background: var(--err-bg);
}

:focus-visible {
    outline: 3px solid rgba(23, 105, 170, 0.55);
    outline-offset: 2px;
}

html:not(.js) .search-card [hidden] {
    display: block;
}

@media (max-width: 980px) {
    .trust-grid,
    .steps,
    .footer-grid,
    .card-grid,
    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .cruise-mosaic {
        grid-template-columns: 1fr;
    }

    .mosaic-wide {
        grid-row: auto;
        min-height: 180px;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 0.45rem);
        z-index: 5;
        flex-direction: column;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 0.5rem;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .tablist {
        width: 100%;
        border-radius: 16px;
    }

    .tablist button {
        flex: 1 1 30%;
        min-height: 44px;
    }

    .form-grid,
    .trust-grid,
    .steps,
    .footer-grid,
    .card-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .offer-top,
    .slice-head,
    .footer-base {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .reveal,
    .card-media img,
    .photo-band img,
    .mosaic-card img,
    .btn,
    .site-nav a,
    .trust article,
    .info-card,
    .place-card {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.hero > .wrap,
.page-hero-copy {
    position: relative;
    z-index: 1;
}

.hero h1,
.page-hero-photo h1 {
    color: #f7f4ee;
}

.hero .lede,
.page-hero-photo .lede {
    color: rgba(247, 244, 238, 0.88);
}

.hero .kicker,
.page-hero-photo .kicker {
    color: var(--gold);
}

.search-card,
.panel,
.trust article,
.info-card,
.place-card,
.steps li,
.offer {
    color: var(--ink);
}

.site-nav a,
.btn,
.field input,
.field select,
.field textarea,
.tablist button,
.card-media img,
.photo-band img,
.mosaic-card img,
.trust article,
.info-card,
.place-card,
.offer {
    transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), transform 0.55s var(--ease);
}

.site-nav a:hover {
    background: transparent;
    color: var(--blue);
}

.site-nav a[aria-current="page"] {
    background: var(--sky);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--blue-dark);
    box-shadow: var(--shadow-lift);
}

.btn-secondary:hover {
    background: var(--sky);
    border-color: var(--blue);
    color: var(--navy);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #b7c9db;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(23, 105, 170, 0.16);
    outline: none;
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
    background: #f3f6fa;
    color: var(--muted);
    cursor: not-allowed;
}

a.place-card:hover,
a.mosaic-card:hover,
a.region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: #c5d7ea;
}

article.info-card:hover,
.trust article:hover,
.steps li:hover,
.offer:hover {
    transform: none;
    border-color: #c5d7ea;
    box-shadow: var(--shadow);
}

.page-hero-photo {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 320px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #f7f4ee;
    background: var(--navy);
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 21, 38, 0.82), rgba(7, 21, 38, 0.28));
}

.page-hero-copy {
    padding: 5.5rem 0 2rem;
}

.card-media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--paper-deep);
}

.card-media img,
.photo-band img,
.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-card,
.region-card {
    padding: 0;
    overflow: hidden;
}

.card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.15rem 1.2rem;
}

.place-card:hover .card-media img,
.region-card:hover .card-media:not(.vehicle-photo) img,
.mosaic-card:hover img,
.photo-band:hover img {
    transform: scale(1.06);
}

.photo-band {
    margin: 0 0 1.2rem;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 21 / 8;
    background: var(--paper-deep);
}

.photo-band img {
    display: block;
}

.mosaic-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.mosaic-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mosaic-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(16, 42, 67, 0.78), rgba(16, 42, 67, 0.12));
}

.mosaic-card span,
.mosaic-card strong {
    position: relative;
    z-index: 2;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-inview {
    opacity: 1;
    transform: none;
}

html.js a.place-card.reveal.is-inview:hover,
html.js a.mosaic-card.reveal.is-inview:hover,
html.js a.region-card.reveal.is-inview:hover {
    transform: translateY(-4px);
}

@media (max-width: 720px) {
    .page-hero-photo {
        min-height: 260px;
    }

    .page-hero-copy {
        padding-top: 4.2rem;
    }

    .photo-band {
        aspect-ratio: 16 / 9;
    }

    .hero {
        padding-top: 1.4rem;
        min-height: 0;
    }
}

.hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.65rem 0 1.2rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.hero-media img {
    transform: scale(1.04);
    animation: hero-zoom 18s ease-in-out alternate infinite;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(23, 105, 170, 0.32), transparent 28%),
        linear-gradient(105deg, rgba(16, 42, 67, 0.86) 0%, rgba(16, 42, 67, 0.52) 48%, rgba(16, 42, 67, 0.22) 100%);
    background-size: 160% 160%;
    animation: shade-shift 16s ease-in-out infinite;
}

.hero-media::after {
    display: none;
}

.float-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float-y 8s ease-in-out infinite;
}

.orb-a {
    width: 220px;
    height: 220px;
    right: 6%;
    top: 10%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.42), rgba(244, 162, 97, 0) 68%);
}

.orb-b {
    width: 140px;
    height: 140px;
    right: 24%;
    bottom: 8%;
    animation-delay: -2.5s;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.45), rgba(147, 197, 253, 0) 70%);
}

.orb-c {
    width: 70px;
    height: 70px;
    left: 42%;
    top: 16%;
    animation-delay: -4s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 70%);
}

.hero-layout {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 46rem;
    padding-bottom: 0.2rem;
}

.hero-rise {
    animation: rise-in 0.8s ease both;
}

.hero-copy .hero-rise:nth-child(2) { animation-delay: 0.08s; }
.hero-copy .hero-rise:nth-child(3) { animation-delay: 0.16s; }
.hero-copy .hero-rise:nth-child(4) { animation-delay: 0.24s; }
.search-card.hero-rise { animation-delay: 0.34s; }

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.trust-pills li {
    margin: 0;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(247, 244, 238, 0.28);
    background: rgba(7, 21, 38, 0.35);
    color: #f7f4ee;
    font-size: 0.9rem;
}

.site-header {
    box-shadow: 0 12px 30px rgba(7, 21, 38, 0.06);
}

.site-header::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--blue) 62%, var(--accent));
}

.search-card,
.panel {
    padding: 1.25rem 1.25rem 1.15rem;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(7, 21, 38, 0.16);
}

.tablist {
    padding: 0.3rem;
    border-radius: 999px;
    background: var(--paper);
    width: fit-content;
    max-width: 100%;
}

.tablist button {
    font-weight: 650;
}

.choice-row {
    margin-bottom: 1rem;
}

.choice {
    min-height: 2.6rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
}

.choice:has(input:checked) {
    border-color: var(--blue);
    background: var(--sky);
    color: var(--navy);
}

.route-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 0.95rem;
}

.swap-cell {
    padding-bottom: 0.15rem;
}

.swap-btn {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    color: var(--teal);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.swap-btn:hover {
    background: var(--teal);
    color: white;
    transform: rotate(180deg);
}

.field label {
    font-weight: 650;
}

.field-submit {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.field-submit .btn {
    width: 100%;
}

.field-hint,
.field-hint-line {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0;
    text-transform: none;
}

.field input,
.field select,
.field textarea {
    min-height: 2.85rem;
    border-radius: 14px;
    background: #fbfcfe;
}

.form-grid {
    align-items: start;
}

.form-grid > .field {
    display: grid;
    grid-template-rows: 2.6rem 48px auto;
    gap: 0.35rem;
    align-content: start;
    min-width: 0;
}

.form-grid > .field > label {
    margin: 0;
    align-self: end;
    line-height: 1.25;
}

.form-grid > .field > input,
.form-grid > .field > select {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 0.85rem;
}

.form-grid > .field.field-wide,
.form-grid > .field:has(textarea) {
    grid-template-rows: auto auto auto;
}

.form-grid > .field > textarea {
    height: auto;
    min-height: 7.5rem;
    max-height: none;
    padding: 0.75rem 0.85rem;
}

.field textarea {
    min-height: 7rem;
}

.btn-primary {
    min-height: 3.05rem;
    padding-inline: 1.35rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(23, 105, 170, 0.22);
}

.btn.is-loading::after {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.6rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    animation: spin 0.7s linear infinite;
}

.search-summary[hidden] {
    display: none !important;
}

.search-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    background: white;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 18px;
    box-shadow: var(--shadow);
    scroll-margin-top: 5.5rem;
}

.summary-kicker {
    margin: 0 0 0.2rem;
    color: var(--clay);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.summary-route {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.summary-meta {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.panel,
.search-card {
    scroll-margin-top: 5.5rem;
}

.empty-state {
    margin-top: 0.4rem;
    padding: 1.6rem 1.3rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(231, 241, 250, 0.7), white 42%),
        white;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.empty-state h2 {
    margin-bottom: 0.45rem;
}

.empty-actions,
.result-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    align-items: center;
}

.empty-actions {
    margin-top: 1rem;
}

.result-tools {
    justify-content: space-between;
    margin: 0.2rem 0 0.8rem;
    padding: 0.75rem 0.9rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.result-tools select {
    margin-left: 0.4rem;
    min-height: 2.4rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
}

.slice-times {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.8rem;
    align-items: center;
    margin-top: 0.45rem;
}

.slice-times strong {
    display: block;
    font-size: 1.45rem;
    font-family: var(--serif);
}

.slice-times span,
.slice-times small {
    display: block;
    color: var(--muted);
}

.slice-times > div:last-child {
    text-align: right;
}

.slice-duration {
    min-width: 6.5rem;
    text-align: center;
    color: var(--teal);
    font-size: 0.86rem;
}

.fare-bits {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.offer-fare {
    text-align: right;
}

.trust-icon {
    margin: 0 0 0.55rem;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.3rem;
}

.page-hero-img {
    animation: hero-zoom 22s ease-in-out alternate infinite;
}

.page-hero-photo::after {
    background:
        radial-gradient(circle at 85% 15%, rgba(23, 105, 170, 0.28), transparent 26%),
        linear-gradient(to top, rgba(16, 42, 67, 0.88), rgba(16, 42, 67, 0.32));
}

.vehicle-card {
    overflow: hidden;
    padding-top: 0;
}

.vehicle-photo,
.vehicle-card > .vehicle-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    min-height: 0;
    margin: 0 0 0.9rem;
    padding: 0.7rem;
    background: #e7eef6;
    overflow: hidden;
}

.vehicle-card > .vehicle-photo {
    margin: 0 -1.1rem 0.9rem;
}

.vehicle-photo img,
.card-media.vehicle-photo img,
.vehicle-card > .vehicle-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    margin: 0;
    border-radius: 0;
    background: transparent;
    transform: none;
}

.vehicle-card .offer-top {
    align-items: flex-start;
}

.vehicle-card .offer-fare {
    flex: 0 0 auto;
    max-width: 11rem;
    text-align: right;
}

.vehicle-card .offer-fare .offer-meta {
    white-space: nowrap;
}

.vehicle-photo img.is-unavailable {
    visibility: hidden;
}

.trust h2 {
    font-size: 1.2rem;
}

.faq[open] {
    background: var(--white);
    border-radius: 14px;
    padding-inline: 0.85rem;
}

.tablist button[aria-selected="true"] {
    background: var(--navy);
    color: white;
}

@keyframes hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@keyframes shade-shift {
    0% { background-position: 0% 40%; }
    50% { background-position: 100% 60%; }
    100% { background-position: 0% 40%; }
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes rise-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
    .route-line,
    .slice-times,
    .search-summary {
        grid-template-columns: 1fr;
        display: grid;
    }

    .swap-cell,
    .slice-times > div:last-child,
    .offer-fare {
        justify-self: start;
        text-align: left;
    }

    .search-summary {
        align-items: start;
    }
}

.booking-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.booking-row {
    display: grid;
    gap: 0.35rem 0.65rem;
    align-items: start;
}

.booking-route {
    grid-template-columns: minmax(0, 1.35fr) 3rem minmax(0, 1.35fr) minmax(9.5rem, 1fr) minmax(9.5rem, 1fr);
}

.booking-route:has([data-return-field][hidden]) {
    grid-template-columns: minmax(0, 1.45fr) 3rem minmax(0, 1.45fr) minmax(11rem, 1fr);
}

.booking-meta {
    grid-template-columns: minmax(6.5rem, 0.7fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(9rem, 0.9fr);
}

.car-route {
    grid-template-columns: minmax(0, 1.7fr) minmax(9.5rem, 0.85fr) minmax(9.5rem, 0.85fr);
}

.car-schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.car-when {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.car-options {
    grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1.3fr) minmax(9rem, 0.9fr);
}

.booking-row > .field,
.booking-row > .swap-cell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1.35rem 48px auto;
    gap: 0.35rem;
    align-content: start;
    min-width: 0;
}

.booking-row[hidden],
.return-field[hidden] {
    display: none;
}

.booking-row .field > label,
.label-space {
    margin: 0;
    height: 1.35rem;
    line-height: 1.35rem;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.label-space {
    visibility: hidden;
    overflow: hidden;
}

.booking-row input:not([type="checkbox"]):not([type="radio"]),
.booking-row select,
.booking-row .btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    margin: 0;
    padding: 0 0.8rem;
    box-sizing: border-box;
    white-space: nowrap;
}

.booking-row select,
.form-grid select {
    appearance: none;
    padding-right: 2.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2312315c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-color: #fbfcfe;
}

.booking-row .swap-btn {
    grid-row: 2;
    width: 48px;
    height: 48px;
    justify-self: center;
}

.choice input[type="checkbox"],
.choice input[type="radio"] {
    width: 1.05rem;
    height: 1.05rem;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.booking-row .field-error {
    margin: 0;
}

.form-note {
    margin: 0.85rem 0 0;
}

.closing-cta {
    color: #f7f4ee;
    padding: 3.6rem 0;
    background:
        linear-gradient(105deg, rgba(16, 42, 67, 0.9), rgba(23, 105, 170, 0.55)),
        url("../images/skyline.jpg") center / cover no-repeat;
}

.closing-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.closing-cta h2,
.closing-cta p {
    color: #f7f4ee;
}

.closing-cta .kicker {
    color: var(--accent);
}

.closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.closing-cta .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
}

.closing-cta .btn-primary {
    background: white;
    color: #0b1f3a;
}

@media (max-width: 1100px) {
    .booking-route,
    .booking-route:has([data-return-field][hidden]) {
        grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr);
    }

    .booking-meta,
    .car-route,
    .car-schedule,
    .car-when,
    .car-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-route > .field:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .booking-route,
    .booking-route:has([data-return-field][hidden]),
    .booking-meta,
    .car-route,
    .car-schedule,
    .car-when,
    .car-options,
    .closing-cta-inner,
    .inquiry-layout,
    .why-grid,
    .featured-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .car-route > .field:first-child {
        grid-column: auto;
    }

    .depart-field,
    .return-field {
        grid-column: auto;
    }

    .booking-row .swap-btn {
        justify-self: start;
    }

    .summary-route,
    .summary-meta,
    .footer-grid p,
    .card-copy p {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .wrap {
        width: min(1180px, calc(100% - 1.25rem));
    }

    .brand {
        gap: 0.5rem;
        min-width: 0;
    }

    .brand small {
        display: none;
    }

    .brand strong,
    .brand-lockup {
        font-size: 1.05rem;
    }

    .search-card,
    .panel {
        padding: 1rem 0.8rem;
    }
}

.suggest {
    position: relative;
    height: 48px;
    min-width: 0;
}

.suggest.is-open,
.booking-row:has(.suggest.is-open),
.booking-row > .field:has(.suggest.is-open),
.search-card:has(.suggest.is-open),
.panel:has(.suggest.is-open) {
    position: relative;
    z-index: 30;
}

.suggest-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 2;
    margin: 0;
    padding: 0.35rem;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.16);
    max-height: 280px;
    overflow: auto;
}

.suggest-panel.is-above {
    top: auto;
    bottom: calc(100% + 6px);
}

.suggest-panel[hidden] {
    display: none !important;
}

.suggest-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.suggest-option + .suggest-option {
    margin-top: 0.1rem;
}

.suggest-copy {
    min-width: 0;
    flex: 1;
}

.suggest-copy strong {
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

.suggest-copy small {
    display: block;
    margin-top: 0.1rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-code {
    flex: 0 0 auto;
    min-width: 2.8rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: var(--sky);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
}

.suggest-option:hover,
.suggest-option.is-active {
    background: var(--sky);
}

.suggest-option.is-active .suggest-code {
    background: white;
}

.suggest-empty,
.suggest-status {
    margin: 0;
    padding: 0.75rem 0.7rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.location-grid li {
    padding: 0;
    background: transparent;
    border: 0;
}

.location-grid button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    min-height: 4.4rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.location-grid button strong {
    color: var(--blue);
    letter-spacing: 0.04em;
}

.location-grid button:hover,
.location-grid button:focus-visible {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.fleet-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.3rem;
}

.fleet-filters button {
    min-height: 44px;
    padding: 0.4rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--navy);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.fleet-filters button:hover,
.fleet-filters button.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.fleet-group {
    margin-top: 1.4rem;
}

.fleet-group > h3 {
    margin-bottom: 0.2rem;
}

.spec-list,
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.spec-list li {
    display: flex;
    flex-direction: column;
    min-width: 5.5rem;
    flex: 1 1 5.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
    background: var(--paper);
}

.spec-list span {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.2;
}

.spec-list strong {
    font-size: 0.92rem;
    line-height: 1.3;
}

.feature-pills li {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--sky);
    color: var(--navy);
    font-size: 0.84rem;
}

.vehicle-card {
    display: flex;
    flex-direction: column;
    transition: transform var(--ease), box-shadow var(--ease);
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.vehicle-card .offer-foot {
    margin-top: auto;
}

.service-hero.page-hero-photo {
    min-height: 36rem;
    align-items: end;
}

.service-hero .page-hero-copy {
    max-width: 46rem;
    padding-top: 7rem;
    padding-bottom: 6.5rem;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.15rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.search-overlap {
    position: relative;
    z-index: 2;
    margin-top: -4.2rem;
    padding-top: 0;
}

.search-overlap .panel {
    box-shadow: var(--shadow-lift);
}

.why-grid,
.featured-grid {
    display: grid;
    gap: 1rem;
}

.why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.region-note {
    color: var(--navy);
    font-size: 0.92rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

@media (max-width: 980px) {
    .why-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-hero.page-hero-photo {
        min-height: 28rem;
    }

    .search-overlap {
        margin-top: -2rem;
    }
}

@media (max-width: 720px) {
    .why-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .service-hero .page-hero-copy {
        padding-top: 5rem;
        padding-bottom: 3.4rem;
    }

    .search-overlap {
        margin-top: -1.2rem;
    }
}

.page-hero-photo .hero-actions .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
}

.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
    gap: 1.4rem;
    align-items: start;
}

.inquiry-points {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
}

.inquiry-points li {
    margin: 0 0 0.55rem;
    padding-left: 0.9rem;
    border-left: 3px solid var(--teal);
}

@media (max-width: 800px) {
    .inquiry-layout {
        grid-template-columns: 1fr;
    }
}

.legal-page {
    padding: 1.4rem 0 3.4rem;
    background:
        linear-gradient(180deg, var(--paper-deep) 0, var(--paper) 11rem);
}

.legal-intro {
    max-width: 46rem;
    margin-bottom: 1.5rem;
    padding: 1.6rem 0 0.2rem;
}

.legal-intro h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.legal-intro .lede {
    max-width: 42rem;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.7;
}

.policy-meta {
    display: inline-block;
    margin: 0.85rem 0 0;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(13.5rem, 16.5rem) minmax(0, 1fr);
    gap: 1.4rem 1.6rem;
    align-items: start;
}

.policy-toc {
    position: sticky;
    top: 5.2rem;
    max-height: calc(100vh - 6.2rem);
    padding: 1rem 0.85rem 1.05rem;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.policy-toc p {
    margin: 0 0.45rem 0.55rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: legal-nav;
}

.policy-toc li {
    counter-increment: legal-nav;
}

.policy-toc a {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-height: 44px;
    margin: 0.1rem 0;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color var(--ease), color var(--ease);
}

.policy-toc a::before {
    content: counter(legal-nav, decimal-leading-zero);
    flex: 0 0 auto;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.55;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
    background: var(--sky);
    color: var(--blue-dark);
    outline: none;
}

.policy-body {
    min-width: 0;
    padding: 0.4rem 1.5rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    counter-reset: legal-section;
}

.policy-body h2 {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin: 0;
    padding: 1.45rem 0 0.55rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: 5.4rem;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    counter-increment: legal-section;
}

.policy-body h2:first-of-type {
    border-top: 0;
}

.policy-body h2::before {
    content: counter(legal-section) ".";
    color: var(--blue);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.policy-body h2:target {
    color: var(--navy);
}

.policy-body h3 {
    margin: 1.15rem 0 0.35rem;
    scroll-margin-top: 5.4rem;
    font-size: 1.05rem;
}

.policy-body p,
.policy-body li {
    font-size: 1.02rem;
    line-height: 1.75;
}

.policy-body .plain-list {
    margin: 0.4rem 0 0.8rem;
}

.policy-confirm {
    margin: 1rem 0;
    padding: 0.8rem 0.95rem;
    border-left: 3px solid var(--gold);
    background: var(--warn-bg);
    border-radius: 0 12px 12px 0;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.policy-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--navy);
    text-decoration: none;
    transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}

.policy-links a:hover,
.policy-links a:focus-visible {
    border-color: var(--blue);
    background: var(--sky);
    color: var(--blue-dark);
    outline: none;
}

@media (max-width: 800px) {
    .legal-page {
        padding-top: 0.6rem;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .policy-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .policy-body {
        padding: 0.2rem 1rem 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .policy-toc a,
    .policy-links a {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img,
    .hero-shade,
    .float-orb,
    .hero-rise,
    .page-hero-img,
    .btn.is-loading::after,
    .swap-btn,
    .suggest-panel,
    .suggest-option,
    .location-grid button,
    .fleet-filters button {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}
