/* ==========================================================================
   ACTAROO - Portada (index.html)
   Hoja propia: no depende de master.css ni de puppertino, que usan otras paginas.
   Marca: crema #FEF8E9, marron #1A1109, verde azulado #42757E.
   Una sola tipografia (DM Sans, alojada en el servidor), una sola accion principal.
   Todo lo visual (movil, ventana de documento, firma, iconos) esta dibujado en
   HTML, CSS y SVG: sin fotos, sin imagenes sueltas.
   ========================================================================== */

@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap;
    src: url("../fonts/dm-sans-latin-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap;
    src: url("../fonts/dm-sans-latin-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap;
    src: url("../fonts/dm-sans-latin-700.woff2") format("woff2"); }

:root {
    --cream: #fef8e9;
    --sand: #f5edd6;
    --sand-2: #ebe0c2;
    --ink: #1a1109;
    --ink-soft: #3a2f24;
    --teal: #42757e;
    --teal-dark: #2f5960;
    --teal-deep: #274a50;
    --teal-tint: #e3eeef;
    --crimson: #ac1a2f;
    --white: #ffffff;
    --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --r: 24px;
    --frame: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--frame); }

/* ---------- Tipografia ---------- */

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(1.75rem, 5.2vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: 1.35rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Botones ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    border: 0;
    border-radius: 999px;
    background: var(--teal);
    color: var(--white);
    font: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background .18s, transform .18s;
}

.btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-soft { background: var(--sand); color: var(--ink); }
.btn-soft:hover { background: var(--sand-2); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-small { padding: 12px 24px; font-size: 1.0625rem; white-space: nowrap; }
.btn-big { padding: 20px 38px; font-size: 1.25rem; }

/* ---------- Cabecera: el logo manda ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); transition: background .2s; }
.site-header.scrolled { background: var(--cream); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px; transition: height .25s; }
.scrolled .nav { height: 84px; }
.nav-logo img { height: 70px; width: auto; transition: height .25s; }
.scrolled .nav-logo img { height: 56px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font-weight: 500; text-decoration: none; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Barra de noticias ---------- */

.news-bar { display: none; background: var(--ink); color: var(--cream); }
.news-bar-inner { display: flex; align-items: center; gap: 14px; height: 36px; }
.news-bar-label { flex: none; padding: 3px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.news-bar-track { flex: 1; min-width: 0; overflow: hidden; }
.news-bar-scroll { display: flex; width: max-content; align-items: center; animation: ticker 70s linear infinite; }
.news-bar-track:hover .news-bar-scroll { animation-play-state: paused; }
.news-bar-item { padding: 0 6px; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.news-bar-item:hover { text-decoration: underline; }
.news-bar-sep { width: 6px; height: 6px; margin: 0 18px; border-radius: 50%; background: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Iconos ---------- */

.ico { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 48px 0 56px; }
.hero > .wrap { position: relative; }
.hero h1 { max-width: none; min-height: 2.2em; margin-bottom: 40px; transition: opacity .5s, transform .5s; }

.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: center; }
.hero-text > * + * { margin-top: 22px; }
.hero-text .primera { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }

.video-frame { position: relative; padding: 0 22px 22px 0; }
.video-frame::before { content: ""; position: absolute; right: 0; bottom: 0; width: 88%; height: 88%; border-radius: var(--r); background: var(--teal); }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--ink); }
.video iframe { width: 100%; height: 100%; border: 0; }

.cta-movil { display: none; }

/* ---------- Secciones ---------- */

.section { padding: 64px 0; background: var(--cream); }
.field-sand { background: var(--sand); }
.field-teal { background: var(--teal); color: var(--white); }
.field-teal .lead { color: #e8f1f2; }
.field-ink { background: var(--ink); color: var(--cream); }
.section-head { max-width: none; margin-bottom: 40px; }
.section-head p { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split.reverse .split-media { order: -1; }
.split-text > * + * { margin-top: 22px; }
.split-text h2 { margin-bottom: 8px; }
.split-text .btn { margin-top: 34px; }

/* Panel visual: misma proporcion y tamano de letra interno en todas las secciones */
.visual { position: relative; container-type: inline-size; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 32px; background: var(--sand); }
.visual > * { font-size: max(11px, calc(100cqw / 38)); }
.visual-teal { background: var(--teal-deep); }
.visual-tint { background: var(--teal-tint); }
.visual-sand { background: var(--sand); }

/* Pasos */
.steps { list-style: none; counter-reset: paso; display: grid; gap: 28px; margin-top: 34px; }
.steps li { counter-increment: paso; position: relative; padding-left: 64px; }
.steps li::before { content: counter(paso); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 1.125rem; font-weight: 700; }
.steps h3 { margin-bottom: 6px; }

/* ---------- Dibujo: movil ---------- */

.phone { position: absolute; left: 72%; top: 50%; width: 13.5em; height: 27em; padding: 0.9em; border-radius: 3em; background: var(--ink); transform: translate(-50%, -50%); }
.phone-screen { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 2em 1.2em 1.4em; overflow: hidden; border-radius: 2.2em; background: var(--cream); }
.phone-screen::before { content: ""; position: absolute; top: 0.7em; left: 50%; width: 4.2em; height: 1.1em; border-radius: 1em; background: var(--ink); transform: translateX(-50%); }
.rec-top { display: flex; align-items: center; white-space: nowrap; gap: 0.6em; margin-top: 1.4em; font-size: 1.05em; font-weight: 500; }
.rec-top b { font-variant-numeric: tabular-nums; }
.rec-dot { width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--teal); animation: parpadeo 1.4s ease-in-out infinite; }
.rec-name { white-space: nowrap; margin-top: 0.5em; color: var(--ink-soft); font-size: 0.95em; }
.wave { display: flex; align-items: center; justify-content: center; gap: 0.28em; flex: 1; width: 100%; }
.wave i { display: block; width: 0.42em; height: calc(var(--h) * 1em); border-radius: 1em; background: var(--teal); animation: onda 1.2s ease-in-out infinite; animation-delay: calc(var(--d) * 0.07s); }
.rec-stop { display: grid; place-items: center; width: 4.4em; height: 4.4em; border-radius: 50%; background: var(--teal); }
.rec-stop::after { content: ""; width: 1.5em; height: 1.5em; border-radius: 0.3em; background: var(--white); }
@keyframes onda { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@keyframes parpadeo { 50% { opacity: 0.25; } }

.float { position: absolute; display: flex; align-items: center; gap: 0.9em; padding: 0.9em 1.3em; border-radius: 1.4em; background: var(--white); font-size: max(12px, calc(100cqw / 32)); font-weight: 500; line-height: 1.25; }
.float small { display: block; font-size: 0.82em; font-weight: 400; color: var(--ink-soft); }
.float .ico { width: 2em; height: 2em; padding: 0.4em; border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark); }
.float .ok { color: var(--teal-dark); background: var(--teal-tint); }
.f-conv { left: 5%; top: 14%; }
.f-asist { left: 5%; top: 40%; }
.f-acta { left: 5%; bottom: 14%; }

/* ---------- Dibujo: ventana de documento ---------- */

.win { position: absolute; left: 5%; top: 8%; width: 62%; height: 88%; overflow: hidden; border-radius: 1.2em 1.2em 0 0; background: var(--white); }
.win-bar { display: flex; align-items: center; gap: 1em; padding: 0.9em 1.1em; background: var(--sand); font-size: 0.82em; color: var(--ink-soft); }
.win-dots { display: flex; gap: 0.45em; }
.win-dots i { width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--sand-2); }
.win-page img { width: 100%; }
.callout { position: absolute; display: flex; align-items: center; padding: 0.7em 1.1em; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 0.95em; font-weight: 700; line-height: 1.2; border-radius: 999px; text-align: left; }
.callout::before { content: ""; position: absolute; right: 100%; top: 50%; width: 3.2em; height: 0.18em; background: var(--cream); }
.c3::before { width: 1.2em; }
.c1 { left: 74%; top: 19%; margin-top: 20px; }
.c2 { left: 74%; top: 45%; margin-top: 20px; }
.c3 { left: 69%; top: 70%; margin-top: 20px; }

/* ---------- Dibujo: firma ---------- */

.phone.clara .phone-screen { align-items: stretch; padding-top: 2.6em; }
.doc-lines { display: grid; gap: 0.7em; margin-top: 0.6em; }
.doc-lines i { display: block; height: 0.7em; border-radius: 1em; background: var(--sand-2); }
.doc-lines i:nth-child(1) { width: 62%; background: var(--ink); height: 0.9em; }
.doc-lines i:nth-child(3) { width: 88%; }
.doc-lines i:nth-child(5) { width: 70%; }
.firma-caja { position: relative; flex: 1; margin: 1.6em 0 1.2em; border-radius: 1.1em; background: var(--white); display: grid; place-items: center; }
.firma-caja svg { width: 86%; overflow: visible; }
.firma-caja path { fill: none; stroke: var(--teal-deep); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: firmar 4.2s ease-in-out infinite; }
.firma-caja span { position: absolute; left: 1em; bottom: 0.7em; font-size: 0.75em; color: var(--ink-soft); }
@keyframes firmar { 0% { stroke-dashoffset: 340; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 340; } }
.btn-fake { display: grid; place-items: center; height: 3.2em; border-radius: 999px; background: var(--teal); color: var(--white); font-weight: 700; font-size: 1.05em; }
.f-pres { left: 5%; top: 22%; }
.f-admin { left: 5%; bottom: 22%; }

/* ---------- Por que Actaroo: tarjetas ---------- */

.razones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.razon { display: grid; grid-template-columns: 52px 1fr; align-items: center; align-content: start; column-gap: 16px; row-gap: 14px; padding: 26px 28px 30px; border-radius: var(--r); background: var(--white); transition: transform .2s; }
.razon:hover { transform: translateY(-3px); }
.razon-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--teal); color: var(--white); }
.razon-ico .ico { width: 26px; height: 26px; }
.razon h3 { font-size: 1.25rem; }
.razon p { grid-column: 1 / -1; color: var(--ink-soft); text-align: justify; hyphens: auto; }

