/* Luxen Elite Services LLC — mobile-first styles
   Identity: midnight navy, champagne-gold accents, silver wordmark. */
:root {
    --bg: #060B16;
    --bg2: #0A1322;
    --card: #0C1424;
    --card2: #111C31;
    --gold: #DEC27F;
    --gold-rgb: 222, 194, 127;
    --gold-lt: #F0DDA6;
    --gold-lt-rgb: 240, 221, 166;
    --gold-dk: #A5854C;
    --bg-rgb: 5, 7, 15;
    --silver: #c9d1de;
    --text: #f2f4f8;
    --muted: #98a1b3;
    --line: rgba(var(--gold-rgb), .22);
    --danger: #e5484d;
    --ok: #3fb950;
    --radius: 14px;
    --font-d: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-b: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: radial-gradient(1200px 600px at 50% -10%, var(--bg2) 0%, var(--bg) 55%) fixed, var(--bg);
    color: var(--text); font-family: var(--font-b); line-height: 1.55;
}
h1, h2, h3 { font-family: var(--font-d); letter-spacing: .01em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); margin: .4em 0; font-weight: 800; letter-spacing: 0; }
h2 { font-size: 1.5rem; font-weight: 700; }
.page-head h1 { text-shadow: 0 2px 30px rgba(var(--gold-rgb),.15); }
a { color: var(--gold-lt); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.1rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.gold { color: var(--gold-lt); }
.section { padding: 2.2rem 0; }
.page-head { padding-top: 2.6rem; }
.kicker { text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--gold); margin: 0 0 .4rem; }
.lede { font-size: 1.08rem; color: var(--silver); max-width: 34rem; }
.sec-title { text-align: center; font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
.sec-title::after { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin: .6rem auto 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(var(--bg-rgb), .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-d); letter-spacing: .14em; font-size: 1.02rem; color: var(--silver); }
.brand-text small { letter-spacing: .3em; font-size: .58rem; color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gold-lt); margin: 4px 0; }
.nav-refresh { background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .55rem; cursor: pointer; color: var(--gold-lt); line-height: 0; }
.nav-refresh:active { transform: rotate(40deg); }
.site-head .nav-refresh { margin-left: .5rem; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { color: var(--silver); text-decoration: none; font-size: .95rem; }
.site-nav a:hover, .site-nav a.on { color: var(--gold-lt); }

/* Admin nav blocks (2026-11-14): the admin branch of views/layout.php
   groups its menu into collapsible blocks — Operations / Money /
   Marketing / System, Password nested in a Settings sub-block — so the
   mobile drawer stays short. Only the admin branch emits .nav-group
   markup; driver/portal/public navs are untouched. Desktop: an open
   block drops a panel under the header bar. Mobile: full-width rows in
   the drawer, block links indented to show the hierarchy. */
.nav-group-head { display: inline-flex; align-items: center; gap: .35rem; background: none; border: none; padding: 0; font: inherit; font-size: .95rem; color: var(--silver); cursor: pointer; }
.nav-group-head:hover { color: var(--gold-lt); }
.nav-group.has-active > .nav-group-head { color: var(--gold-lt); }
.nav-caret { font-size: .7rem; margin-left: auto; transition: transform .18s ease; }
.nav-group.open > .nav-group-head .nav-caret { transform: rotate(180deg); }
.nav-group-body { display: none; }
.nav-group.open > .nav-group-body { display: block; }
@media (min-width: 760px) {
    .nav-group { position: relative; }
    .nav-group-body { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 235px; background: #070b16; border: 1px solid var(--line); border-radius: 12px; padding: .45rem .7rem; box-shadow: 0 18px 42px rgba(0, 0, 0, .55); z-index: 70; }
    .nav-group-system > .nav-group-body { left: auto; right: 0; transform: none; }
    .nav-group-body a { display: block; padding: .5rem .2rem; white-space: nowrap; }
    .nav-group-body .nav-group { position: static; }
    .nav-group-body .nav-group-head { padding: .5rem .2rem; }
    .nav-group-body .nav-group-body { position: static; transform: none; min-width: 0; background: none; border: none; border-radius: 0; padding: 0 0 0 1rem; box-shadow: none; }
}

/* Buttons */
.btn { display: inline-block; border: 1px solid transparent; border-radius: 999px; padding: .7rem 1.5rem; font-weight: 600; text-decoration: none; cursor: pointer; font-size: 1rem; transition: transform .12s ease, box-shadow .12s ease; }
.btn:active { transform: scale(.98); }
.btn-gold { background: linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, var(--gold-dk)); color: #141005; box-shadow: 0 4px 18px rgba(var(--gold-rgb), .35); }
.btn-ghost { border-color: var(--line); color: var(--gold-lt); background: transparent; }
.btn-lg { padding: .95rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: .45rem 1rem; font-size: .88rem; }
.linklike { background: none; border: none; color: var(--gold-lt); cursor: pointer; font-size: .95rem; padding: .3rem 0; }

/* Hero */
.hero { padding: 4.2rem 0 3rem; text-align: center; background:
    radial-gradient(700px 320px at 50% 0%, rgba(var(--gold-rgb), .14), transparent 70%); }
.hero h1 { font-size: clamp(2.2rem, 8vw, 3.8rem); margin: .3em 0; }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 1.6rem 0; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; padding: 0; margin: 1.4rem 0 0; }
.badges li { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; color: var(--silver); background: rgba(var(--gold-rgb), .06); }
.page-head .badges { justify-content: flex-start; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.card h3, .card h2 { margin-top: 0; }
.band { background: rgba(var(--gold-rgb), .05); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.6rem 0; }
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; margin: 1.6rem 0 2rem; text-align: center; }
.stepn { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-lt); align-items: center; justify-content: center; font-family: var(--font-d); font-size: 1.2rem; margin-bottom: .6rem; }

