/* Autos Esquivel — ficha pública de vehículo 2026
 * Diseño aislado de la ficha histórica. Sin degradados: profundidad mediante
 * fotografía, overlays sólidos, blur, bordes, sombras y motion.
 */

html[data-theme="light"] body.public-site-rebuild {
    --vd-bg: #f4f5f6;
    --vd-surface: #ffffff;
    --vd-surface-soft: #eef0f2;
    --vd-surface-strong: #e5e8eb;
    --vd-text: #0b0d0f;
    --vd-soft: #3e454c;
    --vd-muted: #69727b;
    --vd-border: #d6dbe0;
    --vd-border-strong: #aeb6bf;
    --vd-inverse: #ffffff;
    --vd-accent: #111315;
    --vd-accent-text: #ffffff;
    --vd-shadow: 0 26px 80px rgba(13, 18, 24, .11);
    --vd-shadow-soft: 0 12px 38px rgba(13, 18, 24, .07);
}

html[data-theme="dark"] body.public-site-rebuild {
    --vd-bg: #07090b;
    --vd-surface: #0e1114;
    --vd-surface-soft: #15191d;
    --vd-surface-strong: #1d2227;
    --vd-text: #f7f8f9;
    --vd-soft: #d3d8dd;
    --vd-muted: #9ca5ae;
    --vd-border: #282e34;
    --vd-border-strong: #46505a;
    --vd-inverse: #090b0d;
    --vd-accent: #f5f6f7;
    --vd-accent-text: #090b0d;
    --vd-shadow: 0 30px 90px rgba(0, 0, 0, .40);
    --vd-shadow-soft: 0 15px 46px rgba(0, 0, 0, .24);
}

.ae-vehicle-page {
    position: relative;
    overflow: clip;
    background: var(--vd-bg);
    color: var(--vd-text);
}

.ae-vehicle-page *,
.ae-vehicle-page *::before,
.ae-vehicle-page *::after { box-sizing: border-box; }

.ae-vehicle-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 160;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.ae-vehicle-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

html[data-theme="light"] .ae-vehicle-progress span { background: #111315; }

.ae-vehicle-kicker,
.ae-vehicle-section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    color: var(--vd-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ae-vehicle-kicker::before,
.ae-vehicle-section-head__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    flex: none;
    border-radius: 999px;
    background: currentColor;
}

/* HERO -------------------------------------------------------------------- */
.ae-vehicle-hero {
    position: relative;
    min-height: clamp(690px, 82vh, 920px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #080a0c;
    color: #fff;
}

.ae-vehicle-hero__media,
.ae-vehicle-hero__media::after,
.ae-vehicle-hero__ambient {
    position: absolute;
    inset: 0;
}

.ae-vehicle-hero__media { z-index: -3; overflow: hidden; }
.ae-vehicle-hero__media img {
    width: 100%;
    height: calc(100% + 80px);
    object-fit: cover;
    object-position: center 54%;
    transform: translate3d(0, var(--vd-hero-shift, 0px), 0) scale(1.035);
    filter: saturate(.94) contrast(1.04);
    will-change: transform;
}

.ae-vehicle-hero__media::after {
    content: "";
    background: rgba(3, 5, 7, .58);
}

.ae-vehicle-hero__ambient {
    z-index: -2;
    background: rgba(5, 7, 9, .14);
    backdrop-filter: saturate(112%);
}

.ae-vehicle-hero__inner {
    width: 100%;
    padding-top: clamp(120px, 15vw, 190px);
    padding-bottom: clamp(62px, 7vw, 98px);
}

.ae-vehicle-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: clamp(72px, 9vw, 118px);
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    font-weight: 300;
}

.ae-vehicle-breadcrumb a { color: inherit; text-decoration: none; transition: color 180ms ease; }
.ae-vehicle-breadcrumb a:hover { color: #fff; }
.ae-vehicle-breadcrumb b { color: #fff; font-weight: 600; }

.ae-vehicle-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, .46fr);
    align-items: end;
    gap: clamp(44px, 7vw, 112px);
}

.ae-vehicle-hero__status {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
}

.ae-vehicle-hero__status span,
.ae-vehicle-hero__status b {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    background: rgba(7,9,11,.34);
    color: #fff;
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

.ae-vehicle-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #fff;
    font-size: clamp(54px, 7.1vw, 108px);
    font-weight: 600;
    letter-spacing: -.066em;
    line-height: .88;
}

.ae-vehicle-hero h1 span {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,.68);
    font-weight: 300;
}

.ae-vehicle-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 300;
}

.ae-vehicle-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ae-vehicle-hero__meta i {
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
}

