/* Comunidad Marinilla — "Volviendo a casa"
   Layout: escenario oscuro (fotos de adoración con luz azul) que se abre a secciones claras "de casa".
   Tipos: Archivo condensada en mayúsculas para titulares (como sus artes de SMALL),
   Montserrat (la letra de la marca) para leer, Instrument Serif itálica para la voz cálida. */
:root {
  --ink: #0a0c10;
  --ink-2: #12161d;
  --ink-3: #1b212b;
  --fg: #f3f5f8;
  --muted: #a3adbb;
  --line: rgba(255, 255, 255, .12);
  --paper: #eef1f4;
  --paper-2: #ffffff;
  --paper-ink: #10141a;
  --paper-muted: #566170;
  --paper-line: #d6dce3;
  --luz: #6cc4ff;
  --luz-ink: #04121f;
  --oro: #d4af37;
  --vivo: #ff3b3b;

  --f-display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --f-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-voz: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --r: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 500 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--luz); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3.4rem, 11vw, 9rem); }
.h-lg { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.h-md { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.voz { font-family: var(--f-voz); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; max-width: 62ch; color: var(--muted); margin: 0; }
.prose p { max-width: 65ch; margin: 0 0 1em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 700 .8rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--fg); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--fg); background: rgba(10,12,16,.25); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(255,255,255,.08); }
.btn-luz { background: var(--luz); color: var(--luz-ink); }
.btn-luz:hover { background: var(--fg); }
.btn-dark { background: var(--paper-ink); color: var(--paper); }
.btn-dark:hover { background: transparent; color: var(--paper-ink); border-color: var(--paper-ink); }
.btn-line-dark { border-color: var(--paper-ink); color: var(--paper-ink); }
.btn-line-dark:hover { background: var(--paper-ink); color: var(--paper); }
.btn-oro { background: var(--oro); color: #140f00; }
.btn-oro:hover { background: var(--fg); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: color .3s;
}
/* El blur va en ::before (nunca en el header) para no romper el menú móvil fijo */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10,12,16,.0); transition: background-color .3s;
}
.site-header.is-solid::before { background: rgba(10,12,16,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,245,248,.82);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); background: rgba(255,255,255,.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 42px; padding: 0 20px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,12,16,.4); color: var(--fg); cursor: pointer; position: relative; z-index: 70; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 13px; width: 18px; height: 2px; background: currentColor; content: ""; transition: transform .25s, top .25s, opacity .2s; }
.menu-btn span { top: 22px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink);
  padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mobile-menu a.big { display: block; padding: 8px 0; text-decoration: none; font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.05; }
.mobile-menu a.big[aria-current="page"] { color: var(--luz); }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
  .nav-actions .btn-dona { display: none; }
}

/* ---------- En vivo ---------- */
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: rgba(255,59,59,.14); border: 1px solid rgba(255,59,59,.55);
  color: var(--fg); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--vivo); box-shadow: 0 0 0 0 rgba(255,59,59,.6); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.6);} 70% { box-shadow: 0 0 0 10px rgba(255,59,59,0);} 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0);} }
