/* ==========================================================================
   Claritza Premier Black Car Service LLC — MODERN REFRESH (facelift 2026-11-08 — approved on dev, ported to production)
   Visual-only overlay inspired by the rear-tablet screen's design language:
   deep black + gold, one large visual as the focus, glass cards with soft
   depth/glow, larger radii, subtle motion, more air, modern type scale.

   Loaded AFTER style.css/fall.css and ONLY on public pages
   (layout adds <body class="vl-modern"> + this link when the visitor is
   neither admin nor driver). Every rule is scoped under body.vl-modern so
   nothing here can leak into the admin or driver areas.
   No layout structure, content, or behavior changes — paint only.
   ========================================================================== */

/* ---------- Palette & tokens (public pages only) ---------- */
body.vl-modern {
    --bg: #040405;
    --bg2: #0a0a0c;
    --card: #101013;
    --card2: #17171b;
    --gold: #cf8438;
    --gold-lt: #eed688;
    --gold-dk: #9c4a2d;
    --silver: #d5dae3;
    --text: #f5f5f2;
    --muted: #a3a8b4;
    --line: rgba(237, 169, 92, .20);
    --radius: 20px;
    --m-glass: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015) 55%, rgba(207, 132, 56, .05));
    --m-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 2px 10px rgba(0, 0, 0, .45);
    --m-glow: 0 0 44px rgba(207, 132, 56, .13);
    background:
        radial-gradient(1100px 520px at 50% -8%, rgba(207, 132, 56, .10), transparent 62%),
        radial-gradient(900px 700px at 110% 30%, rgba(207, 132, 56, .05), transparent 60%),
        radial-gradient(1200px 800px at 50% 115%, rgba(20, 20, 26, .9), transparent 70%),
        var(--bg);
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}
body.vl-modern ::selection { background: rgba(207, 132, 56, .85); color: #221420; }
body.vl-modern :focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type scale: calmer, larger, more air ---------- */
body.vl-modern h1 { letter-spacing: -.01em; }
body.vl-modern h2 { font-size: 1.65rem; }
body.vl-modern .section { padding: 3.6rem 0; }
body.vl-modern .sec-title { font-size: clamp(1.8rem, 5vw, 2.5rem); letter-spacing: -.01em; }
body.vl-modern .sec-title::after {
    width: 84px; height: 3px; border-radius: 3px; margin-top: .8rem;
    background: linear-gradient(90deg, transparent, var(--gold-lt), var(--gold), transparent);
    box-shadow: 0 0 18px rgba(207, 132, 56, .55);
}
body.vl-modern .sec-sub { font-size: 1.08rem; margin-bottom: 2.2rem; }
body.vl-modern .kicker { letter-spacing: .34em; color: var(--gold-lt); }
body.vl-modern .lede { font-size: 1.14rem; line-height: 1.65; }
body.vl-modern .page-head { padding-top: 3.4rem; }
body.vl-modern .page-head h1 { text-shadow: 0 4px 44px rgba(207, 132, 56, .22); }

/* ---------- Header: deeper glass, gold hairline ---------- */
body.vl-modern .site-header {
    background: rgba(4, 4, 5, .78);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(rgba(4, 4, 5, .78), rgba(4, 4, 5, .78)),
        linear-gradient(90deg, transparent, rgba(237, 169, 92, .45), transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
body.vl-modern .header-inner { min-height: 72px; }
body.vl-modern .brand-img { filter: drop-shadow(0 4px 14px rgba(207, 132, 56, .35)); }
body.vl-modern .brand-word { letter-spacing: .1em; }
body.vl-modern .site-nav { gap: .35rem; }
body.vl-modern .site-nav a {
    padding: .42rem .6rem; border-radius: 999px; white-space: nowrap;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
body.vl-modern .site-nav a:hover { background: rgba(207, 132, 56, .10); box-shadow: inset 0 0 0 1px rgba(237, 169, 92, .22); }
body.vl-modern .site-nav a.on { background: rgba(207, 132, 56, .13); box-shadow: inset 0 0 0 1px rgba(237, 169, 92, .3); }
body.vl-modern .site-nav a.btn { padding: .55rem 1.15rem; white-space: nowrap; }
@media (max-width: 759px) {
    body.vl-modern .site-nav { background: rgba(5, 5, 7, .97); backdrop-filter: blur(18px); }
    body.vl-modern .site-nav a { border-radius: 12px; }
}

/* ---------- Buttons: richer gold, soft glow, gentle lift ---------- */
body.vl-modern .btn {
    padding: .82rem 1.7rem; font-weight: 700; letter-spacing: .01em;
    transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
body.vl-modern .btn-gold {
    background: linear-gradient(135deg, #f3dc8e, var(--gold-lt) 30%, var(--gold) 62%, var(--gold-dk));
    box-shadow: 0 10px 30px rgba(207, 132, 56, .38), 0 2px 8px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .5);
}
body.vl-modern .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(207, 132, 56, .48), 0 4px 12px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .55); }
body.vl-modern .btn-ghost {
    background: rgba(255, 255, 255, .045); border-color: rgba(237, 169, 92, .35); color: var(--gold-lt);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
body.vl-modern .btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold-lt); box-shadow: var(--m-glow); }
body.vl-modern .btn-lg { padding: 1.05rem 2.4rem; font-size: 1.1rem; }
body.vl-modern .btn-sm { padding: .5rem 1.1rem; }

/* ---------- Hero: the fleet visual becomes the focus ---------- */
body.vl-modern .hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: min(88vh, 800px);
    display: flex; align-items: center;
    padding: 5rem 0 4.2rem;
    background: transparent;
}
body.vl-modern .hero::before {
    content: ""; position: absolute; inset: -4%; z-index: -3;
    background: url('/assets/img/fleet/suv-suburban.webp') center 62% / cover no-repeat;
    animation: vlHeroDrift 26s ease-in-out infinite alternate;
}
body.vl-modern .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(760px 340px at 50% 16%, rgba(207, 132, 56, .16), transparent 68%),
        linear-gradient(180deg, rgba(4, 4, 5, .66) 0%, rgba(4, 4, 5, .42) 42%, rgba(4, 4, 5, .78) 74%, var(--bg) 100%),
        linear-gradient(90deg, rgba(4, 4, 5, .45), transparent 30%, transparent 70%, rgba(4, 4, 5, .45));
}
@keyframes vlHeroDrift { from { transform: scale(1) translateY(0); } to { transform: scale(1.07) translateY(-1.2%); } }
/* Hero drive video (owner 2026-11-15): the Suburban rolling through
   Boston sits above the still photo, below the darkening gradient. */