.ae-vehicle-hero__commercial {
    align-self: end;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 24px;
    background: rgba(5, 7, 9, .52);
    box-shadow: 0 28px 80px rgba(0,0,0,.30);
    backdrop-filter: blur(22px);
}

.ae-vehicle-hero__commercial small {
    color: rgba(255,255,255,.62);
    font-size: 11px;
    font-weight: 300;
}

.ae-vehicle-hero__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1;
}

.ae-vehicle-hero__price em {
    color: rgba(255,255,255,.58);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .08em;
}

.ae-vehicle-hero__finance-note {
    margin: 10px 0 0;
    color: rgba(255,255,255,.60);
    font-size: 11px;
    line-height: 1.5;
}

.ae-vehicle-hero__cta {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 0 20px;
    border: 1px solid #fff;
    border-radius: 15px;
    background: #fff;
    color: #0a0c0e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}

.ae-vehicle-hero__cta:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.24); }

.ae-vehicle-hero__secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    margin-top: 9px;
}

.ae-vehicle-hero__secondary a,
.ae-vehicle-hero__secondary button {
    min-height: 46px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    background: rgba(5,7,9,.34);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.ae-vehicle-hero__secondary a:hover,
.ae-vehicle-hero__secondary button:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.44);
    background: rgba(255,255,255,.08);
}

/* NAV Y RESUMEN ----------------------------------------------------------- */
.ae-vehicle-nav {
    position: sticky;
    top: 114px;
    z-index: 70;
    border-bottom: 1px solid var(--vd-border);
    background: color-mix(in srgb, var(--vd-bg) 90%, transparent);
    backdrop-filter: blur(18px) saturate(115%);
}