/* ---------- Precios ---------- */

.gratis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-bottom: 28px; padding: 36px 44px; border-radius: var(--r); background: var(--ink); color: var(--cream); }
.gratis h3 { font-size: 1.4rem; }
.gratis p { margin-top: 6px; color: #d9cfb8; }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 36px; border-radius: var(--r); background: var(--white); }
.plan.popular { background: var(--teal); color: var(--white); }
.plan h3 { font-size: 1.4rem; }
.precio { margin-top: 18px; font-size: 3.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.precio-unidad { margin-top: 8px; color: var(--ink-soft); }
.popular .precio-unidad { color: #e8f1f2; }
.ahorro { margin-top: 12px; font-weight: 700; color: var(--teal); }
.popular .ahorro { color: var(--cream); }
.ahorro-base { color: var(--ink-soft); font-weight: 500; }
.iva { margin-top: 6px; font-size: 1rem; color: var(--ink-soft); }
.popular .iva { color: #e8f1f2; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 28px 0 34px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.popular li::before { background: var(--cream); }
.plan .btn { margin-top: auto; }
.volumen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 28px; padding: 32px 40px; border-radius: var(--r); background: var(--white); }
.volumen .btn-light { background: var(--sand); }
.volumen .btn-light:hover { background: var(--sand-2); }
.volumen h3 { margin-bottom: 4px; }

/* ---------- Cierre y pie ---------- */

.cierre { padding: 88px 0; text-align: center; }
.cierre h2 { max-width: 22ch; margin: 0 auto; }
.cierre p { max-width: 36rem; margin: 22px auto 0; color: #d9cfb8; }
.cierre .btn { margin-top: 40px; }

.site-footer { padding: 64px 0 28px; background: var(--teal-deep); color: var(--cream); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 0.8fr 2.2fr 0.5fr; gap: 48px; }
.footer-grid h3 { margin-bottom: 14px; font-size: 1.15rem; color: var(--white); }
.footer-marca > img { width: 210px; height: auto; }
.footer-marca .logo-wc { display: block; width: 130px; margin: 6px 0 20px 2px; }
.footer-marca .logo-wc img { width: 100%; height: auto; }
.footer-marca p { max-width: 17rem; color: #cfe0e2; }
.footer-sobre > p { max-width: 40rem; color: #e6efef; line-height: 1.65; text-align: justify; hyphens: none; }
.footer-sobre a { color: var(--white); font-weight: 700; text-underline-offset: 4px; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: 28px; }
.credencial { display: flex; align-items: center; gap: 22px; width: 100%; max-width: 40rem; padding: 16px 26px 16px 22px; border-radius: 16px; background: var(--cream); color: var(--ink); }
.credencial img { flex: none; width: 150px; height: auto; }
.credencial p { font-size: 0.95rem; line-height: 1.4; color: var(--ink-soft); }
.credencial strong { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--ink); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a { color: #e6efef; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.footer-copy { margin-top: 48px; padding-top: 22px; color: #9fbcc0; font-size: 0.95rem; }

/* ---------- Ventana de contacto ---------- */

.modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 20px; background: rgba(26, 17, 9, 0.6); }
.modal-content { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; padding: 40px; border-radius: var(--r); background: var(--cream); box-shadow: 0 24px 64px rgba(26, 17, 9, 0.35); } /* taste-skill-ignore: dialogo flotante */
.modal-content h2 { font-size: 1.8rem; margin-bottom: 8px; }
.modal-content > p { margin-bottom: 24px; color: var(--ink-soft); }
.modal-close { position: absolute; top: 14px; right: 20px; font-size: 2rem; line-height: 1; cursor: pointer; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: 3px solid var(--teal); }
.modal-submit-button { width: 100%; padding: 16px; border: 0; border-radius: 999px; background: var(--teal); color: var(--white); font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.modal-submit-button:hover { background: var(--teal-dark); }

/* ---------- Aparicion al hacer scroll (solo si hay JS) ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .news-bar-scroll { animation: none; }
    .news-bar-track { overflow-x: auto; }
    .btn:hover, .razon:hover { transform: none; }
    .wave i, .rec-dot { animation: none; }
    .firma-caja path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Tablet y movil ---------- */

@media (max-width: 1100px) {
    .razones { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    :root { --frame: 22px; }
    body { font-size: 17px; }
    .nav { height: 88px; }
    .scrolled .nav { height: 76px; }
    .nav-logo img { height: 50px; }
    .scrolled .nav-logo img { height: 44px; }
    .nav-links a:not(.btn) { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
        .footer-logos { flex-direction: column; align-items: flex-start; }
    .credencial { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; padding: 18px 20px; }
    .footer-copy { margin-top: 32px; }
    .nav-extra { display: none; }
    .hero { padding: 28px 0 40px; }
        .hero h1 { margin-bottom: 30px; min-height: 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .cta-escritorio { display: none; }
    .cta-movil { display: flex; margin-top: 26px; }
    .btn-big { width: 100%; padding: 18px 22px; font-size: 1.125rem; }
    .video-frame { padding: 0 14px 14px 0; }
    .section { padding: 44px 0; }
    .visual { aspect-ratio: 1 / 1.08; border-radius: 26px; }
    .visual > * { font-size: calc(100cqw / 25); }
    .float { font-size: 13px; padding: 0.65em 0.95em; gap: 0.6em; }
    .float small { font-size: 13px; }
    .phone { left: 50%; top: 54%; width: 12em; height: 24em; }
    .f-conv { left: 3%; top: 3%; }
    .f-asist { left: auto; right: 3%; top: 40%; }
    .f-acta { left: 3%; bottom: 3%; transform: none; }
    .f-pres { left: 3%; top: 3%; }
    .f-admin { left: auto; right: 3%; bottom: 3%; }
    .firma-caja span { font-size: 13px; }
    .win { left: 4%; top: 4%; width: 92%; height: 68%; }
    .callout { font-size: 13px; padding: 0.55em 1em; }
    .callout::before { display: none; }
    .c1 { left: 4%; top: 80%; }
    .c2 { left: 36%; top: 80%; }
    .c3 { left: 4%; top: 90%; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split.reverse .split-media { order: 0; }
    .razones { grid-template-columns: 1fr; gap: 14px; }
    .planes { grid-template-columns: 1fr; }
    .gratis { padding: 30px 26px; }
    .plan { padding: 32px 26px; }
    .cierre { padding: 60px 0; }
    .modal-content { padding: 30px 24px; }
}


/* ==========================================================================
   Franja de valor y efectos de scroll
   ========================================================================== */


.banda { padding: 40px 0 44px; background: var(--teal-deep); color: var(--cream); }
.banda-lista { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 48px; }
.banda-lista li { display: flex; align-items: center; gap: 18px; font-size: 1.2rem; font-weight: 500; line-height: 1.35; }
.banda-lista .ico { flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--teal); color: var(--cream); }

.progreso { position: fixed; top: 0; left: 0; z-index: 70; width: 100%; height: 4px; background: var(--teal); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* profundidad: cada dibujo se desplaza un poco distinto segun el scroll */
.visual { --p: 0.5; }
.phone { transform: translate(-50%, calc(-50% + (var(--p) - 0.5) * 30px)); }
.float { transform: translateY(calc((var(--p) - 0.5) * -34px)); }
.callout { transform: translateY(calc((var(--p) - 0.5) * -22px)); }
.video-frame { transform: translateY(calc(var(--sy, 0) * -0.035px)); }
.f-acta { transform: translateY(calc((var(--p) - 0.5) * -34px)); }

@media (prefers-reduced-motion: reduce) {
    .phone { transform: translate(-50%, -50%); }
    .float, .callout, .f-acta, .video-frame { transform: none; }
    .progreso { transition: none; }
}

@media (max-width: 960px) {
    .banda { padding: 36px 0 40px; }
    .banda-lista { grid-template-columns: 1fr; gap: 18px; }
    .banda-lista li { font-size: 1.05rem; }
    .f-acta { transform: translateY(calc((var(--p) - 0.5) * -20px)); }
}


.pegatina { display: inline-flex; align-items: center; gap: 14px; padding: 12px 28px 12px 14px; border-radius: 999px; background: var(--teal-tint); color: var(--ink); line-height: 1.25; }
.pegatina .ico { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--teal); color: var(--white); }
.pegatina b { display: block; font-size: 1.1rem; font-weight: 700; }
.pegatina span span { font-size: 1rem; color: var(--ink-soft); }



/* ---------- Capas laterales: las secciones entran deslizandose desde un lado ---------- */
.capa { --t: 1; --dir: 1; }
.js .capa { position: relative; isolation: isolate; overflow: hidden; background: transparent !important; }
.js .capa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--capa); transform: translateX(calc((1 - var(--t)) * var(--dir) * 100%)); will-change: transform; }
.js .capa .split-media { translate: calc((1 - var(--t)) * -90px) 0; }
.js .capa .split-text { translate: calc((1 - var(--t)) * 90px) 0; }
.js .capa .split.reverse .split-media { translate: calc((1 - var(--t)) * 90px) 0; }
.js .capa .split.reverse .split-text { translate: calc((1 - var(--t)) * -90px) 0; }
.js .capa .razones { translate: calc((1 - var(--t)) * var(--dir) * -70px) 0; }
.capa:not(.js .capa) { background: var(--capa); }
@media (prefers-reduced-motion: reduce) { .js .capa::before, .js .capa .split-media, .js .capa .split-text, .js .capa .razones { transform: none; translate: none; } }
@media (max-width: 960px) { .js .capa .split-media, .js .capa .split-text, .js .capa .split.reverse .split-media, .js .capa .split.reverse .split-text, .js .capa .razones { translate: calc((1 - var(--t)) * var(--dir) * -30px) 0; } }


/* movimiento de los bloques de precios, ligado al scroll (--m va de 0 a 1) */
.js .gratis { translate: calc((1 - var(--m, 1)) * -140px) 0; opacity: calc(0.2 + var(--m, 1) * 0.8); }
.js .planes .plan:nth-child(1) { translate: calc((1 - var(--m, 1)) * -180px) 0; }
.js .planes .plan:nth-child(2) { translate: 0 calc((1 - var(--m, 1)) * 150px); }
.js .planes .plan:nth-child(3) { translate: calc((1 - var(--m, 1)) * 180px) 0; }
.js .planes .plan { opacity: calc(0.15 + var(--m, 1) * 0.85); }
.js .volumen { translate: calc((1 - var(--m, 1)) * 140px) 0; opacity: calc(0.2 + var(--m, 1) * 0.8); }
@media (prefers-reduced-motion: reduce) { .js .gratis, .js .planes .plan, .js .volumen { translate: none; opacity: 1; } }
@media (max-width: 960px) {
    .js .planes .plan:nth-child(1), .js .planes .plan:nth-child(3) { translate: calc((1 - var(--m, 1)) * -50px) 0; }
    .js .planes .plan:nth-child(2) { translate: 0 calc((1 - var(--m, 1)) * 70px); }
    .js .gratis, .js .volumen { translate: calc((1 - var(--m, 1)) * -40px) 0; }
}


/* ---------- Como funciona: tres pasos en fila ---------- */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.paso { position: relative; display: flex; flex-direction: column; padding: 32px 30px 36px; border-radius: var(--r); background: var(--sand); }
.paso + .paso::before { content: ""; position: absolute; left: -26px; top: 118px; width: 22px; height: 22px; border-top: 4px solid var(--teal); border-right: 4px solid var(--teal); transform: rotate(45deg); }
.paso-num { align-self: flex-start; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 1.35rem; font-weight: 700; }
.paso-vis { display: grid; place-items: center; height: 168px; margin-bottom: 24px; border-radius: 18px; background: var(--cream); font-size: 14px; }
.paso h3 { margin-bottom: 8px; font-size: 1.35rem; }
.paso p { color: var(--ink-soft); }
.mini-phone { display: grid; place-items: center; width: 84px; height: 140px; padding: 10px; border-radius: 22px; background: var(--ink); }
.mini-phone .wave { flex: none; height: 100%; width: 100%; padding: 0 2px; border-radius: 14px; background: var(--cream); gap: 3px; }
.mini-phone .wave i { width: 4px; }
.mini-docs { display: grid; gap: 12px; }
.mini-docs span { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: var(--white); font-size: 1rem; font-weight: 500; }
.mini-docs .ico { width: 26px; height: 26px; color: var(--teal-dark); }
.mini-acta { position: relative; display: grid; align-content: center; gap: 10px; width: 118px; height: 144px; padding: 22px 18px; border-radius: 10px; background: var(--white); }
.mini-acta i { display: block; height: 8px; border-radius: 8px; background: var(--sand-2); }
.mini-acta i:first-child { width: 60%; background: var(--ink); }
.mini-acta i:nth-child(3) { width: 80%; }
.mini-acta .ico { position: absolute; right: -14px; bottom: -14px; width: 40px; height: 40px; padding: 4px; border-radius: 50%; background: var(--cream); color: var(--teal); }
.paso-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; margin-top: 32px; padding: 28px 36px; border-radius: var(--r); background: var(--teal); color: var(--white); }
.paso-final p { flex: 1 1 420px; font-size: 1.25rem; line-height: 1.4; }
.paso-final .btn { flex: none; }
.paso-final .btn { background: var(--cream); color: var(--ink); }
.paso-final .btn:hover { background: var(--white); }

@media (max-width: 960px) {
    .pasos { grid-template-columns: 1fr; gap: 26px; }
    .paso { padding: 26px 22px 30px; }
    .paso + .paso::before { left: 36px; top: -23px; transform: rotate(135deg); }
    .paso-final { padding: 24px 22px; }
    .paso-final .btn { width: 100%; }
}


/* ---------- Franja de ventajas: aparece con un circulo que se abre y fundido ---------- */
.js .banda.capa { clip-path: circle(calc(var(--t) * 62vw) at 50% 50%); opacity: calc(0.15 + var(--t) * 0.85); }
.js .banda.capa::before { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .banda.capa { clip-path: none; opacity: 1; } }
.nav-extra { white-space: pre; }