/* Services */
.service-row { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.service-row h2 { margin: 0 0 .3rem; font-size: 1.3rem; }

/* Fleet */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.fleet-card { position: relative; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.fleet-card.flagship { border-color: var(--gold); box-shadow: 0 0 26px rgba(var(--gold-rgb), .18); }
.fleet-card .flag { position: absolute; top: -12px; right: 14px; background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: #141005; font-size: .72rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.fleet-art { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #0A1322, #1B2742 60%, #060B16); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--font-d); letter-spacing: .1em; margin-bottom: 1rem; border: 1px solid var(--line); }
.fleet-art.fleet-photo { height: 190px; padding: 0; overflow: hidden; }
.fleet-art.fleet-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.specs { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin: 1rem 0; }
.specs li { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; padding: .45rem .6rem; font-size: .85rem; color: var(--muted); }
.specs strong { color: var(--text); }

/* Forms */
.form label { display: block; margin: .9rem 0; font-size: .92rem; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: var(--card); color: var(--text); font-size: 1rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .25); }
.form small.muted { display: block; margin-top: .25rem; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 .9rem; }
.grid2 > * { min-width: 0; }
/* iOS Safari gives date/time inputs a stubborn intrinsic width that can
   push them past the card edge (owner screenshot 2026-10-31: the flight
   form's date/time fields stuck out to the right while text inputs fit).
   They must always be allowed to shrink to their column. */
.form input[type="date"], .form input[type="time"], .form input[type="datetime-local"] { min-width: 0; max-width: 100%; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; }
.check input { width: auto !important; margin-top: .25rem; }
.err { color: var(--danger); }

/* Flash */
.flash { border-radius: 10px; padding: .9rem 1.1rem; margin: 1rem 0; border: 1px solid; }
.flash-ok { background: rgba(63, 185, 80, .1); border-color: rgba(63, 185, 80, .4); }
.flash-err { background: rgba(229, 72, 77, .1); border-color: rgba(229, 72, 77, .4); }
.flash-warn { background: rgba(var(--gold-rgb), .1); border-color: rgba(var(--gold-rgb), .45); }

/* Booking wizard */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.wizard-steps { list-style: none; display: flex; gap: .3rem; padding: 0; margin: 0 0 1.4rem; overflow-x: auto; }
.wizard-steps li { flex: 1; min-width: 72px; text-align: center; font-size: .72rem; color: var(--muted); padding: .55rem .2rem; border-bottom: 2px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.wizard-steps li.on { color: var(--gold-lt); border-color: var(--gold); font-weight: 600; }
.wizard-steps li.done { color: var(--ok); border-color: var(--ok); }
.wstep { display: none; }
.wstep.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.triptype-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.tt-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem .6rem; color: var(--text); cursor: pointer; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.tt-card span { font-size: .8rem; color: var(--muted); }
.tt-card.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .35); }
.wnav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.map { height: 260px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1rem; background: var(--card); }
.route-meta { margin-top: .8rem; color: var(--gold-lt); font-weight: 600; }
.class-cards { display: grid; gap: .9rem; }
.class-card { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; cursor: pointer; transition: border-color .15s; }
.class-card:hover { border-color: rgba(var(--gold-rgb),.5); }
.class-card.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .35); }
.class-card h3 { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: .01em; color: var(--text); }
.class-card .price { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--gold-lt); }
.class-card .cap { font-size: .82rem; color: var(--muted); grid-column: 1 / -1; line-height: 1.5; }
.class-card .cap strong { color: var(--silver); font-weight: 600; }
.class-card .minfare { display: block; font-size: .75rem; color: rgba(152,161,179,.8); }
.extras-list { display: grid; gap: .7rem; }
.extra-row { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .9rem; cursor: pointer; }
.extra-row input { width: 20px; height: 20px; accent-color: var(--gold); }
.extra-price { color: var(--gold-lt); font-weight: 600; white-space: nowrap; }
.prefs-box { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: var(--card); }
.prefs-box h3 { margin: 0 0 .3rem; }
.pref-row { display: grid; gap: .45rem; margin-top: .8rem; }
.pref-name { font-weight: 600; font-size: .92rem; }
.pref-seg { display: flex; gap: .5rem; flex-wrap: wrap; }
.pref-seg button { flex: 1 1 0; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .4rem; color: var(--text); cursor: pointer; font: inherit; font-size: .92rem; }
.pref-seg button.on { border-color: var(--gold); color: var(--gold-lt); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .35); }
.pref-quiet { margin-top: .9rem; }
.logan-box { border: 1px solid var(--gold); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1.4rem; background: rgba(var(--gold-rgb), .06); }
.pill { display: inline-block; font-size: .72rem; border: 1px solid var(--gold); border-radius: 999px; padding: .15rem .7rem; color: var(--gold-lt); vertical-align: middle; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; font-size: .93rem; }
.price-breakdown { background: rgba(var(--gold-rgb), .06); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.price-breakdown .row { display: flex; justify-content: space-between; padding: .3rem 0; }
.price-breakdown .total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .7rem; font-size: 1.25rem; font-weight: 700; }
.price-breakdown .total strong { color: var(--gold-lt); font-family: var(--font-d); }
.price-rail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; align-self: start; }
.rail-total { display: flex; justify-content: space-between; font-size: 1.3rem; margin: .6rem 0; }
.rail-total strong { color: var(--gold-lt); font-family: var(--font-d); }
.confirm-box { text-align: center; padding: 2rem 1rem; }
.confirm-check { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: rgba(63, 185, 80, .15); border: 2px solid var(--ok); color: var(--ok); font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.booking-num { font-family: var(--font-d); font-size: 1.6rem; color: var(--gold-lt); letter-spacing: .06em; }

/* Contact / FAQ / policies */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.big-tel a { font-size: 1.7rem; font-family: var(--font-d); color: var(--gold-lt); text-decoration: none; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .7rem; background: var(--card); }
.faq-item summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 600; }
.faq-item p { padding: 0 1.2rem 1.1rem; margin: 0; }
.policies h2 { color: var(--gold-lt); margin-top: 2rem; }
.policies ul { padding-left: 1.2rem; }
.policies li { margin-bottom: .5rem; }