.ae-vehicle-nav__inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ae-vehicle-nav__links { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ae-vehicle-nav__links::-webkit-scrollbar { display: none; }
.ae-vehicle-nav__links a {
    position: relative;
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: var(--vd-muted);
    text-decoration: none;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color 180ms ease;
}
.ae-vehicle-nav__links a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: var(--vd-text);
    transform: scaleX(0);
    transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.ae-vehicle-nav__links a:hover,
.ae-vehicle-nav__links a.is-active { color: var(--vd-text); }
.ae-vehicle-nav__links a.is-active::after { transform: scaleX(1); }

.ae-vehicle-nav__price { display: flex; align-items: center; gap: 16px; flex: none; }
.ae-vehicle-nav__price div { display: grid; gap: 2px; text-align: right; }
.ae-vehicle-nav__price small { color: var(--vd-muted); font-size: 9px; }
.ae-vehicle-nav__price strong { color: var(--vd-text); font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.ae-vehicle-nav__price a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 15px;
    border-radius: 11px;
    background: var(--vd-accent);
    color: var(--vd-accent-text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}

.ae-vehicle-facts {
    border-bottom: 1px solid var(--vd-border);
    background: var(--vd-surface);
}
.ae-vehicle-facts__grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.ae-vehicle-fact {
    min-height: 132px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 24px clamp(18px,2vw,30px);
    border-right: 1px solid var(--vd-border);
}
.ae-vehicle-fact:last-child { border-right: 0; }
.ae-vehicle-fact small { color: var(--vd-muted); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ae-vehicle-fact strong { color: var(--vd-text); font-size: clamp(17px,1.5vw,23px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; }
.ae-vehicle-fact span { color: var(--vd-muted); font-size: 11px; font-weight: 300; }

/* SECCIONES --------------------------------------------------------------- */
.ae-vehicle-section {
    padding: clamp(92px, 9vw, 142px) 0;
    border-bottom: 1px solid var(--vd-border);
    background: var(--vd-bg);
}
.ae-vehicle-section--soft { background: var(--vd-surface-soft); }
.ae-vehicle-section-head {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(300px,.55fr);
    align-items: end;
    gap: clamp(36px,5vw,78px);
    margin-bottom: clamp(42px,6vw,78px);
}
.ae-vehicle-section-head h2 {
    max-width: 900px;
    margin: 16px 0 0;
    color: var(--vd-text);
    font-size: clamp(44px,5.7vw,78px);
    font-weight: 600;
    letter-spacing: -.06em;
    line-height: .94;
}
.ae-vehicle-section-head > p {
    margin: 0 0 4px;
    color: var(--vd-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.72;
}

/* GALERÍA ----------------------------------------------------------------- */
.ae-vehicle-gallery {
    display: grid;
    grid-template-columns: minmax(0,1fr) 142px;
    gap: 14px;
}
.ae-vehicle-gallery__stage {
    position: relative;
    min-height: clamp(520px, 62vw, 820px);
    overflow: hidden;
    border: 1px solid var(--vd-border);
    border-radius: 30px;
    background: var(--vd-surface-strong);
    box-shadow: var(--vd-shadow);
    isolation: isolate;
}
.ae-vehicle-gallery__stage > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    transition: opacity 260ms ease, transform 620ms cubic-bezier(.2,.8,.2,1), filter 260ms ease;
}
.ae-vehicle-gallery__stage.is-loading > img { opacity: .36; transform: scale(1.015); filter: blur(4px); }
.ae-vehicle-gallery__stage.is-loaded > img { opacity: 1; transform: scale(1); filter: none; }
.ae-vehicle-gallery__stage:hover > img { transform: scale(1.018); }
.ae-vehicle-gallery__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--vd-muted);
    text-align: center;
}
.ae-vehicle-gallery__fallback[hidden] { display: none; }
.ae-vehicle-gallery__fallback span { font-size: 42px; font-weight: 600; }
.ae-vehicle-gallery__fallback strong { color: var(--vd-text); font-size: 20px; }
.ae-vehicle-gallery__fallback small { max-width: 440px; line-height: 1.5; }

.ae-vehicle-gallery__badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 999px;
    background: rgba(5,7,9,.52);
    color: #fff;
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 600;
}
.ae-vehicle-gallery__toolbar {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.ae-vehicle-gallery__toolbar-group {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    background: rgba(5,7,9,.48);
    backdrop-filter: blur(16px);
}
.ae-vehicle-gallery__toolbar button,
.ae-vehicle-gallery__counter {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 12px;
}
.ae-vehicle-gallery__toolbar button { cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.ae-vehicle-gallery__toolbar button:hover { background: rgba(255,255,255,.10); transform: translateY(-1px); }
.ae-vehicle-gallery__expand { padding: 0 13px !important; display: inline-flex !important; gap: 10px; width: auto; }

.ae-vehicle-gallery__thumbs {
    display: grid;
    grid-auto-rows: 112px;
    gap: 10px;
    max-height: clamp(520px,62vw,820px);
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}
.ae-vehicle-gallery__thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--vd-border);
    border-radius: 17px;
    background: var(--vd-surface-strong);
    cursor: pointer;
    opacity: .56;
    transition: opacity 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}
.ae-vehicle-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 380ms ease; }
.ae-vehicle-gallery__thumb:hover { opacity: .88; transform: translateX(-3px); }
.ae-vehicle-gallery__thumb:hover img { transform: scale(1.06); }
.ae-vehicle-gallery__thumb.is-active { opacity: 1; border-color: var(--vd-text); box-shadow: 0 0 0 2px color-mix(in srgb, var(--vd-text) 10%, transparent); }
.ae-vehicle-gallery__thumb::after {
    content: attr(data-gallery-number);
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(5,7,9,.58);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

/* FICHA TÉCNICA ----------------------------------------------------------- */
.ae-vehicle-specs {
    display: grid;
    grid-template-columns: 280px minmax(0,1fr);
    gap: clamp(28px,4vw,64px);
    align-items: start;
}
.ae-vehicle-specs__tabs {
    position: sticky;
    top: 210px;
    display: grid;
    gap: 8px;
}
.ae-vehicle-specs__tab {
    min-height: 68px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 0 16px;
    border: 1px solid var(--vd-border);
    border-radius: 15px;
    background: var(--vd-surface);
    color: var(--vd-muted);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}
.ae-vehicle-specs__tab > span:first-child {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--vd-border);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}
.ae-vehicle-specs__tab strong { font-size: 13px; font-weight: 600; }
.ae-vehicle-specs__tab i { font-style: normal; font-size: 14px; transition: transform 200ms ease; }
.ae-vehicle-specs__tab:hover { transform: translateX(4px); border-color: var(--vd-border-strong); color: var(--vd-text); }
.ae-vehicle-specs__tab.is-active { border-color: var(--vd-text); background: var(--vd-text); color: var(--vd-inverse); box-shadow: var(--vd-shadow-soft); }
.ae-vehicle-specs__tab.is-active > span:first-child { border-color: color-mix(in srgb, var(--vd-inverse) 26%, transparent); }
.ae-vehicle-specs__tab.is-active i { transform: translateX(3px); }

