/* Landing "Crea tu perfil" — se carga después de landing.css y reutiliza sus estilos. */

.eyebrow .star { color: var(--go); font-size: 14px; line-height: 1; }
.hero p strong { color: var(--tx); font-weight: 800; }
.slot .l { text-align: center; }

/* Secciones nuevas: mismo ritmo que .agenda */
.pasos, .docs, .video, .faq { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.pasos h2, .docs h2, .video h2, .faq h2 { margin: 0 0 40px; font-size: clamp(28px, 4vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; text-align: center; text-wrap: balance; }

/* 3 pasos */
.pasos-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.paso { background: var(--cd); border: 1px solid var(--br); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.paso .n { width: 36px; height: 36px; border-radius: 999px; background: var(--gr); color: #fff; font-size: 16px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.paso .t { font-size: 18px; font-weight: 800; line-height: 1.3; }
.paso .d { font-size: 14px; line-height: 1.55; color: var(--mt); }
.paso .d strong { color: var(--tx); font-weight: 800; }

/* Documentos */
.docs-head { text-align: center; margin-bottom: 40px; }
.docs-head h2 { margin-bottom: 12px; }
.docs-head p { margin: 0; font-size: 16px; color: var(--mt); }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.doc-card { background: var(--cd); border: 1px solid var(--br); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.doc-card .k { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vi); }
.doc-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.doc-card li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.doc-card li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 999px; background: var(--vi-12); color: var(--vi); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.doc-card li.opt { color: var(--mt); font-weight: 600; }
.doc-card li.opt::before { content: "+"; background: transparent; border: 1px solid var(--br); }

/* Video bajo demanda */
.video[hidden] { display: none; }
.video-frame { position: relative; max-width: 880px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #14142b; box-shadow: 0 30px 60px rgba(44,12,247,0.16); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Preguntas frecuentes */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--cd); border: 1px solid var(--br); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-size: 16px; font-weight: 800; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; color: var(--vi); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 20px; font-size: 15px; line-height: 1.6; color: var(--mt); }

/* CTA final con botón */
.cta-final .cta-btn { padding: 16px 32px; font-size: 15px; min-height: 52px; box-sizing: border-box; }

@media (max-width: 640px) {
  .eyebrow .eb-extra { display: none; }
  .pasos, .docs, .video, .faq { padding: 56px 16px; }
  .pasos h2, .docs h2, .video h2, .faq h2 { margin-bottom: 28px; }
  .docs-head { margin-bottom: 28px; }
  .docs-head h2 { margin-bottom: 10px; }
  .slot .l { font-size: 10px; }
  .cta-final .cta-btn { width: 100%; max-width: 340px; }
}

/* ---------- v2: más contexto de la app + flujo de 3 pasos ---------- */
.form .flujo { margin-bottom: -4px; }
.sec-head { max-width: 680px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sec-head h2, .docs-head h2 { margin: 0 !important; }
.sec-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mt); text-wrap: pretty; }
.sec-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vi); }
.docs-head { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.que-es { max-width: 1120px; margin: 0 auto; padding: 72px 24px 24px; }
.publico-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.publico { background: var(--cd); border: 1px solid var(--br); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.publico .k { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mt); }
.publico .t { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.publico .d { font-size: 14px; line-height: 1.55; color: var(--mt); }

.docs-privacy { max-width: 560px; margin: 24px auto 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--mt); }
.docs-privacy::before { content: "🔒 "; }

@media (max-width: 640px) {
  .que-es { padding: 56px 16px 8px; }
  .sec-head { margin-bottom: 28px; }
  .sec-head p { font-size: 15px; }
}

/* ---------- v3: pantallas reales del especialista ---------- */
.practica { max-width: 1040px; margin: 0 auto; padding: 72px 24px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 32px 0; }
.feat--rev .feat__media { order: 2; }
.feat__media { position: relative; display: flex; justify-content: center; }
.feat__media::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(95,85,255,0.20), rgba(198,56,251,0.08) 50%, transparent 72%); pointer-events: none; }
.device { position: relative; width: 272px; border-radius: 34px; padding: 7px; background: #14142b; box-shadow: 0 30px 60px rgba(44,12,247,0.18), 0 8px 20px rgba(20,20,43,0.10); }
.device img { display: block; width: 100%; height: auto; max-height: 470px; object-fit: cover; object-position: top; border-radius: 28px; }
.feat__media--pair { min-height: 500px; }
.feat__media--pair .device { position: absolute; width: 236px; }
.device--back { left: 50%; top: 0; transform: translateX(-88%) rotate(-5deg); opacity: 0.95; }
.device--front { left: 50%; top: 56px; transform: translateX(-8%) rotate(3deg); }
.feat__text { display: flex; flex-direction: column; gap: 14px; }
.feat__text .k { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vi); }
.feat__text h3 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.feat__text p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mt); text-wrap: pretty; }
.feat__text ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat__text li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 700; }
.feat__text li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 999px; background: var(--vi-12); color: var(--vi); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .practica { padding: 56px 16px 24px; }
  .feat { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 40px; }
  .feat--rev .feat__media { order: 0; }
  .device { width: 240px; }
  .device img { max-height: 400px; }
  .feat__media--pair { min-height: 450px; }
  .feat__media--pair .device { width: 200px; }
  .feat__text p { font-size: 15px; }
}
.practica h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; text-align: center; text-wrap: balance; }

