/*
 * LigueVan Reservas — public site styles.
 * Colours come from the plugin settings as --lv-primary, --lv-accent and --lv-ink.
 */
:root {
  --lv-primary: #1b2f7a;
  --lv-accent: #f06a1e;
  --lv-ink: #0e1638;
  --lv-bg: #f6f7fb;
  --lv-card: #ffffff;
  --lv-text: #161d3d;
  --lv-muted-c: #5d6582;
  --lv-ink-text: #f3f5fb;
  --lv-ink-muted: #a9b0c8;
  --lv-border: #e1e4ee;
  --lv-input: #d9dce8;
  --lv-error: #c62828;
  --lv-success: #1f9d61;
  --lv-radius: 14px;
  --lv-shadow: 0 1px 2px rgba(20, 28, 60, .05), 0 8px 24px -12px rgba(20, 28, 60, .2);
  --lv-shadow-lift: 0 24px 48px -24px rgba(20, 30, 80, .38);
  --lv-font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --lv-font: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

/* ---------- base ---------- */
.lv-root, .lv-site-header, .lv-site-footer, .lv-wa-float { font-family: var(--lv-font); color: var(--lv-text); -webkit-font-smoothing: antialiased; line-height: 1.55; }
.lv-root *, .lv-root *::before, .lv-root *::after,
.lv-site-header *, .lv-site-footer * { box-sizing: border-box; }
.lv-root img, .lv-site-header img, .lv-site-footer img { max-width: 100%; height: auto; display: block; }
.lv-root h1, .lv-root h2, .lv-root h3, .lv-site-footer h3 { font-family: var(--lv-font-display); letter-spacing: -.02em; margin: 0; color: inherit; line-height: 1.1; }
.lv-root p { margin: 0; }
.lv-root a { color: inherit; }
.lv-icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

body.lv-fullpage { margin: 0; background: var(--lv-bg); }
body.lv-fullpage .lv-main { display: block; min-height: 60vh; }
body.lv-fullpage .lv-main > :not(.lv-root) { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

.lv-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.lv-container--narrow { max-width: 920px; }
@media (min-width: 768px) { .lv-container { padding: 0 32px; } }

.lv-display { font-family: var(--lv-font-display); font-weight: 900; font-style: italic; letter-spacing: -.03em; line-height: .95; text-transform: uppercase; }
.lv-eyebrow { font-family: var(--lv-font); font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.lv-text-accent { color: var(--lv-accent); }
.lv-muted { color: var(--lv-muted-c); }
.lv-muted-ink { color: var(--lv-ink-muted); }
.lv-h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; }
.lv-road { height: 3px; background-image: repeating-linear-gradient(90deg, var(--lv-accent) 0 28px, transparent 28px 48px); }

/* ---------- buttons ---------- */
.lv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.25em; border-radius: 10px; border: 1.5px solid transparent; font-family: var(--lv-font); font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; white-space: nowrap; }
.lv-btn:hover { transform: translateY(-1px); }
.lv-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--lv-accent) 55%, transparent); outline-offset: 2px; }
.lv-btn--xl { padding: .95em 1.6em; font-size: 1.02rem; border-radius: 12px; }
.lv-btn--accent { background: var(--lv-accent); color: #fff !important; box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--lv-accent) 65%, transparent); }
.lv-btn--accent:hover { background: color-mix(in srgb, var(--lv-accent) 88%, #000); }
.lv-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.lv-btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.lv-btn--outline { background: transparent; color: var(--lv-primary) !important; border-color: color-mix(in srgb, var(--lv-primary) 30%, transparent); }
.lv-btn--outline:hover { background: color-mix(in srgb, var(--lv-primary) 7%, transparent); }
.lv-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.lv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lv-actions--center { justify-content: center; }

/* ---------- header ---------- */
.lv-site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--lv-ink) 94%, transparent); backdrop-filter: blur(10px); color: var(--lv-ink-text); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.admin-bar .lv-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lv-site-header { top: 0; position: relative; } }
.lv-site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.lv-site-header__logo img { height: 44px; width: auto; }
.lv-site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.lv-site-nav a { color: var(--lv-ink-muted); text-decoration: none; font-weight: 600; font-size: .93rem; padding: .5em .85em; border-radius: 8px; display: inline-flex; align-items: center; gap: .4em; transition: color .2s, background-color .2s; }
.lv-site-nav a:hover, .lv-site-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.lv-site-nav a.is-active { box-shadow: inset 0 -2px 0 var(--lv-accent); }
@media (max-width: 860px) {
  .lv-site-header__inner { flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
  .lv-site-header__logo img { height: 36px; }
  .lv-site-header__inner > .lv-btn { margin-left: auto; padding: .6em 1em; font-size: .88rem; }
  .lv-site-nav { order: 3; width: 100%; margin-left: -.85em; }
  .lv-site-nav a { padding: .45em .85em; font-size: .88rem; }
}

/* ---------- footer ---------- */
.lv-site-footer { background: var(--lv-ink); color: var(--lv-ink-text); margin-top: 0; }
.lv-site-footer__grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 768px) { .lv-site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.lv-site-footer__logo { height: 52px; width: auto; margin-bottom: 18px; }
.lv-site-footer p { margin: 0; }
.lv-site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: .95rem; }
.lv-site-footer__col .lv-eyebrow { margin-bottom: 4px; }
.lv-site-footer__col a, .lv-site-footer__col p { color: var(--lv-ink-muted); text-decoration: none; display: flex; gap: .55em; align-items: flex-start; }
.lv-site-footer__col a:hover { color: #fff; }
.lv-site-footer__col .lv-icon { margin-top: .2em; color: var(--lv-accent); }
.lv-site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .82rem; color: var(--lv-ink-muted); }

