/* =====================================================================
   landing.css — public landing, terms & privacy ("Ocean Night" redesign)
   ===================================================================== */
.landing-body { margin: 0; background: var(--surface-2); color: var(--text); font-family: var(--font-sans); line-height: 1.55; }
.landing-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.landing-container--narrow { max-width: 780px; }

/* ------------------------------------------------------------------ Hero */
.landing-hero {
    position: relative; overflow: hidden; padding: 44px 0 72px; color: #fff;
    background:
        radial-gradient(640px 360px at 90% 0%, rgba(56,189,248,.32), transparent 70%),
        radial-gradient(520px 380px at 0% 100%, rgba(37,99,235,.45), transparent 70%),
        linear-gradient(160deg, #02061A 0%, #071340 50%, #0E2A85 100%);
}
.landing-hero__motif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.landing-hero__route { stroke: rgba(125,211,252,.4); stroke-dasharray: 8 10; animation: landing-dash 24s linear infinite; }
.landing-hero__route--two { stroke: rgba(255,255,255,.16); }
@keyframes landing-dash { to { stroke-dashoffset: -600; } }
.landing-hero__inner { position: relative; z-index: 1; display: grid; gap: 32px; max-width: 1160px; margin: 0 auto; padding: 0 20px; align-items: center; }
.landing-hero__eyebrow {
    display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
    color: var(--sky-300); background: rgba(56,189,248,.12); border: 1px solid rgba(125,211,252,.3);
}
.landing-hero__title { margin: 0 0 14px; font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.landing-hero__lead { margin: 0 0 22px; max-width: 34rem; font-size: 1.0625rem; color: rgba(255,255,255,.92); }
.landing-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.landing-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(125,211,252,.25); backdrop-filter: blur(8px); }
.landing-chip i { color: var(--sky-300); }

/* Quick booking card */
.landing-quick {
    padding: 22px; border-radius: 26px; background: rgba(255,255,255,.97); color: #0F172A;
    box-shadow: 0 30px 70px rgba(2,6,26,.55), 0 0 0 6px rgba(125,211,252,.12);
}
[data-theme="dark"] .landing-quick { background: #0B1536; color: #E7ECF7; }
.landing-quick__title { margin: 0 0 14px; font-size: 1.3rem; font-weight: 800; color: inherit; }
.landing-quick__form { display: grid; gap: 12px; }
.landing-quick__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.landing-quick__field {
    position: relative; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 22px 14px 8px 14px;
    background: #F1F5FD; border: 1.5px solid #E1E8F8; border-radius: 16px; transition: border-color .15s, box-shadow .15s, background .15s;
}
[data-theme="dark"] .landing-quick__field { background: #071033; border-color: #1B2B5E; }
.landing-quick__field:focus-within { background: #fff; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.landing-quick__icon { color: var(--blue-400); width: 18px; text-align: center; flex: 0 0 auto; }
.landing-quick__field input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; color: inherit; padding: 0; }
.landing-quick__field input:focus-visible { box-shadow: none; }
.landing-quick__label { position: absolute; top: 8px; left: 42px; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #4A5A85; pointer-events: none; }
.landing-quick__cta { min-height: 58px; font-size: 1.0625rem; border-radius: 16px; }
.landing-quick__note { margin: 0; font-size: .8125rem; color: var(--text-muted); text-align: center; }

/* -------------------------------------------------------------- Sections */
.landing-section { padding: 64px 0; }
.landing-section--tint { background: linear-gradient(180deg, #EAF0FF, #F3F6FD); }
[data-theme="dark"] .landing-section--tint { background: linear-gradient(180deg, #071033, #050B22); }
.landing-section--services { margin-top: 0; position: relative; z-index: 2; padding-top: 56px; }
.landing-section__title { margin: 0 0 32px; text-align: center; color: var(--text); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; }

/* Services */
.landing-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.landing-service {
    position: relative; overflow: hidden; display: grid; gap: 4px; align-content: start; padding: 20px; min-height: 170px; border-radius: 22px; color: #fff;
    background: linear-gradient(160deg, #0A1D5E 0%, #1340B8 100%); border: 1px solid rgba(125,211,252,.2); box-shadow: 0 14px 30px rgba(10,29,94,.28); transition: transform .2s, box-shadow .2s;
}
.landing-service::after { content: ""; position: absolute; width: 150px; height: 150px; right: -40px; bottom: -55px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.25), transparent 70%); }
.landing-service:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 24px 48px rgba(19,64,184,.42); }
.landing-service__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 10px; border-radius: 16px; font-size: 1.25rem; background: #fff; color: #1340B8; box-shadow: 0 6px 14px rgba(2,6,26,.25); }
.landing-service__name { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; position: relative; z-index: 1; }
.landing-service__text { font-size: .85rem; color: rgba(255,255,255,.9); position: relative; z-index: 1; }

/* Steps */
.landing-steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.landing-step { position: relative; display: grid; gap: 6px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 26px rgba(7,19,64,.08); }
.landing-step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue-400)); box-shadow: 0 10px 22px rgba(19,64,184,.35); margin-bottom: 8px; }
.landing-step__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--blue-400) 16%, transparent); }
.landing-step__title { font-weight: 800; font-size: 1.05rem; }
.landing-step__text { color: var(--text-muted); font-size: .9rem; }

