/* RegisTec · portada, registro e inicio de sesión. Se carga solo en páginas públicas. */
:root {
  --tinta: #0b0b12;
  --morado-v: #7c5cff;
  --azul-v: #0a84ff;
  --rosa-v: #ff5ca8;
  --cian-v: #2dd4bf;
  --grad: linear-gradient(120deg, #2a4bbd 0%, #5b6fd6 45%, #f26a21 100%);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.p-landing { background: #fbfbfd; overflow-x: clip; }
.envoltura { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.texto-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Navegación ---------- */
.l-nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.l-nav.con-fondo { background: rgba(251,251,253,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.l-nav .envoltura { display: flex; align-items: center; gap: 28px; height: 64px; }
.l-nav .marca { padding: 0; font-size: 18px; }
.l-enlaces { display: flex; gap: 22px; margin-left: 4px; }
@media (max-width: 1240px) { .l-enlaces { gap: 16px; } }
.l-enlaces a { color: var(--secundario); font-size: 14px; font-weight: 500; }
.l-enlaces a:hover { color: var(--texto); text-decoration: none; }
.l-acciones { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn-pill { border-radius: 980px; }
.btn-oscuro { background: var(--tinta); color: #fff; }
.btn-oscuro:hover { background: #24242e; text-decoration: none; }
.btn-brillo { position: relative; background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 8px 24px -8px rgba(242,106,33,.45); transition: background-position .5s, transform .15s, box-shadow .2s; }
.btn-brillo:hover { background-position: 100% 0; box-shadow: 0 12px 30px -8px rgba(124,92,255,.7); text-decoration: none; }
.btn .flecha { display: inline-block; transition: transform .2s; }
.btn:hover .flecha { transform: translateX(3px); }
@media (max-width: 860px) { .l-enlaces { display: none; } .l-acciones .btn-texto { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 110px; isolation: isolate; }
.hero-fondo { position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fondo::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); }
.mancha { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: flotar 18s ease-in-out infinite alternate; }
.mancha.m1 { width: 500px; height: 500px; background: #8ab4ff; top: -60px; left: 20%; }
.mancha.m2 { width: 440px; height: 440px; background: #c4b5fd; top: 20px; right: 0; animation-delay: -6s; }
.mancha.m3 { width: 360px; height: 360px; background: #fbcfe8; top: 300px; right: 10%; animation-delay: -12s; opacity: .4; }
@keyframes flotar { to { transform: translate(30px, 25px) scale(1.06); } }

/* Layout split */
.hero-interior { display: grid; grid-template-columns: minmax(0,460px) minmax(0,1fr); gap: 64px; align-items: center; }
.hero-visual { position: relative; }

.etiqueta-nueva { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 980px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 4px 14px rgba(0,0,0,.05); color: var(--texto); backdrop-filter: blur(10px); }
.etiqueta-nueva b { background: var(--grad); color: #fff; padding: 2px 9px; border-radius: 980px; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.etiqueta-nueva:hover { text-decoration: none; box-shadow: 0 0 0 1px rgba(124,92,255,.35), 0 6px 18px rgba(124,92,255,.15); }
.hero h1 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; margin: 24px 0 0; }
.hero .bajada { font-size: clamp(15px, 1.4vw, 17px); color: var(--secundario); margin: 20px 0 0; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-cta .btn { padding: 14px 28px; font-size: 16px; }
.hero-nota { margin-top: 18px; font-size: 13px; color: var(--terciario); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-nota span::before { content: "✓"; color: var(--verde); font-weight: 700; margin-right: 6px; }

/* ---------- Maqueta del producto ---------- */
.maqueta-zona { position: relative; perspective: 1800px; }
.maqueta { border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 32px 64px -16px rgba(30,20,80,.3), 0 16px 32px -16px rgba(0,0,0,.18), 0 0 80px -10px rgba(124,92,255,.12);
  overflow: hidden; text-align: left; transform: rotateX(6deg) rotateY(-2deg); transform-origin: 50% 0; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.maqueta-zona.visible .maqueta { transform: rotateX(0) rotateY(0); }
.maqueta-barra { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f6f6f8; border-bottom: 1px solid #ececf0; }
.maqueta-barra i { width: 10px; height: 10px; border-radius: 50%; }
.maqueta-barra i:nth-child(1) { background: #ff5f57; } .maqueta-barra i:nth-child(2) { background: #febc2e; } .maqueta-barra i:nth-child(3) { background: #28c840; }
.maqueta-barra .url { margin: 0 auto; background: #fff; border-radius: 7px; padding: 3px 32px; font-size: 11.5px; color: var(--terciario); box-shadow: 0 0 0 1px #ececf0; }
.maqueta-cuerpo { display: grid; grid-template-columns: 160px 1fr; min-height: 380px; }
.mq-lateral { background: #fafafc; border-right: 1px solid #ececf0; padding: 16px 10px; font-size: 12.5px; }
.mq-lateral .marca { font-size: 14px; padding: 0 6px 14px; }
.mq-lateral .marca-logo { width: 24px; height: 24px; font-size: 11px; border-radius: 6px; }
.mq-item { padding: 6px 10px; border-radius: 7px; color: var(--secundario); display: flex; gap: 8px; align-items: center; }
.mq-item.activo { background: var(--azul); color: #fff; }
.mq-item::before { content: ""; width: 13px; height: 13px; border-radius: 3px; background: currentColor; opacity: .25; }
.mq-principal { padding: 18px 20px; min-width: 0; display: flex; flex-direction: column; }
.mq-encabezado { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.mq-encabezado h4 { font-size: 17px; }
.mq-encabezado small { display: block; color: var(--terciario); font-size: 11px; margin-top: 2px; }
.mq-guardado { font-size: 11px; color: var(--verde); background: var(--verde-suave); padding: 4px 10px; border-radius: 980px; font-weight: 500; white-space: nowrap; }
.mq-tabla { width: 100%; border-collapse: collapse; font-size: 12px; }
.mq-tabla th { text-align: center; font-weight: 500; color: var(--terciario); font-size: 10.5px; padding: 5px 3px; text-transform: uppercase; letter-spacing: .04em; }
.mq-tabla th:first-child, .mq-tabla td:first-child { text-align: left; }
.mq-tabla td { padding: 6px 3px; border-top: 1px solid #f0f0f3; text-align: center; }
.mq-tabla td:first-child { white-space: nowrap; font-weight: 500; }
.mq-tabla td:first-child span { color: var(--terciario); font-weight: 400; margin-right: 7px; font-size: 11px; }
.mq-pct { font-weight: 600; font-size: 11.5px; }
.mq-pie { display: flex; gap: 0; border-top: 1px solid #f0f0f3; margin-top: auto; padding-top: 12px; }
.mq-stat { flex: 1; text-align: center; }
.mq-stat small { display: block; font-size: 10px; color: var(--terciario); margin-bottom: 3px; }
.mq-stat strong { font-size: 16px; letter-spacing: -.02em; }
.mq-verde { color: var(--verde); }
.chip-a { display: inline-grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; font-size: 10.5px; font-weight: 600; }
.chip-a.p { background: var(--verde-suave); color: var(--verde); }
.chip-a.a { background: var(--rojo-suave); color: var(--rojo); }
.chip-a.t { background: var(--naranja-suave); color: var(--naranja); }
.chip-a.e { background: var(--azul-suave); color: var(--azul); }
.chip-a.foco { box-shadow: 0 0 0 2px var(--azul); animation: parpadeo 1.6s ease-in-out infinite; }
@keyframes parpadeo { 50% { box-shadow: 0 0 0 4px rgba(0,113,227,.25); } }
.flotante { position: absolute; background: rgba(255,255,255,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 16px 36px -8px rgba(30,20,80,.22); font-size: 12px; text-align: left; animation: subirBajar 6s ease-in-out infinite; }
.flotante small { display: block; color: var(--terciario); font-size: 10.5px; }
.flotante strong { font-size: 20px; letter-spacing: -.02em; display: block; margin: 2px 0; }
.flotante.f1 { left: -20px; bottom: 28px; }
.flotante.f2 { right: -16px; top: -18px; animation-delay: -2s; }
.flotante.f2 .f2-chips { display: flex; gap: 5px; margin: 7px 0 5px; }
.flotante.f3 { right: 20px; bottom: -18px; animation-delay: -4s; display: flex; gap: 10px; align-items: center; }
.flotante .anillo { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--verde) 0 92%, #e8e8ed 0); display: grid; place-items: center; }
.flotante .anillo::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.barras-mini { display: flex; gap: 4px; align-items: flex-end; height: 32px; margin-top: 5px; }
.barras-mini i { width: 8px; border-radius: 3px 3px 0 0; background: var(--grad); }
@keyframes subirBajar { 50% { transform: translateY(-7px); } }
@media (max-width: 1100px) {
  .hero-interior { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-nota { justify-content: center; }
  .hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
  .hero .bajada { max-width: 580px; margin-left: auto; margin-right: auto; }
  .maqueta-zona { max-width: 860px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .maqueta-cuerpo { grid-template-columns: 1fr; } .mq-lateral { display: none; }
  .flotante.f1, .flotante.f2 { display: none; } .mq-tabla .ocultar-m { display: none; }
}

/* ---------- Secciones ---------- */
.seccion { padding: 110px 0; position: relative; }
.seccion-titulo { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.antetitulo { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--morado-v); }
.seccion-titulo h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin-top: 12px; }
.seccion-titulo p { font-size: 18px; color: var(--secundario); margin-top: 16px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.celda { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 10px 30px -18px rgba(0,0,0,.2); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.celda:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 50px -20px rgba(30,20,80,.3); }
.celda h3 { font-size: 21px; letter-spacing: -.02em; margin-top: 18px; }
.celda p { color: var(--secundario); margin-top: 8px; font-size: 15px; }
.celda .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.celda .ico svg { width: 22px; height: 22px; }
.c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; }
.celda.oscura { background: radial-gradient(500px 300px at 90% 0%, rgba(124,92,255,.45), transparent 60%), var(--tinta); color: #fff; }
.celda.oscura p { color: rgba(255,255,255,.65); }
@media (max-width: 960px) { .c-4, .c-3, .c-2 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .c-4, .c-3, .c-2 { grid-column: auto; } }

.teclas { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.tecla { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 -2px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.12); }
.tecla small { display: block; font-size: 10px; font-weight: 400; color: rgba(255,255,255,.55); margin-top: -4px; }
.formula { margin-top: 22px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; background: #f6f6fa; border-radius: 14px; padding: 14px 16px; line-height: 1.9; }
.formula b { color: var(--morado-v); }
.formula .res { display: inline-block; background: var(--grad); color: #fff; border-radius: 6px; padding: 0 8px; font-weight: 600; }
.avatares { display: flex; margin-top: 22px; }
.avatares span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; }
.avatares span:first-child { margin-left: 0; }
.permisos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.permisos span { font-size: 12px; padding: 4px 10px; border-radius: 980px; background: #f2f2f7; color: var(--secundario); }
.permisos span.si { background: var(--azul-suave); color: var(--azul); }
.hojas { position: relative; height: 120px; margin-top: 22px; }
.hoja { position: absolute; width: 92px; height: 118px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 10px 24px -10px rgba(0,0,0,.25); padding: 12px 10px; transition: transform .4s; }
.hoja i { display: block; height: 5px; border-radius: 3px; background: #ececf2; margin-bottom: 6px; }
.hoja i:first-child { width: 60%; background: var(--grad); }
.hoja b { position: absolute; bottom: 8px; right: 8px; font-size: 10px; padding: 2px 6px; border-radius: 5px; color: #fff; }
.hoja:nth-child(1) { left: 0; transform: rotate(-8deg); } .hoja:nth-child(2) { left: 70px; transform: rotate(2deg); } .hoja:nth-child(3) { left: 140px; transform: rotate(10deg); }
.celda:hover .hoja:nth-child(1) { transform: rotate(-12deg) translateX(-8px); } .celda:hover .hoja:nth-child(3) { transform: rotate(14deg) translateX(8px); }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; position: relative; }
.paso { padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); position: relative; }
.paso::before { counter-increment: paso; content: counter(paso, decimal-leading-zero); font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.paso h3 { font-size: 20px; margin-top: 16px; }
.paso p { color: var(--secundario); margin-top: 8px; }
.codigo-muestra { margin-top: 16px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; letter-spacing: .06em; padding: 10px 14px; border-radius: 12px; background: #f6f6fa; text-align: center; color: var(--texto); }
@media (max-width: 860px) { .pasos { grid-template-columns: 1fr; } }

/* Dividido (impresión) */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dividido h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.08; font-weight: 800; margin-top: 12px; }
.dividido > div > p { color: var(--secundario); font-size: 18px; margin-top: 16px; }
.lista-check { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.lista-check li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--grad); margin-top: 1px; }
.libro { position: relative; height: 420px; }
.pagina-libro { position: absolute; width: 300px; height: 388px; background: #fff; border-radius: 10px; padding: 22px 20px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 60px -24px rgba(30,20,80,.35); font-size: 9px; color: #333; }
.pagina-libro.atras { left: 30px; top: 0; transform: rotate(-6deg); opacity: .9; }
.pagina-libro.frente { left: 140px; top: 24px; transform: rotate(3deg); }
.pagina-libro h5 { font-size: 11px; text-align: center; margin: 0 0 10px; letter-spacing: .02em; }
.rejilla-libro { display: grid; grid-template-columns: 90px repeat(10, 1fr); border: 1px solid #ccc; }
.rejilla-libro span { border-right: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; height: 15px; display: grid; place-items: center; font-size: 8px; }
.rejilla-libro span.n { justify-content: start; padding-left: 4px; }
.rejilla-libro span.c { background: #f1f1f5; font-weight: 600; }
.sello-pdf { position: absolute; right: 10px; bottom: 30px; background: var(--tinta); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 13px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.4); }
.sello-pdf b { display: block; font-size: 18px; }
@media (max-width: 900px) { .dividido { grid-template-columns: 1fr; gap: 40px; } .libro { height: 400px; max-width: 460px; margin: 0 auto; } }

/* Preguntas */
.preguntas { max-width: 780px; margin: 0 auto; }
.preguntas details { border-bottom: 1px solid var(--linea-suave); }
.preguntas summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--terciario); transition: transform .25s; line-height: 1; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { color: var(--secundario); font-size: 16px; padding: 0 40px 22px 0; }

/* Llamado final */
.llamado {
  margin: 0 24px 32px; border-radius: 36px; padding: 120px 24px; text-align: center; color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 900px 600px at -5% -5%, rgba(29,58,158,.9) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 108% 108%, rgba(242,106,33,.55) 0%, transparent 60%),
    radial-gradient(ellipse 650px 480px at 55% 42%, rgba(29,58,158,.45) 0%, transparent 60%),
    #0b1650;
}
.llamado::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 15%, transparent 72%);
}
.llamado::after {
  content: ""; position: absolute; pointer-events: none;
  width: 700px; height: 700px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(242,106,33,.16) 0%, transparent 68%);
  animation: ctaGlow 7s ease-in-out infinite alternate;
}
@keyframes ctaGlow { to { transform: translate(-50%, -50%) scale(1.4); opacity: .55; } }
.llamado-linea { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 55%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(10,132,255,.9) 25%, rgba(124,92,255,.9) 50%, rgba(255,92,168,.9) 75%, transparent); }
.llamado-estrellas { position: absolute; inset: 0; pointer-events: none; }
.llamado-estrellas i { position: absolute; border-radius: 50%; background: #fff; animation: twinkle 4s ease-in-out infinite; }
.llamado-estrellas i:nth-child(1)  { width:3px; height:3px; top:16%; left:11%;  opacity:.65; animation-duration:3.5s; animation-delay:0s; }
.llamado-estrellas i:nth-child(2)  { width:2px; height:2px; top:27%; left:74%;  opacity:.5;  animation-duration:4.2s; animation-delay:.7s; }
.llamado-estrellas i:nth-child(3)  { width:4px; height:4px; top:62%; left:20%;  opacity:.55; animation-duration:5s;   animation-delay:1.4s; }
.llamado-estrellas i:nth-child(4)  { width:2px; height:2px; top:74%; left:84%;  opacity:.6;  animation-duration:3.8s; animation-delay:2.1s; }
.llamado-estrellas i:nth-child(5)  { width:3px; height:3px; top:38%; left:90%;  opacity:.4;  animation-duration:4.5s; animation-delay:.35s; }
.llamado-estrellas i:nth-child(6)  { width:2px; height:2px; top:84%; left:44%;  opacity:.65; animation-duration:3.2s; animation-delay:1.1s; }
.llamado-estrellas i:nth-child(7)  { width:3px; height:3px; top:10%; left:56%;  opacity:.4;  animation-duration:4.8s; animation-delay:1.9s; }
.llamado-estrellas i:nth-child(8)  { width:2px; height:2px; top:52%; left:7%;   opacity:.55; animation-duration:3.6s; animation-delay:2.6s; }
.llamado-estrellas i:nth-child(9)  { width:2px; height:2px; top:48%; left:63%;  opacity:.35; animation-duration:5.2s; animation-delay:.6s; }
.llamado-estrellas i:nth-child(10) { width:3px; height:3px; top:88%; left:68%;  opacity:.5;  animation-duration:4s;   animation-delay:3s; }
@keyframes twinkle { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(2); } }
.llamado h2 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.04em; line-height: 1.04; font-weight: 800; max-width: 760px; margin: 0 auto; }
.llamado p { color: rgba(255,255,255,.72); font-size: 18px; margin: 20px auto 38px; max-width: 560px; }
.llamado .btn-blanco { background: #fff; color: var(--tinta); padding: 15px 32px; font-size: 16px; box-shadow: 0 8px 28px -6px rgba(0,0,0,.35); }
.llamado .btn-blanco:hover { background: #f0f0f5; text-decoration: none; }
.llamado .btn-vidrio { background: rgba(255,255,255,.1); color: #fff; padding: 15px 32px; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 24px -6px rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.llamado .btn-vidrio:hover { background: rgba(255,255,255,.18); text-decoration: none; }

/* ── Footer elegante estilo Apple ────────────────────────────────── */
.l-pie { position: relative; margin-top: 96px; background: #f5f5f7; border-top: 1px solid #d2d2d7; }
.l-pie-contenido { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
@media (min-width: 768px) { .l-pie-contenido { grid-template-columns: minmax(0,1fr) minmax(0,22rem); align-items: center; } }
.l-pie-brand-wrap { text-align: center; }
@media (min-width: 768px) { .l-pie-brand-wrap { text-align: left; } }
.l-pie .marca { padding: 0; }
.l-pie-tagline { margin: 16px auto 0; color: #6e6e73; font-size: 14.5px; line-height: 1.65; max-width: 420px; }
@media (min-width: 768px) { .l-pie-tagline { margin-left: 0; } }
.l-pie-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
@media (min-width: 768px) { .l-pie-pills { justify-content: flex-start; } }
.l-pie-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid #d2d2d7; background: #fff; padding: 6px 16px; font-size: 13px; color: #1d1d1f; text-decoration: none; transition: background .15s, border-color .15s; }
.l-pie-pill:hover { background: #e8e8ed; text-decoration: none; color: #1d1d1f; }
/* Tarjeta Cumbrix */
.l-pie-empresa { border-radius: 18px; padding: 1px; background: linear-gradient(135deg, #2f6fe4 0%, #d2d2d7 50%, #f26a21 100%); box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.l-pie-empresa-int { border-radius: 17px; background: #ffffff; padding: 24px; text-align: center; }
@media (min-width: 768px) { .l-pie-empresa-int { text-align: left; } }
.l-pie-empresa-label { font-family: ui-monospace, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: #86868b; }
.l-pie-empresa-nombre { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-size: 24px; font-weight: 900; letter-spacing: -.02em; color: #1d1d1f; }
@media (min-width: 768px) { .l-pie-empresa-nombre { justify-content: flex-start; } }
.l-pie-empresa-nombre img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 4px 16px rgba(14,165,233,.2); }
.l-pie-empresa-slogan { margin-top: 6px; font-size: 14.5px; font-weight: 600; background: linear-gradient(90deg, #2f6fe4, #9333ea, #f26a21); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #2f6fe4; }
.l-pie-empresa-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: ui-monospace, monospace; font-size: 12px; color: #1d3a9e; text-decoration: none; transition: color .15s; }
.l-pie-empresa-link:hover { color: #0d1f6a; text-decoration: none; }
.l-pie-empresa-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,.7); flex: none; }
/* Barra de copyright */
.l-pie-copy { border-top: 1px solid #d2d2d7; padding: 20px 0 max(20px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #86868b; }
.l-pie-copy span.nd { color: #1d1d1f; font-weight: 600; }
.l-pie-copy img { width: 16px; height: 16px; border-radius: 4px; vertical-align: middle; margin: 0 3px; }

/* Aparición al desplazar */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.revelar.visible { opacity: 1; transform: none; }
.revelar[data-retraso="1"] { transition-delay: .08s; } .revelar[data-retraso="2"] { transition-delay: .16s; } .revelar[data-retraso="3"] { transition-delay: .24s; }
.sin-js .revelar { opacity: 1; transform: none; }

/* =========================================================
   ACCESO: entrar, registro y demás pantallas de cuenta
   ========================================================= */
.p-acceso { background: #fff; }
.acceso { display: grid; grid-template-columns: minmax(420px, 46%) 1fr; min-height: 100vh; }
.acceso-arte { position: relative; overflow: hidden; color: #fff; padding: 40px 48px; display: flex; flex-direction: column; isolation: isolate;
  background: radial-gradient(700px 500px at 0% 0%, rgba(10,132,255,.6), transparent 60%), radial-gradient(600px 500px at 100% 100%, rgba(255,92,168,.45), transparent 60%),
              radial-gradient(500px 400px at 70% 30%, rgba(124,92,255,.55), transparent 65%), var(--tinta); }
.acceso-arte::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.acceso-arte .marca { color: #fff; padding: 0; }
.acceso-arte .marca-logo { background: rgba(255,255,255,.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.acceso-arte-centro { margin: auto 0; padding: 40px 0; max-width: 460px; }
.acceso-arte h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.acceso-arte .bajada { color: rgba(255,255,255,.7); font-size: 17px; margin-top: 16px; }
.acceso-puntos { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.acceso-puntos li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.88); font-size: 15px; }
.acceso-puntos li i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); font-style: normal; font-size: 14px; }
.acceso-tarjeta { margin-top: 34px; background: rgba(255,255,255,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 18px; padding: 16px 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); max-width: 380px; animation: subirBajar 7s ease-in-out infinite; }
.acceso-tarjeta .fila-at { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); }
.acceso-tarjeta .fila-at + .fila-at { margin-top: 10px; }
.acceso-tarjeta .barra-at { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 6px; }
.acceso-tarjeta .barra-at i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2dd4bf, #0a84ff); }
.acceso-arte-pie { font-size: 13px; color: rgba(255,255,255,.5); }

.acceso-form { display: flex; flex-direction: column; padding: 28px 40px; min-width: 0; }
.acceso-arriba { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--secundario); }
.acceso-arriba .marca { display: none; padding: 0; font-size: 17px; }
.acceso-arriba .cambiar { margin-left: auto; }
.acceso-caja { width: 100%; max-width: 420px; margin: auto; padding: 40px 0; }
.acceso-caja.ancha { max-width: 520px; }
.acceso-caja h1 { font-size: 32px; letter-spacing: -.035em; font-weight: 800; }
.acceso-caja .subtitulo { color: var(--secundario); font-size: 16px; margin: 8px 0 30px; }
.acceso-caja .campo + .campo { margin-top: 16px; }
.acceso-caja label { color: var(--texto); font-weight: 600; font-size: 13px; }
.acceso-caja input[type=text], .acceso-caja input[type=email], .acceso-caja input[type=password] {
  height: 50px; border-radius: 14px; padding: 0 16px; font-size: 16px; background: #fafafc; border-color: #e3e3e8; }
.acceso-caja input:hover:not(:focus):not([disabled]) { border-color: #c8c8d0; }
.acceso-caja input:focus { background: #fff; border-color: var(--morado-v); box-shadow: 0 0 0 4px rgba(124,92,255,.15); }
.acceso-caja input[aria-invalid=true] { border-color: var(--rojo); background: #fffafa; }
.acceso-caja .btn-l { height: 52px; border-radius: 14px; font-size: 16px; font-weight: 600; }
.acceso-caja .btn-enviar { background: var(--tinta); color: #fff; }
.acceso-caja .btn-enviar:hover { background: #24242e; }
.acceso-legal { text-align: center; font-size: 13px; color: var(--terciario); }

/* Mostrar contraseña */
.con-ojo { position: relative; }
.con-ojo input { padding-right: 52px !important; }
.ojo { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; cursor: pointer; color: var(--terciario); display: grid; place-items: center; }
.ojo:hover { background: rgba(0,0,0,.05); color: var(--texto); }
.ojo svg { width: 20px; height: 20px; }
.aviso-mayus { display: none; font-size: 12px; color: var(--naranja); margin-top: 6px; }
.aviso-mayus.si { display: block; }

/* Botón con carga */
.btn.cargando { pointer-events: none; color: transparent !important; position: relative; }
.btn.cargando::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Registro por pasos */
.progreso { display: flex; gap: 8px; margin-bottom: 30px; }
.progreso-paso { flex: 1; }
.progreso-paso .linea { height: 4px; border-radius: 2px; background: #ececf2; overflow: hidden; }
.progreso-paso .linea i { display: block; height: 100%; width: 0; background: var(--grad); background-size: 300% 100%; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.progreso-paso.hecho .linea i, .progreso-paso.actual .linea i { width: 100%; }
.progreso-paso span { display: block; font-size: 12px; font-weight: 600; color: var(--terciario); margin-top: 8px; transition: color .3s; }
.progreso-paso.actual span, .progreso-paso.hecho span { color: var(--texto); }
.paso-reg { animation: entrarPaso .45s cubic-bezier(.2,.8,.2,1); }
.paso-reg[hidden] { display: none; }
.paso-reg.atras-anim { animation-name: entrarPasoAtras; }
@keyframes entrarPaso { from { opacity: 0; transform: translateX(24px); } }
@keyframes entrarPasoAtras { from { opacity: 0; transform: translateX(-24px); } }
.paso-reg h2 { font-size: 22px; letter-spacing: -.02em; }
.paso-reg .sec { margin: 4px 0 22px; font-size: 15px; }
.botones-paso { display: flex; gap: 10px; margin-top: 26px; }
.botones-paso .btn { flex: 1; }
.botones-paso .btn-sec { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }
.fuerza { margin-top: 10px; }
.fuerza-barras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.fuerza-barras i { height: 4px; border-radius: 2px; background: #ececf2; transition: background .25s; }
.fuerza[data-nivel="1"] i:nth-child(-n+1) { background: var(--rojo); }
.fuerza[data-nivel="2"] i:nth-child(-n+2) { background: #ff9f0a; }
.fuerza[data-nivel="3"] i:nth-child(-n+3) { background: #30b0c7; }
.fuerza[data-nivel="4"] i { background: var(--verde); }
.fuerza-texto { font-size: 12px; color: var(--terciario); margin-top: 6px; display: flex; justify-content: space-between; gap: 10px; }
.reglas { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.reglas li { font-size: 12px; padding: 3px 10px; border-radius: 980px; background: #f2f2f7; color: var(--terciario); transition: all .2s; }
.reglas li.ok { background: var(--verde-suave); color: var(--verde); }
.reglas li.ok::before { content: "✓ "; }
.coincide { font-size: 12px; margin-top: 6px; min-height: 16px; }
.coincide.ok { color: var(--verde); } .coincide.mal { color: var(--rojo); }
.resumen-reg { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #f6f6fa; margin-bottom: 22px; }
.resumen-reg .marca-logo { width: 42px; height: 42px; border-radius: 12px; font-size: 16px; flex: none; }
.resumen-reg strong { display: block; font-size: 15px; }
.resumen-reg small { font-size: 13px; }
.resumen-reg button { margin-left: auto; }
.terminos { align-items: flex-start; line-height: 1.45; color: var(--secundario); font-size: 13px; }
.terminos input { margin-top: 1px; flex: none; }
.p-acceso.sin-js .paso-reg[hidden] { display: block; }
.p-acceso.sin-js .solo-js { display: none; }

@media (max-width: 960px) {
  .acceso { grid-template-columns: 1fr; }
  .acceso-arte { display: none; }
  .acceso-form { padding: 20px; }
  .acceso-arriba .marca { display: flex; }
  .acceso-caja { padding: 32px 0; }
  .acceso-caja h1 { font-size: 28px; }
}

/* Marca sobre el panel oscuro: el azul marino se aclara para que se lea */
.acceso-arte .marca-regis { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.acceso-arte .marca-eslogan { color: rgba(255,255,255,.8); }
.acceso-arte .marca-autor { color: #f7a21b; }
.acceso-arte .marca-icono { background: #fff; border-radius: 11px; padding: 3px; }

/* ── Tec en el encabezado ──────────────────────────────────────────── */
.l-tec { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(20,40,122,.14); background: #fff; color: var(--marino);
  font: inherit; font-size: 14px; font-weight: 600; padding: 4px 14px 4px 4px; border-radius: 980px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.l-tec:hover { border-color: var(--acento); box-shadow: 0 6px 18px -8px rgba(242,106,33,.6); transform: translateY(-1px); }
.l-tec .tec-logo { width: 28px; height: 28px; font-size: 14px; animation: tecPulso 2.4s ease-in-out infinite; }
.l-tec[aria-expanded="true"] { border-color: var(--acento); }
.l-tec, .l-enlaces a { white-space: nowrap; }
@media (max-width: 1240px) { .l-tec-largo { display: none; } }
@media (max-width: 860px) { .l-tec { padding: 4px; } .l-tec-texto { display: none; } }
/* Con el botón en el encabezado, el flotante se oculta y el panel baja desde arriba */
.tec.tec-en-cabecera { top: 76px; bottom: auto; }
.tec.tec-en-cabecera .tec-boton { display: none; }
.tec.tec-en-cabecera .tec-panel { height: min(600px, calc(100vh - 100px)); }

/* ── Preguntas frecuentes ──────────────────────────────────────────── */
.l-preguntas { padding-top: 48px; }
.l-preguntas-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.l-preguntas-intro { position: sticky; top: 96px; }
.l-preguntas-intro .antetitulo { color: var(--acento); }
.l-preguntas-intro h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin-top: 12px; }
.l-preguntas-intro p { font-size: 17px; color: var(--secundario); margin-top: 14px; }
.l-preguntas-tec { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; margin-top: 28px; padding: 18px;
  border-radius: 20px; background: linear-gradient(135deg, var(--marino), var(--azul)); color: #fff; box-shadow: 0 18px 40px -18px rgba(20,40,122,.6); }
.l-preguntas-tec .tec-logo { width: 42px; height: 42px; font-size: 19px; }
.l-preguntas-tec strong { display: block; font-size: 16px; }
.l-preguntas-tec span:not(.tec-logo) { display: block; font-size: 13.5px; color: rgba(255,255,255,.75); margin-top: 2px; }
.l-preguntas-tec .btn { grid-column: 1 / -1; background: var(--acento); color: #fff; justify-content: center; }
.l-preguntas-tec .btn:hover { filter: brightness(.95); text-decoration: none; }
.l-preguntas .preguntas { max-width: none; margin: 0; display: grid; gap: 12px; }
.l-preguntas .preguntas details { border: 1px solid #e8e8f0; border-radius: 18px; background: #fff; padding: 0 22px;
  transition: border-color .2s, box-shadow .2s; }
.l-preguntas .preguntas details:hover { border-color: rgba(20,40,122,.25); }
.l-preguntas .preguntas details[open] { border-color: var(--acento); box-shadow: 0 14px 34px -18px rgba(242,106,33,.45); }
.l-preguntas .preguntas summary { padding: 18px 0; font-size: 17px; justify-content: flex-start; gap: 14px; }
.l-preguntas .pregunta-num { flex: none; font-size: 12px; font-weight: 700; color: var(--acento); background: rgba(242,106,33,.1); border-radius: 8px; padding: 4px 7px; font-variant-numeric: tabular-nums; }
.l-preguntas .pregunta-texto { flex: 1; }
.l-preguntas .preguntas summary::after { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: var(--fondo, #f5f5f7); color: var(--marino); }
.l-preguntas .preguntas details[open] summary::after { background: var(--acento); color: #fff; }
.l-preguntas .preguntas details p { padding: 0 8px 20px 46px; font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) {
  .l-preguntas-grid { grid-template-columns: 1fr; gap: 28px; }
  .l-preguntas-intro { position: static; }
  .l-preguntas .preguntas details p { padding-left: 0; }
}

/* ── Llamado final ─────────────────────────────────────────────────── */
.llamado-etiqueta { position: relative; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(242,106,33,.9); padding: 5px 14px; border-radius: 980px; margin-bottom: 18px; }
.llamado-puntos { position: relative; list-style: none; padding: 0; margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  font-size: 14.5px; color: rgba(255,255,255,.8); }

.llamado .hero-cta { justify-content: center; position: relative; }
@media (min-width: 861px) { .l-nav .marca { flex: none; } }

/* ── Encabezado de precios ─────────────────────────────────────────── */
.l-precios { background: #f5f5f7; overflow: hidden; isolation: isolate; }
.l-precios-fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 620px 360px at 50% 0%, rgba(29,58,158,.10) 0%, transparent 70%),
    radial-gradient(ellipse 420px 300px at 85% 18%, rgba(242,106,33,.10) 0%, transparent 70%),
    linear-gradient(rgba(20,40,122,.045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(20,40,122,.045) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: linear-gradient(#000 0%, transparent 55%); -webkit-mask-image: linear-gradient(#000 0%, transparent 55%); }
.l-precios-cabeza { text-align: center; max-width: 820px; margin: 0 auto 52px; }
.l-precios-etiqueta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 980px;
  background: #fff; border: 1px solid rgba(242,106,33,.3); color: var(--acento); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px -10px rgba(242,106,33,.6); }
.l-precios-etiqueta i { width: 8px; height: 8px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px rgba(242,106,33,.18); }
.l-precios-cabeza h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin-top: 18px; color: var(--marino); }
.l-precios-resalte { position: relative; white-space: nowrap; color: var(--acento); }
.l-precios-resalte::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .2em; border-radius: 99px;
  background: rgba(242,106,33,.22); z-index: -1; }
.l-precios-cabeza > p { font-size: 18px; color: var(--secundario); margin-top: 16px; }
.l-precios-ventajas { list-style: none; padding: 0; margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.l-precios-ventajas li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e8e8f0; border-radius: 16px;
  padding: 12px 14px; font-size: 14px; font-weight: 500; color: var(--texto); line-height: 1.35; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.l-precios-ventajas b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px;
  background: var(--marino); color: #fff; }
.l-precios-ventajas li:nth-child(2) b { background: var(--azul); }
.l-precios-ventajas li:nth-child(3) b { background: var(--acento); }
@media (max-width: 760px) {
  .l-precios-ventajas { grid-template-columns: 1fr; max-width: 420px; }
  .l-precios-resalte { white-space: normal; }
}
.l-pie-legal a { color: #6e6e73; } .l-pie-legal a:hover { color: var(--marino); }

/* ── Llamado final compacto ─────────────────────────────────────────── */
.llamado { max-width: 1100px; margin: 0 auto 40px; padding: 48px 52px; border-radius: 28px; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; }
.llamado::after { width: 460px; height: 460px; left: 85%; }
.llamado-texto { position: relative; }
.llamado h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; max-width: 620px; margin: 0; }
.llamado p { font-size: 16px; margin: 10px 0 0; max-width: 560px; }
.llamado-etiqueta { margin-bottom: 12px; font-size: 11px; padding: 4px 12px; }
.llamado-puntos { justify-content: flex-start; margin: 18px 0 0; gap: 8px; font-size: 13px; }
.llamado-puntos li { padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.llamado-puntos li::before { content: "✓"; color: #fdba74; font-weight: 800; margin-right: 6px; }
.llamado .llamado-botones { margin-top: 0; flex-direction: column; align-items: stretch; gap: 10px; min-width: 220px; }
.llamado .btn-blanco, .llamado .btn-vidrio { padding: 13px 26px; font-size: 15px; justify-content: center; }
@media (max-width: 860px) {
  .llamado { margin: 0 16px 32px; padding: 36px 22px; grid-template-columns: 1fr; text-align: center; border-radius: 24px; }
  .llamado h2, .llamado p { margin-left: auto; margin-right: auto; }
  .llamado-puntos { justify-content: center; }
  .llamado .llamado-botones { min-width: 0; }
}
.llamado-estrellas { z-index: -1; }

/* Cabecera de la portada en el celular: solo el logo, sin eslogan ni autor. */
@media (max-width: 640px) {
  .l-nav .marca-eslogan, .l-nav .marca-autor, .l-nav .marca-trazo { display: none; }
  .l-nav .envoltura { gap: 12px; height: 58px; }
  .l-nav .marca-icono { width: 34px; height: 34px; }
  .l-nav .marca-nombre { font-size: 20px; }
  .l-acciones { gap: 6px; }
}
@media (max-width: 380px) { .l-acciones .btn-oscuro { padding-left: 12px; padding-right: 12px; font-size: 13px; } }

/* Los adornos (manchas, libro) no deben crear scroll horizontal; clip no rompe la cabecera fija. */
html, body { overflow-x: clip; }

/* Registro de docentes por enlace (unirse/*) */
.un-centro { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: #fff1e8; color: #c93400; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.un-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .un-dos { grid-template-columns: 1fr; } }
.un-listo { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; margin-bottom: 14px;
  background: linear-gradient(135deg, #34c759, #1f9d48); box-shadow: 0 10px 24px -10px rgba(31,157,72,.7); }
.un-cerrado { background: linear-gradient(135deg, #8e8e93, #636366); box-shadow: none; }
.un-siguiente { margin: 16px 0 0; padding-left: 20px; line-height: 1.7; color: #3a3a3c; }

/* ---------- Landing · Portal de familias ---------- */
.l-familias { background: linear-gradient(180deg, #fff 0%, #f3f6ff 100%); overflow: hidden; }
.lf-movil { position: relative; display: grid; place-items: center; min-height: 520px; }
.lf-telefono { position: relative; width: 270px; height: 540px; border-radius: 44px; background: #1d1d1f; padding: 12px; box-shadow: 0 40px 80px -30px rgba(20,40,122,.55), inset 0 0 0 2px #3a3a3c; }
.lf-isla { position: absolute; top: 20px; left: 50%; width: 86px; height: 22px; margin-left: -43px; border-radius: 14px; background: #000; z-index: 2; }
.lf-pantalla { height: 100%; border-radius: 34px; background: #f5f5f7; padding: 52px 16px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.lf-cab { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #14287a; }
.lf-logo { width: 22px; height: 22px; border-radius: 6px; background: url('/icons/icono.svg') center / cover; }
.lf-app { flex: 1; }
.lf-pdf { font-size: 10px; background: #fff; border-radius: 8px; padding: 4px 7px; box-shadow: 0 2px 8px -4px rgba(20,40,122,.4); }
.lf-centro { margin: 8px 0 0; font-size: 11px; color: #6e6e73; }
.lf-nombre { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.lf-meta { margin: 0; font-size: 11px; color: #6e6e73; }
.lf-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.lf-tres div { background: #fff; border-radius: 12px; padding: 9px 4px; text-align: center; box-shadow: 0 4px 12px -8px rgba(0,0,0,.3); }
.lf-tres b { display: block; font-size: 15px; letter-spacing: -.02em; }
.lf-tres small { font-size: 9.5px; color: #6e6e73; }
.lf-ok { color: #248a3d; }
.lf-mensaje { background: #eaf1ff; color: #14287a; border-radius: 12px; padding: 9px 10px; font-size: 11.5px; line-height: 1.35; }
.lf-mensaje small { display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .7; margin-bottom: 2px; }
.lf-boletin { flex: 1; background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 7px; position: relative; box-shadow: 0 4px 12px -8px rgba(0,0,0,.3); }
.lf-boletin i { display: block; height: 7px; border-radius: 4px; background: #e5e5ea; }
.lf-boletin i:first-child { height: 10px; width: 60%; background: #1d3a9e; }
.lf-boletin i:nth-child(3) { width: 85%; } .lf-boletin i:nth-child(4) { width: 70%; } .lf-boletin i:nth-child(5) { width: 90%; }
.lf-boletin span { position: absolute; bottom: 10px; right: 12px; font-size: 10px; font-weight: 700; color: #1d3a9e; }
.lf-burbuja { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(20,40,122,.45); white-space: nowrap; }
.lf-b1 { bottom: 120px; left: 0; }
.lf-b2 { top: 130px; right: 0; }
.lf-acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
@media (max-width: 900px) {
  .l-familias .dividido { grid-template-columns: 1fr; gap: 32px; }
  .l-familias .lf-movil { order: 2; min-height: 480px; }
  .lf-b1 { left: 0; bottom: 90px; } .lf-b2 { right: 0; top: 110px; }
}
/* Libro de registro en el celular (y en la app instalada): las dos hojas caben en la pantalla. */
#impresion { overflow-x: clip; }
.pagina-libro { overflow: hidden; }
@media (max-width: 560px) {
  .libro { height: 340px; width: 100%; max-width: 100%; }
  .pagina-libro { width: 64%; height: 290px; padding: 14px 10px; }
  .pagina-libro.atras { left: 0; }
  .pagina-libro.frente { left: auto; right: 0; top: 18px; }
  .pagina-libro h5 { font-size: 9.5px; margin-bottom: 8px; }
  .rejilla-libro { grid-template-columns: 52px repeat(10, 1fr); }
  .rejilla-libro span { height: 12.5px; font-size: 7px; }
  .sello-pdf { right: 4px; bottom: 0; padding: 9px 12px; font-size: 11.5px; }
  .sello-pdf b { font-size: 15px; }
}

/* ── Celular y app instalada: landing compacto, en dos columnas ─────────────── */
@media (max-width: 640px) {
  .envoltura { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .seccion { padding: 56px 0; }
  .seccion-titulo { margin-bottom: 26px; }
  .seccion-titulo h2, .dividido h2 { font-size: 28px; }
  .seccion-titulo p, .dividido > div > p { font-size: 15.5px; margin-top: 10px; }

  /* Funciones: la destacada a lo ancho y las demás de dos en dos. */
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .c-4 { grid-column: span 2; } .c-3, .c-2 { grid-column: span 1; }
  .celda { padding: 16px 14px; border-radius: 18px; }
  .celda h3 { font-size: 15.5px; margin-top: 10px; letter-spacing: -.01em; }
  .celda p { font-size: 13px; margin-top: 4px; line-height: 1.4; }
  .celda .ico { width: 34px; height: 34px; border-radius: 10px; }
  .celda .ico svg { width: 18px; height: 18px; }
  .celda:not(.oscura) .formula, .celda .avatares, .celda .permisos, .celda .hojas { display: none; }
  .teclas { margin-top: 14px; gap: 6px; }
  .tecla { min-width: 36px; height: 36px; font-size: 13px; padding: 0 8px; }

  /* Pasos: dos arriba y el tercero a lo ancho. */
  .pasos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .paso { padding: 16px 14px; border-radius: 18px; }
  .paso:last-child { grid-column: span 2; }
  .paso::before { font-size: 32px; }
  .paso h3 { font-size: 15.5px; margin-top: 8px; }
  .paso p { font-size: 13px; margin-top: 4px; }
  .codigo-muestra { font-size: 11px; padding: 8px; letter-spacing: .02em; }

  /* Listas con ✓ en dos columnas. */
  .lista-check { grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 18px; }
  .lista-check li { font-size: 13px; gap: 7px; line-height: 1.35; }
  .lista-check li::before { width: 18px; height: 18px; font-size: 10px; }
  .dividido { gap: 28px; }
  .l-familias .lf-movil { min-height: 430px; transform: scale(.86); margin: -30px 0; }

  /* Precios y preguntas. */
  .l-precios-cabeza { margin-bottom: 28px; }
  .l-precios-cabeza > p { font-size: 15.5px; }
  .l-precios-ventajas { grid-template-columns: 1fr 1fr; max-width: none; gap: 8px; }
  .l-precios-ventajas li { font-size: 12.5px; padding: 10px; gap: 8px; }
  .l-precios-ventajas li:last-child { grid-column: span 2; }
  .preguntas summary { font-size: 15.5px; padding: 16px 0; }
  .llamado { margin: 0 12px 20px; padding: 64px 18px; border-radius: 26px; }
}
/* Planes en dos columnas en el celular (solo el landing). */
@media (max-width: 640px) {
  .l-precios .compra-planes { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .l-precios .compra-plan { padding: 22px 12px 14px; border-radius: 18px; }
  .l-precios .compra-plan h3 { font-size: 16px; }
  .l-precios .compra-duracion { font-size: 10.5px; padding: 3px 7px; }
  .l-precios .compra-monto small { font-size: 12px; margin-top: 3px; }
  .l-precios .compra-monto strong { font-size: 30px; }
  .l-precios .compra-precio { gap: 2px 6px; margin-top: 12px; }
  .l-precios .compra-precio s { font-size: 12px; }
  .l-precios .compra-precio .compra-pago-unico { font-size: 11px; padding-bottom: 3px; }
  .l-precios .compra-plan .compra-desc, .l-precios .compra-mensual, .l-precios .compra-ahorro { font-size: 11.5px; }
  .l-precios .compra-puntos { font-size: 12px; gap: 6px; margin: 12px 0 14px; }
  .l-precios .compra-puntos li { padding-left: 16px; }
  .l-precios .compra-plan-accion { font-size: 13.5px; padding: 10px 8px; min-height: 0; }
  .l-precios .compra-medios { flex-wrap: wrap; font-size: 10.5px; gap: 4px; }
  .l-precios .compra-insignia { font-size: 10px; white-space: nowrap; }
  .l-precios .compra-confianza { font-size: 12.5px; gap: 6px 14px; }
}
/* Portada compacta en el celular: los dos botones lado a lado. */
@media (max-width: 640px) {
  .hero .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .hero .hero-cta .btn { padding: 12px 10px; font-size: 14.5px; width: 100%; justify-content: center; }
  .hero .bajada { font-size: 15.5px; }
  .hero .hero-nota { margin-top: 12px; font-size: 13px; gap: 4px 12px; flex-wrap: wrap; justify-content: center; }
}
/* La barra de arriba (marca, menú, Tec y panel) queda fija al bajar, también en el celular y la app. */
.l-nav { position: sticky; top: 0; z-index: 60; }
.l-nav.con-fondo { background: rgba(251,251,253,.92); }

/* Revisa tu correo (verificación, como en CodeRoot) */
.verificar-icono { width: 56px; height: 56px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: #eef2ff; font-size: 28px; }
.verificar-correo { word-break: break-all; }
.verificar-buzon { margin-top: 14px; }
.verificar-buzon:hover { opacity: .9; }
.verificar-buzones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.verificar-buzones .verificar-buzon { margin-top: 0; justify-content: center; }
.verificar-pistas p { margin: 2px 0; font-size: 13px; }

/* Menú de la portada en laptops (861–1480 px): la marca con eslogan + 6 enlaces + botones no cabían
   y «Registrar mi centro» quedaba cortado a la derecha. Se acortan los espacios y «Pregúntale a Tec» queda en «Tec». */
@media (min-width: 861px) and (max-width: 1480px) {
  .l-nav .envoltura { gap: 18px; }
  .l-enlaces { gap: 14px; }
  .l-tec-largo { display: none; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .l-nav .marca-eslogan, .l-nav .marca-autor { display: none; }
}
