:root {
  --negro: #0e0e0f;
  --negro-2: #1a1a1c;
  --rojo: #e30613;
  --rojo-2: #b8000e;
  --tinta: #141414;
  --gris: #5e5e66;
  --gris-claro: #f3f3f1;
  --fondo: #ffffff;
  --papel: #ffffff;
  --borde: #e6e6e2;
  /* compatibilidad con gracias.html */
  --azul: #141414;
  --azul-2: #232323;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; color: var(--tinta); background: var(--fondo); line-height: 1.55; }
h1, h2, h3, .marca { font-family: 'Poppins', sans-serif; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; }

/* ---- Botones ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--rojo); color: #fff; font: 700 16px 'DM Sans', sans-serif; padding: 15px 26px; border-radius: 10px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #f0101e; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-chico { padding: 11px 18px; font-size: 15px; }
.btn-borde { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn-borde:hover { background: rgba(255, 255, 255, .08); }
.btn-sec { background: transparent; color: var(--tinta); border: 1.5px solid var(--borde); }
.btn-sec:hover { background: var(--gris-claro); }
.btn-pronto, .btn-pronto:hover { background: #d9d9dc; color: #55555c; border-color: #d9d9dc; cursor: default; transform: none; box-shadow: none; }

/* ---- Barra superior ---- */
.barra { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 5vw, 64px); background: var(--negro); border-bottom: 1px solid #222; }
.barra::after { content: ''; position: absolute; right: 0; bottom: -6px; width: 45%; height: 6px; background: var(--rojo); clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%); }
.marca { display: flex; align-items: center; margin-right: auto; }
.marca img { height: 40px; width: auto; }
.menu { display: flex; gap: 6px; }
.menu a { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 8px; position: relative; }
.menu a:hover { background: rgba(255, 255, 255, .07); }
.abrir-menu { display: none; background: transparent; border: 1.5px solid #3a3a3e; color: #fff; border-radius: 10px; width: 44px; height: 44px; padding: 9px; cursor: pointer; }
.abrir-menu svg { width: 100%; height: 100%; display: block; }
section[id] { scroll-margin-top: 72px; }
.menu a.activo::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; border-radius: 2px; background: var(--rojo); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--negro); color: #fff; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding: 56px clamp(16px, 5vw, 64px) 64px; }
.hero::after { content: ''; position: absolute; right: -10%; bottom: -30%; width: 62%; height: 160%; background: linear-gradient(160deg, var(--rojo), var(--rojo-2)); transform: skewX(-24deg); transform-origin: bottom; z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.08; margin: 0 0 22px; font-weight: 800; }
.hero h1 .gris { color: #c9c9cc; }
.hero h1 .resalte { display: inline-block; background: var(--rojo); padding: 0 14px 4px; border-radius: 4px; transform: skewX(-6deg); }
.hero h1 .resalte span { display: inline-block; transform: skewX(6deg); }
.lead { font-size: 19px; color: #e6e6e8; max-width: 46ch; margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; font-size: 18px; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks li::before { content: '✓'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rojo); color: #fff; font-size: 14px; font-weight: 800; flex: none; }
.hero-acciones { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 18px; border: 1.5px solid rgba(227, 6, 19, .7); background: rgba(227, 6, 19, .14); border-radius: 999px; font-weight: 700; font-size: 15px; }
.hero-chip svg { width: 22px; height: 22px; color: #fff; }
.hero-acciones .btn { box-shadow: 0 10px 24px -10px rgba(227, 6, 19, .8); }
.hero-acciones .btn-borde { box-shadow: none; }
.hero-cert { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 30px; max-width: 660px; background: linear-gradient(90deg, #fff, #fdeef0); color: var(--tinta); text-decoration: none; border-radius: 16px; padding: 16px 18px; border: 2px solid #f6c9cd; box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .8); transition: transform .15s; }
.hero-cert:hover { transform: translateY(-2px); }
.hero-cert::after { content: ''; position: absolute; right: -6px; top: -26px; width: 34px; height: 30px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpath d='M4 22l-2-12M14 18l6-14M22 26l10-6' stroke='%23e30613' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hero-cert-ico { width: 46px; height: 46px; color: var(--rojo); flex: none; padding-right: 16px; box-sizing: content-box; border-right: 1.5px solid #f1c3c7; }
.hero-cert-txt { flex: 1; font: 700 16.5px/1.3 'Poppins', sans-serif; }
.hero-cert-txt em { font-style: normal; color: var(--rojo); position: relative; }
.hero-cert-txt em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 6px; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 8C30 1 70 0 98 3' fill='none' stroke='%23e30613' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hero-cert-btn { flex: none; background: var(--rojo); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
.hero-cert-btn b { margin-left: 4px; }

/* Ilustración del hero: celular, DNIe y documento firmado (SVG) */
.escena { display: block; width: 100%; height: auto; max-width: 640px; justify-self: center; overflow: visible; }
.escena .flota-a { animation: flotar 5s ease-in-out infinite; }
.escena .flota-b { animation: flotar 5s ease-in-out -2.5s infinite; }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .escena .flota-a, .escena .flota-b, .dnie, .ondas i { animation: none; } }
.cel { position: absolute; left: 6%; top: 0; width: 250px; height: 470px; background: #111; border-radius: 40px; padding: 12px; box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .7), inset 0 0 0 2px #2c2c2e; }
.cel-pantalla { height: 100%; background: #f7f7f5; border-radius: 30px; overflow: hidden; color: var(--tinta); display: flex; flex-direction: column; }
.cel-top { background: #fff; padding: 22px 16px 12px; border-bottom: 1px solid var(--borde); }
.cel-top img { height: 22px; display: block; }
.cel-titulo { font: 700 15px 'Poppins', sans-serif; padding: 14px 16px 6px; }
.doc { display: flex; align-items: center; gap: 10px; background: #fff; margin: 6px 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--borde); font-size: 11px; font-weight: 600; }
.doc .pdf { width: 26px; height: 32px; border-radius: 4px; background: var(--rojo); color: #fff; font-size: 8px; font-weight: 800; display: grid; place-items: end center; padding-bottom: 4px; flex: none; }
.doc .nombre { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.estado { font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.estado.ok { background: #e3f6e9; color: #18794e; }
.estado.pend { background: #e8efff; color: #2753c9; }
.cel-boton { margin: auto 12px 16px; background: var(--negro); color: #fff; text-align: center; border-radius: 14px; padding: 12px; font-weight: 700; font-size: 13px; }
.dnie { position: absolute; right: 0; top: 90px; width: 300px; aspect-ratio: 1.58; border-radius: 16px; padding: 16px 18px; background: linear-gradient(135deg, #fbfbfd, #e4e8ee); color: #1d2a44; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .6); transform: rotate(-8deg); animation: acercar 3.2s ease-in-out infinite; }
.dnie .franja { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 16px 0 0 16px; background: linear-gradient(var(--rojo) 33%, #fff 33% 66%, var(--rojo) 66%); }
.dnie b { display: block; font-size: 13px; letter-spacing: .02em; }
.dnie small { display: block; font-size: 8px; line-height: 1.3; color: #4a5672; text-transform: uppercase; }
.chip { position: absolute; left: 22px; bottom: 34px; width: 48px; height: 38px; border-radius: 7px; background: linear-gradient(135deg, #f4cf63, #c99a2e); box-shadow: inset 0 0 0 2px rgba(120, 80, 0, .25); }
.chip::before, .chip::after { content: ''; position: absolute; background: rgba(120, 80, 0, .35); }
.chip::before { left: 33%; top: 0; bottom: 0; width: 1.5px; box-shadow: 14px 0 0 rgba(120, 80, 0, .35); }
.chip::after { top: 50%; left: 0; right: 0; height: 1.5px; }
.foto { position: absolute; right: 18px; bottom: 18px; width: 74px; height: 90px; border-radius: 8px; background: #c9d1dd; overflow: hidden; }
.foto::before { content: ''; position: absolute; left: 50%; top: 16px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: #6b7891; }
.foto::after { content: ''; position: absolute; left: 50%; bottom: -24px; width: 64px; height: 50px; margin-left: -32px; border-radius: 50% 50% 0 0; background: #6b7891; }
.ondas { position: absolute; left: 255px; top: 175px; width: 70px; height: 70px; }
.ondas i { position: absolute; inset: 0; border: 3px solid #fff; border-color: #fff transparent transparent transparent; border-radius: 50%; transform: rotate(-90deg); opacity: 0; animation: onda 1.8s ease-out infinite; }
.ondas i:nth-child(2) { animation-delay: .6s; }
.ondas i:nth-child(3) { animation-delay: 1.2s; }
@keyframes onda { 0% { transform: rotate(-90deg) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: rotate(-90deg) scale(1.15); opacity: 0; } }
@keyframes acercar { 0%, 100% { transform: rotate(-8deg) translateX(0); } 50% { transform: rotate(-8deg) translateX(-14px); } }

/* ---- Secciones ---- */
section { padding: 64px clamp(16px, 5vw, 64px); }
section h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 12px; text-align: center; }
h2 .marca-txt { font-style: italic; font-weight: 800; }
h2 .marca-txt em { color: var(--rojo); font-style: italic; }
.sub { color: var(--gris); margin: 0 auto 32px; text-align: center; max-width: 60ch; }

/* Beneficios: título a la izquierda y 4 tarjetas blancas con borde rojo abajo */
.beneficios { display: grid; grid-template-columns: minmax(290px, 1.15fr) 3fr; gap: 28px; align-items: center; padding-top: 64px; }
.beneficios-titulo h2 { text-align: left; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; margin: 0 0 16px; }
.beneficios-titulo .sin-corte { display: block; white-space: nowrap; }
.beneficios-titulo p { margin: 0; color: var(--gris); font-size: 17px; }
.beneficios-titulo::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--rojo); margin-top: 18px; }
.tarjetas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.beneficio { background: #fff; border-radius: 16px; padding: 24px 16px 22px; text-align: center; border: 1px solid #efefec; border-bottom: 4px solid var(--rojo); box-shadow: 0 14px 32px -20px rgba(0, 0, 0, .35); transition: transform .2s; }
.beneficio:hover { transform: translateY(-4px); }
.icono-circulo { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fdeaeb; }
.beneficio svg { width: 40px; height: 40px; color: var(--rojo); }
.beneficio h3 { margin: 14px 0 8px; font-size: 20px; line-height: 1.15; }
.beneficio p { margin: 0; color: #3d3d44; font-size: 15px; }

/* Cómo funciona: caja oscura con esquinas rojas y pasos en tarjetas */
.como { padding-top: 24px; }
.como-caja { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--negro-2), var(--negro) 60%); color: #fff; border-radius: 26px; padding: 44px clamp(20px, 4vw, 64px) 52px; }
.como-caja::before, .como-caja::after { content: ''; position: absolute; width: 190px; height: 190px; background: linear-gradient(135deg, var(--rojo), var(--rojo-2)); }
.como-caja::before { right: 0; top: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.como-caja::after { left: 0; bottom: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.como-caja > * { position: relative; z-index: 1; }
.como h2 { color: #fff; margin: 0 0 6px; }
.sub-como { text-align: center; margin: 0; color: #e2e2e5; font-size: 18px; }
.sub-como::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--rojo); margin: 16px auto 0; }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; margin: 32px 0 0; list-style: none; padding: 0; counter-reset: p; }
.paso { position: relative; text-align: center; counter-increment: p; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 22px 14px 20px; }
.paso .icono-paso { display: inline-flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.paso .icono-paso::before { content: counter(p); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rojo); color: #fff; font: 700 16px 'Poppins', sans-serif; box-shadow: 0 6px 14px -4px rgba(227, 6, 19, .7); }
.paso svg { width: 60px; height: 60px; color: #fff; }
.paso p { margin: 0; font: 700 17px 'Poppins', sans-serif; line-height: 1.25; }
.paso p small { display: block; font: 400 14px 'DM Sans', sans-serif; color: #cfcfd4; margin-top: 6px; }
.paso:not(:last-child)::after { content: '→'; position: absolute; right: -34px; top: 50%; transform: translateY(-50%); font-size: 26px; color: #d0d0d4; }

.grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grilla.dos { grid-template-columns: repeat(2, 1fr); }
/* Dos formas de firmar: ilustración a la izquierda, contenido a la derecha */
.formas h2 { font-size: clamp(32px, 4vw, 54px); }
.subrayado { position: relative; color: var(--rojo); white-space: nowrap; }
.subrayado::after { content: ''; position: absolute; left: 0; right: 4%; bottom: -10px; height: 10px; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 8C30 1 70 0 98 3' fill='none' stroke='%23e30613' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.formas .grilla.dos { gap: 28px; margin-top: 12px; }
.forma { position: relative; display: grid; grid-template-columns: minmax(150px, .8fr) 1.25fr; align-items: center; gap: 0; background: #fff; border: 1px solid var(--borde); border-radius: 24px; padding: 32px 28px; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .35); }
.forma-ilus { width: 100%; height: auto; max-height: 230px; }
.forma-cuerpo { border-left: 1.5px solid var(--borde); padding-left: 24px; margin-left: 12px; }
.forma h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.15; }
.forma h3 svg { width: 40px; height: 40px; color: var(--rojo); flex: none; }
.forma p { color: #3d3d44; margin: 0 0 16px; }
.forma .precio-forma { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; background: #fdeef0; border-radius: 14px; padding: 10px 20px 10px; margin: 0 0 18px; font: 700 22px 'Poppins', sans-serif; color: var(--tinta); }
.forma .precio-forma b { color: var(--rojo); font-size: 38px; font-weight: 800; line-height: 1.1; }
.forma .precio-forma small { flex-basis: 100%; font: 500 14px 'DM Sans', sans-serif; color: var(--gris); }
.forma .precio-gratis small { flex-basis: auto; font-size: 16px; color: var(--tinta); }
.forma .btn { width: 100%; justify-content: center; font-size: 18px; padding: 15px; }
.forma .btn svg { width: 24px; height: 24px; }
.sello-legal { position: relative; background: #fdeef0; border-radius: 14px; padding: 12px 14px 12px 52px; font-size: 14.5px; }
.sello-legal::before { content: '✓'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rojo); color: #fff; font-weight: 800; }
.forma .sello-legal b { color: var(--rojo); }
.forma .pronto { margin: 0; font-weight: 700; color: var(--rojo); font-size: 13px; }
.forma.destacado { background: linear-gradient(160deg, #fff6f6, #fdecee); border: 2px solid var(--rojo); }
.forma.destacado .forma-cuerpo { border-color: #f3c3c7; }
.forma.destacado .precio-forma, .forma.destacado .sello-legal { background: #fff; }
.forma .cinta { color: #fff; margin: 0; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; top: -20px; left: 28px; font-size: 18px; padding: 8px 22px; box-shadow: 0 8px 18px -8px rgba(227, 6, 19, .7); }
.forma .cinta svg { width: 22px; height: 22px; }

/* Franja oscura de funciones */
.gestion { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--negro), var(--negro-2)); color: #fff; display: grid; grid-template-columns: minmax(300px, 1.5fr) 3fr; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.gestion::before { content: ''; position: absolute; left: -40px; bottom: -40px; width: 200px; height: 110px; background: var(--rojo); transform: skewY(-18deg); }
.gestion > * { position: relative; z-index: 1; }
.gestion h2 { text-align: left; color: #fff; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; margin: 0; padding-right: 24px; border-right: 1.5px solid #3a3a3e; }
.gestion h2 .resalte { display: inline-block; background: var(--rojo); padding: 0 10px 3px; border-radius: 4px; transform: skewX(-6deg); }
.gestion h2 .resalte span { display: inline-block; transform: skewX(6deg); }
.gestion-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.gestion-items li { text-align: center; padding: 6px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gestion-items li + li { border-left: 1px solid #2e2e32; }
.gestion-items svg { width: 44px; height: 44px; color: #fff; margin-bottom: 4px; }
.gestion-items b { font: 700 17px 'Poppins', sans-serif; }
.gestion-items span { font-size: 14px; color: #c9c9ce; line-height: 1.35; }

/* Planes */
.planes { display: grid; grid-template-columns: minmax(220px, .8fr) 3fr; gap: 32px; align-items: center; }
.planes-titulo h2 { text-align: left; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; margin: 0 0 16px; }
.planes-titulo h2::after { content: ''; display: block; width: 72px; height: 4px; background: var(--rojo); border-radius: 2px; margin-top: 18px; }
.planes-titulo p { margin: 0 0 8px; color: var(--gris); }
.planes-titulo .gratis { color: var(--tinta); }
.planes-titulo .gratis b { color: var(--rojo); }
.plan { position: relative; background: var(--papel); border: 1px solid var(--borde); border-radius: 18px; padding: 26px 26px 22px; display: flex; flex-direction: column; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .25); }
.plan-cab { display: flex; align-items: center; gap: 12px; }
.plan-cab svg { width: 34px; height: 34px; color: var(--rojo); flex: none; }
.plan-cab .ico-anios { width: 50px; height: 50px; overflow: visible; }
.plan h3 { margin: 0; font-size: 22px; line-height: 1.1; }
.plan-cab small { color: var(--gris); font-size: 13px; }
.precio { font: 800 52px 'Poppins', sans-serif; margin: 14px 0 0; line-height: 1; text-align: center; }
.precio small { font-size: 22px; vertical-align: super; margin-right: 6px; }
.periodo { margin: 4px 0 16px; text-align: center; color: var(--gris); font-weight: 600; font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; display: grid; gap: 6px; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: '✓'; color: var(--rojo); font-weight: 800; }
.plan .btn { justify-content: center; }
.plan .btn-sec { border-color: var(--tinta); }
.plan.destacado { background: #fff5f5; }
.destacado { border: 2px solid var(--rojo); }
.cinta { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--rojo); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan .cinta { left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* Preguntas frecuentes: acordeón a la izquierda, ilustración a la derecha */
.faq-grilla { display: grid; grid-template-columns: minmax(260px, 1fr) 3fr; gap: 36px; align-items: start; max-width: 1320px; margin: 0 auto; }
.faq-lado { position: sticky; top: 96px; }
.faq-chip { position: relative; display: inline-block; margin: 0 0 18px; background: var(--rojo); color: #fff; font: 700 20px 'Poppins', sans-serif; padding: 6px 22px; border-radius: 14px; }
.faq-chip::after { content: ''; position: absolute; left: 14px; bottom: -9px; border: 10px solid transparent; border-top-color: var(--rojo); border-left-color: var(--rojo); border-bottom: 0; }
.faq-titulo { text-align: left; font-size: clamp(36px, 4vw, 58px); line-height: 1.02; margin: 0 0 18px; font-weight: 800; }
.faq-titulo span { display: block; color: var(--rojo); }
.faq-sub { margin: 0; font-size: 19px; color: #3d3d44; }
.faq-sub::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--rojo); margin-top: 20px; }
.faq-ilus { display: block; width: 100%; max-width: 330px; height: auto; margin-top: 24px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .15)); }

.faq-lista { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--borde); border-radius: 16px; box-shadow: 0 10px 26px -20px rgba(0, 0, 0, .45); overflow: hidden; }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 13px 22px; font: 700 clamp(16px, 1.45vw, 20px) 'Poppins', sans-serif; cursor: pointer; transition: background .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; margin-left: auto; width: 10px; height: 10px; flex: none; border-left: 3px solid currentColor; border-top: 3px solid currentColor; transform: rotate(225deg) translate(2px, 2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg) translate(2px, 2px); }
.faq-ico { width: 30px; height: 30px; color: var(--rojo); flex: none; }
.faq summary:hover { background: #fdf3f4; }
.faq details[open] { background: linear-gradient(180deg, #fff, #fdf5f5); }
.faq details[open] summary { border-bottom: 1px solid #f1d3d6; }
.faq details:first-child[open] summary { background: linear-gradient(90deg, var(--rojo), var(--rojo-2)); color: #fff; border-bottom: 0; }
.faq details:first-child[open] .faq-ico { color: #fff; }

.faq-resp { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 0 22px; padding: 14px 22px 16px; color: #3d3d44; }
.faq-dibujo svg { display: block; width: 150px; height: auto; }
.faq-texto { border-left: 1.5px solid #ecc9cc; padding-left: 22px; }
.faq-texto p { margin: 0; color: var(--tinta); }
.faq-checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 3px; font-size: 15.5px; }
.faq-checks li { position: relative; padding-left: 28px; }
.faq-checks li::before { content: '✓'; position: absolute; left: 2px; color: var(--rojo); font-weight: 800; }
.faq-sello { display: flex; align-items: center; gap: 12px; background: #fde7e9; border-radius: 16px; padding: 14px 20px; color: var(--rojo); }
.faq-sello > svg { width: 36px; height: 36px; flex: none; }
.faq-sello div { display: flex; flex-direction: column; }
.faq-sello .grande { font: 800 34px 'Poppins', sans-serif; line-height: 1; }
.faq-sello small { color: var(--tinta); font-size: 14px; }
.faq-sello-ley { flex-direction: column; align-items: stretch; gap: 8px; background: #fff; border: 1px solid #f1d3d6; }
.faq-sello-ley .fila { flex-direction: row; align-items: center; gap: 10px; }
.faq-sello-ley svg { width: 28px; height: 28px; color: var(--rojo); flex: none; }
.faq-sello-ley b { font: 800 20px 'Poppins', sans-serif; color: var(--tinta); }
.faq-sello-ley small { max-width: 13ch; line-height: 1.25; }
.faq-chips { display: flex; gap: 10px; }
.faq-chips span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 10px 16px; box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .3); }
.faq-chips svg { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--tinta); }
.faq-chips b { font: 700 15px 'Poppins', sans-serif; line-height: 1.1; }
.faq-chips small { font-size: 12px; color: var(--gris); }
.faq-apps { display: flex; gap: 6px; background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 10px 12px; box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .3); }
.faq-apps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.faq-apps svg { width: 26px; height: 26px; }
.app-wa { background: #e5f7ec; color: #18a35b; }
.app-correo { background: #fdecee; color: var(--rojo); }
.app-nube { background: #e8f0fe; color: #2a6ee8; }

/* ---- Llamado final ---- */
.cta { padding: 24px clamp(16px, 5vw, 64px) 56px; }
.cta-caja { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--negro); color: #fff; border-radius: 22px; padding: 40px clamp(20px, 4vw, 48px); }
.cta-caja { background: linear-gradient(100deg, var(--rojo) 0 30%, var(--negro) 30.1%); }
.cta-caja::after { content: ''; position: absolute; left: 22%; top: 0; bottom: 0; width: 16%; background: var(--negro); transform: skewX(-24deg); }
.cta-caja > * { position: relative; z-index: 1; }
/* Tablet con la app, en el llamado final */
.cta .cta-texto h2 { font-size: clamp(24px, 2.5vw, 32px); }
.tablet { display: flex; width: 340px; height: 190px; background: #fff; border-radius: 14px; border: 8px solid #111; overflow: hidden; color: var(--tinta); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7); transform: rotate(-4deg); margin: -10px 0; }
.tablet-lado { width: 96px; background: var(--negro); color: #cfcfd3; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; font-size: 9px; }
.tablet-lado img { height: 16px; width: auto; align-self: flex-start; margin-bottom: 6px; }
.tablet-lado span { padding: 3px 6px; border-radius: 5px; }
.tablet-lado .activo { background: var(--rojo); color: #fff; }
.tablet-main { flex: 1; min-width: 0; background: #f7f7f5; }
.tablet .doc { margin: 5px 8px; padding: 7px; font-size: 9px; }
.cta-texto { flex: 1; min-width: 260px; }
.cta-texto h2 { text-align: left; color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.cta-texto p { margin: 0; color: #d6d6da; font-size: 17px; }
.cta-acciones { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-acciones .btn { font-size: 18px; padding: 16px 30px; }
.wa { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.wa svg { width: 22px; height: 22px; }

footer { text-align: center; padding: 28px 16px; color: var(--gris); font-size: 14px; border-top: 1px solid var(--borde); }
.pie p { margin: 0; font-size: 13px; }

/* ---- Diálogo de compra ---- */
dialog { border: 0; border-radius: 20px; padding: 0; width: min(420px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(14, 14, 15, .6); }
dialog form { padding: 28px; }
dialog h3 { margin: 0 0 16px; }
dialog label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 14px; }
dialog input { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--borde); border-radius: 10px; font: inherit; }
.acciones { display: flex; gap: 10px; justify-content: flex-end; }
.error { color: #c0182b; min-height: 1.2em; font-size: 14px; }

/* ---- Carrito (pagar.html) ---- */
.pagina-carrito { background: var(--gris-claro); }
.volver { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.volver:hover { color: #ffb3b8; }
.carrito { max-width: 1120px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 32px) 56px; }
.etapas { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; counter-reset: e; }
.etapas li { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--gris); padding-bottom: 10px; border-bottom: 3px solid var(--borde); }
.etapas li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--borde); color: var(--gris); font: 700 13px 'Poppins', sans-serif; flex: none; }
.etapas li.activa { color: var(--tinta); border-color: var(--rojo); }
.etapas li.activa span { background: var(--rojo); color: #fff; }
.aviso-error { background: #fdecee; border: 1px solid #f5b5bb; color: #9d0f1d; border-radius: 12px; padding: 14px 18px; font-weight: 600; margin: 0 0 20px; }
.carrito-grilla { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.carrito-pasos { display: grid; gap: 20px; }
.bloque { margin: 0; border: 1px solid var(--borde); background: #fff; border-radius: 18px; padding: 24px; min-width: 0; }
.bloque legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font: 700 20px 'Poppins', sans-serif; margin: 0 0 4px; padding: 0; }
.bloque legend + * { clear: both; }
.num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--negro); color: #fff; font-size: 14px; }
.nota { color: var(--gris); margin: 0 0 16px; font-size: 15px; }
.opciones-plan { display: grid; gap: 10px; }
.opcion-plan { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--borde); border-radius: 14px; padding: 14px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.opcion-plan:hover { border-color: #c9c9c4; }
.opcion-plan:has(input:checked) { border-color: var(--rojo); background: #fff5f5; box-shadow: 0 0 0 1px var(--rojo); }
.opcion-plan input { accent-color: var(--rojo); width: 20px; height: 20px; margin: 0; flex: none; }
.op-cuerpo { flex: 1; display: flex; flex-direction: column; }
.op-cuerpo b { font: 700 17px 'Poppins', sans-serif; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.op-cuerpo em { font: 700 11px 'DM Sans', sans-serif; font-style: normal; background: var(--rojo); color: #fff; padding: 2px 8px; border-radius: 999px; }
.op-cuerpo small { color: var(--gris); font-size: 14px; }
.op-precio { font: 800 20px 'Poppins', sans-serif; white-space: nowrap; }
.nota-gratis { margin: 14px 0 0; font-size: 14px; color: var(--gris); }
.nota-gratis a { color: var(--rojo); font-weight: 700; }
.campo { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.campo small { font-weight: 400; color: var(--gris); }
.campo input { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1.5px solid var(--borde); border-radius: 10px; font: 500 16px 'DM Sans', sans-serif; background: #fff; }
.campo input:focus { outline: none; border-color: var(--tinta); }
.campo input[aria-invalid] { border-color: var(--rojo); background: #fff7f7; }
.campos-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.campos-dos .campo { margin-bottom: 0; }
.resumen { position: sticky; top: 88px; background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 24px; box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .3); }
.resumen h2 { text-align: left; font-size: 20px; margin: 0 0 16px; }
.linea-item { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--borde); }
.linea-item img { border-radius: 10px; background: var(--gris-claro); padding: 6px; flex: none; }
.linea-item div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.linea-item b { font-family: 'Poppins', sans-serif; }
.linea-item small { color: var(--gris); font-size: 13px; line-height: 1.35; }
.linea-item > span { font-weight: 700; white-space: nowrap; }
.totales { margin: 14px 0 0; }
.totales div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--gris); }
.totales dd { margin: 0; }
.totales .total { color: var(--tinta); border-top: 1px dashed var(--borde); margin-top: 8px; padding-top: 12px; font: 800 22px 'Poppins', sans-serif; }
.incluye { font-size: 14px; color: var(--gris); margin: 10px 0 4px; }
.btn-mp { width: 100%; justify-content: center; background: #009ee3; font-size: 17px; padding: 16px; }
.btn-mp:hover { background: #0089c7; }
.garantias { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--gris); }
.garantias li { display: flex; gap: 8px; }
.garantias li::before { content: '✓'; color: #18794e; font-weight: 800; }

/* ---- Página de gracias ---- */
.gracias { max-width: 640px; margin: 40px auto; padding: 0 16px; text-align: center; }
.codigo { font: 800 clamp(22px, 6vw, 34px) 'Poppins', monospace; letter-spacing: .08em; background: var(--papel); border: 2px dashed var(--rojo); border-radius: 14px; padding: 18px; }
.tiendas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
  .abrir-menu { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--negro); padding: 8px clamp(16px, 5vw, 64px) 18px; border-bottom: 3px solid var(--rojo); box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .5); }
  .barra.abierta .menu { display: flex; }
  .menu a { padding: 14px 4px; border-bottom: 1px solid #222; font-size: 17px; border-radius: 0; }
  .menu a.activo { color: var(--rojo); }
  .menu a.activo::after { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero::after { width: 90%; height: 60%; bottom: -10%; right: -30%; }
  .escena { max-width: 520px; margin: 0 auto; }
  .beneficios { grid-template-columns: 1fr; }
  .beneficios-titulo { text-align: center; }
  .beneficios-titulo h2 { text-align: center; }
  .beneficios-titulo .sin-corte { display: inline; }
  .beneficios-titulo::after { margin: 18px auto 0; }
  .tarjetas, .pasos { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .pasos { gap: 20px; }
  .paso::after { display: none; }
  .grilla, .grilla.dos { grid-template-columns: 1fr; }
  .gestion, .planes { grid-template-columns: 1fr; }
  .gestion h2 { border-right: 0; padding-right: 0; }
  .gestion::before { display: none; }
  .gestion-items { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); row-gap: 22px; }
  .gestion-items li + li { border-left: 0; }
  .planes-titulo { text-align: center; }
  .planes-titulo h2 { text-align: center; }
  .planes-titulo h2::after { margin: 18px auto 0; }
  .cta-caja { background: var(--negro); }
  .cta-caja::after { display: none; }
  .tablet { margin: 0 auto; }
  .faq-grilla { grid-template-columns: 1fr; gap: 24px; }
  .faq-lado { position: static; text-align: center; }
  .faq-titulo { text-align: center; }
  .faq-titulo span { display: inline; }
  .faq-sub::after { margin: 18px auto 0; }
  .faq-ilus { display: none; }
  .faq-resp { grid-template-columns: 120px 1fr; row-gap: 14px; }
  .faq-dibujo svg { width: 120px; }
  .faq-sello, .faq-chips, .faq-apps { grid-column: 1 / -1; justify-self: start; }
  .carrito-grilla { grid-template-columns: 1fr; }
  .resumen { position: static; }
}
@media (max-width: 560px) {
  .carrito { padding-top: 20px; }
  .etapas li { font-size: 0; gap: 0; justify-content: center; }
  .etapas li.activa { font-size: 13px; gap: 8px; flex: 2.2; }
  .bloque, .resumen { padding: 18px; }
  .opcion-plan { padding: 12px 14px; gap: 12px; }
  .campos-dos { grid-template-columns: 1fr; }
  .campos-dos .campo { margin-bottom: 14px; }
  .volver { font-size: 14px; }
}
@media (max-width: 560px) {
  section { padding-top: 48px; padding-bottom: 48px; }
  .barra { padding-top: 10px; padding-bottom: 10px; }
  .marca img { height: 34px; }
  .hero { padding-top: 36px; padding-bottom: 40px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 17px; }
  .hero-acciones { flex-direction: column; gap: 10px; }
  .hero-acciones .btn { justify-content: center; padding: 14px 16px; }
  .hero-chip { font-size: 13px; padding: 6px 14px; }
  .hero-cert { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .hero-cert-ico { width: 36px; height: 36px; padding-right: 12px; }
  .hero-cert-txt { font-size: 15px; }
  .hero-cert-btn { flex-basis: 100%; text-align: center; }
  .cel { width: 200px; height: 360px; left: 0; border-radius: 32px; padding: 9px; }
  .cel-pantalla { border-radius: 24px; }
  .cel-top { padding: 16px 12px 8px; }
  .cel-top img { height: 18px; }
  .cel-titulo { font-size: 13px; padding: 10px 12px 2px; }
  .doc { margin: 5px 8px; padding: 7px; gap: 7px; font-size: 9.5px; }
  .doc .pdf { width: 20px; height: 26px; font-size: 6.5px; }
  .estado { font-size: 0; width: 16px; height: 16px; padding: 0; display: grid; place-items: center; flex: none; }
  .estado.ok::before { content: '✓'; font-size: 10px; }
  .estado.pend::before { content: '•'; font-size: 14px; }
  .cel-boton { font-size: 11px; padding: 10px 6px; margin: auto 8px 12px; }
  .dnie { width: 196px; top: 190px; padding: 12px 14px; }
  .dnie b { font-size: 10px; }
  .dnie small { font-size: 6.5px; }
  .chip { width: 36px; height: 28px; left: 18px; bottom: 24px; }
  .foto { width: 52px; height: 64px; right: 12px; bottom: 12px; }
  .ondas { left: 186px; top: 140px; width: 50px; height: 50px; }
  /* Beneficios en 2 columnas compactas */
  .tarjetas { grid-template-columns: repeat(2, 1fr); gap: 12px; row-gap: 12px; margin-top: 20px; }
  .beneficio { padding: 18px 12px; }
  .beneficio svg { width: 38px; height: 38px; }
  .beneficio h3 { font-size: 16px; line-height: 1.2; margin: 8px 0 4px; }
  .beneficio p { font-size: 13.5px; line-height: 1.4; }
  /* Pasos en filas: número + ícono a la izquierda, texto a la derecha */
  .pasos { grid-template-columns: 1fr; gap: 10px; row-gap: 10px; margin-top: 22px; }
  .paso { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px; }
  .beneficios { padding-top: 44px; }
  .icono-circulo { width: 56px; height: 56px; }
  .beneficio svg { width: 30px; height: 30px; }
  .como { padding-top: 8px; padding-left: 12px; padding-right: 12px; }
  .como-caja { padding: 32px 16px 28px; border-radius: 22px; }
  .como-caja::before, .como-caja::after { width: 90px; height: 90px; }
  .sub-como { font-size: 16px; }
  .paso p small { font-size: 13px; margin-top: 3px; }
  .paso .icono-paso { margin: 0; gap: 10px; flex: none; }
  .paso .icono-paso::before { width: 28px; height: 28px; font-size: 14px; }
  .paso svg { width: 40px; height: 40px; }
  .paso p { font-size: 16px; }
  .paso::after { display: none; }
  .checks { font-size: 16px; }
  .formas h2 { font-size: 29px; }
  .faq-titulo { font-size: 34px; }
  .faq-chip { font-size: 16px; padding: 4px 16px; }
  .faq-sub { font-size: 16px; }
  .faq summary { padding: 13px 14px; gap: 10px; font-size: 15.5px; }
  .faq-ico { width: 24px; height: 24px; }
  .faq-resp { grid-template-columns: 1fr; padding: 12px 14px 16px; }
  .faq-dibujo svg { width: 130px; margin: 0 auto; }
  .faq-texto { border-left: 0; padding-left: 0; }
  .faq-checks { font-size: 14.5px; }
  .faq-sello, .faq-chips, .faq-apps { justify-self: stretch; justify-content: center; }
  .faq-chips span { flex: 1; }
  .forma { padding: 28px 18px 22px; grid-template-columns: 1fr; }
  .forma-ilus { max-height: 160px; margin-bottom: 8px; }
  .forma-cuerpo { border-left: 0; padding-left: 0; margin-left: 0; }
  .forma h3 svg { width: 32px; height: 32px; }
  .forma .precio-forma b { font-size: 32px; }
  .forma .cinta { font-size: 15px; padding: 6px 16px; top: -17px; }
  /* Franja oscura */
  .gestion h2 { font-size: 26px; text-align: center; }
  .gestion-items { grid-template-columns: repeat(2, 1fr); gap: 0; row-gap: 22px; }
  .gestion-items li { padding: 0 8px; }
  .gestion-items li:last-child { grid-column: 1 / -1; }
  .gestion-items svg { width: 36px; height: 36px; }
  .gestion-items b { font-size: 15px; }
  .gestion-items span { font-size: 13px; }
  .gestion::after { content: ''; position: absolute; right: -40px; top: -30px; width: 140px; height: 60px; background: var(--rojo); transform: skewY(-18deg); }
  /* Planes */
  .planes { gap: 24px; }
  .planes .grilla { gap: 24px; }
  .plan { padding: 22px 20px 18px; }
  .precio { font-size: 44px; }
  /* Llamado final */
  .cta { padding-top: 8px; padding-bottom: 40px; }
  .cta-caja { padding: 28px 20px; gap: 20px; text-align: center; }
  .cta-caja::before { content: ''; position: absolute; left: -30px; top: -40px; width: 160px; height: 110px; background: var(--rojo); transform: skewX(-30deg); z-index: 0; }
  .cta-texto { min-width: 0; }
  .cta-texto h2, .cta .cta-texto h2 { text-align: center; font-size: 24px; }
  .cta-texto p { font-size: 15px; }
  .tablet { width: 100%; max-width: 300px; height: 170px; text-align: left; }
  .cta-acciones { width: 100%; }
  .cta-acciones .btn { width: 100%; justify-content: center; font-size: 16px; padding: 15px 16px; }
}