.live-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid rgba(255,59,59,.5); box-shadow: 0 12px 40px rgba(0,0,0,.5);
  width: max-content; max-width: calc(100% - 32px);
}
.live-bar strong { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.live-bar .btn { min-height: 38px; padding: 0 16px; }
.live-bar button.x { background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; padding: 0 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(92vh, 860px); min-height: min(92svh, 860px);
  padding-block: 140px clamp(48px, 8vh, 96px);
  background: var(--ink) center / cover no-repeat;
  isolation: isolate; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,12,16,.65) 0%, rgba(10,12,16,.15) 30%, rgba(10,12,16,.35) 60%, var(--ink) 100%),
    radial-gradient(80% 60% at 70% 20%, rgba(108,196,255,.18), transparent 70%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero-inner { display: grid; gap: 22px; }
.hero .eyebrow { color: rgba(243,245,248,.88); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1 .voz { display: block; font-size: .42em; line-height: 1.1; margin-top: .28em; color: rgba(243,245,248,.9); max-width: 20ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .86rem; margin-top: 8px; }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }

.page-hero { min-height: auto; padding-block: 170px 72px; }
.page-hero .lead { color: rgba(243,245,248,.82); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 11vw, 140px); }
.section-tight { padding-block: clamp(56px, 7vw, 90px); }
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper .eyebrow, .paper .lead { color: var(--paper-muted); }
.panel { background: var(--ink-2); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 60px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* F.A.R.A. */
.fara { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--paper-line); }
.fara-item { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.fara-item + .fara-item { padding-left: 24px; border-left: 1px solid var(--paper-line); }
.fara-letter { font-family: var(--f-display); font-stretch: 72%; font-weight: 900; font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: .8; }
.fara-item h3 { margin: 6px 0 0; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.fara-item p { margin: 0; color: var(--paper-muted); font-size: .95rem; }
@media (max-width: 860px) {
  .fara { grid-template-columns: 1fr 1fr; }
  .fara-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .fara-item:nth-child(n+3) { border-top: 1px solid var(--paper-line); }
}
@media (max-width: 460px) { .fara-item { padding-right: 12px; } .fara-item + .fara-item { padding-left: 14px; } .fara-item:nth-child(3) { padding-left: 0; } }

/* Intro dividida */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro > * { min-width: 0; }
.intro-photo { position: relative; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.intro-photo .tag { position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: var(--fg); padding: 10px 14px; border-radius: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro-photo img { aspect-ratio: 4 / 3; } }

/* Eventos */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event { display: grid; grid-template-rows: auto 1fr; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform .25s, border-color .25s; min-width: 0; }
.event:hover { transform: translateY(-4px); border-color: rgba(108,196,255,.45); }
.event img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.event-body { display: grid; gap: 10px; align-content: start; padding: 22px 22px 26px; }
.event-date { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--luz); }
.event h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin: 0; }
.event p { margin: 0; color: var(--muted); font-size: .95rem; }
.event .link-arrow { margin-top: 6px; justify-self: start; font-size: .82rem; }
@media (max-width: 960px) { .events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .events { grid-template-columns: 1fr; } }

/* Grupos */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--fg); isolation: isolate; padding: 26px; }
.group img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.group::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,16,0) 25%, rgba(10,12,16,.92) 82%); }
.group:hover img { transform: scale(1.05); }
.group .stage { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--luz); }
.group h3 { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 2.6rem; line-height: .95; margin: 6px 0 10px; }
.group p { margin: 0 0 16px; font-size: .92rem; color: rgba(243,245,248,.82); }
.group .link-arrow { align-self: flex-start; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .groups { grid-template-columns: 1fr; } .group { min-height: 380px; } }

