/* Grabador Studio · sitio web (grabadorstudio.educandolatam.org.pe) */
:root {
    --bg: #050A18;
    --bg2: #081129;
    --panel: #0C1630;
    --surface: #101D40;
    --border: #1C2C58;
    --border2: #2A3F7A;
    --text: #E8EEFF;
    --muted: #9AACD6;
    --dim: #6A7DA8;
    --accent: #2F6BFF;
    --accent2: #5B9BFF;
    --cyan: #22D3EE;
    --pink: #FF4D6D;
    --ok: #34D399;
    --gold: #FBBF24;
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45);
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent2); text-decoration: none; }
a:hover { color: #8FB9FF; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

/* Fondo con brillos */
.glow-bg {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.glow-bg::before, .glow-bg::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.glow-bg::before { width: 720px; height: 720px; left: -220px; top: -260px; background: radial-gradient(circle, #1E4FD8 0%, transparent 70%); }
.glow-bg::after { width: 620px; height: 620px; right: -200px; top: 120px; background: radial-gradient(circle, #0E7490 0%, transparent 70%); }

/* ── Barra superior ── */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .25s, box-shadow .25s, padding .25s;
    padding: 18px 0;
}
.nav.scrolled { background: rgba(6, 12, 30, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); padding: 10px 0; }
.nav .container { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -.2px; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 22px rgba(47, 107, 255, .55); }
.brand small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--accent2); margin-top: -4px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border2); color: var(--text); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }

/* ── Botones ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 22px; border-radius: 13px; font: 700 15px var(--font); cursor: pointer;
    border: 1px solid var(--border2); color: var(--text); background: rgba(16, 29, 64, .6);
    transition: transform .15s, box-shadow .2s, border-color .2s, background .2s;
    white-space: nowrap;
}
.btn:hover { color: var(--text); border-color: var(--accent2); transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary {
    border: 0; background: linear-gradient(135deg, #4F8DFF, var(--accent) 55%, #1D4ED8);
    box-shadow: 0 10px 30px rgba(47, 107, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(47, 107, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-wa { border: 0; background: linear-gradient(135deg, #2BD96B, #128C4A); box-shadow: 0 10px 28px rgba(37, 211, 102, .35); }
.btn-wa:hover { box-shadow: 0 14px 36px rgba(37, 211, 102, .5); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 15px; }

/* ── Portada ── */
.hero { position: relative; padding: 150px 0 80px; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.25fr; gap: 54px; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: rgba(47, 107, 255, .14); border: 1px solid rgba(91, 155, 255, .35); color: #BFD6FF;
    font-size: 13px; font-weight: 700;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 77, 109, .2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); } }