body.vl-modern .hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    z-index: -2; background: #04060b;
}
/* Portrait phones: the WHOLE Suburban must be visible, never a zoomed
   crop (owner 2026-11-15) — fit the full width and let the dark hero
   background fill the rest; the drift keeps no scale so nothing crops. */
@media (max-width: 760px) {
    body.vl-modern .hero::before {
        background-size: 100% auto;
        background-position: center 60%;
        animation: vlHeroDriftM 26s ease-in-out infinite alternate;
    }
    body.vl-modern .hero-video { object-fit: contain; }
}
@keyframes vlHeroDriftM { from { transform: translateY(0); } to { transform: translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) {
    body.vl-modern .hero-video { display: none; }
}
body.vl-modern .hero .wrap, body.vl-modern .hero .hw-decor { position: relative; z-index: 1; }
body.vl-modern .hero h1 {
    font-size: clamp(2.6rem, 8.5vw, 4.4rem); line-height: 1.06;
    text-shadow: 0 6px 50px rgba(0, 0, 0, .75), 0 2px 22px rgba(207, 132, 56, .18);
}
/* Hero slogan treatment (owner 2026-11-15, from his mockup): the whole
   headline leans in italic serif and the second line is gradient gold. */
body.vl-modern .hero h1 { font-style: italic; }
body.vl-modern .hero h1 .hero-gold {
    background: linear-gradient(100deg, #f6dc8f 0%, var(--gold) 55%, #a87f1f 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
body.vl-modern .hero .lede { margin-inline: auto; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
body.vl-modern .hero .kicker {
    display: inline-block; padding: .42rem 1.05rem; border-radius: 999px;
    border: 1px solid rgba(237, 169, 92, .35); background: rgba(4, 4, 5, .45);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
body.vl-modern .hero-cta { margin: 2rem 0 1.4rem; gap: 1rem; }
body.vl-modern .badges { gap: .65rem; margin-top: 2rem; }
body.vl-modern .badges li {
    padding: .48rem 1.05rem; font-size: .83rem; color: var(--silver);
    background: rgba(10, 10, 12, .55); border-color: rgba(237, 169, 92, .30);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
@media (max-width: 640px) {
    body.vl-modern .hero { min-height: 0; padding: 4rem 0 3.4rem; }
    body.vl-modern .hero::before { background-position: center 40%; }
}

/* ---------- Bands & trust strip: quiet glass ---------- */
body.vl-modern .band {
    background: linear-gradient(180deg, rgba(207, 132, 56, .055), rgba(255, 255, 255, .012) 55%, transparent);
    border-top: 1px solid rgba(237, 169, 92, .16); border-bottom: 1px solid rgba(237, 169, 92, .16);
    padding: 3.4rem 0;
}
body.vl-modern .trust-strip {
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent);
    border-top: 1px solid rgba(237, 169, 92, .14); border-bottom: 1px solid rgba(237, 169, 92, .14);
}
body.vl-modern .trust-grid { padding: 1.6rem 1rem; gap: 1.4rem; }
body.vl-modern .trust-grid strong { font-size: 1.22rem; text-shadow: 0 0 24px rgba(207, 132, 56, .35); }
body.vl-modern .trust-grid span { font-size: .84rem; }

/* ---------- Cards: glass, depth, soft gold edge ---------- */
body.vl-modern .card,
body.vl-modern .exp-card,
body.vl-modern .value-card,
body.vl-modern .dest-card,
body.vl-modern .fleet-card,
body.vl-modern .review,
body.vl-modern .price-breakdown,
body.vl-modern .faq-item {
    background: var(--m-glass), linear-gradient(180deg, var(--card2), var(--card));
    border: 1px solid rgba(237, 169, 92, .20);
    border-radius: var(--radius);
    box-shadow: var(--m-shadow);
}
body.vl-modern .card, body.vl-modern .exp-card, body.vl-modern .value-card { padding: 1.7rem; }
body.vl-modern .cards, body.vl-modern .svc-grid, body.vl-modern .exp-grid,
body.vl-modern .value-grid, body.vl-modern .dest-grid, body.vl-modern .fleet-grid { gap: 1.4rem; }

body.vl-modern .svc-card {
    border-radius: var(--radius);
    background: var(--m-glass), linear-gradient(180deg, var(--card2), var(--card));
    border-color: rgba(237, 169, 92, .20);
    box-shadow: var(--m-shadow);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
body.vl-modern .svc-card:hover {
    transform: translateY(-6px); border-color: rgba(237, 169, 92, .55);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .6), var(--m-glow);
}
body.vl-modern .svc-img::after { background: linear-gradient(180deg, transparent 45%, rgba(4, 4, 5, .68)); }
body.vl-modern .svc-body { padding: 1.3rem 1.4rem 1.5rem; }

body.vl-modern .exp-card::before { height: 4px; opacity: .9; background: linear-gradient(90deg, transparent, var(--gold-lt), var(--gold), transparent); }
body.vl-modern .exp-num { color: rgba(237, 169, 92, .30); }
body.vl-modern .value-price { text-shadow: 0 0 30px rgba(207, 132, 56, .35); }
body.vl-modern .dest-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
body.vl-modern .dest-card:hover { transform: translateY(-4px); border-color: rgba(237, 169, 92, .5); box-shadow: var(--m-shadow), var(--m-glow); }
body.vl-modern .fleet-card.flagship { border-color: rgba(237, 169, 92, .65); box-shadow: var(--m-shadow), 0 0 34px rgba(207, 132, 56, .22); }
body.vl-modern .fleet-art { border-radius: 14px; }
body.vl-modern .specs li { border-radius: 10px; background: rgba(255, 255, 255, .045); }

body.vl-modern .stepn {
    width: 52px; height: 52px; font-size: 1.35rem;
    background: rgba(207, 132, 56, .07); border-color: rgba(237, 169, 92, .55);
    box-shadow: 0 0 26px rgba(207, 132, 56, .22), inset 0 0 14px rgba(207, 132, 56, .12);
}
body.vl-modern .steps3 { gap: 1.8rem; margin: 2rem 0 2.4rem; }

body.vl-modern .cta-banner {
    border: 1px solid rgba(237, 169, 92, .28); border-radius: 26px;
    background:
        radial-gradient(600px 240px at 50% 0%, rgba(207, 132, 56, .14), transparent 70%),
        var(--m-glass), linear-gradient(180deg, var(--card2), var(--card));
    box-shadow: var(--m-shadow), var(--m-glow);
    padding: 3rem 1.6rem; text-align: center;
}
body.vl-modern .faq-list details {
    background: var(--m-glass), linear-gradient(180deg, var(--card2), var(--card));
    border-color: rgba(237, 169, 92, .20); border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}

/* ---------- Forms (booking / quote / pay inherit) ---------- */
body.vl-modern .form input, body.vl-modern .form select, body.vl-modern .form textarea,
body.vl-modern .filters input, body.vl-modern .filters select {
    border-radius: 14px; padding: .85rem 1rem;
    background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.vl-modern .form input:focus, body.vl-modern .form select:focus, body.vl-modern .form textarea:focus {
    border-color: var(--gold-lt); background: rgba(207, 132, 56, .05);
    box-shadow: 0 0 0 3px rgba(207, 132, 56, .22), 0 0 24px rgba(207, 132, 56, .12);
}
body.vl-modern #sqCard { border-radius: 14px; background: rgba(255, 255, 255, .04); }

/* ---------- Booking wizard surfaces ---------- */
body.vl-modern .wizard-steps li { border-bottom-width: 3px; padding: .65rem .2rem; }
body.vl-modern .wizard-steps li.on { text-shadow: 0 0 18px rgba(207, 132, 56, .45); }
body.vl-modern .tt-card, body.vl-modern .class-card, body.vl-modern .extra-row {
    background: var(--m-glass), linear-gradient(180deg, var(--card2), var(--card));
    border-color: rgba(237, 169, 92, .20); border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.vl-modern .tt-card:hover, body.vl-modern .class-card:hover, body.vl-modern .extra-row:hover {
    transform: translateY(-2px); border-color: rgba(237, 169, 92, .5);
}
body.vl-modern .tt-card.on, body.vl-modern .class-card.on {
    border-color: var(--gold-lt);
    box-shadow: 0 0 0 2px rgba(207, 132, 56, .4), var(--m-glow), 0 18px 40px rgba(0, 0, 0, .45);
}
body.vl-modern .map { border-radius: var(--radius); border-color: rgba(237, 169, 92, .25); box-shadow: var(--m-shadow); overflow: hidden; }
body.vl-modern .price-rail {
    background: var(--m-glass), linear-gradient(180deg, var(--card2), var(--card));
    border-color: rgba(237, 169, 92, .26); border-radius: var(--radius);
    box-shadow: var(--m-shadow), var(--m-glow); padding: 1.5rem;
}
body.vl-modern .logan-box {
    border-radius: var(--radius); border-color: rgba(237, 169, 92, .5);
    background: linear-gradient(180deg, rgba(207, 132, 56, .10), rgba(207, 132, 56, .04));
    box-shadow: var(--m-glow);
}
body.vl-modern .pay-method { border-radius: 16px; background: rgba(255, 255, 255, .045); }
body.vl-modern .pay-method.on { box-shadow: 0 0 0 2px rgba(207, 132, 56, .4), var(--m-glow); background: rgba(207, 132, 56, .10); }
body.vl-modern .tip-btn { background: rgba(255, 255, 255, .045); }
body.vl-modern .tip-btn.on { box-shadow: 0 0 0 2px rgba(207, 132, 56, .4), var(--m-glow); }
body.vl-modern .ac-list { border-radius: 16px; background: rgba(8, 8, 10, .97); backdrop-filter: blur(14px); }

/* ---------- Footer & floating elements ---------- */
body.vl-modern .site-footer {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
    border-top: 1px solid rgba(237, 169, 92, .22);
    margin-top: 4rem; padding-top: 3rem;
}
body.vl-modern .vl-install-banner { border-radius: 20px; background: rgba(8, 8, 10, .92); backdrop-filter: blur(14px); box-shadow: var(--m-shadow), var(--m-glow); }
body.vl-modern .vl-contact-pop { border-radius: 20px; background: rgba(8, 8, 10, .95); backdrop-filter: blur(14px); box-shadow: var(--m-shadow); }
body.vl-modern .vl-wa-float, body.vl-modern .vl-sys-float { box-shadow: 0 12px 34px rgba(0, 0, 0, .55), var(--m-glow); }
body.vl-modern .sticky-call { background: linear-gradient(135deg, #f3dc8e, var(--gold) 60%, var(--gold-dk)); box-shadow: 0 12px 34px rgba(207, 132, 56, .4); }

/* ---------- Reveal: same hooks, slightly softer landing ---------- */
body.vl-modern .reveal { transform: translateY(30px); transition: opacity .8s cubic-bezier(.22, .8, .3, 1), transform .8s cubic-bezier(.22, .8, .3, 1); }

/* ---------- Reduced motion: kill the new motion too ---------- */
@media (prefers-reduced-motion: reduce) {
    body.vl-modern .hero::before { animation: none; }
    body.vl-modern .btn:hover, body.vl-modern .svc-card:hover,
    body.vl-modern .dest-card:hover, body.vl-modern .tt-card:hover,
    body.vl-modern .class-card:hover, body.vl-modern .extra-row:hover { transform: none; }
}

/* ---------- Loading animations (LOADANIM 2026-11-13) ----------
   Three touches, all pure CSS keyframes, zero extra assets:
   (1) a soft fade-in of <main> on every public page, so moving
       page to page is a fade instead of a hard jump (the body
       underneath is already near-black, so there is no white flash
       to hide — the fade starts from that same darkness);
   (2)+(3) the booking wizard's wait overlay (.vl-wait): the gold
       emblem (the existing logo-gold.png, reused as-is) inside a
       slowly sweeping gold arc, shown by booking-v36.js ONLY while
       a real fare calculation / payment preparation is in flight.
       The script only toggles .on — every animation below is CSS. */
@keyframes vlPageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body.vl-modern main { animation: vlPageIn .25s ease-out; }

body.vl-modern .vl-wait {
    position: fixed; inset: 0; z-index: 200;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
    background: rgba(4, 4, 5, .94);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, visibility 0s linear .18s;
}
body.vl-modern .vl-wait.on {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity .18s ease;
}
body.vl-modern .vl-wait-ring {
    position: relative; width: 128px; height: 128px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #040405;
    box-shadow: 0 0 44px rgba(207, 132, 56, .18), inset 0 0 0 1px rgba(237, 169, 92, .25);
}
body.vl-modern .vl-wait-ring::before {
    content: ""; position: absolute; inset: -3px; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 250deg, var(--gold-lt) 325deg, transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: vlWaitSweep 1.15s linear infinite;
}
body.vl-modern .vl-wait-logo {
    width: 104px; height: 104px; border-radius: 50%; object-fit: cover; display: block;
    animation: vlWaitGlow 1.6s ease-in-out infinite;
}
body.vl-modern .vl-wait-text {
    margin: 0; color: var(--gold-lt);
    font-size: .82rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    animation: vlWaitBreathe 1.6s ease-in-out infinite;
}
@keyframes vlWaitSweep { to { transform: rotate(360deg); } }
@keyframes vlWaitGlow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(207, 132, 56, .25)); }
    50% { filter: drop-shadow(0 0 14px rgba(207, 132, 56, .55)); }
}
@keyframes vlWaitBreathe {
    0%, 100% { opacity: .65; }
    50% { opacity: 1; }
}

/* Reduced motion: no fade, no sweep — the overlay may still appear
   (it reports a real wait) but perfectly still. */
@media (prefers-reduced-motion: reduce) {
    body.vl-modern main { animation: none; }
    body.vl-modern .vl-wait { transition: none; }
    body.vl-modern .vl-wait-ring::before,
    body.vl-modern .vl-wait-logo,
    body.vl-modern .vl-wait-text { animation: none; }
}