/* ---------- v4: capturas completas en marco de iPhone ---------- */
.device { width: 264px; padding: 9px; border-radius: 46px; background: #14142b; box-shadow: inset 0 0 0 1.5px #3a3a5c, 0 0 0 1px rgba(20,20,43,0.08), 0 30px 60px rgba(44,12,247,0.18), 0 8px 20px rgba(20,20,43,0.12); }
/* Isla dinámica */
.device::before { content: ""; position: absolute; z-index: 2; top: 19px; left: 50%; width: 30%; height: 21px; transform: translateX(-50%); border-radius: 999px; background: #05050f; }
/* Botones laterales */
.device::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 62px; border-radius: 0 3px 3px 0; background: #2a2a48; box-shadow: -270px -18px 0 0 #2a2a48; }
.device img { width: 100%; height: auto; max-height: none; aspect-ratio: 600 / 1304; object-fit: cover; object-position: top; border-radius: 37px; background: #f6f7fb; }
.device--partial img { aspect-ratio: 600 / 1304; object-fit: contain; object-position: top; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }
.feat__media--pair { min-height: 600px; }
.feat__media--pair .device { width: 228px; border-radius: 40px; padding: 8px; }
.feat__media--pair .device img { border-radius: 32px; }
.feat__media--pair .device::before { top: 16px; height: 18px; }
.feat__media--pair .device::after { box-shadow: -234px -18px 0 0 #2a2a48; }
.device--back { transform: translateX(-90%) rotate(-5deg); }
.device--front { top: 70px; transform: translateX(-6%) rotate(3deg); }

@media (max-width: 760px) {
  .device { width: 236px; border-radius: 42px; padding: 8px; }
  .device img { max-height: none; border-radius: 34px; }
  .device::after { box-shadow: -242px -18px 0 0 #2a2a48; }
  .feat__media--pair { min-height: 500px; }
  .feat__media--pair .device { width: 188px; border-radius: 34px; padding: 7px; }
  .feat__media--pair .device img { border-radius: 27px; }
  .feat__media--pair .device::before { top: 13px; height: 15px; }
  .feat__media--pair .device::after { box-shadow: -194px -18px 0 0 #2a2a48; }
}
/* app-grupos.webp ya es una maqueta con marco propio: se muestra sin el marco de iPhone */
.device.device--partial { width: 272px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.device.device--partial::before, .device.device--partial::after { display: none; }
.device.device--partial img { aspect-ratio: auto; height: auto; border-radius: 0; background: none; object-fit: initial; filter: drop-shadow(0 24px 40px rgba(44,12,247,0.16)); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%); mask-image: linear-gradient(180deg, #000 72%, transparent 97%); }
@media (max-width: 760px) { .device.device--partial { width: 240px; } }

/* ---------- v5: hero optimizado ---------- */
.hero { gap: 20px; }
.hero p { max-width: 600px; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-cta .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 16px 26px; border-radius: 16px; font-size: 15px; font-weight: 800; color: var(--tx); background: var(--cd); border: 1.5px solid var(--br); }
.hero-cta .btn-outline:hover { color: var(--vi); border-color: var(--vi); }
.hero-checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.hero-checks li { position: relative; padding-left: 22px; font-size: 13px; font-weight: 700; color: var(--mt); }
.hero-checks li strong { color: var(--tx); font-weight: 800; }
.hero-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 999px; background: var(--vi-12); color: var(--vi); font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; }

/* Escenario con capturas completas en marco de iPhone */
.stage { height: 660px; }
.stage .phone .device { width: 272px; }
.stage .panel-device { position: relative; width: 272px; height: auto; aspect-ratio: 600 / 1304; padding: 9px; border-radius: 46px; box-shadow: inset 0 0 0 1.5px #3a3a5c, 0 30px 60px rgba(44,12,247,0.18); }
.stage .panel-device::before { content: ""; position: absolute; z-index: 2; top: 19px; left: 50%; width: 30%; height: 21px; transform: translateX(-50%); border-radius: 999px; background: #05050f; }
.stage .panel-screen { border-radius: 37px; }
.stage .status-bar { padding-top: 20px; }

@media (max-width: 640px) {
  .hero-btns { width: 100%; flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; max-width: 340px; box-sizing: border-box; }
  .hero-checks { gap: 6px 14px; }
  .hero-checks li { font-size: 12px; }
  .stage { height: 500px; }
}

/* ---------- v6: Recursos y cursos · un teléfono con íconos de formatos ---------- */
.feat__media--chips { min-height: 600px; align-items: center; }
.fchip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--br); box-shadow: 0 14px 30px rgba(44,12,247,0.14), 0 3px 8px rgba(20,20,43,0.06); font-size: 14px; font-weight: 800; color: var(--tx); white-space: nowrap; }
.fchip__i { width: 34px; height: 34px; border-radius: 999px; background: var(--gr); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fchip__i svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fchip--tl { left: 4%; top: 14%; transform: rotate(-4deg); }
.fchip--tr { right: 4%; top: 30%; transform: rotate(3deg); }
.fchip--bl { left: 2%; top: 62%; transform: rotate(3deg); }
.fchip--br { right: 6%; top: 78%; transform: rotate(-3deg); }
@media (prefers-reduced-motion: no-preference) {
  .fchip { animation: fchip-float 5.5s ease-in-out infinite; }
  .fchip--tr { animation-delay: -1.4s; } .fchip--bl { animation-delay: -2.8s; } .fchip--br { animation-delay: -4.1s; }
  @keyframes fchip-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
}
@media (max-width: 760px) {
  .feat__media--chips { min-height: 0; padding: 8px 0; }
  .fchip { font-size: 12.5px; padding: 8px 13px 8px 8px; gap: 8px; }
  .fchip__i { width: 28px; height: 28px; }
  .fchip__i svg { width: 15px; height: 15px; }
  .fchip--tl { left: 0; } .fchip--tr { right: 0; } .fchip--bl { left: 0; } .fchip--br { right: 0; }
}
@media (min-width: 761px) {
  .fchip--tl { left: 0; top: 12%; }
  .fchip--tr { right: -2%; top: 30%; }
  .fchip--bl { left: -2%; top: 58%; }
  .fchip--br { right: 0; top: 76%; }
}
