/* AfinaHome — Home v2
   Identidad: violeta de la marca, ámbar de faro como acento, verde para confirmar.
   Todo vive bajo .ahv2 para no chocar con Divi ni con el resto del plugin. */

/* ---------- Tokens ---------- */
.ahv2 {
    --f-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --f-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --bg: #0a0118;
    --bg-2: #110629;
    --surface: #170b33;
    --surface-2: #21114d;
    --line: rgba(255, 255, 255, .11);
    --line-2: rgba(255, 255, 255, .22);
    --text: #f6f1ff;
    --muted: #b6aad2;
    --violet: #a878ff;
    --violet-2: #7c3aed;
    --amber: #ffc95e;
    --green: #2be3a5;
    --danger: #ff8a98;
    --shadow-card: 0 40px 80px -30px rgba(0, 0, 0, .7);

    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;

    /* Ocupa todo el ancho aunque el tema (Divi) lo meta en una columna */
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow-x: clip;
    box-sizing: border-box;
}

html.ah-light-mode .ahv2,
body.ah-light-mode .ahv2 {
    --bg: #f7f4fd;
    --bg-2: #eee7fb;
    --surface: #ffffff;
    --surface-2: #f3edfd;
    --line: rgba(28, 16, 64, .12);
    --line-2: rgba(28, 16, 64, .24);
    --text: #1b0f38;
    --muted: #5f5677;
    --violet: #6d28d9;
    --violet-2: #6d28d9;
    --amber: #b45309;
    --green: #0b8a5f;
    --danger: #c62839;
    --shadow-card: 0 40px 80px -34px rgba(60, 30, 130, .35);
}

.ahv2 *, .ahv2 *::before, .ahv2 *::after { box-sizing: border-box; }
.ahv2 h1, .ahv2 h2, .ahv2 h3, .ahv2 h4, .ahv2 p, .ahv2 ul, .ahv2 ol, .ahv2 li, .ahv2 dl, .ahv2 dd, .ahv2 figure {
    margin: 0; padding: 0; font-family: inherit; text-transform: none; letter-spacing: normal;
}
.ahv2 ul, .ahv2 ol { list-style: none; }
.ahv2 a { color: inherit; text-decoration: none; }
.ahv2 img { display: block; max-width: 100%; height: auto; }
.ahv2 button {
    -webkit-appearance: none; appearance: none;
    font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
    text-transform: none; letter-spacing: inherit; line-height: inherit; border-radius: 0;
    cursor: pointer; text-align: inherit;
}
.ahv2 button:disabled { cursor: not-allowed; }
.ahv2 :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 10px; }

.ahv2-ico { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.ahv2-ico svg { width: 100%; height: 100%; }
.ahv2-art { display: block; }
.ahv2-art svg { display: block; width: 100%; height: auto; }

.ahv2-page #ah-theme-toggle { display: none !important; }

.ahv2-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

.ahv2 .ahv2-h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    color: var(--text);
    max-width: 24ch;
}
.ahv2 .ahv2-mark { color: var(--amber); font-style: normal; }

