/* ===== Academia Primeros Auxilios — paleta y tipografías del sitio original ===== */
:root {
  --navy: #090184;        /* fondo principal de secciones */
  --navy-dark: #0c034d;   /* fondos oscuros */
  --blue: #1152b5;        /* títulos */
  --green: #067628;       /* precio y botones */
  --green-hover: #05601f;
  --red: #740404;         /* acentos */
  --red-cross: #d7141a;   /* cruz del logo */
  --sky: #a0d3f8;         /* detalles */
  --gold: #b8860b;        /* precio tachado (fondo claro) */
  --gold-light: #e6b422;  /* precio tachado (fondo oscuro) */
  --text: #3d4045;
  --muted: #747678;
  --bg: #ffffff;
  --bg-soft: #f3f7fd;
  --line: #dfe6f1;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
section { padding: 80px 0; }

h1, h2, h3, h4 { font-family: 'Barlow', 'Montserrat', sans-serif; line-height: 1.15; color: var(--blue); }
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); font-weight: 800; margin-bottom: 18px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.impact { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-weight: 400; letter-spacing: .3px; }
.kicker { display: inline-block; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--text); }
.muted { color: var(--muted); }
.section-sub { color: var(--muted); max-width: 700px; margin: 0 auto 44px; }

/* Secciones oscuras */
.dark { background: var(--navy); color: #fff; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: #e3e8ff; }
.dark .kicker { color: var(--sky); }
.darker { background: var(--navy-dark); color: #fff; }
.darker h2, .darker h3 { color: #fff; }
.soft { background: var(--bg-soft); }

/* ===== Botones ===== */
.btn { display: inline-block; text-decoration: none; font-family: 'Barlow', sans-serif; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; border-radius: 10px; text-align: center; transition: transform .15s, background .2s, box-shadow .2s; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(6,118,40,.35); }
.btn-green:hover { background: var(--green-hover); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }
.btn-xl { padding: 22px 40px; font-size: 1.35rem; }
.btn-block { display: block; width: 100%; }
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6,118,40,.55); } 70% { box-shadow: 0 0 0 16px rgba(6,118,40,0); } 100% { box-shadow: 0 0 0 0 rgba(6,118,40,0); } }
.cta-sub { display: block; margin-top: 12px; font-size: .88rem; color: var(--muted); }
.dark .cta-sub { color: #c8d0ff; }

/* ===== Top bar / Header ===== */
.top-bar { background: var(--red); color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1.1rem; line-height: 1.05; text-transform: uppercase; }
.cross { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--red-cross); position: relative; flex: 0 0 auto; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--red-cross); left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 2px; }
.cross::before { width: 16px; height: 5px; }
.cross::after { width: 5px; height: 16px; }

/* ===== Hero ===== */
.hero { background: radial-gradient(900px 500px at 50% -10%, rgba(160,211,248,.25), transparent 70%), var(--navy); color: #fff; text-align: center; padding: 64px 0 72px; }
.hero .kicker { color: var(--sky); }
.hero h1 { color: #fff; max-width: 950px; margin-left: auto; margin-right: auto; }
.hero .lead { color: #dfe5ff; max-width: 760px; margin: 0 auto 34px; font-size: 1.25rem; }
.hero .lead strong { color: #fff; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 860px; margin: 0 auto; box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.12); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.price-card { background: #fff; color: var(--text); max-width: 560px; margin: 36px auto 0; border-radius: 18px; padding: 30px 26px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.price-line { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 6px 0 8px; }
.price-old { font-family: 'Archivo Black', sans-serif; color: var(--gold); font-size: 2.4rem; text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: #111; }
.price-new { font-family: 'Archivo Black', sans-serif; color: var(--green); font-size: 4.2rem; line-height: 1; }
.dark .price-old { color: var(--gold-light); text-decoration-color: #fff; }
.price-new small, .price-old small { font-size: 1rem; vertical-align: top; margin-right: 3px; }
.price-tag { font-family: 'Barlow', sans-serif; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; font-size: .9rem; }
.price-note { font-size: .88rem; color: var(--muted); margin: 6px 0 18px; }
.pay-methods { margin: 18px auto 0; max-width: 100%; }

/* ===== Presentación ===== */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.intro-grid img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(9,1,132,.25); }
.big-q { font-family: 'Barlow', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1.3; margin-bottom: 16px; }

/* ===== Listas con check ===== */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 58px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.checks li::before { content: '✓'; position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.dark .checks li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #eef1ff; }

.for-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.for-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 12px; padding: 24px; }
.for-grid.for-3 { grid-template-columns: repeat(3, 1fr); }
.for-card .ic { font-size: 1.8rem; margin-bottom: 8px; }

/* ===== Instructor ===== */
.doc-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.doc-photo { position: relative; }
.doc-photo img { border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 5px solid #fff; }
.doc-badge { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); background: var(--red-cross); color: #fff; font-family: 'Barlow', sans-serif; font-weight: 800; padding: 6px 18px; border-radius: 999px; white-space: nowrap; font-size: .9rem; }
.doc-text p { margin-bottom: 14px; }

/* ===== Testimonios ===== */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(9,1,132,.06); }
.testi-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.testi-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sky); }
.testi-head b { display: block; font-family: 'Barlow', sans-serif; font-size: 1.1rem; color: var(--navy); }
.testi-head span { font-size: .85rem; color: var(--muted); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }
.testi .quote { font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.testi p { font-size: .95rem; }

/* ===== Módulos ===== */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { position: relative; border-radius: 12px; overflow: hidden; background: var(--navy-dark); aspect-ratio: 4/3; }
.mod img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .3s; }
.mod:hover img { opacity: .75; transform: scale(1.04); }
.mod span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; color: #fff; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.2; background: linear-gradient(transparent, rgba(12,3,77,.95)); }
.mod em { display: block; font-style: normal; font-size: .75rem; color: var(--sky); letter-spacing: 1px; }

.lessons { margin-top: 44px; }
.lessons details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.lessons summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.08rem; color: var(--navy); position: relative; }
.lessons summary::-webkit-details-marker { display: none; }
.lessons summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); transition: transform .2s; }
.lessons details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lessons summary .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: #fff; margin-right: 10px; font-size: .9rem; }
.lessons ol { list-style: none; padding: 0 20px 18px 58px; columns: 2; column-gap: 28px; font-size: .93rem; color: var(--text); }
.lessons li { padding: 4px 0; break-inside: avoid; }