/* Vehicles */
.landing-vehicles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.landing-vehicle {
    display: grid; justify-items: center; gap: 12px; padding: 24px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 26px rgba(7,19,64,.08); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.landing-vehicle:hover { transform: translateY(-5px); border-color: var(--blue-400); box-shadow: 0 20px 40px rgba(19,64,184,.2); }
.landing-vehicle__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--blue-400)); box-shadow: 0 10px 22px rgba(19,64,184,.35); }
.landing-vehicle__name { font-weight: 800; text-align: center; color: var(--text); }
.landing-vehicle--skeleton { min-height: 140px; border: 0; background: linear-gradient(90deg, var(--surface-3) 25%, color-mix(in srgb, var(--surface-3) 60%, #fff) 37%, var(--surface-3) 63%); background-size: 400% 100%; animation: ant-shimmer 1.4s ease infinite; box-shadow: none; }
.landing-vehicles__empty { grid-column: 1 / -1; margin: 0; text-align: center; color: var(--text-muted); }

/* Why tiles */
.landing-why { display: grid; grid-template-columns: 1fr; gap: 16px; }
.landing-tile { padding: 24px; border-radius: 22px; background: linear-gradient(160deg, #EEF3FF, #E1EAFF); border: 1px solid #D3DFFA; transition: transform .2s; }
[data-theme="dark"] .landing-tile { background: linear-gradient(160deg, #0B1536, #0E1D4D); border-color: #1B2B5E; }
.landing-tile:hover { transform: translateY(-4px); }
.landing-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 15px; background: linear-gradient(135deg, var(--navy-700), var(--blue-400)); color: #fff; font-size: 1.15rem; }
.landing-tile__title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.landing-tile__text { margin: 0; font-size: .9rem; color: var(--text-muted); }

/* FAQ */
.landing-faq { display: grid; gap: 12px; }
.landing-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 20px; box-shadow: 0 6px 18px rgba(7,19,64,.06); transition: border-color .2s, box-shadow .2s; }
.landing-faq__item[open] { border-color: var(--blue-400); box-shadow: 0 14px 30px rgba(19,64,184,.14); }
.landing-faq__item summary { position: relative; padding: 18px 34px 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.landing-faq__item summary::-webkit-details-marker { display: none; }
.landing-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--navy-600), var(--blue-400)); transition: transform .2s; }
.landing-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.landing-faq__item p { margin: 0 0 18px; color: var(--text-muted); }

/* CTA */
.landing-cta { padding: 72px 0; color: #fff; background: radial-gradient(500px 240px at 80% 0%, rgba(56,189,248,.35), transparent 70%), linear-gradient(135deg, #02061A, #0E2A85); }
.landing-cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.landing-cta__title { margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.landing-cta__text { margin: 0 0 14px; max-width: 32rem; color: rgba(255,255,255,.82); }

/* ---- Legal pages (unchanged) ---- */
.legal { padding: 40px 0 24px; }
.legal .landing-container {
    padding-top: 32px;
    padding-bottom: 32px;
}
.legal__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}
.legal__updated { margin: 0 0 24px; font-size: 0.875rem; color: var(--text-muted); }
.legal__intro {
    margin: 0 0 32px;
    padding: 20px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    border-radius: 14px;
}
.legal__section { margin-bottom: 28px; }
.legal__heading { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.legal__body { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--text-muted); }


/* ------------------------------------------------------------ Breakpoints */
@media (min-width: 640px) {
    .landing-container, .landing-hero__inner { padding-left: 24px; padding-right: 24px; }
    .landing-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-vehicles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .landing-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-quick { padding: 28px; }
}
@media (min-width: 1024px) {
    .landing-hero { padding: 84px 0 120px; }
    .landing-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
    .landing-section { padding: 88px 0; }
    .landing-section--services { padding-top: 72px; margin-top: 0; }
    .landing-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .landing-steps, .landing-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .landing-cta { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-hero__route, .landing-vehicle--skeleton { animation: none; }
    .landing-service, .landing-vehicle, .landing-tile { transition: none; }
}

/* contrast fixes: keep text readable on every background */
[data-theme="dark"] .landing-quick__field:focus-within { background: #0B1A4A; }
.landing-quick, .landing-quick__field input { color: #0F172A; }
[data-theme="dark"] .landing-quick, [data-theme="dark"] .landing-quick__field input { color: #E7ECF7; }
.landing-quick__title { color: inherit; }
.landing-quick__note { color: #44547C; }
[data-theme="dark"] .landing-quick__note { color: #9FB0D8; }
.landing-hero h1, .landing-hero h2:not(.landing-quick__title), .landing-cta h2, .landing-service h3 { color: #fff; }

/* ---- contrast pass ---- */
[data-theme="dark"] .landing-quick__label { color: #A9B8DA; }
.landing-section__title, .landing-step__title, .landing-tile__title, .landing-faq__item summary { color: var(--text); }
.landing-tile__text { color: #3D4C6B; }
[data-theme="dark"] .landing-tile__text { color: #B8C5E3; }
.landing-step__num { color: color-mix(in srgb, var(--blue-400) 28%, transparent); }
.landing-hero__eyebrow { color: #BFE9FF; }
.landing-cta__text { color: rgba(255,255,255,.92); }
.landing-hero a:not(.ant-btn):not(.customer-btn), .landing-cta a:not(.ant-btn):not(.customer-btn) { color: #fff; }

/* Vehicle type photo (falls back to .landing-vehicle__icon when missing / broken).
   The image is absolutely positioned inside a fixed-ratio box so it can never
   overflow or stretch the card, whatever its natural size. */
.landing-vehicle { min-width: 0; overflow: hidden; }
.landing-vehicle__photo {
    position: relative; display: block; width: 100%; max-width: 100%;
    aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
    background: var(--surface-3);
}
.landing-vehicle__photo img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    max-width: 100%; max-height: 100%;
    object-fit: contain; object-position: center;
    padding: 8px; box-sizing: border-box; display: block;
}
