/* =========================================================
   TERAPIX · sitio web
   ========================================================= */
:root {
  --p-950: #052326; --p-900: #08363a; --p-800: #0b4b50; --p-700: #0e6468; --p-600: #128082;
  --p-500: #17a19c; --p-400: #37bdb5; --p-300: #79d6cf; --p-200: #b5e9e4; --p-100: #dcf5f2; --p-50: #f1fbfa;
  --tinta: #12302f; --suave: #5b7a78; --rosa: #d0606a; --rosa-50: #fbeced; --rosa-200: #ffd9dc; --borde: #d7ebe8;
  --radio: 22px;
  --sombra: 0 24px 60px -28px rgba(5, 35, 38, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--tinta); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--p-700); }
.contenedor { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; left: -9999px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 14px; padding: 14px 24px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .25s, background-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-principal { color: #fff; background: linear-gradient(135deg, var(--p-400), var(--p-600)); box-shadow: 0 14px 30px -14px rgba(18, 128, 130, .9); }
.btn-principal:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(18, 128, 130, .9); }
.btn-blanco { background: #fff; color: var(--p-800); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.btn-blanco:hover { transform: translateY(-2px); }
.btn-borde { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-borde:hover { background: rgba(255, 255, 255, .1); }
.btn-rosa { background: var(--rosa); color: #fff; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- Encabezado ---------- */
#enc { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
#enc.solido, body.interna #enc { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--borde); padding: 10px 0; }
#enc .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca svg { width: 40px; height: 40px; flex: none; }
.marca b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: #fff; transition: color .3s; }
.marca b span { color: var(--p-300); }
#enc.solido .marca b, body.interna .marca b { color: var(--p-900); }
#enc.solido .marca b span, body.interna .marca b span { color: var(--p-500); }
.menu { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .93rem; }
.menu a { color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .2s; }
.menu a:hover { color: #fff; }
#enc.solido .menu a, body.interna .menu a { color: var(--p-800); }
#enc.solido .menu a:hover, body.interna .menu a:hover { color: var(--p-500); }
.menu a.boton-arrep { background: var(--rosa); color: #fff !important; padding: 8px 12px; border-radius: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.menu a.btn-entrar { color: #fff !important; padding: 10px 18px; font-size: .9rem; }
.hamburguesa { display: none; background: none; border: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: #fff; }
#enc.solido .hamburguesa, body.interna .hamburguesa { color: var(--p-900); }
.hamburguesa svg { width: 26px; height: 26px; }

/* ---------- Botón de sonido ---------- */
#sonido { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer; background: var(--p-900); color: #fff; box-shadow: 0 14px 30px -10px rgba(5, 35, 38, .6); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
#sonido:hover { transform: scale(1.06); }
#sonido .ondas { display: flex; align-items: center; gap: 3px; height: 20px; }
#sonido .ondas i { display: block; width: 3px; height: 6px; border-radius: 3px; background: var(--p-300); transition: height .3s; }
#sonido.activo .ondas i { animation: onda 1s ease-in-out infinite; }
#sonido.activo .ondas i:nth-child(2) { animation-delay: .15s; } #sonido.activo .ondas i:nth-child(3) { animation-delay: .3s; } #sonido.activo .ondas i:nth-child(4) { animation-delay: .45s; }
#sonido .tachado { position: absolute; width: 30px; height: 2px; background: var(--rosa-200); transform: rotate(-45deg); border-radius: 2px; }
#sonido.activo .tachado { display: none; }
#sonidoAviso { position: fixed; right: 82px; bottom: 28px; z-index: 60; background: #fff; color: var(--p-900); font-size: .82rem; font-weight: 700; padding: 8px 12px; border-radius: 12px; box-shadow: var(--sombra); opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
#sonidoAviso.ver { opacity: 1; transform: none; }
@keyframes onda { 0%, 100% { height: 5px; } 50% { height: 20px; } }

/* ---------- Presentación (logo animado) ---------- */
#intro { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(800px 500px at 50% 40%, var(--p-800), var(--p-950)); transition: opacity .7s ease, visibility .7s; cursor: pointer; }
#intro.fuera { opacity: 0; visibility: hidden; }
#intro .logo-anim { display: flex; align-items: center; gap: 18px; }
#intro svg { width: 92px; height: 92px; animation: burbuja .9s cubic-bezier(.2, 1.4, .3, 1) both; }
#intro svg .b { transform-origin: center; transform-box: fill-box; animation: subir .7s cubic-bezier(.2, 1.3, .3, 1) both; }
#intro svg .b1 { animation-delay: .35s; } #intro svg .b2 { animation-delay: .45s; } #intro svg .b3 { animation-delay: .55s; } #intro svg .b4 { animation-delay: .65s; } #intro svg .b5 { animation-delay: .75s; }
#intro .palabra { font-size: 3.4rem; font-weight: 800; letter-spacing: -.045em; color: #fff; overflow: hidden; display: flex; line-height: 1.2; padding-bottom: .12em; }
#intro .palabra span { display: inline-block; animation: letra .6s cubic-bezier(.2, .9, .3, 1) both; }
#intro .palabra span.x { color: var(--p-300); }
#intro .lema { color: var(--p-200); letter-spacing: .32em; text-transform: uppercase; font-size: .78rem; font-weight: 600; animation: aparecer .8s 1.3s both; }
#intro .tocar { position: absolute; bottom: 36px; color: rgba(220, 245, 242, .6); font-size: .82rem; animation: aparecer .8s 1.6s both; }
@keyframes burbuja { from { transform: scale(.2) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes subir { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes letra { from { transform: translateY(110%); } to { transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 150px 0 120px; overflow: hidden; background: linear-gradient(140deg, var(--p-950) 0%, var(--p-800) 45%, var(--p-600) 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: flotar 14s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: var(--p-400); }
.hero::after { width: 380px; height: 380px; left: -120px; bottom: -160px; background: #2a7f94; animation-duration: 18s; }
@keyframes flotar { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
.hero .contenedor { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; margin-bottom: 22px; }
.etiqueta.promo { background: rgba(255, 217, 220, .18); border-color: rgba(255, 217, 220, .5); font-weight: 700; }
.etiqueta i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-300); box-shadow: 0 0 0 4px rgba(121, 214, 207, .25); animation: latido 2s infinite; }
@keyframes latido { 50% { box-shadow: 0 0 0 8px rgba(121, 214, 207, 0); } }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 800; }
.hero h1 .resalte { background: linear-gradient(90deg, var(--p-200), var(--p-300), #fff, var(--p-300)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brillo 6s linear infinite; }
@keyframes brillo { to { background-position: -300% 0; } }
.hero p.sub { font-size: 1.18rem; max-width: 540px; color: rgba(255, 255, 255, .86); margin: 0 0 32px; }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .nota { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .7); }

/* Maqueta de la app */
.maqueta { position: relative; }
.pantalla { background: #fff; color: var(--tinta); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); padding: 20px; transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transition: transform .6s; }
.maqueta:hover .pantalla { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); }
.pantalla .barra { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pantalla .barra b { font-size: 1.05rem; color: var(--p-900); }
.pantalla .barra span { font-size: .75rem; color: var(--suave); background: var(--p-50); padding: 4px 10px; border-radius: 999px; }
.turno { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--borde); margin-bottom: 8px; background: #fff; opacity: 0; animation: entrarTurno .6s cubic-bezier(.2, .9, .3, 1) forwards; }
.turno:nth-child(2) { animation-delay: .9s; } .turno:nth-child(3) { animation-delay: 1.05s; } .turno:nth-child(4) { animation-delay: 1.2s; } .turno:nth-child(5) { animation-delay: 1.35s; }
@keyframes entrarTurno { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.turno .hora { font-weight: 800; color: var(--p-700); font-size: .9rem; }
.turno .quien b { display: block; font-size: .9rem; }
.turno .quien small { color: var(--suave); font-size: .75rem; }
.chip { font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.chip.ok { background: var(--p-100); color: var(--p-700); }
.chip.env { background: #e7f0ff; color: #2f5fb3; }
.chip.pen { background: #fbf3e2; color: #8a6414; }
.flotante { position: absolute; background: #fff; color: var(--tinta); border-radius: 16px; padding: 12px 14px; box-shadow: var(--sombra); display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; animation: flotarCard 5s ease-in-out infinite; }
.flotante .ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex: none; }
.flotante small { display: block; color: var(--suave); font-weight: 500; font-size: .72rem; }
.f1 { left: -34px; bottom: -30px; animation-delay: .5s; }
.f1 .ico { background: #dcf8e6; }
.f2 { right: -26px; top: -46px; animation-delay: 1.5s; }
.f2 .ico { background: var(--rosa-50); }
@keyframes flotarCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Ola de transición */
.ola { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.ola svg { width: 100%; height: 80px; display: block; }

/* ---------- Secciones ---------- */
section.bloque { padding: 100px 0; position: relative; }
.titulo-sec { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.titulo-sec .pre { color: var(--p-500); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.titulo-sec h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.035em; line-height: 1.1; margin: 10px 0 14px; color: var(--p-900); }
.titulo-sec p { color: var(--suave); font-size: 1.08rem; margin: 0; }

.grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px; transition: transform .35s cubic-bezier(.2, .9, .3, 1), box-shadow .35s, border-color .35s; position: relative; overflow: hidden; }
.tarjeta::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--p-100), transparent 70%); opacity: 0; transition: opacity .4s; }
.tarjeta:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: var(--p-200); }
.tarjeta:hover::after { opacity: 1; }
.tarjeta .ico { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--p-100), var(--p-50)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--p-600); }
.tarjeta .ico svg { width: 26px; height: 26px; }
.tarjeta h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--p-900); letter-spacing: -.01em; }
.tarjeta p { margin: 0; color: var(--suave); font-size: .95rem; position: relative; z-index: 1; }

/* Destacado WhatsApp */
.destacado { background: var(--p-50); }
.destacado .contenedor { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.destacado h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; color: var(--p-900); margin: 10px 0 16px; }
.destacado ul { list-style: none; padding: 0; margin: 24px 0 0; }
.destacado li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--suave); }
.destacado li b { color: var(--tinta); }
.destacado li i { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--p-500); color: #fff; font-style: normal; font-size: .8rem; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.chat { background: #e8ddd3; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; border-radius: 28px; padding: 24px 18px; box-shadow: var(--sombra); max-width: 400px; margin: 0 auto; }
.chat .cab { display: flex; align-items: center; gap: 10px; margin: -24px -18px 18px; padding: 14px 18px; background: #0b5e57; color: #fff; border-radius: 28px 28px 0 0; font-weight: 700; font-size: .92rem; }
.chat .cab .av { width: 34px; height: 34px; border-radius: 50%; background: var(--p-300); }
.msj { max-width: 85%; padding: 10px 12px 18px; border-radius: 12px; font-size: .88rem; margin-bottom: 10px; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s, transform .5s; }
.msj.ver { opacity: 1; transform: none; }
.msj small { position: absolute; right: 10px; bottom: 4px; font-size: .66rem; color: #6b7f7c; }
.msj.yo { background: #d9fdd3; margin-left: auto; }
.msj.ella { background: #fff; }
.escribiendo { display: inline-flex; gap: 4px; background: #fff; padding: 12px 14px; border-radius: 12px; opacity: 0; transition: opacity .3s; }
.escribiendo.ver { opacity: 1; }
.escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: #9bb; animation: puntos 1.2s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .2s; } .escribiendo i:nth-child(3) { animation-delay: .4s; }
@keyframes puntos { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: paso; }
.paso { text-align: center; padding: 10px 18px; }
.paso .num { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--p-400), var(--p-700)); box-shadow: 0 16px 30px -14px rgba(18, 128, 130, .9); }
.paso h3 { margin: 0 0 8px; color: var(--p-900); }
.paso p { margin: 0; color: var(--suave); }

/* Precio */
.precio-sec { background: linear-gradient(180deg, #fff, var(--p-50)); }
.plan { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 30px; padding: 40px; box-shadow: 0 40px 80px -40px rgba(5, 35, 38, .5); border: 1px solid var(--borde); position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--p-300), var(--p-600), var(--rosa)); }
.plan .nombre { font-weight: 800; color: var(--p-600); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.plan .monto { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--p-900); line-height: 1.1; margin: 10px 0 2px; }
.plan .monto small { font-size: 1rem; font-weight: 600; color: var(--suave); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 30px; }
.plan li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--borde); }
.plan li:last-child { border: none; }
.plan li::before { content: "✓"; color: var(--p-500); font-weight: 800; }
.plan .btn { width: 100%; }

/* Preguntas */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--borde); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; background: #fff; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--sombra); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--p-900); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--p-500); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--suave); }

/* Cierre */
.cierre { background: linear-gradient(135deg, var(--p-800), var(--p-600)); color: #fff; text-align: center; border-radius: 36px; padding: 70px 30px; margin: 0 20px; position: relative; overflow: hidden; }
.cierre::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--p-400); filter: blur(80px); opacity: .45; top: -200px; left: 50%; transform: translateX(-50%); }
.cierre > * { position: relative; }
.cierre h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -.04em; margin: 0 0 14px; }
.cierre p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin: 0 0 28px; }

/* ---------- Pie ---------- */
#pie { background: var(--p-950); color: rgba(220, 245, 242, .7); padding: 64px 0 34px; margin-top: 100px; font-size: .9rem; }
#pie .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
#pie h4 { color: #fff; margin: 0 0 14px; font-size: .95rem; }
#pie a { color: var(--p-200); text-decoration: none; display: block; margin-bottom: 8px; }
#pie a:hover { color: #fff; }
#pie .marca b { color: #fff; }
#pie .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; }
#pie .arrep { color: #fff; background: var(--rosa); display: inline-block; padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: .8rem; letter-spacing: .03em; }

/* ---------- Páginas internas (legales y formularios) ---------- */
body.interna { background: var(--p-50); }
.cabecera-int { padding: 130px 0 40px; text-align: center; }
.cabecera-int h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; color: var(--p-900); margin: 0 0 8px; }
.cabecera-int p { color: var(--suave); margin: 0; }
.hoja { background: #fff; border: 1px solid var(--borde); border-radius: 28px; padding: 48px; max-width: 820px; margin: 0 auto; box-shadow: 0 30px 60px -40px rgba(5, 35, 38, .35); }
.hoja h2 { color: var(--p-800); font-size: 1.15rem; margin: 30px 0 8px; }
.hoja h2:first-child { margin-top: 0; }
.hoja p, .hoja li { color: #2c4846; }
.aviso-legal { background: var(--p-50); border-left: 4px solid var(--p-400); padding: 14px 18px; border-radius: 10px; font-size: .9rem; }
.hoja.form { max-width: 620px; }
.hoja.form.arrep { border-top: 6px solid var(--rosa); }
form label { display: block; font-weight: 700; font-size: .9rem; margin: 18px 0 6px; color: var(--p-900); }
form input, form textarea { width: 100%; border: 1.5px solid var(--p-200); border-radius: 14px; padding: 13px 15px; font: inherit; transition: border-color .2s, box-shadow .2s; background: #fff; }
form input:focus, form textarea:focus { outline: none; border-color: var(--p-400); box-shadow: 0 0 0 4px rgba(23, 161, 156, .15); }
form .btn { margin-top: 24px; width: 100%; }
.resultado { display: none; margin-top: 22px; background: var(--p-100); border-radius: 18px; padding: 22px; animation: aparecer .5s both; }
.resultado.error { background: var(--rosa-50); color: #8a2f37; }
.codigo { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.4rem; font-weight: 800; color: var(--p-900); background: #fff; border-radius: 10px; padding: 6px 14px; display: inline-block; margin: 8px 0; letter-spacing: .03em; }

/* ---------- Animación al hacer scroll ---------- */
.revelar { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .9, .3, 1), transform .9s cubic-bezier(.2, .9, .3, 1); }
.revelar.ver { opacity: 1; transform: none; }
.grilla .revelar:nth-child(3n+2), .pasos .revelar:nth-child(2) { transition-delay: .12s; }
.grilla .revelar:nth-child(3n), .pasos .revelar:nth-child(3) { transition-delay: .24s; }

/* ---------- Celular ---------- */
@media (max-width: 960px) {
  .hero .contenedor, .destacado .contenedor { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 110px; }
  .maqueta { max-width: 460px; margin: 20px auto 0; }
  .pantalla { transform: none; }
  .f1 { left: -6px; } .f2 { right: -6px; }
  .grilla { grid-template-columns: 1fr 1fr; }
  #pie .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hamburguesa { display: block; }
  .menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 82vw); background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 84px 22px 22px; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .4); transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .9, .3, 1); }
  .menu.abierto { transform: none; }
  .menu a { color: var(--p-900) !important; padding: 12px 10px; border-radius: 10px; }
  .menu a.boton-arrep, .menu a.btn-entrar { text-align: center; margin-top: 8px; }
  .hamburguesa { position: relative; z-index: 2; }
  .menu.abierto ~ .hamburguesa, body.menu-abierto .hamburguesa { color: var(--p-900); }
  .grilla, .pasos { grid-template-columns: 1fr; }
  section.bloque { padding: 72px 0; }
  .hoja { padding: 26px 20px; border-radius: 22px; }
  .plan { padding: 30px 22px; }
  #pie .cols { grid-template-columns: 1fr; gap: 26px; }
  #intro .palabra { font-size: 2.6rem; }
  .codigo { font-size: 1.05rem; }
  #intro svg { width: 70px; height: 70px; }
  .cierre { margin: 0 12px; padding: 54px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .revelar { opacity: 1; transform: none; }
}