/* Admin */
.narrow { max-width: 520px; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: .65rem .7rem; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: top; }
.table th { color: var(--gold-lt); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.table tr.hl td { background: rgba(var(--gold-rgb), .12); }
.table .r { text-align: right; }
/* Income detail table — fixed layout so it always fits the phone screen (no pinch-zoom). */
.income-table { table-layout: fixed; }
.income-table td.r { font-variant-numeric: tabular-nums; }
/* Booking rail promo code entry */
.promo-block { margin-bottom: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.promo-row { display: flex; gap: .5rem; margin-top: .3rem; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; }
/* iOS Safari auto-zooms the page when a focused field renders under 16px,
   and ANY field counts — the booking wizard and estimate rail (the promo
   input is rendered by booking.js outside .form), the driver area, admin
   forms, every public form. Pin EVERY field site-wide to 16px on
   phone/tablet widths so focusing a field never zooms. This exact rule
   also lives inline in views/layout.php so it keeps working if IONOS
   serves a stale copy of this file — keep the two in sync. */
@media (max-width: 1024px) {
    input, select, textarea { font-size: 16px; }
}
/* Bare forms (no .form class — the driver area, parts of admin) wrap their
   controls in <label>Text<input></label>. Unstyled, the label text and the
   control sit inline on one line with the browser's default look and
   collide on phones (driver login, driver income). Give label-wrapped
   controls the same stacked, full-width treatment as .form fields.
   Checkbox/radio inputs are excluded so pill and check labels keep their
   inline look; hidden inputs are never displayed. */
form label { display: block; margin: .8rem 0; }
form label > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
form label > select,
form label > textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem;
    border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14);
    background: var(--card); color: var(--text); font-size: 1rem;
}
form label > input:focus, form label > select:focus, form label > textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 193, 49, .18);
}
/* On phones, controls inside flex/grid form rows must be able to shrink —
   without min-width: 0 a date/select/number field keeps its intrinsic
   width and pushes the whole row wider than the screen. */