.ae-vehicle-specs__panels {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--vd-border);
    border-radius: 28px;
    background: var(--vd-surface);
    box-shadow: var(--vd-shadow-soft);
}
.ae-vehicle-specs__panel {
    display: none;
    padding: clamp(28px,4vw,54px);
}
.ae-vehicle-specs__panel.is-active { display: block; animation: ae-vd-panel-in 420ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes ae-vd-panel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.ae-vehicle-specs__panel header { max-width: 640px; margin-bottom: 36px; }
.ae-vehicle-specs__panel header small { color: var(--vd-muted); font-size: 11px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase; }
.ae-vehicle-specs__panel header h3 { margin: 10px 0 0; color: var(--vd-text); font-size: clamp(30px,3vw,46px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.ae-vehicle-specs__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--vd-border); }
.ae-vehicle-spec {
    min-height: 122px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--vd-border);
}
.ae-vehicle-spec:nth-child(odd) { padding-right: 26px; border-right: 1px solid var(--vd-border); }
.ae-vehicle-spec:nth-child(even) { padding-left: 26px; }
.ae-vehicle-spec small { color: var(--vd-muted); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ae-vehicle-spec strong { color: var(--vd-text); font-size: clamp(18px,1.8vw,25px); font-weight: 600; letter-spacing: -.03em; line-height: 1.18; }
.ae-vehicle-spec span { color: var(--vd-muted); font-size: 11px; font-weight: 300; }

.ae-vehicle-equipment { margin-top: clamp(46px,6vw,82px); }
.ae-vehicle-equipment__head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 24px; }
.ae-vehicle-equipment__head h3 { margin: 0; color: var(--vd-text); font-size: clamp(28px,3.3vw,46px); font-weight: 600; letter-spacing: -.045em; }
.ae-vehicle-equipment__head p { max-width: 470px; margin: 0; color: var(--vd-muted); font-size: 13px; line-height: 1.6; }
.ae-vehicle-equipment__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ae-vehicle-equipment__item {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid var(--vd-border);
    border-radius: 14px;
    background: var(--vd-surface);
    color: var(--vd-soft);
    font-size: 12px;
    font-weight: 300;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease, background 180ms ease;
}
.ae-vehicle-equipment__item::before {
    content: "✓";
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 50%;
    background: var(--vd-text);
    color: var(--vd-inverse);
    font-size: 10px;
    font-weight: 600;
}
.ae-vehicle-equipment__item:hover { transform: translateY(-3px); border-color: var(--vd-border-strong); background: var(--vd-surface-soft); }
.ae-vehicle-equipment__empty { padding: 28px; border: 1px dashed var(--vd-border-strong); border-radius: 18px; color: var(--vd-muted); }

/* FINANCIAMIENTO ---------------------------------------------------------- */
.ae-vehicle-finance__heading {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}
.ae-vehicle-finance__heading h3 { max-width: 840px; margin: 12px 0 0; color: var(--vd-text); font-size: clamp(36px,4.5vw,64px); font-weight: 600; letter-spacing: -.055em; line-height: .96; }
.ae-vehicle-finance__heading p { max-width: 700px; margin: 16px 0 0; color: var(--vd-muted); font-size: 13px; line-height: 1.7; }
.ae-vehicle-finance__status {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid var(--vd-border);
    border-radius: 999px;
    background: var(--vd-surface);
    color: var(--vd-soft);
    font-size: 11px;
    font-weight: 600;
}
.ae-vehicle-finance__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--vd-text); }
.ae-vehicle-finance__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ae-vehicle-finance-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--vd-border);
    border-radius: 22px;
    background: var(--vd-surface);
    box-shadow: var(--vd-shadow-soft);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease, box-shadow 260ms ease;
}
.ae-vehicle-finance-card:hover { transform: translateY(-7px); border-color: var(--vd-border-strong); box-shadow: var(--vd-shadow); }
.ae-vehicle-finance-card__brand { display: grid; grid-template-columns: 62px minmax(0,1fr); align-items: center; gap: 14px; }
.ae-vehicle-finance-card__logo { width: 62px; height: 52px; display: grid; place-items: center; padding: 9px; border: 1px solid #e7e9eb; border-radius: 12px; background: #fff; color: #111; }
.ae-vehicle-finance-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ae-vehicle-finance-card__brand small { color: var(--vd-muted); font-size: 9px; }
.ae-vehicle-finance-card__brand strong { display: block; margin-top: 3px; color: var(--vd-text); font-size: 15px; font-weight: 600; }
.ae-vehicle-finance-card__product { margin: 24px 0 0; color: var(--vd-muted); font-size: 12px; line-height: 1.5; }
.ae-vehicle-finance-card__monthly { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 20px; color: var(--vd-text); font-size: clamp(32px,3vw,44px); font-weight: 600; letter-spacing: -.055em; }
.ae-vehicle-finance-card__monthly small { color: var(--vd-muted); font-size: 11px; font-weight: 300; letter-spacing: 0; }
.ae-vehicle-finance-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: auto 0 0; overflow: hidden; border: 1px solid var(--vd-border); border-radius: 14px; }
.ae-vehicle-finance-card dl div { display: grid; gap: 5px; padding: 13px; border-right: 1px solid var(--vd-border); border-bottom: 1px solid var(--vd-border); }
.ae-vehicle-finance-card dl div:nth-child(2n) { border-right: 0; }
.ae-vehicle-finance-card dl div:nth-last-child(-n + 2) { border-bottom: 0; }
.ae-vehicle-finance-card dt { color: var(--vd-muted); font-size: 9px; }
.ae-vehicle-finance-card dd { margin: 0; color: var(--vd-text); font-size: 13px; font-weight: 600; }
.ae-vehicle-finance-card__note { margin-top: 13px; color: var(--vd-muted); font-size: 9px; }
.ae-vehicle-finance__inline { margin-top: 24px; }
.ae-vehicle-finance__legal { max-width: 920px; margin: 22px 0 0; color: var(--vd-muted); font-size: 10px; line-height: 1.6; }
.ae-vehicle-finance__fallback {
    display: grid;
    grid-template-columns: 60px minmax(0,1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--vd-border);
    border-radius: 20px;
    background: var(--vd-surface);
}
.ae-vehicle-finance__fallback > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 17px; background: var(--vd-text); color: var(--vd-inverse); font-size: 18px; font-weight: 600; }
.ae-vehicle-finance__fallback strong { color: var(--vd-text); font-size: 17px; }
.ae-vehicle-finance__fallback p { margin: 5px 0 0; color: var(--vd-muted); font-size: 12px; line-height: 1.5; }
.ae-vehicle-finance__fallback a { color: var(--vd-text); font-size: 12px; font-weight: 600; text-decoration: none; }