/* ---------- floating WhatsApp ---------- */
.lv-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff !important; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.lv-wa-float:hover { transform: scale(1.07); }
.lv-wa-float .lv-icon { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.lv-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--lv-ink); color: var(--lv-ink-text); min-height: min(86vh, 820px); display: flex; flex-direction: column; }
.lv-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; object-position: 70% center; }
.lv-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--lv-ink) 96%, transparent) 0%, color-mix(in srgb, var(--lv-ink) 82%, transparent) 42%, color-mix(in srgb, var(--lv-ink) 15%, transparent) 100%); }
.lv-hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 88px; padding-bottom: 88px; }
.lv-hero__title { margin-top: 20px !important; max-width: 14ch; font-size: clamp(3rem, 8.5vw, 6.4rem); color: #fff; }
.lv-hero__text { margin-top: 24px !important; max-width: 36rem; font-size: 1.12rem; color: var(--lv-ink-muted); }
.lv-hero .lv-actions { margin-top: 36px; }
.lv-hero__badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; font-size: .9rem; color: var(--lv-ink-muted); }
.lv-hero__badges span { display: inline-flex; align-items: center; gap: .5em; }
.lv-hero__badges .lv-icon { color: var(--lv-accent); }
.lv-hero__content > * { animation: lv-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.lv-hero__content > :nth-child(2) { animation-delay: 80ms; }
.lv-hero__content > :nth-child(3) { animation-delay: 160ms; }
.lv-hero__content > :nth-child(4) { animation-delay: 240ms; }
.lv-hero__content > :nth-child(5) { animation-delay: 320ms; }
@keyframes lv-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lv-hero__content > * { animation: none; } }