@media (max-width: 640px) {
    form input, form select, form textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
    #vlSalesForm input { min-width: 0; }
}
/* Driver shell (views/layout.php renders this chrome when is_driver):
   the logged-in driver's name chip in the driver nav + a slim footer. */
.driver-name { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.driver-footer { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding: 1.4rem 0 2rem; text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) {
    .income-table { font-size: .72rem; }
    .income-table th, .income-table td { padding: .42rem .2rem; letter-spacing: -.01em; }
    .income-table td.r { white-space: nowrap; }
    .income-table .pill { font-size: .6rem; padding: .05rem .35rem; }
    .income-detail-card { padding: 1.1rem .7rem; overflow: hidden; }
}
.pill-pending { border-color: var(--gold); color: var(--gold-lt); }
.pill-confirmed { border-color: #58a6ff; color: #58a6ff; }
.pill-assigned { border-color: #a371f7; color: #a371f7; }
.pill-in_service { border-color: #3fb950; color: #3fb950; }
.pill-completed { border-color: var(--muted); color: var(--muted); }
.pill-cancelled { border-color: var(--danger); color: var(--danger); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.filters input, .filters select { padding: .55rem .8rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14); background: var(--card); color: var(--text); }
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.hist { list-style: none; padding: 0; }
.hist li { border-bottom: 1px solid rgba(255, 255, 255, .07); padding: .6rem 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.4rem 0 1.4rem; background: rgba(0, 0, 0, .35); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.footer-grid h4 { color: var(--gold-lt); margin: 0 0 .5rem; font-size: .95rem; }
.footer-base { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--muted); }

/* Larger screens */
@media (min-width: 760px) {
    .booking-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
    .price-rail { position: sticky; top: 84px; }
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
    .admin-grid { grid-template-columns: 1.2fr 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 759px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #070b16; flex-direction: column; align-items: stretch; padding: 1rem 1.1rem 1.4rem; border-bottom: 1px solid var(--line); gap: .2rem; max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
    .site-nav a { padding: .7rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    /* Admin nav blocks in the drawer: heads are full-width rows like the
       links; block links indent one level, Settings sub-block links two. */
    .site-nav .nav-group-head { display: flex; width: 100%; text-align: left; padding: .7rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .site-nav .nav-group-body a { display: block; padding-left: 1.15rem; }
    .site-nav .nav-subgroup .nav-group-head { padding-left: 1.15rem; }
    .site-nav .nav-subgroup .nav-group-body a { padding-left: 2.1rem; }
    body.nav-open .site-nav { display: flex; }
    /* Menu open = the page behind is locked: only the menu itself scrolls. */
    body.nav-open { overflow: hidden; overscroll-behavior: none; }
    .triptype-cards { grid-template-columns: minmax(0, 1fr); }
    .grid2 { grid-template-columns: minmax(0, 1fr); }
    /* Price rail AFTER the wizard on mobile: estimate updates must never
       push the address inputs around while the client is typing. */
    .price-rail { order: 2; }
    .route-meta { min-height: 1.4em; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Tip selector (optional gratuity) */
.tip-block { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tip-block h4 { margin: 0 0 .6rem; }
.tip-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.tip-btn { background: var(--card); border: 1px solid var(--line); color: inherit; border-radius: 999px; padding: .5rem .9rem; font-size: .85rem; cursor: pointer; }
.tip-btn.on { border-color: var(--gold); color: var(--gold-lt); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .35); }
.tip-custom { margin-top: .6rem; }
.tip-custom input { width: 130px; }

/* Friendly datetime (gold, stands out in lists) */
.dt-friendly { color: var(--gold-lt); font-weight: 600; }

/* Address autocomplete dropdown (our own list fed by Places API New) — dark theme. */
.ac-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--card); border: 1px solid rgba(var(--gold-rgb), .35); border-radius: 10px; margin-top: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); overflow: hidden; }
.ac-item { display: block; width: 100%; text-align: left; background: none; border: none; border-top: 1px solid rgba(255, 255, 255, .06); color: #e8e4d8; padding: .6rem .8rem; cursor: pointer; font-size: 15px; }
.ac-item:first-child { border-top: none; }
.ac-item:hover, .ac-item:active { background: rgba(var(--gold-rgb), .14); }
.ac-item strong { display: block; font-weight: 600; color: var(--gold-lt); }
.ac-item small { display: block; color: #9aa3b2; font-size: .8rem; margin-top: .1rem; }

/* PWA install banner */
.vl-install-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    display: none; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
    max-height: 72vh; overflow-y: auto;
    background: var(--card); border: 1px solid rgba(var(--gold-rgb),.45); box-shadow: 0 8px 30px rgba(0,0,0,.5); }
/* Fixed round install button (opens the card above) — same slot/style family
   as the WhatsApp float, stacked over it. */
.vl-install-fab { position: fixed; right: 16px; bottom: 86px; z-index: 95; width: 58px; height: 58px;
    border-radius: 50%; background: none; border: 0;
    display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,.45); transition: transform .15s ease; }
.vl-install-fab:hover { transform: scale(1.07); }
.vl-install-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.vl-install-banner.show { display: flex; }
.vl-install-banner img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.vl-install-banner .t { flex: 1; min-width: 0; padding-right: 50px; }
.vl-install-banner .t strong { display: block; color: #f2f4f8; font-size: .95rem; }
.vl-install-banner .t small { color: #9aa3b2; font-size: .8rem; }
.vl-install-banner .go { flex: none; background: var(--gold); color: #111; border: 0; border-radius: 10px;
    padding: 10px 14px; font-weight: 700; cursor: pointer; }
.vl-install-banner .x { position: absolute; top: 10px; right: 10px; z-index: 96; width: 44px; height: 44px;
    border-radius: 50%; background: rgba(var(--gold-rgb),.18); border: 1.5px solid var(--gold); color: var(--gold);
    font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; margin: 0;
    display: flex; align-items: center; justify-content: center; }
.vl-install-steps { display: none; margin-top: 8px; }
.vl-install-steps.show { display: block; }
.vl-install-steps ol { margin: 6px 0 0; padding-left: 20px; color: #c7cdd8; font-size: .85rem; }
.vl-install-steps ol li { margin-bottom: 6px; line-height: 1.45; }
.vl-install-steps ol li svg { width: 16px; height: 16px; fill: var(--gold); vertical-align: -3px; margin-right: 2px; }
.vl-install-steps ol li strong { color: #f2f4f8; }
.vl-install-tutorial { margin-top: 8px; background: none; border: 1px solid var(--gold); color: var(--gold);
    border-radius: 10px; padding: 7px 14px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.vl-video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(5,8,14,.88);
    display: flex; align-items: center; justify-content: center; padding: 16px; }
.vl-video-modal[hidden] { display: none; }
.vl-video-box { position: relative; width: min(92vw, 400px); }
.vl-video-box video { width: 100%; max-height: 82vh; border-radius: 14px; border: 1px solid var(--gold);
    background: #000; display: block; }
.vl-video-x { position: absolute; top: -14px; right: -14px; z-index: 2; width: 36px; height: 36px;
    border-radius: 50%; background: var(--gold); color: #111; border: 0; font-size: 1.05rem;
    font-weight: 700; cursor: pointer; }

/* WhatsApp floating button */
.vl-wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 95; width: 58px; height: 58px;
    border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,.45); transition: transform .15s ease; }
.vl-wa-float:hover { transform: scale(1.07); }
.vl-wa-float svg { width: 32px; height: 32px; fill: #fff; }
button.vl-wa-float { border: 0; cursor: pointer; padding: 0; font: inherit; }
/* Contact chooser popup (WhatsApp or SMS) above the floating button */
.vl-contact-pop { position: fixed; right: 16px; bottom: 152px; z-index: 96; width: 232px;
    background: var(--card); border: 1px solid rgba(var(--gold-rgb),.45); border-radius: 14px;
    padding: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.vl-contact-pop p { margin: 0 0 4px; color: #f2f4f8; font-size: .92rem; font-weight: 600; }
.vl-contact-opt { display: block; text-align: center; padding: 11px 10px; border-radius: 10px;
    margin-top: 8px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.vl-contact-opt.wa { background: #25d366; color: #06300f; }
.vl-contact-opt.sms { background: var(--gold); color: #141414; }
/* Floating "own your system" button — sits above the WhatsApp float. */


@media (max-width: 760px) {
    .lang-toggle { margin-left: 0; padding: 10px 0; }
}

/* Square Web Payments card element (live mode): match the dark form styling. */
#sqCardWrap { margin: .5rem 0; }
#sqCard { min-height: 92px; padding: .75rem .9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: var(--card); }

/* Payment method selector — big tappable pills (booking step 7).
   The pills are the switchboard: Card / Venmo / Zelle / CashApp /
   Bill to Hotel. Sized for thumbs: ~52px min-height in a
   2-column grid on mobile, ~17px labels, clear gold selected state.
   Stripe's one-tap express lane sits above this grid, not in it. */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.pay-methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 760px) { .pay-methods-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.pay-method { appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
    background: var(--card2); color: var(--text); font-family: var(--font-b); font-size: 17px; font-weight: 600;
    cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .1s ease; }
.pay-method:active { transform: scale(.98); }
.pay-method.on { border-color: var(--gold); color: var(--gold-lt); background: rgba(var(--gold-rgb),.08); box-shadow: 0 0 0 2px rgba(var(--gold-rgb),.35); }
/* Stripe Elements (Payment Element + Express Checkout) spacing. The
   express lane is the primary one-tap action and sits above the pills. */
#stripeAppleWrap { min-height: 56px; margin: 0 0 12px; }
#stripePaymentElement { margin: .5rem 0; }
#stripeExpressElement { min-height: 56px; margin: 0; }

/* ---- Visual upgrade: services, trust, experience (2026-10-08) ---- */
.trust-strip { background: linear-gradient(180deg, rgba(var(--gold-rgb),.06), transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem 1rem; text-align: center; max-width: 1100px; margin: 0 auto; }
.trust-grid > div { display: flex; flex-direction: column; gap: .2rem; align-items: center; }
.trust-grid strong { font-family: var(--font-d); color: var(--gold-lt); font-size: 1.05rem; display: block; }
.trust-grid span { font-size: .78rem; color: var(--muted); display: block; }
@media (max-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.sec-sub { text-align: center; margin-top: -.5rem; margin-bottom: 1.8rem; font-size: 1.02rem; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--gold-rgb),.4); }
.svc-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--bg-rgb),.55)); }
.svc-body { padding: 1.1rem 1.2rem 1.3rem; }
.svc-body h3 { margin: 0 0 .4rem; font-size: 1.25rem; color: var(--text); }
.svc-body p { margin: 0 0 .7rem; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.svc-cta { font-size: .85rem; font-weight: 600; color: var(--gold-lt); letter-spacing: .03em; }

.experience { background: linear-gradient(180deg, rgba(var(--gold-rgb),.04), transparent 60%); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
@media (max-width: 760px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; position: relative; overflow: hidden; }
.exp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt), var(--gold-dk)); opacity: .7; }
.exp-num { font-family: var(--font-d); font-size: 2.2rem; color: rgba(var(--gold-rgb),.28); font-weight: 800; display: block; margin-bottom: .5rem; }
.exp-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Business upgrades (2026-10-08) ---- */
.value-prop { background: linear-gradient(180deg, rgba(var(--gold-rgb),.07), transparent 70%); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.5rem 0 2rem; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.value-price { font-family: var(--font-d); font-size: 2rem; font-weight: 800; color: var(--gold-lt); display: block; }
.value-label { font-weight: 600; font-size: .95rem; display: block; margin: .3rem 0 .5rem; }

.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 700px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
.dest-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; transition: border-color .2s; }
.dest-card:hover { border-color: var(--gold); }
.dest-card h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.dest-card p { margin: 0; }

.testi-grid .testi { display: flex; flex-direction: column; gap: .6rem; }
.stars { color: var(--gold-lt); font-size: 1.1rem; letter-spacing: .15em; }
.testi p { margin: 0; }

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; cursor: pointer; }
.faq-list summary { font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::after { content: '+'; color: var(--gold-lt); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin: .7rem 0 0; }

.sticky-call { display: none; position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #000; font-size: 1.6rem; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,.5); }
@media (max-width: 760px) { .sticky-call { display: flex; } }

/* ---- Branding upgrade (2026-10-08) ---- */
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-img { height: 44px; width: auto; }
.brand-word { font-family: var(--font-d); font-size: 1.45rem; font-weight: 800; letter-spacing: .08em; color: var(--text); line-height: 1; display: flex; flex-direction: column; }
.brand-word small { font-family: var(--font-b); font-size: .58rem; font-weight: 600; letter-spacing: .32em; color: var(--gold-lt); margin-top: .25rem; }
@media (max-width: 560px) {
    .brand-word { font-size: 1.1rem; }
    .brand-img { height: 36px; }
}

/* ---------- Admin: mobile cards ---------- */
.pill-countdown { background: rgba(var(--gold-rgb),.18); color: var(--gold-lt); border: 1px solid rgba(var(--gold-rgb),.5); }
.res-card-main { display: block; color: inherit; text-decoration: none; }
.res-call { margin-top: 10px; display: inline-block; }
@media (max-width: 700px) {
    table.admin-cards thead { display: none; }
    table.admin-cards, table.admin-cards tbody, table.admin-cards tr, table.admin-cards td { display: block; width: 100%; }
    table.admin-cards tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 12px; background: var(--card); }
    table.admin-cards td { border: none; padding: 6px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
    table.admin-cards td::before { content: attr(data-label); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; }
    table.admin-cards tr.hl { border-color: var(--gold); }
}

/* ---------- Admin: payments summary ---------- */
.pay-summary { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.pay-stat { flex: 1 1 160px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.pay-stat-label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.pay-stat strong { font-size: 1.25rem; color: var(--gold-lt); }
a.pay-stat { display: block; text-decoration: none; color: inherit; cursor: pointer; transition: border-color .15s ease, transform .1s ease; }
a.pay-stat:hover { border-color: var(--gold); }
a.pay-stat:active { transform: translateY(1px); }
.pay-stat-alert { border-color: #c0392b; }
.pay-stat-alert strong { color: #e74c3c; }
tr.pay-declined td { background: rgba(192,57,43,.12); }
@media (max-width: 700px) { table.admin-cards tr.pay-declined { border-color: #c0392b; } }

/* ---------- Admin: calendar ---------- */
.cal-day { margin-bottom: 14px; }
.cal-day h3 { margin-top: 0; }
.cal-today { border-color: var(--gold); }
.cal-trip { display: block; color: inherit; text-decoration: none; padding: 10px 0; border-top: 1px solid var(--line); }
.cal-trip:first-of-type { border-top: none; }

/* ---- Language (Arreglo 3, 2026-11-14): first-visit gate + EN|ES switches ---- */
/* First-visit language gate — luxury card treatment (owner refinement
   2026-11-15): blurred backdrop, hairline-gold card, emblem without its
   black box (screen blend) floating over a gold glow, slim equal buttons. */
.vl-lang-gate { position: fixed; inset: 0; z-index: 300; background: rgba(3, 4, 9, .88); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); display: flex; align-items: center; justify-content: center; padding: 1.2rem; animation: vlGateIn .45s ease both; }
@keyframes vlGateIn { from { opacity: 0; } to { opacity: 1; } }
.vl-lang-box { text-align: center; max-width: 400px; width: 100%; box-sizing: border-box; background: linear-gradient(165deg, #111116 0%, #070709 60%, #0c0a07 100%); border: 1px solid rgba(var(--gold-rgb), .35); border-radius: 22px; padding: 2.3rem 2rem 1.6rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .05); animation: vlBoxIn .55s cubic-bezier(.22, .9, .3, 1) both; }
@keyframes vlBoxIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.vl-lang-emblem { position: relative; width: 136px; height: 112px; margin: 0 auto .3rem; display: flex; align-items: center; justify-content: center; }
.vl-lang-emblem::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(var(--gold-rgb), .30) 0%, rgba(var(--gold-rgb), 0) 65%); }
.vl-lang-logo { height: 96px; width: auto; position: relative; animation: vlEmblemFloat 6s ease-in-out infinite; }
@keyframes vlEmblemFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.vl-lang-over { font-size: .68rem; letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; color: var(--gold); margin: 0 0 .55rem; }
.vl-lang-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: #fff; margin: 0; line-height: 1.3; }
.vl-lang-title-es { color: var(--gold-lt); margin-bottom: 1.1rem; }
.vl-lang-rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 1.35rem; }
.vl-lang-rule::before, .vl-lang-rule::after { content: ""; height: 1px; width: 52px; }
.vl-lang-rule::before { background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .7)); }
.vl-lang-rule::after { background: linear-gradient(90deg, rgba(var(--gold-rgb), .7), transparent); }
.vl-lang-rule span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); display: block; }
.vl-lang-btns { display: flex; flex-direction: column; gap: .65rem; }
.vl-lang-btn { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .92rem 1rem; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: 12px; color: var(--gold-lt); text-decoration: none; font-size: .98rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(var(--gold-rgb), .05); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.vl-lang-btn:hover, .vl-lang-btn:active { background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: #14100a; border-color: transparent; }
.vl-lang-code { font-size: .64rem; letter-spacing: .16em; border: 1px solid currentColor; border-radius: 6px; padding: .2rem .38rem .14rem; opacity: .85; }
.vl-lang-note { margin: 1.2rem 0 0; font-size: .74rem; letter-spacing: .05em; color: rgba(255, 255, 255, .45); }
@media (prefers-reduced-motion: reduce) { .vl-lang-logo, .vl-lang-box, .vl-lang-gate { animation: none; } }
.lang-toggle { display: inline-flex; border: 1px solid rgba(var(--gold-rgb), .55); border-radius: 999px; overflow: hidden; margin-left: .5rem; vertical-align: middle; }
.lang-toggle a { padding: .28rem .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; line-height: 1; }
.lang-toggle a.on { background: var(--gold); color: #141414; }
/* Language switch in the header bar, beside the menu button (owner
   2026-11-15: out of the dropdown menu, always visible). */
.header-inner .lang-switch { display: inline-flex; border: 1px solid rgba(var(--gold-rgb), .55); border-radius: 999px; overflow: hidden; margin-left: auto; margin-right: .55rem; flex: none; vertical-align: middle; }
.header-inner .lang-switch a { padding: .28rem .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; line-height: 1; }
.header-inner .lang-switch a.on { background: var(--gold); color: #141414; }

/* Animated header logo (owner request 2026-11-15): the emblem slowly
   turns like a coin while it floats, with a soft gold glow. The brand
   name text beside it stays still. */
.brand { perspective: 320px; }
.vl-logo-anim { animation: vlLogoLife 12s linear infinite; will-change: transform; }
@keyframes vlLogoLife {
  0% { transform: translateY(0) rotateY(0deg); filter: drop-shadow(0 0 4px rgba(var(--gold-rgb),.35)); }
  25% { transform: translateY(-3px) rotateY(90deg); filter: drop-shadow(0 0 9px rgba(var(--gold-rgb),.6)); }
  50% { transform: translateY(0) rotateY(180deg); filter: drop-shadow(0 0 4px rgba(var(--gold-rgb),.35)); }
  75% { transform: translateY(3px) rotateY(270deg); filter: drop-shadow(0 0 9px rgba(var(--gold-rgb),.6)); }
  100% { transform: translateY(0) rotateY(360deg); filter: drop-shadow(0 0 4px rgba(var(--gold-rgb),.35)); }
}
@media (prefers-reduced-motion: reduce) { .vl-logo-anim { animation: none; } }
/* Fleet 360 videos fill the photo frame exactly like the still photo. */
.fleet-art.fleet-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Admin accordion cards (2026-11-15): collapsed .card blocks behind a tappable
   header on long admin pages (sections marked data-acc; enhancer in app.js). */
.acc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; cursor: pointer; }
.acc-head h2 { margin: 0; }
.acc-chev { color: var(--gold); font-size: 1.05rem; line-height: 1.5; flex: none; transition: transform .18s ease; }
.acc-card.acc-closed .acc-chev { transform: rotate(-90deg); }
.acc-body { margin-top: .8rem; }

/* Apple-style type on the grouped admin pages (owner order 2026-11-15):
   the platform system font (SF Pro on Apple devices), semibold titles,
   tight tracking, no visual noise. */
[data-acc] h1, [data-acc] h2 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
}
[data-acc] h2 { font-weight: 600; }

/* Header logo motion — owner fix 2026-11-15: the full coin turn (original
   vlLogoLife) left the emblem edge-on/invisible half of every cycle and
   showed it mirrored the other half. Redefined (last @keyframes wins) as a
   gentle front-facing float: soft sway ±10deg + bob + glow pulse. */
@keyframes vlLogoLife {
  0%, 100% { transform: translateY(0) rotateY(-10deg); filter: drop-shadow(0 0 4px rgba(var(--gold-rgb),.35)); }
  50% { transform: translateY(-3px) rotateY(10deg); filter: drop-shadow(0 0 9px rgba(var(--gold-rgb),.6)); }
}

/* TABLET / iPAD PASS (2026-11-22): the 760-1180px range was a dead
   zone — the polished desktop admin header only starts at 1025px and
   the drawer only exists at 759px and below, so on iPads and tablets
   the admin bar squeezed into one row and tap targets shrank.
   Tablet widths get: a wrapping header with the admin nav on its own
   row, 44px-class tap targets in the nav, roomier dropdown rows, and
   no double-tap zoom delay on controls (touch-action). */
a, button, .nav-group-head, input, select, textarea, label { touch-action: manipulation; }
@media (min-width: 760px) and (max-width: 1180px) {
    .header-inner { flex-wrap: wrap; row-gap: .35rem; padding-top: .35rem; padding-bottom: .35rem; }
    .site-nav { gap: .6rem; }
    .site-nav.admin-nav { flex-basis: 100%; order: 5; justify-content: flex-start; flex-wrap: wrap; row-gap: .3rem; }
    .site-nav > a, .nav-group-head { font-size: .92rem; min-height: 44px; display: inline-flex; align-items: center; }
    .nav-refresh { min-width: 44px; min-height: 44px; }
    .header-inner .lang-switch a { min-height: 36px; display: inline-flex; align-items: center; }
    .nav-group-body { min-width: 250px; }
    .nav-group-body a { padding: .62rem .35rem; }
}
@media (max-width: 759px) {
    .site-nav a, .site-nav .nav-group-head { min-height: 48px; align-items: center; }
}