/* SUCURSAL Y ASESOR ------------------------------------------------------- */
.ae-vehicle-place-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.58fr); gap: 16px; }
.ae-vehicle-branch,
.ae-vehicle-advisor {
    overflow: hidden;
    border: 1px solid var(--vd-border);
    border-radius: 26px;
    background: var(--vd-surface);
    box-shadow: var(--vd-shadow-soft);
}
.ae-vehicle-branch { display: grid; grid-template-rows: minmax(300px, 1fr) auto; }
.ae-vehicle-branch__media { position: relative; min-height: 320px; overflow: hidden; background: var(--vd-surface-strong); }
.ae-vehicle-branch__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--branch-cover-x,50%) var(--branch-cover-y,50%); transform: scale(var(--branch-cover-zoom,1)); transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.ae-vehicle-branch:hover .ae-vehicle-branch__media img { transform: scale(calc(var(--branch-cover-zoom,1) + .035)); }
.ae-vehicle-branch__media span { width: 100%; height: 100%; display: grid; place-items: center; color: var(--vd-muted); font-size: 52px; font-weight: 600; }
.ae-vehicle-branch__copy { padding: 28px; }
.ae-vehicle-branch__copy h3,
.ae-vehicle-advisor__copy h3 { margin: 10px 0 0; color: var(--vd-text); font-size: clamp(28px,3vw,44px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.ae-vehicle-branch__copy > p { margin: 12px 0 0; color: var(--vd-muted); font-size: 12px; line-height: 1.55; }
.ae-vehicle-branch__sync { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px !important; }
.ae-vehicle-branch__sync span { font-size: 8px; color: var(--vd-text); }
.ae-vehicle-branch__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ae-vehicle-branch__links a,
.ae-vehicle-advisor__actions a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--vd-border); border-radius: 11px; color: var(--vd-text); text-decoration: none; font-size: 10px; font-weight: 600; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.ae-vehicle-branch__links a:hover,
.ae-vehicle-advisor__actions a:hover { transform: translateY(-2px); border-color: var(--vd-border-strong); background: var(--vd-surface-soft); }

.ae-vehicle-advisor { display: flex; flex-direction: column; }
.ae-vehicle-advisor__portrait { min-height: 340px; display: grid; place-items: center; overflow: hidden; background: var(--vd-surface-strong); }
.ae-vehicle-advisor__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.ae-vehicle-advisor:hover .ae-vehicle-advisor__portrait img { transform: scale(1.035); }
.ae-vehicle-advisor__portrait span { font-size: 52px; font-weight: 600; color: var(--vd-muted); }
.ae-vehicle-advisor__copy { padding: 26px 26px 0; }
.ae-vehicle-advisor__copy p { margin: 11px 0 0; color: var(--vd-muted); font-size: 12px; }
.ae-vehicle-advisor__copy small { display: block; margin-top: 9px; color: var(--vd-muted); font-size: 10px; line-height: 1.5; }
.ae-vehicle-advisor__actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; padding: 22px 26px 26px; }
.ae-vehicle-advisor__actions a { justify-content: space-between; min-height: 48px; }
.ae-vehicle-advisor__actions .is-primary { border-color: var(--vd-text); background: var(--vd-text); color: var(--vd-inverse); }