/* ---------- inner page hero ---------- */
.lv-page-hero { background: linear-gradient(160deg, color-mix(in srgb, var(--lv-primary) 55%, var(--lv-ink)), var(--lv-ink)); color: var(--lv-ink-text); position: relative; }
.lv-page-hero .lv-container { padding-top: 64px; padding-bottom: 56px; }
.lv-page-hero h1 { margin-top: 14px !important; font-size: clamp(2.4rem, 6vw, 4.4rem); color: #fff; }
.lv-page-hero__text { margin-top: 18px !important; max-width: 40rem; color: var(--lv-ink-muted); font-size: 1.05rem; }

/* ---------- sections & grids ---------- */
.lv-section { padding-top: 88px; padding-bottom: 88px; }
.lv-section--tint { background: color-mix(in srgb, var(--lv-primary) 5%, #fff); border-top: 1px solid var(--lv-border); border-bottom: 1px solid var(--lv-border); }
.lv-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.lv-section__head .lv-h2 { margin-top: 10px; }
.lv-section__lead { max-width: 30rem; }
.lv-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .lv-grid--4, .lv-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lv-grid--4 { grid-template-columns: repeat(4, 1fr); } .lv-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.lv-card { background: var(--lv-card); border: 1px solid var(--lv-border); border-radius: var(--lv-radius); box-shadow: var(--lv-shadow); }
.lv-service { padding: 28px; transition: transform .2s, box-shadow .2s; }
.lv-service:hover { transform: translateY(-3px); box-shadow: var(--lv-shadow-lift); }
.lv-service__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--lv-accent) 13%, #fff); color: var(--lv-accent); margin-bottom: 20px; }
.lv-service__icon .lv-icon { width: 24px; height: 24px; }
.lv-service h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px !important; }
.lv-service p { font-size: .95rem; }

/* ---------- vehicle card ---------- */
.lv-vehicle { display: flex; flex-direction: column; background: var(--lv-card); border: 1px solid var(--lv-border); border-radius: var(--lv-radius); overflow: hidden; text-decoration: none !important; color: var(--lv-text) !important; box-shadow: var(--lv-shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lv-vehicle:hover { transform: translateY(-3px); box-shadow: var(--lv-shadow-lift); border-color: color-mix(in srgb, var(--lv-accent) 45%, var(--lv-border)); }
.lv-vehicle__media { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 70%, #fff 0%, color-mix(in srgb, var(--lv-primary) 9%, #fff) 70%); display: grid; place-items: center; padding: 18px; }
.lv-vehicle__media img { width: 100%; height: 100% !important; object-fit: contain; transition: transform .35s; }
.lv-vehicle:hover .lv-vehicle__media img { transform: scale(1.04); }
.lv-vehicle__placeholder { width: 64px !important; height: 64px !important; color: color-mix(in srgb, var(--lv-primary) 45%, #fff); }
.lv-vehicle__badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .4em; background: var(--lv-ink); color: #fff; font-size: .78rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; }
.lv-vehicle__badge .lv-icon { color: var(--lv-accent); }
.lv-vehicle__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lv-vehicle__body h3 { font-size: 1.3rem; font-weight: 800; }
.lv-vehicle__body .lv-muted { font-size: .93rem; flex: 1; }
.lv-vehicle__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .92rem; color: var(--lv-primary); }
.lv-vehicle:hover .lv-vehicle__cta { color: var(--lv-accent); }

/* ---------- steps ---------- */
.lv-steps { background: var(--lv-ink); color: var(--lv-ink-text); border-radius: 24px; padding: 56px clamp(24px, 5vw, 64px); position: relative; overflow: hidden; }
.lv-steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background-image: repeating-linear-gradient(90deg, var(--lv-accent) 0 28px, transparent 28px 48px); }
.lv-steps .lv-h2 { margin-top: 10px; color: #fff; }
.lv-steps__grid { margin: 36px 0 40px; }
.lv-step { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }
.lv-step__n { font-family: var(--lv-font-display); font-weight: 900; font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--lv-accent); }
.lv-step h3 { font-size: 1.3rem; font-weight: 800; margin: 10px 0 6px !important; color: #fff; }
.lv-step p:last-child { color: var(--lv-ink-muted); }

/* ---------- fleet page ---------- */
.lv-fleet { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 64px; }
.lv-fleet .lv-h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- booking form ---------- */
.lv-booking { padding-top: 40px; padding-bottom: 88px; }
.lv-page-hero + .lv-booking { margin-top: -24px; position: relative; }
.lv-booking__card { padding: clamp(22px, 4vw, 44px); }
.lv-form fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.lv-form legend { display: flex; align-items: center; gap: 12px; font-family: var(--lv-font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: 18px; padding: 0; color: var(--lv-text); }
.lv-num { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lv-ink); color: #fff; font-size: .9rem; font-family: var(--lv-font); font-weight: 800; flex: none; }

.lv-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lv-pill { position: relative; cursor: pointer; margin: 0; }
.lv-pill input, .lv-vpick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lv-pill span { display: inline-block; padding: .6em 1.1em; border-radius: 999px; border: 1.5px solid var(--lv-input); background: #fff; font-weight: 600; font-size: .92rem; transition: all .15s; }
.lv-pill:hover span { border-color: color-mix(in srgb, var(--lv-primary) 45%, var(--lv-input)); }
.lv-pill input:checked + span { background: var(--lv-ink); border-color: var(--lv-ink); color: #fff; }
.lv-pill input:focus-visible + span, .lv-vpick input:focus-visible + .lv-vpick__box { outline: 3px solid color-mix(in srgb, var(--lv-accent) 55%, transparent); outline-offset: 2px; }

.lv-vehicle-picker { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .lv-vehicle-picker { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .lv-vehicle-picker { grid-template-columns: repeat(5, 1fr); } }
.lv-vpick { position: relative; cursor: pointer; margin: 0; display: block; }
.lv-vpick__box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; padding: 14px 10px; border: 1.5px solid var(--lv-input); border-radius: 12px; background: #fff; transition: all .15s; }
.lv-vpick__box img { width: 100%; height: 56px !important; object-fit: contain; margin-bottom: 4px; }
.lv-vpick__icon { width: 40px !important; height: 56px !important; color: color-mix(in srgb, var(--lv-primary) 50%, #fff); }
.lv-vpick__box strong { font-size: .88rem; line-height: 1.25; }
.lv-vpick__box small { font-size: .78rem; color: var(--lv-muted-c); display: inline-flex; align-items: center; gap: .3em; }
.lv-vpick:first-child .lv-vpick__box { justify-content: center; background: color-mix(in srgb, var(--lv-accent) 6%, #fff); border-style: dashed; }
.lv-vpick:hover .lv-vpick__box { border-color: color-mix(in srgb, var(--lv-primary) 45%, var(--lv-input)); }
.lv-vpick input:checked + .lv-vpick__box { border-color: var(--lv-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lv-accent) 22%, transparent); background: color-mix(in srgb, var(--lv-accent) 5%, #fff); border-style: solid; }

.lv-fields { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .lv-fields--2 { grid-template-columns: repeat(2, 1fr); } .lv-fields--3 { grid-template-columns: repeat(3, 1fr); } .lv-span-2 { grid-column: span 2; } }
.lv-f { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; }
.lv-f label { font-weight: 700; font-size: .88rem; color: var(--lv-text); }
.lv-form input:not([type=radio]):not([type=checkbox]), .lv-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--lv-text); background: #fff; border: 1.5px solid var(--lv-input); border-radius: 10px; padding: .72em .9em; min-height: 48px; transition: border-color .15s, box-shadow .15s; box-shadow: none; margin: 0; }
.lv-form textarea { min-height: 110px; resize: vertical; }
.lv-form input:focus, .lv-form textarea:focus { outline: none; border-color: var(--lv-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lv-accent) 20%, transparent); }
.lv-form .is-invalid { border-color: var(--lv-error) !important; }
.lv-error { color: var(--lv-error); font-size: .83rem; font-weight: 600; min-height: 0; margin: 4px 0 0 !important; }
.lv-error:empty { display: none; }
.lv-form__error { font-size: .95rem; margin: 0 0 16px !important; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--lv-error) 8%, #fff); }

.lv-return { border: 1.5px solid var(--lv-border); border-radius: 12px; padding: 16px; background: color-mix(in srgb, var(--lv-primary) 3%, #fff); }
.lv-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; position: relative; margin: 0; }
.lv-switch > span:first-child { display: flex; flex-direction: column; }
.lv-switch small { color: var(--lv-muted-c); font-size: .85rem; }
.lv-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lv-switch__track { width: 46px; height: 26px; border-radius: 999px; background: var(--lv-input); position: relative; flex: none; transition: background .2s; }
.lv-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.lv-switch input:checked ~ .lv-switch__track { background: var(--lv-accent); }
.lv-switch input:checked ~ .lv-switch__track::after { transform: translateX(20px); }
.lv-switch input:focus-visible ~ .lv-switch__track { outline: 3px solid color-mix(in srgb, var(--lv-accent) 55%, transparent); outline-offset: 2px; }
.lv-return__fields { margin: 16px 0 0; }
.lv-return__fields[hidden] { display: none; }

.lv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lv-submit { width: 100%; }

.lv-done { text-align: center; padding: 24px 0 8px; }
.lv-done[hidden] { display: none; }
.lv-done__icon { width: 64px !important; height: 64px !important; color: var(--lv-success); margin: 0 auto 16px; display: block; }
.lv-done .lv-h2 { margin-bottom: 18px; }
.lv-done__code { font-family: var(--lv-font-display); font-weight: 900; font-style: italic; font-size: clamp(2rem, 6vw, 2.8rem); color: var(--lv-accent); margin: 4px 0 18px !important; letter-spacing: .02em; }
.lv-done__text { max-width: 32rem; margin: 0 auto 28px !important; }
.lv-done__phone { margin-top: 20px !important; font-size: .92rem; }
.lv-done__phone a { color: var(--lv-primary); font-weight: 700; }

/* ---------- contact card ---------- */
.lv-contact { padding: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.lv-contact h3 { font-size: 1.3rem; margin-bottom: 6px !important; }
.lv-contact p { display: flex; gap: .6em; align-items: flex-start; }
.lv-contact .lv-icon { color: var(--lv-accent); margin-top: .2em; }
.lv-contact a { color: var(--lv-primary); font-weight: 600; }

/* Inside a regular theme page, give the blocks room. */
body:not(.lv-fullpage) .lv-root { margin: 24px 0; }
