/* Emprende con Ángel Gaitán — estilos de la web.
   Colores corporativos de la web original: blanco, verde Emprende (#54B435),
   verde oscuro y texto casi negro. Rubik para titulares y Karla para el texto. */
:root {
  --bg: #ffffff;
  --bg-soft: #f1f5ef;
  --tint: #eaf6e2;
  --line: #d8e2d4;
  --line-hi: #bec5c5;
  --text: #0b1220;
  --text-soft: #2f3b40;
  --muted: #475467;
  --faint: #808285;
  --green: #54b435;
  --green-dark: #3d8425;
  --forest: #1a3710;
  --forest-text: #d8e2d4;
  --green-light: #7fd35f;
  --live: #e0483c;
  --display: "Rubik", "Arial Black", system-ui, sans-serif;
  --body: "Karla", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text-soft); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--display); color: var(--text); margin: 0; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.eyebrow { font: 800 13px/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-dark); }
.num { font-variant-numeric: tabular-nums; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; border-radius: 999px; padding: 18px 28px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { color: var(--text); border-color: var(--line-hi); background: transparent; }
.btn-ghost:hover { border-color: var(--text-soft); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Cabecera */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-head.scrolled { box-shadow: 0 8px 24px -20px rgba(11,18,32,.4); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 88px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-soft); text-decoration: none; font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 12px 14px; border-radius: 999px; }
.nav a:hover { color: var(--green-dark); }
.nav .btn { padding: 14px 22px; font-size: 14px; color: #fff; margin-left: 6px; }
.nav .btn:hover { color: #fff; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .brand img { width: 72px; } .site-head .wrap { height: 72px; } }

/* Portada */
.hero { padding-block: 56px 96px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-soft), var(--bg) 70%); }
.hero::before { content: ""; position: absolute; inset: -25% -12% auto auto; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(84,180,53,.16), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; position: relative; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 12px; font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(84,180,53,.6); animation: pulse 2s infinite; }
.live-pill.on-air { color: var(--live); }
.live-pill.on-air .dot { background: var(--live); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(84,180,53,0); } 100% { box-shadow: 0 0 0 0 rgba(84,180,53,0); } }
.hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 900; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--green); display: block; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-soft); margin-top: 22px; max-width: 34ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; align-items: center; }
.hero .price-note { color: var(--muted); font-size: 16px; }
.hero .price-note b { color: var(--text); }
.video { position: relative; border-radius: 24px; overflow: hidden; background: var(--forest); aspect-ratio: 4 / 5; width: 100%; max-width: 440px; justify-self: center; box-shadow: 0 34px 70px -34px rgba(26,55,16,.6); border: 6px solid #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } .hero { padding-block: 32px 64px; } }

/* Calendario 7 y 22 */
.dates { background: var(--forest); color: #fff; }
.dates .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-block: 88px; }
.dates .eyebrow { color: var(--green-light); }
.dates h2 { color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 900; margin-top: 14px; }
.dates h2 .big { color: var(--green-light); }
.dates p { color: var(--forest-text); margin-top: 18px; max-width: 42ch; }
.dates .count { display: flex; gap: 26px; margin-top: 30px; }
.dates .count div { display: flex; flex-direction: column; }
.dates .count b { font: 900 46px/1 var(--display); font-variant-numeric: tabular-nums; }
.dates .count small { color: #b7c9ae; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }
.cal { background: #fff; color: var(--text); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cal-head h3 { font-size: 22px; font-weight: 800; text-transform: capitalize; }
.cal-head span { color: var(--muted); font-size: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font: 700 12px/1 var(--display); color: var(--faint); padding-bottom: 8px; }
.cal-grid .day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 15px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.cal-grid .day.past { color: var(--faint); opacity: .45; }
.cal-grid .day.today { outline: 1.5px solid var(--line-hi); font-weight: 800; }
.cal-grid .day.live { background: var(--green); color: #fff; font: 900 19px/1 var(--display); position: relative; opacity: 1; }
.cal-grid .day.live::after { content: "19:00"; position: absolute; bottom: 5px; font: 700 9px/1 var(--body); }
.cal-grid .day.live.done { background: var(--tint); color: var(--green-dark); }
@media (max-width: 900px) { .dates .wrap { grid-template-columns: 1fr; padding-block: 64px; gap: 40px; } }

/* Qué incluye */
.section { padding-block: 104px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 900; margin-top: 14px; }
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature { background: var(--bg-soft); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 12px; grid-column: span 2; min-width: 0; }
.feature.wide { grid-column: span 3; }
.feature .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; margin-bottom: 8px; }
.feature h3 { font-size: 23px; font-weight: 800; }
.feature p { color: var(--muted); }
.feature .tag { align-self: flex-start; margin-top: auto; padding-top: 10px; font: 800 13px/1.2 var(--display); color: var(--green-dark); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .feature, .feature.wide { grid-column: auto; } .section { padding-block: 72px; } }

/* Preguntas */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 900; margin-top: 14px; }
.faq .aside p { color: var(--muted); margin-top: 18px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 700 19px/1.3 var(--display); color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--green-dark); display: grid; place-items: center; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.qa details[open] summary .plus { transform: rotate(45deg); background: var(--green); color: #fff; }
.qa details p { color: var(--text-soft); padding: 0 50px 26px 0; max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 28px; } .qa summary { font-size: 17px; } }

/* Precio */
.join { padding-block: 0 104px; }
.join-card { border-radius: 28px; background: var(--green); color: #fff; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 56px; position: relative; overflow: hidden; }
.join-card h2 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); font-weight: 900; }
.join-card .price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.join-card .price b { font: 900 clamp(64px, 9vw, 112px)/0.9 var(--display); letter-spacing: -0.04em; }
.join-card .price span { font: 800 22px/1 var(--display); }
.join-card .terms { margin-top: 12px; font-weight: 700; }
.join-card .btn { margin-top: 30px; background: #fff; color: var(--forest); }
.join-card .btn:hover { background: var(--forest); color: #fff; }
.join-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; align-self: center; }
.join-card li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; font-size: 18px; padding: 14px 0; border-bottom: 1.5px solid rgba(255,255,255,.3); }
.join-card li:last-child { border-bottom: 0; }
.join-card li svg { flex: none; margin-top: 3px; }
@media (max-width: 900px) { .join-card { grid-template-columns: 1fr; padding: 36px 26px; } .join { padding-block: 0 72px; } }

/* Pie */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: 56px 40px; color: var(--muted); font-size: 15px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-foot h4 { color: var(--text); font: 800 14px/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--green-dark); }
.site-foot .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* Aparición suave al entrar en pantalla (sin ocultar nada si no hay JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
