/* =============================================================
   JÓVENES DE FUEGO 3.0 — Estilos de la página pública
   Paleta oficial (Manual de Marca): #444242 #B1062B #C64832 #D07400 #E9BC00 #FFFFFF
   ============================================================= */
:root {
  --ink: #231F20;        /* fondo oscuro del manual */
  --ink-2: #2B2627;
  --ink-3: #363031;
  --carbon: #444242;
  --crimson: #B1062B;
  --fire: #C64832;
  --orange: #D07400;
  --gold: #E9BC00;
  --white: #FFFFFF;
  --cream: #F7F3EF;
  --cream-2: #EFE8E2;
  --text-d: #EDE8E6;     /* texto sobre oscuro */
  --muted-d: #B5ADAB;
  --text-l: #2A2526;     /* texto sobre claro */
  --muted-l: #6A6263;
  --grad: linear-gradient(120deg, #B1062B 0%, #C64832 35%, #D07400 70%, #E9BC00 100%);
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 18px 40px -18px rgba(0,0,0,.45);
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hh: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 8px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--text-d); font: 400 16px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.fire-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted-l); }
.center { text-align: center; margin-top: 28px; }
[hidden] { display: none !important; }

/* ---------- Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1.1 var(--body); text-decoration: none; letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background .2s, color .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-fire { background: var(--crimson); background-image: linear-gradient(120deg, #B1062B, #C64832 55%, #D07400); color: #fff; box-shadow: 0 10px 24px -10px rgba(198,72,50,.8); }
.btn-fire:hover { box-shadow: 0 14px 28px -10px rgba(208,116,0,.9); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: currentColor; background: transparent; }
.light .btn-outline { color: var(--text-l); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Anuncio y cabecera */
.announce { background: var(--grad); color: #fff; font-weight: 600; font-size: .9rem; text-align: center; padding: 8px 0; }
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(35,31,32,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-in { height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 40px; width: auto; max-width: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-size: .86rem; font-weight: 500; padding: 8px 10px; border-radius: 8px; color: var(--text-d); white-space: nowrap; }
.nav a:not(.btn):hover, .nav a.active { color: var(--gold); }
.nav .nav-cta { margin-left: 8px; min-height: 42px; padding: 9px 18px; color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 10px; padding: 11px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .nav { position: fixed; inset: var(--hh) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 18px 16px 32px; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; overflow-y: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.15rem; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; }
  .nav .nav-cta { margin: 18px 0 0; border-radius: 999px; border: 0; justify-content: center; }
  .brand img { height: 34px; }
}

/* ---------- 01 · Inicio */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-slides, .slide, .hero-shade { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease; }
.slide.on { opacity: 1; transform: scale(1); }
.slide-brand { background:
  radial-gradient(60% 55% at 78% 40%, rgba(233,188,0,.28), transparent 60%),
  radial-gradient(55% 60% at 65% 70%, rgba(198,72,50,.45), transparent 65%),
  radial-gradient(70% 70% at 30% 100%, rgba(177,6,43,.55), transparent 70%),
  var(--ink); }
.hero-shade { background: linear-gradient(180deg, rgba(35,31,32,.35) 0%, rgba(35,31,32,.15) 35%, rgba(35,31,32,.85) 78%, var(--ink) 100%), linear-gradient(90deg, rgba(35,31,32,.75), transparent 70%); z-index: 1; }
.hero-mark { position: absolute; right: max(16px, calc(50% - 600px)); top: 50%; width: min(34vw, 380px); opacity: .4; transform: translateY(-58%); z-index: 1; pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding: 120px 0 64px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--gold); }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(3rem, 10vw, 6.6rem); font-weight: 700; margin: .1em 0 .2em; line-height: .95; max-width: 11ch; }
.hero-phrase { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 38ch; color: #F3EEEC; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-meet { font-size: .9rem; color: var(--muted-d); margin: 0; }
.hero-dots { position: absolute; z-index: 3; right: max(16px, calc(50% - 590px)); bottom: 32px; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); padding: 0; transition: width .3s, background .3s; }
.hero-dots button.on { width: 28px; border-radius: 6px; background: var(--gold); }
@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .hero-mark { width: 62vw; top: 26%; right: -10vw; opacity: .3; }
  .hero-in { padding-bottom: 48px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-dots { left: 16px; right: auto; bottom: 18px; }
}