/* CONTACTO ---------------------------------------------------------------- */
.ae-vehicle-contact {
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(430px,1fr);
    gap: clamp(40px,7vw,110px);
    align-items: start;
}
.ae-vehicle-contact__intro { position: sticky; top: 210px; }
.ae-vehicle-contact__intro h2 { max-width: 620px; margin: 15px 0 0; color: var(--vd-text); font-size: clamp(42px,5vw,70px); font-weight: 600; letter-spacing: -.06em; line-height: .94; }
.ae-vehicle-contact__intro > p:last-child { max-width: 560px; margin: 22px 0 0; color: var(--vd-muted); font-size: 14px; line-height: 1.72; }
.ae-vehicle-contact__form {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    padding: clamp(26px,3.5vw,46px);
    border: 1px solid var(--vd-border);
    border-radius: 28px;
    background: var(--vd-surface);
    box-shadow: var(--vd-shadow);
}
.ae-vehicle-contact__form label { display: grid; gap: 8px; color: var(--vd-soft); font-size: 11px; font-weight: 600; }
.ae-vehicle-contact__form label small { color: var(--vd-muted); font-weight: 300; }
.ae-vehicle-contact__form select,
.ae-vehicle-contact__form input,
.ae-vehicle-contact__form textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--vd-border);
    border-radius: 13px;
    outline: 0;
    background: var(--vd-surface-soft);
    color: var(--vd-text);
    font: inherit;
    font-size: 13px;
    font-weight: 300;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.ae-vehicle-contact__form select,
.ae-vehicle-contact__form input { padding: 0 14px; }
.ae-vehicle-contact__form textarea { min-height: 126px; padding: 13px 14px; resize: vertical; }
.ae-vehicle-contact__form select:focus,
.ae-vehicle-contact__form input:focus,
.ae-vehicle-contact__form textarea:focus { border-color: var(--vd-text); background: var(--vd-surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vd-text) 8%, transparent); }
.ae-vehicle-contact__message { grid-column: 1 / -1; }
.ae-vehicle-contact__consent { grid-column: 1 / -1; grid-template-columns: 18px minmax(0,1fr) !important; align-items: start; gap: 9px !important; font-weight: 300 !important; line-height: 1.5; }
.ae-vehicle-contact__consent input { width: 16px; height: 16px; min-height: 16px; margin: 1px 0 0; accent-color: var(--vd-text); }
.ae-vehicle-contact__form button[type="submit"] {
    grid-column: 1 / -1;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: var(--vd-text);
    color: var(--vd-inverse);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, opacity 180ms ease;
}
.ae-vehicle-contact__form button[type="submit"]:hover { transform: translateY(-3px); box-shadow: var(--vd-shadow-soft); }
.ae-vehicle-contact__form button[type="submit"]:disabled { opacity: .6; cursor: wait; transform: none; }
.ae-vehicle-contact__status { grid-column: 1 / -1; min-height: 18px; margin: 0; color: var(--vd-muted); font-size: 11px; line-height: 1.5; }

/* RELATED ----------------------------------------------------------------- */
.ae-vehicle-related { padding: clamp(82px,8vw,120px) 0; background: var(--vd-bg); color: var(--vd-text); }
.ae-vehicle-related__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.ae-vehicle-related__head h2 { margin: 10px 0 0; color: var(--vd-text); font-size: clamp(38px,4.5vw,62px); font-weight: 600; letter-spacing: -.055em; line-height: .96; }
.ae-vehicle-related__head a { color: var(--vd-text); text-decoration: none; font-size: 12px; font-weight: 600; }

/* MOBILE CTA -------------------------------------------------------------- */
.ae-vehicle-mobile-cta { display: none; }