h1 {
    font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -1.6px; margin: 20px 0 18px; font-weight: 800;
}
.grad {
    background: linear-gradient(100deg, #FFFFFF 0%, #9CC2FF 40%, var(--cyan) 75%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.fine { margin-top: 18px; color: var(--dim); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine svg { width: 15px; height: 15px; color: var(--ok); }

.shot {
    position: relative; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(91, 155, 255, .35);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04), 0 0 80px rgba(47, 107, 255, .25);
    background: #050A18;
}
.hero-visual { position: relative; perspective: 1600px; }
.hero-visual .shot { transform: rotateY(-9deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-visual:hover .shot { transform: rotateY(-3deg) rotateX(1deg); }
.chip {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 15px;
    background: rgba(10, 20, 48, .92); border: 1px solid var(--border2); border-radius: 14px; backdrop-filter: blur(8px);
    box-shadow: var(--shadow); font-size: 13.5px; font-weight: 700; animation: float 6s ease-in-out infinite;
}
.chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; }
.chip i svg { width: 17px; height: 17px; }
.chip.c1 { left: -26px; top: 12%; }
.chip.c2 { right: -18px; top: 46%; animation-delay: -2s; }
.chip.c3 { left: 8%; bottom: -22px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ── Franja de beneficios ── */
.strip { border-block: 1px solid var(--border); background: rgba(8, 17, 41, .6); }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip div { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.strip b { display: block; color: var(--text); font-size: 15px; }
.strip svg { width: 26px; height: 26px; color: var(--cyan); flex: none; }

/* ── Secciones ── */
section { position: relative; padding: 100px 0; }
.eyebrow { color: var(--cyan); font-weight: 800; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -1px; margin: 12px 0 16px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto 56px; }

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.feature:last-child { margin-bottom: 0; }
.feature.rev .feature-text { order: 2; }
.feature h3 { font-size: 32px; letter-spacing: -.6px; margin: 10px 0 14px; line-height: 1.15; }
.feature p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: #CFDAF5; }
.ticks svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.icon-pill {
    width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(47, 107, 255, .25), rgba(34, 211, 238, .15)); border: 1px solid var(--border2);
}
.icon-pill svg { width: 26px; height: 26px; color: var(--accent2); }
.feature .shot.narrow { max-width: 430px; margin-inline: auto; }

.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
    background: linear-gradient(180deg, rgba(16, 32, 76, .75), rgba(10, 18, 44, .75)); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.card .icon-pill { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; }
.card .icon-pill svg { width: 22px; height: 22px; }
.card h4 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: #fff; background: linear-gradient(135deg, #7C3AED, var(--accent)); vertical-align: 2px; }

/* Plantillas y filtros */
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
.gallery figcaption b { color: var(--text); }

/* Para quién */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience .card { text-align: left; }

/* ── Precios ── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px;
    background: linear-gradient(180deg, #0F1E47, #0A1430); border: 1px solid var(--border);
}
.plan.featured {
    border: 1px solid transparent;
    background: linear-gradient(180deg, #13296A, #0B1636) padding-box, linear-gradient(160deg, #6AA5FF, var(--accent), #22D3EE) border-box;
    box-shadow: 0 30px 80px rgba(47, 107, 255, .3);
    transform: translateY(-10px);
}
.plan .ribbon {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px;
    background: linear-gradient(135deg, #4F8DFF, var(--accent)); font-size: 12px; font-weight: 800; letter-spacing: .4px; white-space: nowrap;
}
.plan h3 { margin: 0; font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14.5px; margin: 6px 0 20px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .cur { font-size: 22px; font-weight: 800; color: var(--muted); }
.price .amt { font-size: 56px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; }
.plan .note { color: var(--dim); font-size: 13px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: #D3DDF7; }
.plan li svg { width: 19px; height: 19px; color: var(--ok); flex: none; margin-top: 2px; }
.plan li.no { color: var(--dim); }
.plan li.no svg { color: var(--dim); }
.plan .btn { width: 100%; }
.pay {
    margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
    padding: 24px 28px; border-radius: 20px; background: rgba(16, 29, 64, .55); border: 1px dashed var(--border2);
}
.pay-logos { display: flex; gap: 10px; }
.pay-logos span { padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: 15px; color: #fff; }
.pay-logos .yape { background: #742284; }
.pay-logos .plin { background: linear-gradient(135deg, #00BFB3, #0077C8); }
.pay p { margin: 0; color: var(--muted); }
.pay b { color: var(--text); font-size: 18px; letter-spacing: .5px; }
.discount { margin-top: 18px; text-align: center; color: var(--muted); }
.discount b { color: var(--gold); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: rgba(12, 22, 48, .8); border: 1px solid var(--border); }
.step::before {
    counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 26px; width: 38px; height: 38px;
    border-radius: 12px; display: grid; place-items: center; font-weight: 800;
    background: linear-gradient(135deg, var(--accent2), var(--accent)); box-shadow: 0 8px 22px rgba(47, 107, 255, .5);
}
.step h4 { margin: 8px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Requisitos */
.reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reqs .card b { display: block; font-size: 16px; margin-bottom: 4px; }

/* Preguntas */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: rgba(12, 22, 48, .8); border: 1px solid var(--border); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border2); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Creador */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 54px; align-items: center; }
.about-photo { position: relative; }
.about-photo img.me { width: 100%; border-radius: 22px; border: 1px solid var(--border2); box-shadow: var(--shadow); background: #fff; }
.about-photo .org {
    position: absolute; right: -22px; bottom: -22px; width: 110px; height: 110px; border-radius: 20px; background: #fff; padding: 8px;
    box-shadow: var(--shadow);
}
.about h3 { font-size: 30px; margin: 8px 0 2px; letter-spacing: -.5px; }
.about .role { color: var(--accent2); font-weight: 700; margin-bottom: 18px; }
.about p { color: #C7D3F0; margin: 0 0 14px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.contact-card { padding: 34px; border-radius: 22px; background: linear-gradient(135deg, #13296A, #0A1636); border: 1px solid var(--border2); box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 16px; margin: 24px 0 26px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 600; }
.contact-list i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(91, 155, 255, .14); border: 1px solid var(--border2); font-style: normal; flex: none; }
.contact-list i svg { width: 21px; height: 21px; color: var(--accent2); }
.contact-list small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--border2); background: rgba(16, 29, 64, .7); color: var(--muted); transition: color .2s, border-color .2s, transform .2s; }
.socials a:hover { color: #fff; border-color: var(--accent2); transform: translateY(-2px); }
.socials svg { width: 21px; height: 21px; }

/* Llamado final */
.final { text-align: center; padding: 90px 0; }
.final .box {
    position: relative; overflow: hidden; padding: 64px 30px; border-radius: 28px;
    background: radial-gradient(600px 300px at 20% 0%, rgba(34, 211, 238, .25), transparent 70%), linear-gradient(135deg, #1D4ED8, #102A6E 60%, #0A1636);
    border: 1px solid rgba(91, 155, 255, .4); box-shadow: 0 30px 90px rgba(47, 107, 255, .3);
}
.final h2 { margin-top: 0; }
.final p { color: #C9D8FF; font-size: 18px; margin: 0 auto 30px; max-width: 620px; }
.final .cta { justify-content: center; }

/* Pie */
footer { border-top: 1px solid var(--border); padding: 44px 0 34px; color: var(--dim); font-size: 14px; }
footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { color: var(--muted); }
footer .made { display: flex; align-items: center; gap: 12px; }
footer .made img { width: 44px; height: 44px; background: #fff; border-radius: 10px; padding: 3px; }

/* WhatsApp flotante */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center; background: linear-gradient(135deg, #2BD96B, #128C4A); color: #fff;
    box-shadow: 0 12px 34px rgba(37, 211, 102, .5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .5); animation: ring 2.2s infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Aparecer al bajar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .chip, .wa-float::after, .badge .dot { animation: none; }
    html { scroll-behavior: auto; }
}

/* ── Páginas legales ── */
.legal { padding: 140px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: #C7D3F0; }
.legal .updated { color: var(--dim); }

/* ── Celular y tablet ── */
@media (max-width: 1020px) {
    .hero-grid, .feature, .gallery, .about, .contact { grid-template-columns: minmax(0, 1fr); }
    .feature.rev .feature-text { order: 0; }
    .grid-cards, .audience, .reqs { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .plan.featured { transform: none; }
    .strip .container { grid-template-columns: repeat(2, 1fr); }
    .about { justify-items: center; text-align: center; }
    .about-photo { width: 240px; }
    .hero { padding-top: 120px; }
    .hero-visual .shot { transform: none; }
    .chip.c1 { left: 0; } .chip.c2 { right: 0; }
}
@media (max-width: 760px) {
    .nav-links, .nav .btn-download { display: none; }
    .menu-toggle { display: block; }
    .nav.open .nav-links {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; gap: 0; margin: 0;
        background: rgba(6, 12, 30, .97); border-bottom: 1px solid var(--border); padding: 8px 20px 18px;
    }
    .nav.open .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
    section { padding: 70px 0; }
    .steps, .grid-cards, .audience, .reqs, .strip .container { grid-template-columns: minmax(0, 1fr); }
    .pay { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .pay-logos { justify-content: center; }
    .chip { display: none; }
    .lead { font-size: 17px; }
    .contact-card { padding: 24px; }
    .about-photo .org { right: -10px; bottom: -14px; width: 84px; height: 84px; }
}

/* Nada ensancha la página en pantallas pequeñas */
html, body { overflow-x: clip; }
.hero-grid > *, .feature > *, .gallery > *, .about > *, .contact > *, .pricing > * { min-width: 0; }
img { max-width: 100%; height: auto; }