/* ---------- Botones ---------- */
.ahv2 .ahv2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    border-radius: 14px;
    font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, opacity .18s ease;
}
.ahv2 .ahv2-btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.ahv2 .ahv2-btn-primary {
    background: linear-gradient(180deg, #ffe3a0, #ffbd4a);
    color: #2a1160;
    box-shadow: 0 10px 28px -10px rgba(255, 189, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.ahv2 .ahv2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(255, 189, 74, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.ahv2 .ahv2-btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: transparent; }
.ahv2 .ahv2-btn-ghost:hover { background: var(--surface-2); }
.ahv2 .ahv2-btn-go {
    width: 100%;
    background: linear-gradient(180deg, #4df0b8, #1fc98f);
    color: #03150e;
    box-shadow: 0 12px 30px -12px rgba(43, 227, 165, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.ahv2 .ahv2-btn-go:hover:not(:disabled) { transform: translateY(-2px); }
.ahv2 .ahv2-btn-go:disabled { opacity: .42; box-shadow: none; }

.ahv2 .ahv2-pill-btn, .ahv2 .ahv2-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; border-radius: 999px;
    color: #f6f1ff; font-weight: 700; font-size: .9rem;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background-color .18s ease;
}
.ahv2 .ahv2-pill-btn { padding: 0 16px; }
.ahv2 .ahv2-icon-btn { width: 42px; }
.ahv2 .ahv2-pill-btn:hover, .ahv2 .ahv2-icon-btn:hover { background: rgba(255, 255, 255, .18); }

/* ---------- Hero (siempre oscuro: es el escenario) ---------- */
.ahv2-hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: #f6f1ff;
    background:
        radial-gradient(1100px 620px at 80% 34%, rgba(138, 75, 255, .38), transparent 62%),
        radial-gradient(800px 480px at 0% 0%, rgba(240, 98, 180, .16), transparent 60%),
        #0a0118;
    padding: clamp(22px, 3vw, 40px) clamp(18px, 4vw, 56px) 150px;
}
.ahv2-hero-bar { display: flex; justify-content: flex-end; gap: 10px; max-width: 1240px; margin: 0 auto 8px; }
.ahv2-hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 64px); align-items: center;
    max-width: 1240px; margin: 0 auto;
}
.ahv2 .ahv2-title {
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(2.35rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.038em;
    color: #fff; margin-bottom: 22px;
}
.ahv2-hero .ahv2-mark { color: #ffd98a; }
.ahv2 .ahv2-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6;
    color: rgba(246, 241, 255, .8); max-width: 34rem; margin-bottom: 30px;
}
.ahv2-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.ahv2-hero .ahv2-btn-ghost { color: #f6f1ff; border-color: rgba(255, 255, 255, .3); }
.ahv2-hero .ahv2-btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.ahv2-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; max-width: 34rem; }
.ahv2-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.4; color: rgba(246, 241, 255, .82); }
.ahv2-facts .ahv2-ico { color: #ffd98a; margin-top: 1px; }

.ahv2-hero-visual { position: relative; min-width: 0; }
.ahv2-scene-wrap { position: relative; }
.ahv2 .ahv2-scene { width: 100%; height: auto; overflow: visible; }
.ahv2-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .14); }
.ahv2-photo img { width: 100%; height: 100%; object-fit: cover; }

.ahv2-float {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 11px 16px 11px 13px; border-radius: 16px;
    background: rgba(18, 8, 44, .72); border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #f6f1ff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.ahv2-float strong { display: block; font-family: var(--f-display); font-size: .86rem; font-weight: 700; line-height: 1.25; }
.ahv2-float small { display: block; font-size: .78rem; color: rgba(246, 241, 255, .7); line-height: 1.3; }
.ahv2-float .ahv2-ico { color: #ffd98a; width: 1.5em; height: 1.5em; }
.ahv2-float-a { left: 0; top: 4%; }
.ahv2-float-b { right: 0; bottom: -2%; }
.ahv2-live-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(43, 227, 165, .6); animation: ahv2-live 2.2s ease-out 3; flex: none; }
@keyframes ahv2-live { 0% { box-shadow: 0 0 0 0 rgba(43, 227, 165, .55); } 100% { box-shadow: 0 0 0 12px rgba(43, 227, 165, 0); } }

/* La escena: el auto llega, se encienden los faros y cae el pin. Ocurre una vez. */
.ahv2-car { animation: ahv2-drive 1.5s cubic-bezier(.16, .84, .3, 1) both; }
@keyframes ahv2-drive { from { transform: translateX(-118%); } to { transform: translateX(0); } }
.ahv2-wheel { transform-box: fill-box; transform-origin: center; animation: ahv2-spin 1.5s cubic-bezier(.16, .84, .3, 1) both; }
@keyframes ahv2-spin { from { transform: rotate(-900deg); } to { transform: rotate(0); } }
.ahv2-dash { animation: ahv2-road 1.5s cubic-bezier(.16, .84, .3, 1) both; }
@keyframes ahv2-road { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 460; } }
.ahv2-beam { opacity: 0; animation: ahv2-lights .7s 1.25s ease-out forwards; }
@keyframes ahv2-lights { to { opacity: 1; } }
.ahv2-pin { animation: ahv2-drop .7s 1.4s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes ahv2-drop { from { transform: translateY(-34px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ahv2-ripple { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ahv2-ripple 2.6s 2.1s ease-out 3; }
.ahv2-ripple-2 { animation-delay: 3s; }
@keyframes ahv2-ripple { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Cotizador ---------- */
.ahv2-quote { position: relative; z-index: 2; margin-top: -100px; padding: 0 clamp(14px, 3vw, 40px) 8px; scroll-margin-top: 12px; }
.ahv2-quote-card {
    max-width: 1180px; margin: 0 auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: 30px;
    padding: clamp(20px, 3.2vw, 40px);
    box-shadow: var(--shadow-card);
}
.ahv2-quote-head h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.025em; line-height: 1.15; color: var(--text); }
.ahv2-quote-head p { color: var(--muted); margin-top: 6px; max-width: 46ch; }

.ahv2-svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 22px; }
.ahv2 .ahv2-svc {
    display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px;
    background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 22px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ahv2 .ahv2-svc:hover { border-color: var(--line-2); }
.ahv2 .ahv2-svc.is-active { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(168, 120, 255, .18); }
.ahv2-svc-art {
    position: relative; flex: none; width: 66px; height: 66px; border-radius: 20px; overflow: hidden;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, #9d63ff, #4a1fb0);
}
.ahv2-svc-art-lavado { background: linear-gradient(145deg, #35c6f4, #5a3ff0); }
.ahv2-svc-art .ahv2-ico { width: 30px; height: 30px; position: relative; z-index: 1; }
.ahv2-spark { position: absolute; right: 8px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #ffe3a0; box-shadow: 0 0 12px 3px rgba(255, 227, 160, .8); }
.ahv2-bubbles b { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); }
.ahv2-bubbles b:nth-child(1) { width: 12px; height: 12px; left: 9px; bottom: 9px; }
.ahv2-bubbles b:nth-child(2) { width: 8px; height: 8px; right: 10px; top: 11px; }
.ahv2-bubbles b:nth-child(3) { width: 6px; height: 6px; right: 14px; bottom: 12px; }
.ahv2-svc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ahv2-svc-txt strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.ahv2-svc-txt small { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.ahv2-svc-txt em { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--green); margin-top: 3px; }

.ahv2-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; margin-top: 26px; }

.ahv2 .ahv2-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; margin-bottom: 22px; }
.ahv2-step button {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px 9px 9px;
    border: 1px solid var(--line); border-radius: 14px; background: transparent;
    transition: border-color .18s ease, background-color .18s ease;
}
.ahv2-step.is-done button { cursor: pointer; }
.ahv2-step.is-done button:hover { background: var(--surface-2); border-color: var(--line-2); }
.ahv2-step.is-current button { border-color: var(--violet); background: rgba(168, 120, 255, .1); }
.ahv2-step-num {
    display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
    font-family: var(--f-display); font-weight: 700; font-size: .8rem;
    background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-2);
}
.ahv2-step-num .ahv2-ico { width: 14px; height: 14px; }
.ahv2-step.is-current .ahv2-step-num { background: var(--violet-2); color: #fff; border-color: var(--violet); }
.ahv2-step.is-done .ahv2-step-num { background: var(--green); color: #03150e; border-color: var(--green); }
.ahv2-step-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ahv2-step-txt small { font-size: .7rem; color: var(--muted); }
.ahv2-step-txt strong { font-size: .86rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ahv2-step-body { animation: ahv2-swap .28s ease-out; }
@keyframes ahv2-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ahv2 .ahv2-q { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; color: var(--text); margin-bottom: 14px; }
.ahv2-hint { color: var(--muted); }

.ahv2-grid { display: grid; gap: 10px; }
.ahv2-grid-makes { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ahv2-grid-chips { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.ahv2-grid-years { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.ahv2-grid-vtypes { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ahv2 .ahv2-tile {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
    font-weight: 700; color: var(--text);
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.ahv2 .ahv2-tile:hover { border-color: var(--violet); transform: translateY(-2px); }
.ahv2-mono {
    display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px;
    font-family: var(--f-display); font-weight: 800; color: #fff;
    background: linear-gradient(145deg, hsl(var(--hue) 80% 62%), hsl(calc(var(--hue) + 24) 70% 40%));
}
.ahv2 .ahv2-chip {
    padding: 11px 14px; border-radius: 12px; text-align: center; font-weight: 700; color: var(--text);
    background: var(--surface-2); border: 1px solid var(--line);
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.ahv2 .ahv2-chip:hover { border-color: var(--violet); transform: translateY(-2px); }
.ahv2 .ahv2-chip.is-active { background: var(--violet-2); border-color: var(--violet); color: #fff; }

.ahv2 .ahv2-vtype {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 14px;
    background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 20px; text-align: center; color: var(--text);
    transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.ahv2 .ahv2-vtype .ahv2-art { width: 100%; color: var(--violet); }
.ahv2 .ahv2-vtype strong { font-family: var(--f-display); font-size: .9rem; line-height: 1.2; }
.ahv2 .ahv2-vtype small { color: var(--muted); font-size: .78rem; margin-top: -4px; }
.ahv2 .ahv2-vtype:hover { border-color: var(--violet); transform: translateY(-2px); }
.ahv2 .ahv2-vtype.is-active { border-color: var(--violet); background: rgba(168, 120, 255, .14); }

.ahv2-pkgs { display: grid; gap: 12px; }
.ahv2 .ahv2-pkg {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
    padding: 16px 52px 16px 16px; width: 100%;
    background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 20px;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.ahv2 .ahv2-pkg:not(.ahv2-skel):hover { border-color: var(--line-2); transform: translateY(-2px); }
.ahv2 .ahv2-pkg.is-active { border-color: var(--green); background: rgba(43, 227, 165, .08); }
.ahv2-pkg-img { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.ahv2-pkg-img img { width: 100%; height: 100%; object-fit: cover; }
.ahv2 .ahv2-pkg-noimg { grid-template-columns: minmax(0, 1fr) auto; }
.ahv2-pkg-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ahv2-pkg-body strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.ahv2-pkg-body small { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.ahv2-pkg-price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.ahv2-pkg-price b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.ahv2-pkg-price s { font-size: .8rem; color: var(--muted); }
.ahv2-pkg-check {
    position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
    display: grid; place-items: center; border: 1.5px solid var(--line-2); color: transparent;
}
.ahv2-pkg-check .ahv2-ico { width: 14px; height: 14px; }
.ahv2-pkg.is-active .ahv2-pkg-check { background: var(--green); border-color: var(--green); color: #03150e; }
.ahv2-skel { height: 96px; border-color: transparent !important; background: linear-gradient(90deg, var(--surface-2), var(--bg-2), var(--surface-2)) !important; background-size: 200% 100% !important; animation: ahv2-shimmer 1.4s linear infinite; }
@keyframes ahv2-shimmer { to { background-position: -200% 0; } }

.ahv2-empty { padding: 22px; border-radius: 18px; border: 1.5px dashed var(--line-2); }
.ahv2-empty strong { font-family: var(--f-display); color: var(--text); }
.ahv2-empty p { color: var(--muted); margin-top: 4px; }
.ahv2 .ahv2-empty .ahv2-admin-note { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 201, 94, .14); color: var(--amber); font-size: .88rem; }

/* Orden de servicio */
.ahv2-ticket-wrap { position: sticky; top: 24px; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .28)); }
.ahv2-ticket {
    --notch: 62px;
    background: var(--surface-2); border-radius: 24px; color: var(--text);
    -webkit-mask:
        radial-gradient(circle 11px at 0 var(--notch), #0000 96%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% var(--notch), #0000 96%, #000) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle 11px at 0 var(--notch), #0000 96%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% var(--notch), #0000 96%, #000) right / 51% 100% no-repeat;
}
.ahv2-ticket-head { height: var(--notch); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 26px; border-bottom: 2px dashed var(--line-2); }
.ahv2-ticket-head strong { font-family: var(--f-display); font-size: 1rem; font-weight: 700; }
.ahv2-ticket-head span { font-size: .82rem; color: var(--muted); text-align: right; }
.ahv2 .ahv2-ticket-rows { padding: 16px 26px 4px; display: grid; gap: 10px; }
.ahv2-ticket-rows > div { display: flex; justify-content: space-between; gap: 16px; }
.ahv2-ticket-rows dt { color: var(--muted); font-size: .86rem; flex: none; }
.ahv2-ticket-rows dd { text-align: right; font-weight: 700; font-size: .92rem; min-width: 0; }
.ahv2-ticket-total { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 26px 6px; }
.ahv2-ticket-total span { color: var(--muted); font-size: .9rem; }
.ahv2-ticket-total b.is-empty { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.ahv2-ticket-total b { font-family: var(--f-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.ahv2-ticket .ahv2-btn-go { width: calc(100% - 52px); margin: 10px 26px 0; }
.ahv2 .ahv2-ticket-note { margin: 4px 26px 4px; font-size: .8rem; color: var(--amber); }
.ahv2 .ahv2-ticket-error { margin: 8px 26px 0; padding: 9px 12px; font-size: .84rem; border-radius: 10px; background: rgba(255, 90, 110, .14); color: var(--danger); }
.ahv2 .ahv2-ticket-foot { padding: 12px 26px 22px; font-size: .78rem; color: var(--muted); }

/* ---------- Cómo funciona ---------- */
.ahv2-how { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); background: var(--bg); scroll-margin-top: 12px; }
.ahv2-how-track { position: relative; margin-top: clamp(34px, 5vw, 56px); }
.ahv2-how-line { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line-2); overflow: hidden; }
.ahv2-how-line::after { content: ''; position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 2s ease-in-out; }
.ahv2-how.is-in .ahv2-how-line::after { transform: scaleX(1); }
.ahv2-how-car { position: absolute; left: 0; top: 8px; width: 32px; height: 32px; color: var(--amber); transition: left 2s ease-in-out; z-index: 2; }
.ahv2-how-car .ahv2-ico { width: 100%; height: 100%; }
.ahv2-how.is-in .ahv2-how-car { left: calc(100% - 32px); }
.ahv2-how-list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.ahv2-how-dot {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--line-2); color: var(--muted); margin-bottom: 18px;
    transition: background-color .4s ease, border-color .4s ease, color .4s ease;
    transition-delay: calc(var(--i) * .5s);
}
.ahv2-how.is-in .ahv2-how-dot { background: var(--violet-2); border-color: var(--violet); color: #fff; }
.ahv2-how-list h3 { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ahv2-how-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .78rem; color: var(--muted); }
.ahv2-how-list p { color: var(--muted); max-width: 30ch; }

/* ---------- Antes y después ---------- */
.ahv2-ba { padding: clamp(40px, 6vw, 80px) 0; background: var(--bg-2); }
.ahv2-ba-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.ahv2-ba-copy p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.ahv2-ba-stage { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); user-select: none; }
.ahv2-ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahv2-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ahv2-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, .5); pointer-events: none; }
.ahv2-ba-handle i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.ahv2-ba-handle i::before, .ahv2-ba-handle i::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #2a1160; border-width: 0 0 2.5px 2.5px; }
.ahv2-ba-handle i::before { left: 10px; transform: rotate(45deg); }
.ahv2-ba-handle i::after { right: 10px; transform: rotate(-135deg); }
.ahv2-ba-tag { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: rgba(10, 1, 24, .66); backdrop-filter: blur(6px); }
.ahv2-ba-tag-l { left: 14px; }
.ahv2-ba-tag-r { right: 14px; }
.ahv2 .ahv2-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ahv2-ba-stage:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Refacciones ---------- */
.ahv2-shop { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); background: var(--bg); }
.ahv2-shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ahv2-shop-head p { color: var(--muted); margin-top: 10px; max-width: 48ch; }
.ahv2-rail {
    --pad: max(18px, calc((100vw - 1180px) / 2 + 40px));
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding: 28px var(--pad) 12px; scroll-padding-inline: var(--pad); scrollbar-width: thin;
}
.ahv2 .ahv2-prod {
    flex: 0 0 210px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    transition: transform .18s ease, border-color .18s ease;
}
.ahv2 .ahv2-prod:hover { transform: translateY(-3px); border-color: var(--violet); }
.ahv2-prod-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); color: var(--muted); margin-bottom: 6px; }
.ahv2-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.ahv2-prod-img .ahv2-ico { width: 34px; height: 34px; }
.ahv2-prod strong { font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.ahv2-prod b { font-family: var(--f-display); color: var(--green); font-size: 1.1rem; }

/* ---------- Ecosistema ---------- */
.ahv2-eco { padding: clamp(56px, 8vw, 110px) 0; background: var(--bg-2); }
.ahv2-bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.ahv2 .ahv2-bento h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; color: inherit; }
.ahv2-bento-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 20px; }
.ahv2-bento-ico .ahv2-ico { width: 24px; height: 24px; }
.ahv2-bento-main {
    position: relative; overflow: hidden; grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(26px, 3.4vw, 44px); border-radius: 32px; color: #f6f1ff;
    background: radial-gradient(600px 300px at 90% 100%, rgba(255, 201, 94, .22), transparent 60%), linear-gradient(150deg, #5b24c9, #240b57);
}
.ahv2-bento-main .ahv2-bento-ico { background: rgba(255, 255, 255, .14); color: #ffd98a; }
.ahv2-bento-main h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; margin-bottom: 12px; max-width: 16ch; }
.ahv2-bento-main p { color: rgba(246, 241, 255, .82); max-width: 36ch; margin-bottom: 26px; }
.ahv2 .ahv2-bento-art { position: absolute; right: -6%; bottom: 3%; width: min(78%, 420px); color: rgba(255, 255, 255, .16); pointer-events: none; }
.ahv2-bento-side { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.ahv2-bento-shop .ahv2-bento-ico { background: rgba(43, 227, 165, .14); color: var(--green); }
.ahv2-bento-ins .ahv2-bento-ico { background: rgba(168, 120, 255, .18); color: var(--violet); }
.ahv2-bento-side h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--text); }
.ahv2-bento-side p { color: var(--muted); margin-bottom: 18px; }
.ahv2 .ahv2-link { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-weight: 700; color: var(--text); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.ahv2 .ahv2-link .ahv2-ico { width: 1em; height: 1em; }

/* ---------- Cierre (escenario oscuro) ---------- */
.ahv2-final {
    padding: clamp(56px, 8vw, 100px) 0; color: #f6f1ff;
    background: radial-gradient(800px 360px at 15% 0%, rgba(138, 75, 255, .4), transparent 60%), #0a0118;
}
.ahv2-final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ahv2-final h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: -.03em; line-height: 1.06; max-width: 16ch; color: #fff; }
.ahv2-final p { color: rgba(246, 241, 255, .78); max-width: 42ch; margin-bottom: 10px; }

/* ---------- Navegación móvil ---------- */
.ahv2-nav { display: none; }

/* ---------- Hoja de instalación ---------- */
.ahv2-sheet-back { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 0, 14, .72); backdrop-filter: blur(4px); animation: ahv2-fade .2s ease-out; }
@keyframes ahv2-fade { from { opacity: 0; } to { opacity: 1; } }
.ahv2-sheet { position: relative; width: 100%; max-width: 460px; padding: 30px 26px 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); animation: ahv2-rise .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes ahv2-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ahv2 .ahv2-sheet .ahv2-icon-btn { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; color: var(--text); background: var(--surface-2); border-color: var(--line); }
.ahv2-sheet h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; padding-right: 40px; }
.ahv2-sheet > p { color: var(--muted); margin: 8px 0 18px; }
.ahv2-sheet-os { display: grid; gap: 12px; }
.ahv2-sheet-os > div { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.ahv2-sheet-os h4 { font-family: var(--f-display); font-size: .95rem; margin-bottom: 6px; }
.ahv2-sheet-os ol { list-style: decimal; padding-left: 20px; color: var(--muted); font-size: .9rem; display: grid; gap: 4px; }
.ahv2-sheet-os strong { color: var(--text); }
.ahv2 .ahv2-sheet-ok { width: 100%; margin-top: 18px; }

/* ---------- Carga previa (antes de que React arme la página) ---------- */
#ahv2-root .ahv2-boot { width: 100vw; margin-left: calc(50% - 50vw); min-height: 70vh; padding: 90px 24px; background: #0a0118; color: #fff; box-sizing: border-box; }
#ahv2-root .ahv2-boot h1 { font-family: 'Sora', 'Segoe UI', system-ui, sans-serif; font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.04; max-width: 1180px; margin: 0 auto 18px; color: #fff; }
#ahv2-root .ahv2-boot p { max-width: 1180px; margin: 0 auto; color: rgba(246, 241, 255, .78); font-size: 1.15rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .ahv2-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .ahv2-hero-copy { display: contents; }
    .ahv2-cta-row { margin-bottom: 8px; }
    .ahv2-hero-visual { order: 4; max-width: 680px; margin: 0 auto 26px; width: 100%; }
    .ahv2-facts { order: 5; }
    .ahv2-hero { padding-bottom: 130px; }
    .ahv2-bento { grid-template-columns: 1fr; }
    .ahv2-bento-main { grid-row: auto; }
    .ahv2-ba-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .ahv2-quote-grid { grid-template-columns: 1fr; gap: 22px; }
    .ahv2-grid-vtypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .ahv2-ticket-wrap { position: static; }
    .ahv2-ticket-wrap:not(.has-selection) { display: none; }
    /* Con paquete elegido, la orden se vuelve barra fija junto al total mientras estás en el cotizador */
    .ahv2-ticket-wrap.has-selection.is-visible {
        position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 60; top: auto;
    }
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket {
        -webkit-mask: none; mask: none; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 20px;
        border: 1px solid var(--line-2); background: var(--surface-2);
    }
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-head,
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-rows,
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-note,
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-foot { display: none; }
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-total { flex-direction: column; align-items: flex-start; padding: 0; }
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-total b { font-size: 1.35rem; }
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-btn-go { width: auto; flex: 1; margin: 0; min-height: 48px; }
    .ahv2-ticket-wrap.has-selection.is-visible .ahv2-ticket-error { position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; margin: 0; }

    .ahv2-how-line { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
    .ahv2-how-line::after { transform: scaleY(0); transform-origin: top; }
    .ahv2-how.is-in .ahv2-how-line::after { transform: scaleY(1); }
    .ahv2-how-car { display: none; }
    .ahv2-how-list { grid-template-columns: 1fr; gap: 26px; }
    .ahv2-how-list li { position: relative; padding-left: 68px; }
    .ahv2-how-dot { position: absolute; left: 0; top: -2px; margin: 0; }
}

@media (max-width: 820px) {
    .ahv2 { padding-bottom: 86px; }
    .ahv2-nav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, 1fr);
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
        background: var(--surface);
        background: color-mix(in srgb, var(--surface) 90%, transparent);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--line-2);
    }
    .ahv2 .ahv2-nav > * { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: .72rem; font-weight: 700; color: var(--muted); }
    .ahv2-nav .ahv2-ico { width: 22px; height: 22px; }
    .ahv2-sheet-back { align-items: flex-end; padding: 0; }
    .ahv2-sheet { max-width: none; border-radius: 26px 26px 0 0; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
    .ahv2-hero { padding-bottom: 120px; }
    .ahv2-facts { grid-template-columns: 1fr; }
    .ahv2-cta-row .ahv2-btn-primary { flex: 1 1 100%; }
    .ahv2-cta-row .ahv2-btn-ghost { display: none; }
    .ahv2-float { padding: 8px 12px 8px 10px; }
    .ahv2-float-a { display: none; }
    .ahv2-hero-visual { margin-top: 10px; }
    .ahv2-quote { margin-top: -84px; }
    .ahv2 .ahv2-pkg { grid-template-columns: minmax(0, 1fr); padding: 16px 48px 16px 16px; }
    .ahv2-pkg-img { display: none; }
    .ahv2-pkg-price { align-items: flex-start; flex-direction: row-reverse; justify-content: flex-end; gap: 8px; align-items: baseline; }
    .ahv2-ba-stage { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ahv2 *, .ahv2 *::before, .ahv2 *::after { animation: none !important; transition: none !important; }
    .ahv2-beam { opacity: 1; }
    .ahv2-ripple { opacity: 0; }
    .ahv2-how-line::after { transform: none; }
    .ahv2-how-dot { background: var(--violet-2); border-color: var(--violet); color: #fff; }
    .ahv2-how-car { left: calc(100% - 32px); }
}