/* LIGHTBOX: se conserva la accesibilidad de la galería existente. */
.vehicle-gallery-lightbox { position: fixed; inset: 0; z-index: 220; }
.vehicle-gallery-lightbox[hidden] { display: none; }
.vehicle-gallery-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(16px); }
.vehicle-gallery-lightbox__dialog { position: absolute; inset: 20px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: #090b0d; color: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.vehicle-gallery-lightbox__header,
.vehicle-gallery-lightbox__footer { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; border-color: rgba(255,255,255,.12); }
.vehicle-gallery-lightbox__header { border-bottom: 1px solid rgba(255,255,255,.12); }
.vehicle-gallery-lightbox__footer { border-top: 1px solid rgba(255,255,255,.12); }
.vehicle-gallery-lightbox__title { display: grid; gap: 3px; }
.vehicle-gallery-lightbox__title small { color: rgba(255,255,255,.55); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.vehicle-gallery-lightbox__title strong { font-size: 14px; }
.vehicle-gallery-lightbox__header button,
.vehicle-gallery-lightbox__navigation button { min-height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; font: inherit; }
.vehicle-gallery-lightbox__header button { width: 42px; font-size: 22px; }
.vehicle-gallery-lightbox__navigation { display: flex; gap: 7px; }
.vehicle-gallery-lightbox__navigation button { padding: 0 13px; font-size: 11px; }
.vehicle-gallery-lightbox__viewport { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.vehicle-gallery-lightbox__viewport img { width: 100%; height: 100%; object-fit: contain; }
.vehicle-gallery-lightbox__fallback { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; color: rgba(255,255,255,.65); }
.vehicle-gallery-lightbox__fallback[hidden] { display: none; }
.vehicle-gallery-lightbox__counter { color: rgba(255,255,255,.68); font-size: 11px; }
body.has-vehicle-gallery-lightbox { overflow: hidden; }

/* REVEAL / MOTION --------------------------------------------------------- */
[data-vd-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms cubic-bezier(.2,.8,.2,1), transform 620ms cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--vd-delay, 0ms);
}
[data-vd-reveal].is-visible { opacity: 1; transform: translateY(0); }

.ae-vehicle-page a:focus-visible,
.ae-vehicle-page button:focus-visible,
.ae-vehicle-page input:focus-visible,
.ae-vehicle-page select:focus-visible,
.ae-vehicle-page textarea:focus-visible {
    outline: 2px solid var(--vd-text);
    outline-offset: 3px;
}

/* RESPONSIVE -------------------------------------------------------------- */
@media (max-width: 1180px) {
    .ae-vehicle-hero__grid { grid-template-columns: minmax(0,1fr) 330px; }
    .ae-vehicle-facts__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ae-vehicle-fact:nth-child(3) { border-right: 0; }
    .ae-vehicle-fact:nth-child(n+4) { border-top: 1px solid var(--vd-border); }
    .ae-vehicle-finance__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ae-vehicle-equipment__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 960px) {
    .ae-vehicle-nav { top: 86px; }
    .ae-vehicle-nav__price { display: none; }
    .ae-vehicle-hero { min-height: 760px; }
    .ae-vehicle-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .ae-vehicle-hero__commercial { max-width: 520px; }
    .ae-vehicle-breadcrumb { margin-bottom: 52px; }
    .ae-vehicle-section-head { grid-template-columns: 1fr; }
    .ae-vehicle-section-head > p { max-width: 680px; }
    .ae-vehicle-gallery { grid-template-columns: 1fr; }
    .ae-vehicle-gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 120px; grid-auto-rows: 92px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 2px 0 8px; }
    .ae-vehicle-gallery__thumb:hover { transform: translateY(-2px); }
    .ae-vehicle-specs { grid-template-columns: 1fr; }
    .ae-vehicle-specs__tabs { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ae-vehicle-specs__tab { grid-template-columns: 30px minmax(0,1fr); }
    .ae-vehicle-specs__tab i { display: none; }
    .ae-vehicle-place-grid { grid-template-columns: 1fr; }
    .ae-vehicle-advisor { display: grid; grid-template-columns: minmax(300px,.7fr) minmax(0,1fr); grid-template-rows: auto auto; }
    .ae-vehicle-advisor__portrait { grid-row: 1 / 3; min-height: 100%; }
    .ae-vehicle-contact { grid-template-columns: 1fr; }
    .ae-vehicle-contact__intro { position: static; }
}

@media (max-width: 720px) {
    .ae-vehicle-progress { top: 0; }
    .ae-vehicle-hero { min-height: 700px; }
    .ae-vehicle-hero__inner { padding-top: 92px; padding-bottom: 40px; }
    .ae-vehicle-breadcrumb { margin-bottom: 40px; font-size: 10px; }
    .ae-vehicle-hero h1 { font-size: clamp(44px,13vw,66px); }
    .ae-vehicle-hero__meta { font-size: 12px; }
    .ae-vehicle-hero__commercial { padding: 20px; border-radius: 20px; }
    .ae-vehicle-hero__price { font-size: 38px; }
    .ae-vehicle-nav { top: 72px; }
    .ae-vehicle-nav__inner { min-height: 58px; }
    .ae-vehicle-nav__links a { min-height: 58px; padding: 0 10px; font-size: 9px; }
    .ae-vehicle-nav__links a::after { left: 10px; right: 10px; }
    .ae-vehicle-facts__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ae-vehicle-fact { min-height: 108px; padding: 18px; border-top: 1px solid var(--vd-border); }
    .ae-vehicle-fact:nth-child(1), .ae-vehicle-fact:nth-child(2) { border-top: 0; }
    .ae-vehicle-fact:nth-child(2n) { border-right: 0; }
    .ae-vehicle-fact:nth-child(3) { border-right: 1px solid var(--vd-border); }
    .ae-vehicle-fact:last-child { grid-column: 1 / -1; border-right: 0; }
    .ae-vehicle-section { padding: 76px 0; }
    .ae-vehicle-section-head h2 { font-size: clamp(38px,11vw,56px); }
    .ae-vehicle-gallery__stage { min-height: 440px; border-radius: 20px; }
    .ae-vehicle-gallery__toolbar { right: 12px; bottom: 12px; left: 12px; }
    .ae-vehicle-gallery__badge { top: 12px; left: 12px; }
    .ae-vehicle-specs__tabs { grid-template-columns: 1fr; }
    .ae-vehicle-specs__tab { min-height: 58px; }
    .ae-vehicle-specs__panels { min-height: auto; border-radius: 20px; }
    .ae-vehicle-specs__panel { padding: 24px 20px; }
    .ae-vehicle-specs__grid { grid-template-columns: 1fr; }
    .ae-vehicle-spec:nth-child(odd), .ae-vehicle-spec:nth-child(even) { padding: 19px 0; border-right: 0; }
    .ae-vehicle-equipment__head { align-items: start; flex-direction: column; }
    .ae-vehicle-equipment__grid { grid-template-columns: 1fr; }
    .ae-vehicle-finance__heading { grid-template-columns: 1fr; align-items: start; }
    .ae-vehicle-finance__grid { grid-template-columns: 1fr; }
    .ae-vehicle-finance__fallback { grid-template-columns: 50px minmax(0,1fr); }
    .ae-vehicle-finance__fallback > span { width: 50px; height: 50px; }
    .ae-vehicle-finance__fallback a { grid-column: 1 / -1; }
    .ae-vehicle-advisor { display: flex; }
    .ae-vehicle-advisor__portrait { min-height: 360px; }
    .ae-vehicle-contact__form { grid-template-columns: 1fr; padding: 22px 18px; }
    .ae-vehicle-contact__form label,
    .ae-vehicle-contact__message,
    .ae-vehicle-contact__consent,
    .ae-vehicle-contact__form button[type="submit"],
    .ae-vehicle-contact__status { grid-column: 1; }
    .ae-vehicle-related__head { align-items: start; flex-direction: column; }
    .ae-vehicle-mobile-cta {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 120;
        min-height: 66px;
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        align-items: center;
        gap: 14px;
        padding: 9px 9px 9px 16px;
        border: 1px solid var(--vd-border);
        border-radius: 18px;
        background: color-mix(in srgb, var(--vd-surface) 92%, transparent);
        box-shadow: var(--vd-shadow);
        backdrop-filter: blur(18px);
    }
    .ae-vehicle-mobile-cta div { display: grid; gap: 2px; }
    .ae-vehicle-mobile-cta small { color: var(--vd-muted); font-size: 8px; }
    .ae-vehicle-mobile-cta strong { color: var(--vd-text); font-size: 16px; font-weight: 600; }
    .ae-vehicle-mobile-cta a { min-height: 48px; display: inline-flex; align-items: center; gap: 14px; padding: 0 15px; border-radius: 13px; background: var(--vd-text); color: var(--vd-inverse); text-decoration: none; font-size: 11px; font-weight: 600; }
    .vehicle-gallery-lightbox__dialog { inset: 8px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    [data-vd-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .ae-vehicle-hero__media img,
    .ae-vehicle-gallery__stage > img,
    .ae-vehicle-gallery__thumb,
    .ae-vehicle-gallery__thumb img,
    .ae-vehicle-specs__tab,
    .ae-vehicle-finance-card,
    .ae-vehicle-equipment__item,
    .ae-vehicle-branch__media img,
    .ae-vehicle-advisor__portrait img { transition: none !important; }
    .ae-vehicle-specs__panel.is-active { animation: none !important; }
}

@media print {
    .ae-public-nav,
    .ae-vehicle-nav,
    .ae-vehicle-mobile-cta,
    .ae-vehicle-progress,
    .ae-vehicle-hero__secondary,
    .ae-vehicle-hero__cta,
    .ae-vehicle-contact,
    .site-footer { display: none !important; }
    .ae-vehicle-hero { min-height: 420px; }
    .ae-vehicle-section { padding: 34px 0; break-inside: avoid; }
    [data-vd-reveal] { opacity: 1 !important; transform: none !important; }
}