/* Banda de nombres */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 42px; animation: ticker 32s linear infinite; }
.ticker span { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3rem); color: transparent; -webkit-text-stroke: 1px rgba(243,245,248,.55); }
.ticker span.on { color: var(--fg); -webkit-text-stroke: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Legado */
.legacy { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.legacy > * { min-width: 0; }
.legacy img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 860px) { .legacy { grid-template-columns: 1fr; } }

/* Visítanos */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.visit > * { min-width: 0; }
.card-paper { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.card-paper h3 { margin: 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-muted); }
.big-line { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.02; margin: 0; overflow-wrap: anywhere; }
.muted-dark { color: var(--paper-muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.contact-list svg { margin-top: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* Suscripción */
.subscribe { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: center; }
.subscribe > * { min-width: 0; }
.sub-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sub-form input { flex: 1 1 240px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-3); color: var(--fg); font: 500 1rem var(--f-body); }
.sub-form input::placeholder { color: var(--muted); }
.form-msg { margin: 10px 0 0; font-size: .9rem; color: var(--luz); min-height: 1.4em; }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--ink); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot > * { min-width: 0; }
.foot h4 { margin: 0 0 14px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: rgba(243,245,248,.85); }
.foot a:hover { color: var(--luz); }
.foot-logo { height: 70px; width: auto; margin-bottom: 16px; }
.foot-tag { font-family: var(--f-voz); font-style: italic; font-size: 1.5rem; margin: 0; color: var(--fg); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; }
.foot-bottom a { color: var(--fg); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--luz); }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.has-live .wa-float { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Páginas internas ---------- */
.pillars-detail { display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.pillar-row { display: grid; grid-template-columns: 180px 220px 1fr; gap: 24px; align-items: baseline; padding-block: 30px; border-bottom: 1px solid var(--paper-line); }
.pillar-row > * { min-width: 0; }
.pillar-row .fara-letter { font-size: clamp(4rem, 8vw, 6rem); }
.pillar-row h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 2rem; }
.pillar-row p { margin: 0; color: var(--paper-muted); max-width: 60ch; }
@media (max-width: 760px) { .pillar-row { grid-template-columns: 1fr; gap: 8px; } }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery .g1 { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery .g2 { grid-column: span 5; aspect-ratio: 4 / 5; height: auto; }
.gallery .g3 { grid-column: span 4; aspect-ratio: 1; }
.gallery .g4 { grid-column: span 4; aspect-ratio: 1; }
.gallery .g5 { grid-column: span 4; aspect-ratio: 1; }
@media (max-width: 700px) { .gallery .g1, .gallery .g2 { grid-column: span 12; } .gallery .g3, .gallery .g4, .gallery .g5 { grid-column: span 6; } .gallery .g5 { grid-column: span 12; aspect-ratio: 16/9; } }

.quote { font-family: var(--f-voz); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 0; max-width: 28ch; text-wrap: balance; }
.quote-cite { display: block; margin-top: 18px; font: 700 .78rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Smalls */
.smalls { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.small-card { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; color: var(--paper-ink); }
.small-head { background: var(--paper-ink); color: var(--paper); padding: 22px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.small-head h3 { margin: 0; font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 2.3rem; line-height: .9; }
.small-head .when { text-align: right; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--luz); white-space: nowrap; }
.small-head .when b { display: block; font-size: 1.15rem; color: var(--paper); letter-spacing: .02em; }
.small-body { padding: 20px 22px 24px; display: grid; gap: 14px; align-content: start; }
.kv { display: grid; grid-template-columns: 118px 1fr; gap: 4px 12px; margin: 0; font-size: .93rem; }
.kv dt { color: var(--paper-muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.virtual { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--ink); color: var(--fg); border-radius: var(--r); padding: clamp(26px, 4vw, 44px); background-image: radial-gradient(70% 120% at 100% 0%, rgba(108,196,255,.25), transparent 60%); }
.virtual > * { min-width: 0; }
.virtual .lead { color: rgba(243,245,248,.8); }
@media (max-width: 760px) { .virtual { grid-template-columns: 1fr; } }

/* Lista de grupos (inscripciones) */
.group-rows { display: grid; gap: 18px; }
.group-row { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--r); overflow: hidden; }
.group-row > * { min-width: 0; }
.group-row img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.group-row .body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 12px; align-content: center; }
.group-row h3 { margin: 0; font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3rem); line-height: .9; }
.group-row .stage { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-muted); }
.group-row p { margin: 0; color: var(--paper-muted); max-width: 60ch; }
@media (max-width: 760px) { .group-row { grid-template-columns: 1fr; } .group-row img { aspect-ratio: 16/10; min-height: 0; } }

.callout { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--r); background: var(--paper-ink); color: var(--paper); }
.callout > * { min-width: 0; }
.callout p { margin: 6px 0 0; color: #b9c2cd; max-width: 60ch; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* Online */
.video-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; isolation: isolate; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.video-card:hover img { transform: scale(1.03); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,12,16,.85)); }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: var(--fg); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.video-card .cap { position: absolute; z-index: 2; left: 22px; bottom: 18px; right: 22px; font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-col > * { min-width: 0; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Congreso */
.congreso { --acc: var(--oro); }
.congreso .eyebrow { color: var(--oro); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts > div { padding: 22px; display: grid; gap: 6px; min-width: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--oro); }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.ul-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ul-clean li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.ul-clean li::before { content: "✦"; color: var(--oro); }
.speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.speaker { border-top: 2px solid var(--oro); padding-top: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.speaker h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.speaker .rol { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); }
.speaker p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .speakers { grid-template-columns: 1fr; } }
.congreso-media { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: stretch; }
.congreso-media > * { min-width: 0; }
.congreso-media video, .congreso-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.congreso-media video { aspect-ratio: 9 / 16; max-height: 640px; background: #000; }
@media (max-width: 760px) { .congreso-media { grid-template-columns: 1fr; } .congreso-media video { max-height: 560px; } }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(212,175,55,.5); color: var(--oro); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Dona */
.give { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.give > * { min-width: 0; }
.account { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: .02em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-btn { justify-self: start; }
.qr img { width: 100%; max-width: 360px; border-radius: 12px; margin-inline: auto; }
@media (max-width: 760px) { .give { grid-template-columns: 1fr; } }

/* Hablemos */
.map-card { position: relative; border-radius: var(--r); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; padding: 26px; text-decoration: none; color: var(--fg); isolation: isolate; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.map-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,16,.1), rgba(10,12,16,.9)); }

/* Utilidades */
.stack { display: grid; gap: 18px; }
.center { text-align: center; justify-items: center; }
.mt-l { margin-top: clamp(36px, 5vw, 64px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }

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

/* Formulario de inscripción (ventana) */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(5,7,10,.72); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.modal-card { position: relative; width: 100%; max-width: 520px; background: var(--paper-2); color: var(--paper-ink); border-radius: 18px; padding: clamp(24px, 4vw, 36px); display: grid; gap: 14px; color-scheme: light; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.modal-card .eyebrow { color: var(--paper-muted); }
.modal-card p { margin: 0; color: var(--paper-muted); }
.modal-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--paper-ink); font-size: 1.4rem; cursor: pointer; }
.fld { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.fld input, .fld textarea { font: 500 1rem var(--f-body); color: var(--paper-ink); background: var(--paper); border: 1px solid var(--paper-line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--paper-ink); outline-offset: 1px; }
.modal-card .form-msg { color: #b42318; font-weight: 600; min-height: 0; }
.modal-card .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