.quick { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: -8px; margin-bottom: 8px; }
.quick a { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px; text-decoration: none; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); transition: transform .2s, border-color .2s; }
.quick a:hover { transform: translateY(-3px); border-color: rgba(233,188,0,.5); }
.quick b { font-family: var(--head); font-weight: 500; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.15; }
.quick small { color: var(--muted-d); font-size: .8rem; }
.q-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--gold); margin-bottom: 8px; font-size: .9rem; }
.quick .q-fire { background: var(--grad); border: 0; color: #fff; }
.quick .q-fire small { color: rgba(255,255,255,.88); }
.quick .q-fire .q-ic { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } .quick .q-fire { grid-column: span 2; } }

/* ---------- Secciones */
.sec { padding: clamp(64px, 10vw, 112px) 0; position: relative; }
.sec.light { background: var(--cream); color: var(--text-l); }
.sec.dark { background: var(--ink); }
.sec-num { font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--fire); margin-bottom: 10px; }
.dark .sec-num, .reg .sec-num { color: var(--gold); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.lead { font-size: 1.08rem; line-height: 1.7; }
.light .lead { color: #3E3738; }
.dark .lead { color: var(--muted-d); }
.sub { margin-top: 64px; }
.sub-title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 8px; }
.sub-note { color: var(--muted-l); margin-bottom: 22px; }
.sub-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sub-row .sub-title { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Imagen de relleno cuando aún no hay foto */
.ph { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; background:
  radial-gradient(70% 80% at 70% 20%, rgba(233,188,0,.35), transparent 60%),
  radial-gradient(80% 90% at 20% 100%, rgba(177,6,43,.65), transparent 70%), var(--carbon); }
.ph span { font-size: 2.6rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }

/* ---------- 02 · Quiénes somos */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-logo { padding: 40px; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px -30px rgba(68,66,66,.6); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.mv-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.mv-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mv-card::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.mv-mision { background: var(--ink); }
.mv-mision::before { background: linear-gradient(180deg, rgba(35,31,32,.25), rgba(35,31,32,.92)); }
.mv-vision { background: var(--crimson); }
.mv-vision::before { background: linear-gradient(160deg, rgba(177,6,43,.55), rgba(198,72,50,.85) 55%, rgba(208,116,0,.92)); }
.mv-body { padding: 32px; }
.mv-label { font-family: var(--head); text-transform: uppercase; font-size: 2.6rem; font-weight: 700; display: block; line-height: 1; margin-bottom: 14px; letter-spacing: .02em; }
.mv-mision .mv-label { color: var(--gold); }
.mv-body p { font-size: 1.08rem; margin: 0; line-height: 1.6; }
@media (max-width: 860px) { .about, .mv { grid-template-columns: 1fr; gap: 28px; } .about-logo { padding: 24px; } }

.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.h-tile { aspect-ratio: 1; border-radius: var(--radius-s); border: 0; padding: 14px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s; }
.h-tile:not(.h-empty):hover { transform: scale(1.03); }
.h-tile.has-img { background: var(--img) center/cover; }
.h-tile.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,31,32,.1), rgba(35,31,32,.85)); z-index: -1; }
.h-tile:not(.has-img):not(.h-empty):nth-child(3n+1) { background: var(--crimson); }
.h-tile:not(.has-img):not(.h-empty):nth-child(3n+2) { background: var(--carbon); }
.h-year { font-family: var(--head); font-size: clamp(1.1rem, 3vw, 1.9rem); font-weight: 700; color: var(--gold); }
.h-tile:nth-child(3n+1) .h-year { color: #fff; }
.h-title { font-weight: 600; font-size: clamp(.72rem, 1.6vw, .95rem); line-height: 1.25; }
.h-empty { background: var(--cream-2); color: #c9bfb9; }
.h-empty .h-year { color: #d2c8c2 !important; }

.meta-intro { max-width: 760px; color: #3E3738; }
.meta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.meta-card { background: #fff; border-radius: var(--radius); padding: 22px 18px; border-top: 4px solid var(--fire); box-shadow: 0 14px 34px -26px rgba(0,0,0,.5); }
.meta-card:nth-child(2) { border-color: var(--orange); } .meta-card:nth-child(3) { border-color: var(--gold); } .meta-card:nth-child(4) { border-color: var(--crimson); } .meta-card:nth-child(5) { border-color: var(--carbon); }
.meta-ic { font-size: 1.8rem; }
.meta-card small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted-l); margin: 8px 0 4px; font-weight: 600; }
.meta-card p { font-size: .92rem; color: #4A4243; }
.meta-card a { color: var(--fire); font-weight: 600; font-size: .9rem; }
@media (max-width: 1000px) { .meta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .meta-grid { grid-template-columns: 1fr; } }

.faith { background: #fff; border-radius: var(--radius); padding: 0; box-shadow: 0 14px 34px -26px rgba(0,0,0,.5); }
.faith summary { list-style: none; cursor: pointer; padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faith summary::-webkit-details-marker { display: none; }
.faith summary .sub-title { margin: 0; }
.faith-hint { color: var(--fire); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.faith[open] .faith-hint { visibility: hidden; }
.faith-text { padding: 0 28px 28px; max-width: 780px; font-size: 1.02rem; line-height: 1.85; color: #3A3334; }
.faith-text p { margin-bottom: 1.3em; }

.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin-top: 18px; }
.leader { background: #fff; border-radius: var(--radius); overflow: hidden; padding-bottom: 18px; box-shadow: 0 14px 34px -26px rgba(0,0,0,.5); }
.leader img, .leader .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-bottom: 14px; }
.leader h4, .leader p { padding: 0 18px; }
.leader h4 { margin-bottom: 2px; text-transform: none; font-size: 1.2rem; }
.leader-role { color: var(--fire); font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.leader p:not(.leader-role) { font-size: .9rem; color: #4A4243; margin: 0; }

.closing { margin-top: 72px; text-align: center; padding: 48px 24px; border-radius: var(--radius); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(198,72,50,.55), transparent); }
.closing p { position: relative; font-family: var(--head); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.3; max-width: 30ch; margin: 0 auto 24px; text-transform: none; font-weight: 400; }
.closing .btn { position: relative; }

/* ---------- 03 · Actividades */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 500; min-height: 40px; }
.chip.on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.plans { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.plan { scroll-snap-align: start; text-align: left; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; padding: 0 0 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, border-color .2s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(233,188,0,.45); }
.plan-img { display: block; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 8px; }
.plan-img img, .plan-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.plan-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 18px; font-size: .8rem; color: var(--muted-d); }
.tag { background: rgba(233,188,0,.15); color: var(--gold); padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.plan-title { font-family: var(--head); text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; padding: 0 18px; }
.plan-verse { padding: 0 18px; color: var(--muted-d); font-size: .85rem; }

.projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 18px; }
.project { grid-column: span 2; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project:nth-child(4), .project:nth-child(5) { grid-column: span 3; }
.project-img { aspect-ratio: 16/9; overflow: hidden; }
.project-img img, .project-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover .project-img img { transform: scale(1.05); }
.project-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.project-body p { color: var(--muted-d); font-size: .95rem; flex: 1; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; } .project, .project:nth-child(4), .project:nth-child(5) { grid-column: span 1; } .project:nth-child(5) { grid-column: span 2; } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } .project:nth-child(5) { grid-column: auto; } }

/* ---------- 04 · Áreas */
.areas-video { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 40px; align-items: start; }
.yt-box { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.yt { width: 100%; height: 100%; border: 0; padding: 0; background: #000 center/cover; position: relative; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--grad); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.yt-box iframe, .lb-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.stamps { background: #fff; border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 2px; max-height: 100%; }
.stamps-title { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted-l); margin: 4px 8px 8px; }
.stamp { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; text-align: left; border: 0; background: transparent; padding: 9px 8px; border-radius: 10px; font-size: .9rem; color: var(--text-l); }
.stamp:hover { background: var(--cream); }
.stamp b { color: var(--fire); font-family: var(--head); }
.stamp time { font-variant-numeric: tabular-nums; color: var(--muted-l); font-size: .8rem; }
.stamps-yt { margin: 8px; font-size: .85rem; font-weight: 600; color: var(--fire); }
.video-soon { grid-column: 1 / -1; border-radius: var(--radius); background: var(--ink); color: #fff; padding: 40px; display: flex; align-items: center; gap: 22px; }
.video-soon img { width: 72px; height: 72px; }
.video-soon p { margin: 0; font-size: 1.1rem; }
@media (max-width: 860px) { .areas-video { grid-template-columns: 1fr; } .video-soon { flex-direction: column; text-align: center; } }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flip { perspective: 1200px; display: flex; flex-direction: column; }
.flip-in { position: relative; width: 100%; aspect-ratio: 4/3.2; border: 0; padding: 0; background: transparent; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.3,1); text-align: left; }
.flip.flipped .flip-in { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.flip-front .flip-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.flip-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(35,31,32,.9)); z-index: 1; }
.flip-front > span:not(.ph) { position: relative; z-index: 2; }
.flip-num { position: absolute !important; top: 16px; left: 18px; font-family: var(--head); font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.flip-title { font-family: var(--head); text-transform: uppercase; font-size: 1.45rem; line-height: 1.1; font-weight: 600; }
.flip-hint { font-size: .78rem; opacity: .8; margin-top: 4px; }
.flip-back { transform: rotateY(180deg); background: var(--grad); justify-content: center; gap: 10px; }
.flip-desc { font-size: .98rem; line-height: 1.5; }
.flip-q { font-weight: 700; font-size: .9rem; }
.flip-links { display: flex; justify-content: space-between; gap: 8px; padding: 10px 4px 0; font-size: .86rem; font-weight: 600; flex-wrap: wrap; }
.flip-links a { color: var(--fire); text-decoration: none; padding: 4px 0; }
.flip-links a:hover { text-decoration: underline; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } .flip-in { aspect-ratio: 16/10.5; } }
@media (prefers-reduced-motion: reduce) { .flip-in { transition: none; } }

.cta-band { margin-top: 56px; border-radius: var(--radius); padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: #fff; }
.cta-band p { margin: 0; max-width: 56ch; font-size: 1.15rem; }
.dark-band { background: var(--ink-3); }

/* ---------- 05 · Compañías */
.schedule { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding: 24px 28px; border-radius: var(--radius); background: var(--grad); color: #fff; margin-bottom: 36px; }
.schedule small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; opacity: .9; }
.schedule strong { font-family: var(--head); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; }
.schedule .btn { margin-left: auto; }
.schedule-note { flex-basis: 100%; font-size: .92rem; }
@media (max-width: 640px) { .schedule .btn { margin-left: 0; width: 100%; } }
.companies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.company { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 20px; }
.company-photo { aspect-ratio: 16/10; overflow: hidden; }
.company-photo img, .company-photo .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.company-badge { width: 72px; height: 72px; margin: -36px auto 10px; border-radius: 50%; background: var(--ink); border: 3px solid var(--ink-2); box-shadow: 0 0 0 2px var(--fire); display: grid; place-items: center; overflow: hidden; position: relative; }
.company-badge img { width: 100%; height: 100%; object-fit: cover; }
.company-badge span { font-family: var(--head); font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.company h4 { font-size: 1.5rem; margin-bottom: 4px; }
.company p { color: var(--muted-d); font-size: .9rem; padding: 0 16px; min-height: 2.6em; }
@media (max-width: 960px) { .companies { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .companies { gap: 12px; } .company h4 { font-size: 1.2rem; } .company p { font-size: .82rem; } .company .btn { padding: 8px 12px; } }

/* ---------- 06 · Medios */
.media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 40px -30px rgba(0,0,0,.55); }
.media-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.media-img img, .media-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.media-tag { position: absolute; top: 14px; left: 14px; background: rgba(35,31,32,.85); color: #fff; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; }
.radio-art { background: var(--ink); display: grid; place-items: center; }
.radio-freq { text-align: center; color: #fff; }
.radio-freq b { font-family: var(--head); font-size: 4.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.radio-freq span { font-family: var(--head); font-size: 1.6rem; margin-left: 6px; }
.radio-freq small { display: block; letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; color: var(--muted-d); }
.media-body { padding: 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; align-items: flex-start; }
.media-body p { color: #4A4243; font-size: .95rem; margin-bottom: 8px; }
.media-body .btn { margin-top: auto; }
.media-time { font-weight: 600; color: var(--text-l) !important; }
.episodes { display: grid; gap: 8px; width: 100%; margin-bottom: 14px; }
.episode { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: center; border: 0; background: var(--cream); border-radius: 10px; padding: 6px; text-align: left; font-size: .85rem; font-weight: 600; color: var(--text-l); }
.episode img { border-radius: 6px; aspect-ratio: 16/9; object-fit: cover; }
.player { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; width: 100%; margin: 4px 0 14px; }
.player strong { display: block; font-size: .95rem; }
.player small { color: var(--muted-d); font-size: .78rem; }
.play { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 0; background: var(--grad); position: relative; }
.play-ic { position: absolute; left: 19px; top: 15px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.playing .play-ic { left: 17px; top: 16px; border: 0; width: 16px; height: 18px; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.eq { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.eq i { width: 4px; height: 6px; background: var(--gold); border-radius: 2px; }
.playing .eq i { animation: eq 1s infinite ease-in-out; }
.playing .eq i:nth-child(2) { animation-delay: .2s; } .playing .eq i:nth-child(3) { animation-delay: .4s; } .playing .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 50% { height: 22px; } }
@media (max-width: 960px) { .media { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- 07 · Registro */
.reg { background: var(--ink); background-image: radial-gradient(60% 50% at 0% 0%, rgba(177,6,43,.35), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(208,116,0,.22), transparent 70%); }
.reg-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.reg .lead { color: #E3DCDA; }
.reg-privacy { color: var(--muted-d); font-size: .9rem; }
.reg-privacy a { color: var(--gold); }
.reg-adults { background: rgba(233,188,0,.12); border-left: 3px solid var(--gold); padding: 12px 14px; border-radius: 8px; font-size: .92rem; }
.form { background: #fff; color: var(--text-l); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.f { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.f small { font-weight: 400; color: var(--muted-l); }
.f legend { padding: 0; margin-bottom: 8px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; font: 400 1rem var(--body); color: var(--text-l); background: var(--cream); border: 1.5px solid #E2D9D3; border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--fire); background: #fff; }
.form .invalid { border-color: var(--crimson) !important; background: #FFF4F5 !important; }
.hint { font-weight: 400; font-size: .8rem; color: var(--muted-l); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.chk input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--crimson); }
.checks .chk { background: var(--cream); padding: 11px 12px; border-radius: 10px; border: 1.5px solid transparent; }
.checks .chk:has(input:checked) { border-color: var(--fire); background: #FFF5F0; }
.otro { margin-top: 8px; }
.consents { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid #EEE6E0; }
.consents a { color: var(--fire); }
.minor-note { font-size: .88rem; background: #FFF7E0; border-radius: 10px; padding: 10px 12px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; font-weight: 600; font-size: .95rem; }
.form-msg.ok { color: #1E7A45; background: #EAF7EF; padding: 14px; border-radius: 12px; }
.form-msg.err { color: var(--crimson); }
@media (max-width: 900px) { .reg-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .f2, .checks { grid-template-columns: 1fr; } }

/* ---------- 08 · Galería */
.g-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; }
.g-year { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted-d); }
.g-year select { background: var(--ink-2); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; font: inherit; min-height: 40px; }
.grid { columns: 4 240px; column-gap: 12px; }
.g-item { break-inside: avoid; margin: 0 0 12px; position: relative; border-radius: var(--radius-s); overflow: hidden; display: block; width: 100%; border: 0; padding: 0; background: var(--ink-3); }
.g-item img { width: 100%; height: auto; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-item .g-cap { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-size: .82rem; text-align: left; color: #fff; opacity: 0; transition: opacity .3s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }
.g-item.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(35,31,32,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%23fff'/%3E%3C/svg%3E") center/30px no-repeat; border: 2px solid #fff; }
.g-ph { aspect-ratio: 4/3; display: grid; place-items: center; color: var(--muted-d); font-size: .85rem; }
.g-empty { color: var(--muted-d); text-align: center; padding: 30px; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--radius); }
@media (max-width: 640px) { #gChips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; } #gChips .chip { white-space: nowrap; } }
@media (max-width: 560px) { .grid { columns: 2 140px; column-gap: 8px; } .g-item { margin-bottom: 8px; } }

/* ---------- 09 · Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
address { font-style: normal; font-size: 1.05rem; margin-bottom: 20px; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.hours div { background: #fff; border-radius: var(--radius-s); padding: 16px; }
.hours small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; color: var(--fire); }
.hours strong { display: block; font-family: var(--head); font-size: 1.15rem; font-weight: 500; text-transform: uppercase; }
.hours span { font-size: .88rem; color: var(--muted-l); }
.channels { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.channels li { display: flex; gap: 12px; }
.channels span { min-width: 90px; color: var(--muted-l); font-size: .9rem; }
.channels a { color: var(--fire); font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; min-height: 44px; }
.socials a:hover { background: var(--crimson); }
.socials.small { margin: 0 0 6px; }
.socials.small a { padding: 10px; background: rgba(255,255,255,.08); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--cream-2); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .hours { grid-template-columns: 1fr; } }

/* ---------- Pie */
.footer { background: #1A1617; padding: 56px 0 24px; color: var(--muted-d); font-size: .9rem; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.foot-brand img { width: 240px; height: auto; margin-bottom: 14px; }
.foot-links, .foot-legal { display: grid; gap: 8px; align-content: start; }
.foot-links { grid-template-columns: 1fr 1fr; }
.footer a { color: var(--text-d); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 18px; font-size: .8rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Ventana emergente */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 32px); background: #fff; color: var(--text-l); box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.modal::backdrop { background: rgba(20,16,17,.78); backdrop-filter: blur(4px); }
.modal-x { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); font-size: 1.1rem; z-index: 2; }
.modal-body { padding: 28px clamp(20px, 4vw, 36px) 32px; }
.modal-body img.cover { width: calc(100% + 2 * clamp(20px, 4vw, 36px)); max-width: none; margin: -28px clamp(-36px, -4vw, -20px) 22px; aspect-ratio: 16/9; object-fit: cover; }
.modal-body h3 { font-size: 1.8rem; padding-right: 40px; }
.modal-body .verse { color: var(--fire); font-weight: 600; }
.modal-body .q { background: var(--cream); border-left: 3px solid var(--orange); padding: 14px 16px; border-radius: 8px; }
.modal-body .q p { margin: 0 0 .4em; }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.modal-gallery button { border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--cream-2); }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) { .modal-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Visor */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(15,12,13,.96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb-fig { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100dvh; padding: 56px 0 72px; }
.lb-media { display: flex; justify-content: center; width: 100%; }
.lb-media img, .lb-media video { max-width: 100%; max-height: calc(100dvh - 160px); border-radius: 8px; }
.lb-media .lb-yt { width: min(100%, 1100px); aspect-ratio: 16/9; }
.lb figcaption { color: #E4DDDB; text-align: center; font-size: .92rem; max-width: 70ch; }
.lb figcaption b { display: block; color: #fff; }
.lb-x { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem; z-index: 2; }
.lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; justify-self: center; }
.lb-share { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.lb-share > * { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-size: .85rem; text-decoration: none; font-weight: 600; }
@media (max-width: 640px) { .lb { grid-template-columns: 0 1fr 0; } .lb-nav { position: absolute; bottom: 64px; } .lb-prev { left: 16px; } .lb-next { right: 16px; } .lb-fig { padding: 60px 8px 120px; } }

/* ---------- Página de privacidad */
.doc { background: var(--cream); color: var(--text-l); padding: 56px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 6vw, 3rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2em; }
.doc .note { background: #FFF7E0; border-radius: 12px; padding: 14px 16px; font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