/* ===== Bonos ===== */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bonus { background: #fff; color: var(--text); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.bonus .b-img { background: var(--bg-soft); height: 210px; display: grid; place-items: center; padding: 16px; }
.bonus .b-img { overflow: hidden; }
.bonus .b-img img { max-height: 190px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.bonus .b-body { padding: 22px; flex: 1; }
.bonus .b-tag { font-family: 'Barlow', sans-serif; font-weight: 800; color: var(--red); letter-spacing: 1px; text-transform: uppercase; font-size: .8rem; }
.bonus h3 { color: var(--navy); margin-top: 4px; }
.bonus p { font-size: .94rem; color: var(--text) !important; }
.bonus .b-value { margin-top: 12px; font-weight: 700; color: var(--green); }

/* ===== Oferta ===== */
.offer-card { max-width: 720px; margin: 0 auto; background: #fff; border: 3px solid var(--green); border-radius: 22px; padding: 40px 34px; box-shadow: 0 25px 70px rgba(9,1,132,.18); }
.offer-card .bundle { margin: 0 auto 24px; max-width: 520px; }
.stack { list-style: none; margin-bottom: 26px; }
.stack li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.stack li span::before { content: '✓ '; color: var(--green); font-weight: 800; }
.stack li b { white-space: nowrap; color: var(--muted); }
.stack li b.free { color: var(--green); }

/* ===== Garantía ===== */
.guarantee { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.guarantee img { max-width: 300px; }

/* ===== FAQ ===== */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; }
.faq details > div p { margin-bottom: 10px; }

/* ===== Disclaimer / footer ===== */
.disclaimer { font-size: .8rem; color: var(--muted); max-width: 900px; margin: 0 auto; text-align: center; }
.disclaimer p { margin-bottom: 10px; }
.site-footer { background: var(--navy-dark); color: #b9bfe0; text-align: center; padding: 34px 0 100px; font-size: .88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 10px; }
.site-footer a { color: #dfe3ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ===== Sticky ===== */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(12,3,77,.97); color: #fff; transform: translateY(110%); transition: transform .3s; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sp s { color: var(--gold-light); margin-right: 6px; font-size: .9rem; }
.sticky-cta .sp b { font-family: 'Archivo Black', sans-serif; font-size: 1.2rem; color: #7dffa4; }
@media (min-width: 900px) {
  .sticky-cta { left: 50%; right: auto; bottom: 18px; transform: translate(-50%, 150%); border-radius: 999px; padding: 8px 8px 8px 24px; gap: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
  .sticky-cta.show { transform: translate(-50%, 0); }
}

/* ===== Páginas legales ===== */
.legal-hero { background: var(--navy); color: #fff; padding: 52px 0 40px; }
.legal-hero h1 { color: #fff; margin-bottom: 8px; }
.legal-hero .crumbs { font-size: .85rem; color: #c8d0ff; margin-bottom: 14px; }
.legal-hero .crumbs a { color: #c8d0ff; text-decoration: none; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; padding-top: 48px; padding-bottom: 48px; }
.toc { position: sticky; top: 84px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: .86rem; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc b { display: block; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--green); }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; scroll-margin-top: 84px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; font-size: .97rem; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; font-size: .97rem; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .intro-grid, .doc-grid, .guarantee { grid-template-columns: 1fr; gap: 30px; }
  .doc-photo { max-width: 300px; margin: 0 auto; }
  .guarantee { text-align: center; }
  .guarantee img { margin: 0 auto; max-width: 240px; }
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .for-grid.for-3 { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand { font-size: .92rem; }
  .brand .cross { width: 28px; height: 28px; }
  .header-inner .btn { display: none; }
  .for-grid, .for-grid.for-3, .testi-grid { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .lessons ol { columns: 1; padding-left: 20px; }
  .price-new { font-size: 3.4rem; }
  .price-old { font-size: 2rem; }
  .btn-xl { padding: 20px 22px; font-size: 1.1rem; }
  .offer-card { padding: 30px 18px; }
  .stack li { font-size: .92rem; }
}

/* Cuadro de compra grande debajo del video: aparece a los 3 minutos (js/main.js) */
.vsl-offer { margin-top: 34px; animation: vslIn .6s ease-out; }
.vsl-offer .offer-card { color: var(--text); text-align: left; }
@keyframes vslIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Ninguna imagen más ancha que su contenedor (en mobile, los max-width en px de algunas imágenes las desbordaban) */
img, iframe, video { max-width: 100% !important; }
img { height: auto; }  /* al achicarse, que no se deformen */
