/* =====================================================================
   Iglesia con Propósito — Valle del Choapa
   Sistema visual: negro cálido + oro, acentos del logo (hoja / ciruela)
   Tipografía: Cormorant Garamond (display) + Montserrat (texto)
   ===================================================================== */

:root {
	--bg: #0b0a09;
	--bg-2: #12100e;
	--bg-3: #1b1815;
	--ink: #f3ecdf;
	--ink-2: #cbc2b3;
	--ink-3: #948a7b;
	--gold: #c9a45c;
	--gold-2: #e6cd94;
	--gold-ink: #1a1307;
	--plum: #6e1e4c;
	--plum-2: #9a3a6f;
	--leaf: #6cc04a;
	--danger: #f08a7e;
	--line: rgba(243, 236, 223, .12);
	--line-2: rgba(243, 236, 223, .22);
	--glass: rgba(18, 16, 14, .6);

	--serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	--rail: 88px;
	--pad: clamp(20px, 5vw, 84px);
	--sec: clamp(96px, 15vh, 190px);
	--radius: 26px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.77, 0, .18, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
html.is-loading body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: fixed; top: 12px; left: 50%; z-index: 400; transform: translate(-50%, -160%);
	padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--gold-ink);
	font-weight: 600; text-decoration: none; transition: transform .3s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout helpers ---------- */
.wrap { padding-left: calc(var(--rail) + var(--pad)); padding-right: var(--pad); }
.section { padding-top: var(--sec); padding-bottom: var(--sec); }

.eyebrow {
	display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
	font: 600 11px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
	margin: 0 0 28px; font: 500 clamp(42px, 6vw, 98px)/.98 var(--serif);
	letter-spacing: -.012em; color: var(--ink); text-wrap: balance;
}
.display { font-size: clamp(56px, 10vw, 172px); line-height: .9; }
.lead { margin: 0; max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head--split .h2 { margin-bottom: 0; }
.sl { padding-bottom: .06em; }

/* ---------- Buttons & links ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
	font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background .35s var(--ease), color .35s, border-color .35s, box-shadow .35s;
}
.btn--gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 14px 40px -16px rgba(201, 164, 92, .7); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: rgba(11, 10, 9, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
	font: 600 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.link-arrow .icon { transition: transform .5s var(--ease); color: var(--gold); }
.link-arrow:hover .icon { transform: translateX(8px); }

.chip {
	min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: none;
	color: var(--ink-2); font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
	transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

.icon-btn {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none;
	color: var(--ink-2); cursor: pointer; text-decoration: none; transition: color .3s, background .3s;
}
.icon-btn:hover { color: var(--gold-2); background: rgba(201, 164, 92, .12); }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
	position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
	animation: loaderOut .8s ease 9s forwards;
}
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { position: relative; display: grid; justify-items: center; gap: 20px; text-align: center; padding: 0 24px; }
.loader__mark { width: min(140px, 34vw); height: auto; filter: drop-shadow(0 0 50px rgba(201, 164, 92, .28)); }
.loader__verse { margin: 0; font: italic 400 clamp(20px, 2.4vw, 28px) var(--serif); color: var(--ink-2); }
.loader__bar { width: 200px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader__count { font: 500 11px var(--sans); letter-spacing: .32em; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Ambient layers ---------- */
.grain {
	position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .055;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
	60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}
.veil {
	position: fixed; inset: 0; z-index: 280; display: none; place-items: center; background: var(--bg);
	pointer-events: none; overflow: hidden;
}
.veil__text { font: italic 400 clamp(48px, 8vw, 120px) var(--serif); color: var(--gold-2); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.motion .cursor { display: block; }
	.motion, .motion a, .motion button, .motion label { cursor: none; }
	.motion input, .motion textarea { cursor: text; }
}
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 320; pointer-events: none; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; background: var(--gold-2); }
.cursor__ring {
	display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(230, 205, 148, .55);
	transition: width .45s var(--ease), height .45s var(--ease), background .45s, border-color .45s;
}
.cursor__label { font: 700 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 66px; height: 66px; background: rgba(201, 164, 92, .1); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }

/* ---------- Rail (izquierda) ---------- */
.rail {
	position: fixed; left: 0; top: 0; bottom: 0; z-index: 90; width: var(--rail);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0;
	border-right: 1px solid var(--line);
	background: linear-gradient(90deg, rgba(11, 10, 9, .78), rgba(11, 10, 9, .4));
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.rail__top { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.rail__logo { display: block; padding: 4px; border-radius: 12px; }
.rail__logo img { width: 48px; height: auto; filter: drop-shadow(0 0 18px rgba(108, 192, 74, .2)); }
.rail__toggle {
	display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 12px 10px; min-width: 48px;
	border: 0; background: none; color: var(--ink); cursor: pointer;
}
.burger { position: relative; display: block; width: 28px; height: 14px; }
.burger i { position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease), width .6s var(--ease), top .6s var(--ease); }
.burger i:first-child { top: 0; width: 100%; }
.burger i:last-child { top: 12.5px; width: 60%; }
.rail__toggle:hover .burger i:last-child { width: 100%; }
.menu-open .burger i:first-child { top: 6.25px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 6.25px; width: 100%; transform: rotate(-45deg); }
.rail__label {
	writing-mode: vertical-rl; transform: rotate(180deg);
	font: 600 10px var(--sans); letter-spacing: .34em; text-transform: uppercase;
}
.rail__mid { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; margin: 26px 0; }
.rail__progress { position: relative; width: 1px; flex: 0 1 180px; min-height: 40px; background: var(--line); overflow: hidden; }
.rail__progress span { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.rail__section {
	display: flex; align-items: center; gap: 12px; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg);
	font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3);
	max-height: 40vh; overflow: hidden;
}
.rail__section b { color: var(--gold); font-weight: 600; }
.rail__social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Idioma ---------- */
.lang { position: fixed; top: 20px; right: 22px; z-index: 95; }
.lang__btn {
	display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); cursor: pointer;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	font: 600 12px var(--sans); letter-spacing: .2em; transition: border-color .3s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--gold); }
.lang__list {
	position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; margin: 0; padding: 8px; list-style: none;
	border-radius: 18px; border: 1px solid var(--line); background: rgba(18, 16, 14, .94);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list button {
	display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 14px;
	border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; text-align: left;
}
.lang__list button:hover, .lang__list button[aria-pressed="true"] { background: rgba(201, 164, 92, .12); color: var(--ink); }
.lang__list small { font-weight: 600; letter-spacing: .2em; color: var(--gold); }

/* ---------- Menú ---------- */
.menu { position: fixed; inset: 0; z-index: 85; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__panel { position: absolute; inset: 0; background: var(--bg-2); clip-path: inset(0 100% 0 0); }
html:not(.motion) .menu__panel { transition: clip-path .8s var(--ease-io); }
html:not(.motion) .menu.is-open .menu__panel { clip-path: inset(0 0 0 0); }
.menu__bg { position: absolute; inset: 0; overflow: hidden; opacity: .22; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 90%); mask-image: linear-gradient(90deg, transparent 25%, #000 90%); }
.menu__bg img { width: 100%; height: 100%; object-fit: cover; }
.menu__inner {
	position: relative; height: 100%; overflow-y: auto; display: grid; grid-template-columns: 1.25fr .85fr; gap: 6vw;
	padding: 100px var(--pad) 48px calc(var(--rail) + var(--pad));
}
.menu__nav { align-self: center; }
.menu__nav ol { list-style: none; margin: 0; padding: 0; }
.menu__nav a {
	display: inline-flex; align-items: baseline; gap: 20px; padding: 3px 0;
	font: 400 clamp(32px, 4.4vw, 66px)/1.08 var(--serif); color: var(--ink); text-decoration: none;
	transition: color .4s, transform .6s var(--ease);
}
.menu__nav a .n { min-width: 26px; font: 600 11px var(--sans); letter-spacing: .2em; color: var(--gold); transform: translateY(-.9em); }
.menu__nav a:hover, .menu__nav a:focus-visible { color: var(--gold-2); transform: translateX(14px); font-style: italic; }
.menu__aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 30px; padding-bottom: 6px; }
.menu__logo { width: min(260px, 70%); height: auto; }
.menu__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__social { list-style: none; margin: 0; padding: 0; }
.menu__social a {
	display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 6px 0;
	border-bottom: 1px solid var(--line); font: 400 26px var(--serif); text-decoration: none; transition: color .3s, padding .5s var(--ease);
}
.menu__social a:hover { color: var(--gold-2); padding-left: 10px; }
.menu__verse { margin: 0; padding-left: 18px; border-left: 1px solid var(--gold); }
.menu__verse p { margin: 0 0 8px; font: italic 400 19px/1.45 var(--serif); color: var(--ink-2); }
.menu__verse cite { font: 600 11px var(--sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.menu__place { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: #000; }
.hero__reveal { position: absolute; inset: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__shade {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(120% 70% at 30% 110%, rgba(11, 10, 9, .95) 15%, transparent 65%),
		linear-gradient(180deg, rgba(11, 10, 9, .55) 0%, rgba(11, 10, 9, .08) 32%, rgba(11, 10, 9, .2) 62%, rgba(11, 10, 9, .9) 100%);
}
.hero__after {
	position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; margin: 0; pointer-events: none;
	font: italic 400 clamp(44px, 8vw, 140px)/1 var(--serif); color: var(--ink); opacity: 0; text-align: center; padding: 0 24px;
}
.hero__content {
	position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 120px var(--pad) clamp(64px, 11vh, 130px) calc(var(--rail) + var(--pad));
}
.hero__eyebrow { color: var(--gold-2); }
.hero__eyebrow::before { display: none; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--leaf); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hero__title {
	margin: 0 0 28px; perspective: 900px;
	font: 500 clamp(58px, 12.4vw, 230px)/.84 var(--serif); letter-spacing: -.025em; color: var(--ink);
}
.hero__title .l { display: block; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold-2); }
@media (min-width: 900px) { .hero__title .l--accent { padding-left: .55em; } }
.hero__lead { max-width: 520px; margin: 0 0 34px; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
	position: absolute; right: var(--pad); bottom: 44px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px;
	font: 600 10px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2);
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Manifiesto ---------- */
.manifesto { position: relative; overflow: clip; }
.manifesto__stage { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--sec); padding-bottom: var(--sec); }
.manifesto__mark {
	position: absolute; right: -8vw; top: 50%; width: min(64vw, 820px); height: auto; opacity: .05;
	transform: translateY(-50%); pointer-events: none;
}
.manifesto__text {
	position: relative; margin: 0; max-width: 23ch;
	font: 400 clamp(32px, 4.6vw, 78px)/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); text-wrap: pretty;
}
.manifesto__text .mw { display: inline-block; }
.manifesto__ref { display: flex; align-items: center; gap: 18px; margin: 44px 0 0; font: 600 12px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.manifesto__ref .line { width: 60px; height: 1px; background: var(--gold); }

/* ---------- Visión ---------- */
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.vision__media { position: relative; padding: 0 12% 18% 0; }
.reveal-img { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.vision__big { aspect-ratio: 4 / 5; }
.vision__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--bg); }
.vision__badge {
	position: absolute; left: -26px; top: 14%; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
	background: var(--gold); color: var(--gold-ink); box-shadow: 0 20px 50px -20px rgba(201, 164, 92, .8);
}
.vision__badge { background: var(--bg); border: 1px solid var(--gold); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9), 0 0 0 6px rgba(201, 164, 92, .12); }
.vision__badge img { width: 58%; height: auto; }
.marquee__sep { font-style: normal; color: var(--gold); }
.schedule__what { display: grid; gap: 4px; }
.schedule__what em { font: 400 13px/1.4 var(--sans); font-style: normal; letter-spacing: .02em; color: var(--ink-3); }
.visit__where strong { font-weight: 600; color: var(--ink); }
.pillars { list-style: none; margin: 44px 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.pillars li { padding: 22px 0; border-top: 1px solid var(--line); }
.pillars__n { font: italic 400 18px var(--serif); color: var(--gold); }
.pillars h3 { margin: 4px 0 4px; font: 500 30px/1.1 var(--serif); }
.pillars p { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---------- Zoom Valle ---------- */
.zoom { position: relative; background: var(--bg); }
.zoom__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.zoom__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zoom__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, .1) 30%, rgba(11, 10, 9, .9)); }
.zoom__mask { position: absolute; inset: 0; width: 100%; height: 100%; display: none; overflow: visible; }
.zoom__cover { fill: var(--bg); }
.zoom__caption { position: absolute; left: 0; right: 0; bottom: clamp(48px, 10vh, 110px); z-index: 2; }
.zoom__caption .h2 { max-width: 14ch; }

/* ---------- Ministerios ---------- */
.ministries { position: relative; }
.ministries__stage { padding: var(--sec) var(--pad) var(--sec) calc(var(--rail) + var(--pad)); }
.ministries__track { display: grid; gap: 28px; }
.m-intro .lead { margin-bottom: 30px; }
.m-hint { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 600 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.m-hint .icon { color: var(--gold); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.m-card {
	position: relative; display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
	border-radius: 30px; background: var(--bg-2); border: 1px solid var(--line);
}
.m-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.m-card__media { position: relative; overflow: hidden; min-height: 300px; }
.m-card__media img { position: absolute; top: 0; left: -10%; width: 120%; height: 100%; object-fit: cover; }
.m-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg-2)); }
.m-card__body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 60px); }
.m-card__num {
	position: absolute; right: clamp(20px, 3vw, 44px); top: clamp(14px, 2vw, 30px);
	font: italic 400 clamp(70px, 8vw, 130px)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 70%, transparent);
}
.m-card__sub { margin: 0; font: 600 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.m-card h3 { margin: 0; font: 500 clamp(34px, 3.6vw, 58px)/1 var(--serif); }
.m-card__verse { margin: 0; font: italic 400 clamp(18px, 1.5vw, 22px)/1.4 var(--serif); color: var(--gold-2); }
.m-card__desc { margin: 0; color: var(--ink-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.tags li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 12px var(--sans); color: var(--ink-2); }
.m-outro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 40px 0; }
.m-outro img { width: 92px; height: auto; }
.m-outro h3 { margin: 0; font: italic 400 clamp(44px, 5vw, 84px)/1 var(--serif); }
.m-outro p { margin: 0 0 10px; color: var(--ink-2); max-width: 34ch; }
.ministries__bar { display: none; }

@media (min-width: 900px) {
	.motion .ministries__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; padding: 0; }
	.motion .ministries__track { display: flex; align-items: center; gap: 4vw; padding: 0 10vw 0 calc(var(--rail) + var(--pad)); will-change: transform; }
	.motion .m-intro { flex: 0 0 min(36vw, 560px); }
	.motion .m-card { flex: 0 0 min(74vw, 1120px); height: min(74vh, 720px); }
	.motion .m-card__media { min-height: 0; }
	.motion .m-outro { flex: 0 0 min(40vw, 560px); }
	.motion .ministries__bar { display: block; position: absolute; left: calc(var(--rail) + var(--pad)); right: var(--pad); bottom: 7vh; height: 1px; background: var(--line); }
	.motion .ministries__bar span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
}

/* ---------- Video Flow ---------- */
.flow { overflow: hidden; }
.flow .section-head { margin-bottom: 64px; }
.flow__rows { display: grid; gap: 22px; }
.flow__row { overflow-x: auto; scrollbar-width: none; padding: 6px 0; }
.flow__row::-webkit-scrollbar { display: none; }
.motion .flow__row { overflow: visible; }
.flow__track { display: flex; gap: 22px; width: max-content; padding: 0 11px; will-change: transform; }
.v-card {
	position: relative; flex: 0 0 auto; width: clamp(260px, 27vw, 440px); aspect-ratio: 16 / 10; padding: 0; overflow: hidden;
	border-radius: 22px; border: 1px solid var(--line); background: var(--bg-3); color: inherit; text-align: left; cursor: pointer;
	transition: border-color .4s, transform .6s var(--ease);
}
.v-card:hover { border-color: rgba(201, 164, 92, .5); }
.v-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.72); transition: transform 1.4s var(--ease), filter .6s; }
.v-card:hover img, .v-card:focus-visible img { transform: scale(1.08); filter: saturate(1) brightness(.9); }
.v-card__prov {
	position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 10, 9, .6);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.v-card__play {
	position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: rgba(11, 10, 9, .5); border: 1px solid rgba(243, 236, 223, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: background .4s, color .4s, transform .5s var(--ease);
}
.v-card:hover .v-card__play { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); transform: scale(1.12); }
.v-card__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(11, 10, 9, .92)); }
.v-card__tag { font: 600 10px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.v-card__title { font: 500 24px/1.12 var(--serif); }
.flow__add { margin-top: 64px; max-width: calc(760px + var(--rail) + var(--pad)); }
.field-row { display: flex; gap: 10px; }
.field-row .input { flex: 1; }

/* ---------- Forms ---------- */
.lbl { display: block; margin-bottom: 10px; font: 600 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.input {
	width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2);
	background: rgba(243, 236, 223, .04); color: var(--ink); font: 400 16px/1.5 var(--sans); transition: border-color .3s, box-shadow .3s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .22); }
textarea.input { resize: vertical; min-height: 96px; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.form-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; color: var(--gold-2); }
.form-msg.is-error { color: var(--danger); }
.note { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Prédicas ---------- */
.sermon-feature {
	display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; margin-bottom: 26px;
	border-radius: 30px; border: 1px solid var(--line); background: var(--bg-2);
}
.sf__media { position: relative; min-height: 420px; overflow: hidden; }
.sf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.sermon-feature:hover .sf__media img { transform: scale(1.05); }
.sf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--bg-2)), linear-gradient(0deg, rgba(11, 10, 9, .4), transparent 50%); }
.sf__play {
	position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 96px; height: 96px; margin: -48px 0 0 -48px;
	border-radius: 50%; border: 1px solid rgba(243, 236, 223, .4); background: rgba(11, 10, 9, .35); color: var(--ink); cursor: pointer;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .4s, color .4s, transform .6s var(--ease);
}
.sf__play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(230, 205, 148, .35); animation: pulse 2.6s var(--ease) infinite; }
.sf__play .icon { width: 28px; height: 28px; }
.sf__play:hover { background: var(--gold); color: var(--gold-ink); transform: scale(1.08); }
.sf__body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 60px); }
.sf__passage, .s-card__passage { margin: 0; font: 600 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sf__title { margin: 0; font: 500 clamp(36px, 4vw, 62px)/1 var(--serif); }
.sf__meta, .s-card__meta { margin: 0; font-size: 13px; color: var(--ink-3); }
.sf__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.sermon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.s-card {
	display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-2);
	transition: transform .7s var(--ease), border-color .4s;
}
.s-card:hover { transform: translateY(-8px); border-color: rgba(201, 164, 92, .4); }
.s-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.s-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.s-card:hover .s-card__media img { transform: scale(1.07); }
.s-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; }
.s-card__title { margin: 0; font: 500 28px/1.08 var(--serif); }
.s-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.s-card__btns { display: flex; gap: 6px; }
.round-btn {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
	background: none; color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.round-btn .icon { width: 16px; height: 16px; }

/* ---------- Estudios ---------- */
.study-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.study { border-bottom: 1px solid var(--line); }
.study__head {
	display: grid; grid-template-columns: 64px 1fr auto 56px; align-items: center; gap: 24px; width: 100%; padding: 30px 0;
	border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.study__n { font: italic 400 26px var(--serif); color: var(--gold); }
.study__title { font: 400 clamp(28px, 3.6vw, 58px)/1.02 var(--serif); transition: transform .7s var(--ease), color .4s; }
.study__head:hover .study__title, .study__head[aria-expanded="true"] .study__title { transform: translateX(16px); color: var(--gold-2); font-style: italic; }
.study__meta { font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.study__arrow {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2);
	transition: background .4s, color .4s, transform .6s var(--ease), border-color .4s;
}
.study__head:hover .study__arrow { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.study__head[aria-expanded="true"] .study__arrow { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.study__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.study__panel > div { overflow: hidden; }
.study.is-open .study__panel { grid-template-rows: 1fr; }
.study__content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 0 0 32px 88px; }
.study__content p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.study__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hover-img {
	position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px;
	pointer-events: none; opacity: 0; visibility: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 899px) { .hover-img { display: none; } }

/* ---------- Música ---------- */
.music-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 40px 28px; }
.album { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.album[hidden] { display: none; }
.album__art { position: relative; display: block; aspect-ratio: 1; margin-bottom: 18px; }
.album__vinyl {
	position: absolute; inset: 5%; border-radius: 50%;
	background: radial-gradient(circle, var(--cover-a) 0 15%, #0d0d0d 15.5% 17%, transparent 17.5%), repeating-radial-gradient(circle, #121212 0 2px, #1d1d1d 2px 4px);
	box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); transition: transform 1s var(--ease);
}
.album__cover {
	position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
	padding: 18px; border-radius: 16px; background: linear-gradient(140deg, var(--cover-a), var(--cover-b));
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform 1s var(--ease);
}
.album__cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .16), transparent 55%); pointer-events: none; }
.album__cover img { width: 38px; height: auto; opacity: .95; }
.album__cover-title { position: relative; z-index: 1; font: italic 500 clamp(22px, 2vw, 28px)/1 var(--serif); color: #fff; text-wrap: balance; }
.album__btn {
	position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
	background: var(--ink); color: var(--bg); opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s, transform .5s var(--ease);
}
.album:hover .album__vinyl, .album:focus-visible .album__vinyl { transform: translateX(30%) rotate(200deg); }
.album:hover .album__cover, .album:focus-visible .album__cover { transform: translateX(-4%) rotate(-2deg); }
.album:hover .album__btn, .album:focus-visible .album__btn, .album.is-playing .album__btn { opacity: 1; transform: none; }
.album.is-playing .album__vinyl { transform: translateX(30%); animation: spin 3s linear infinite; }
@keyframes spin { to { transform: translateX(30%) rotate(360deg); } }
.album__title { display: block; font: 500 21px/1.15 var(--serif); }
.album__artist { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.album__artist .icon { width: 13px; height: 13px; }

/* ---------- Podcast ---------- */
.podcast {
	background:
		radial-gradient(70% 55% at 85% 10%, rgba(110, 30, 76, .42), transparent 70%),
		radial-gradient(55% 45% at 0% 100%, rgba(201, 164, 92, .1), transparent 70%), var(--bg);
}
.pod { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pod__feature {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 4vw, 56px);
	border-radius: 30px; border: 1px solid rgba(243, 236, 223, .1);
	background: linear-gradient(160deg, rgba(110, 30, 76, .6), rgba(18, 16, 14, .92) 70%);
}
.pod__cover { display: flex; align-items: center; gap: 18px; }
.pod__cover .eyebrow { margin-bottom: 6px; }
.pod__logo { display: grid; place-items: center; flex: none; width: 74px; height: 74px; border-radius: 50%; background: rgba(11, 10, 9, .6); border: 1px solid var(--line); }
.pod__logo img { width: 44px; height: auto; }
.pod__meta { margin: 0; font-size: 13px; color: var(--ink-2); }
.pod__title { margin: 0; font: 500 clamp(36px, 4vw, 64px)/1 var(--serif); }
.wave { width: 100%; height: 120px; }
.wave rect { fill: var(--gold-2); opacity: .85; transform-box: fill-box; transform-origin: center; }
.pod__controls { display: flex; align-items: center; gap: 18px; }
.play-big {
	display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; border: 0;
	background: var(--gold); color: var(--gold-ink); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(201, 164, 92, .8);
	transition: transform .5s var(--ease), background .3s;
}
.play-big:hover { transform: scale(1.07); background: var(--gold-2); }
.play-big .icon { width: 26px; height: 26px; }
.pod__host { font-size: 14px; color: var(--ink-2); }
.pod__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ep { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background .3s; }
.ep:hover { background: rgba(243, 236, 223, .03); }
.ep.is-playing .round-btn { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.ep__title { display: block; font: 500 23px/1.15 var(--serif); }
.ep__host { font-size: 13px; color: var(--ink-3); }
.ep__dur { font: 500 12px var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pod__cta {
	display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 64px; padding: 34px clamp(24px, 3vw, 44px);
	border-radius: 26px; border: 1px dashed rgba(201, 164, 92, .45);
}
.pod__cta > div { flex: 1 1 280px; }
.pod__cta h3 { margin: 0 0 4px; font: 500 32px/1.1 var(--serif); }
.pod__cta p { margin: 0; color: var(--ink-2); }
.pod__cta-icon { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.2; }

/* ---------- Comunidad ---------- */
.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.portal__form { display: grid; gap: 24px; padding: clamp(24px, 3vw, 44px); border-radius: 30px; border: 1px solid var(--line); background: var(--bg-2); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
	font: 500 13px var(--sans); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s;
}
.choice:hover span { border-color: var(--gold); color: var(--ink); }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.drop { position: relative; border: 1.5px dashed var(--line-2); border-radius: 22px; transition: border-color .3s, background .3s; }
.drop.is-over, .drop:hover, .drop:focus-within { border-color: var(--gold); background: rgba(201, 164, 92, .06); }
.drop__inner { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; text-align: center; cursor: pointer; }
.drop__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); }
.drop__inner strong { font: 500 24px/1.15 var(--serif); }
.drop__inner span { font-size: 14px; color: var(--ink-2); }
.drop__inner small { font-size: 12px; color: var(--ink-3); }
.preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; margin: -8px 0 0; padding: 0; list-style: none; }
.preview:empty { display: none; }
.preview li { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.preview img, .preview video { width: 100%; height: 100%; object-fit: cover; }
.preview .icon { width: 28px; height: 28px; color: var(--gold); }
.preview button {
	position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%;
	background: rgba(11, 10, 9, .8); color: var(--ink); cursor: pointer;
}
.preview button .icon { width: 14px; height: 14px; color: currentColor; }
.wall__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.wall__head h3 { margin: 0; font: 500 34px/1.1 var(--serif); }
.wall__head p { margin: 0; font-size: 13px; color: var(--ink-3); }
.wall__grid { columns: 3 190px; column-gap: 14px; }
.post { position: relative; break-inside: avoid; margin: 0 0 14px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); }
.post img, .post video { display: block; width: 100%; height: auto; }
.post figcaption { display: grid; gap: 3px; padding: 12px 14px 14px; }
.post__tag { font: 600 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.post__text { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.post__by { font-size: 12px; color: var(--ink-3); }
.post--audio .post__audio { display: flex; align-items: center; gap: 12px; padding: 16px 14px 0; }
.post--new { animation: postIn 1s var(--ease); }
@keyframes postIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- Visítanos ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; font: italic 400 clamp(56px, 9vw, 150px)/1 var(--serif); animation: marquee 48s linear infinite; }
.marquee__track .outline { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.marquee__track .icon { width: .32em; height: .32em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
.visit__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 110px); }
.schedule { margin: 40px 0 0; }
.schedule > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.schedule dt { font: 600 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.schedule dd { margin: 0; display: flex; justify-content: space-between; gap: 16px; font: 400 26px/1.15 var(--serif); }
.schedule small { font: 500 14px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.visit__where { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--ink-2); }
.visit__where .icon { color: var(--gold); }
.visit__social { align-self: end; }
.social-big { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.social-big a {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line);
	font: 400 clamp(36px, 4vw, 62px)/1 var(--serif); text-decoration: none; transition: color .4s, padding .6s var(--ease);
}
.social-big a > span { display: inline-flex; align-items: center; gap: 22px; }
.social-big a > span .icon { width: 30px; height: 30px; stroke-width: 1.3; color: var(--gold); }
.social-big a > .icon { width: 28px; height: 28px; transition: transform .6s var(--ease); }
.social-big a:hover { color: var(--gold-2); padding-left: 16px; font-style: italic; }
.social-big a:hover > .icon { transform: rotate(45deg); }

/* ---------- Footer ---------- */
.footer { padding: 90px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #070606); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer__logo { width: min(300px, 70vw); height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.footer__nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .3s; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.footer__top .icon { color: var(--gold); transform: rotate(-45deg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__bottom p { margin: 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 72px 20px 24px; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.modal__box { position: relative; width: min(1120px, 100%); transform: translateY(24px) scale(.97); transition: transform .7s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; right: 0; top: -58px; border: 1px solid var(--line-2); color: var(--ink); }
.modal__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__soon { display: grid; place-items: center; align-content: center; gap: 18px; height: 100%; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(110, 30, 76, .4), transparent 70%); }
.modal__soon img { width: 84px; height: auto; }
.modal__soon p { margin: 0; font: italic 400 clamp(24px, 3vw, 38px)/1.2 var(--serif); color: var(--ink-2); }
.modal__title { margin: 18px 4px 0; font: 500 26px var(--serif); }

/* ---------- Player ---------- */
.player {
	position: fixed; right: 22px; bottom: 22px; z-index: 120; width: min(420px, calc(100vw - 32px));
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 10px 14px 12px;
	border-radius: 22px; border: 1px solid var(--line); background: rgba(18, 16, 14, .86);
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .75);
	transform: translateY(160%); transition: transform .8s var(--ease);
}
.player.is-on { transform: none; }
.player__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--gold); color: var(--gold-ink); cursor: pointer; }
.player__btn .icon { width: 18px; height: 18px; }
.player__info { min-width: 0; }
.player__title { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 19px/1.2 var(--serif); }
.player__sub { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--ink-3); }
.player__bar { grid-column: 1 / -1; position: relative; height: 4px; margin: 0 4px; border-radius: 4px; background: var(--line); cursor: pointer; overflow: hidden; }
.player__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; }

/* ---------- Toast ---------- */
.toast {
	position: fixed; left: calc(var(--rail) + 22px); bottom: 22px; z-index: 210; max-width: min(420px, calc(100vw - 40px));
	padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(18, 16, 14, .94); color: var(--ink);
	font-size: 14px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Motion-only layouts ---------- */
@media (prefers-reduced-motion: no-preference) {
	.motion .hero { height: 175vh; }
	.motion .hero__stage { position: sticky; top: 0; }
	.motion .manifesto { height: 230vh; }
	.motion .manifesto__stage { position: sticky; top: 0; height: 100vh; padding-top: 0; padding-bottom: 0; }
	.motion .zoom { height: 320vh; }
	.motion .zoom__stage { position: sticky; top: 0; }
	.motion .zoom__mask { display: block; }
	.motion .zoom__caption > * { will-change: transform, opacity; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.section-head--split { grid-template-columns: 1fr; gap: 24px; }
	.portal, .pod, .visit__grid { grid-template-columns: 1fr; }
	.sermon-feature { grid-template-columns: 1fr; }
	.sf__media { min-height: 300px; }
	.sf__media::after { background: linear-gradient(0deg, var(--bg-2), transparent 60%); }
	.footer__grid { grid-template-columns: 1fr; justify-items: start; }
	.footer__nav { justify-content: flex-start; }
}
@media (max-width: 899px) {
	:root { --rail: 0px; --radius: 22px; }
	.rail {
		right: 0; bottom: auto; width: auto; height: 64px; flex-direction: row; padding: 0 12px;
		border-right: 0; border-bottom: 1px solid var(--line); background: rgba(11, 10, 9, .72);
	}
	.rail__top { flex-direction: row; gap: 4px; }
	.rail__toggle { order: -1; flex-direction: row; gap: 12px; padding: 10px; }
	.rail__label { writing-mode: horizontal-tb; transform: none; }
	.rail__logo img { width: 38px; }
	.rail__mid, .rail__social { display: none; }
	.lang { top: 9px; right: 12px; }
	.lang__btn { height: 46px; padding: 0 14px; }
	.menu__inner { grid-template-columns: 1fr; gap: 40px; padding: 96px 24px 40px; }
	.menu__nav a { font-size: clamp(30px, 8.6vw, 44px); }
	.hero__content { padding-top: 96px; }
	.hero__scroll { display: none; }
	.vision__grid { grid-template-columns: 1fr; }
	.vision__badge { left: auto; right: 6%; top: -30px; width: 76px; height: 76px; }
	.pillars { grid-template-columns: 1fr; }
	.m-card { grid-template-columns: 1fr; }
	.m-card__media { min-height: 260px; }
	.m-card__media::after { background: linear-gradient(0deg, var(--bg-2), transparent 55%); }
	.m-intro { margin-bottom: 16px; }
	.m-hint { display: none; }
	.study__head { grid-template-columns: 40px 1fr 48px; gap: 14px; padding: 24px 0; }
	.study__meta { display: none; }
	.study__arrow { width: 48px; height: 48px; }
	.study__content { padding-left: 54px; }
	.schedule > div { grid-template-columns: 1fr; gap: 4px; }
	.toast { left: 16px; }
	.player { right: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
	.field-row { flex-direction: column; }
	.sf__actions .btn { flex: 1; }
	.schedule dd { font-size: 22px; }
	.v-card { width: 78vw; }
}

/* =====================================================================
   v2 — Misiones, filas horizontales, podcast en video, intranet
   ===================================================================== */

/* ---------- Viaje por las misiones ---------- */
.zoom__layer { position: absolute; inset: 0; overflow: hidden; }
.zoom__layer ~ .zoom__layer { display: none; }
.motion .zoom__layer ~ .zoom__layer { display: block; }
.zoom__label { display: none; }
.motion .zoom__label {
	position: absolute; left: calc(var(--rail) + var(--pad)); bottom: clamp(48px, 10vh, 110px); z-index: 3; margin: 0;
	display: grid; gap: 6px; text-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.zoom__label .eyebrow { margin: 0; color: var(--gold-2); }
.zoom__label strong { font: italic 400 clamp(64px, 11vw, 190px)/.9 var(--serif); color: var(--ink); }
.zoom__num { font: 600 12px var(--sans); letter-spacing: .3em; color: var(--ink-2); }
.zoom__caption { z-index: 4; }
.zoom__progress { display: none; }
.motion .zoom__progress { display: block; position: absolute; left: calc(var(--rail) + var(--pad)); right: var(--pad); top: 28px; z-index: 5; height: 1px; background: rgba(243, 236, 223, .2); }
.zoom__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
	.motion .zoom { height: 560vh; }
}
@media (max-width: 899px) {
	.motion .zoom__progress { top: 76px; }
}

/* ---------- Ministerios ---------- */
.m-card__alias {
	display: inline-block; vertical-align: middle; margin-left: 10px; padding: 6px 12px; border-radius: 999px;
	border: 1px solid var(--accent); font: 700 12px var(--sans); letter-spacing: .2em; color: var(--accent);
}

/* ---------- Filas horizontales (prédicas, reels) ---------- */
.rails { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); margin: clamp(56px, 7vw, 96px) 0 0; }
.rail-block { min-width: 0; }
.rail-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.rail-block__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0; font: 500 clamp(26px, 2.8vw, 42px)/1.05 var(--serif); }
.rail-block__title small { font: 600 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.rail-block__nav { display: flex; gap: 8px; flex: none; }
.round-btn--prev .icon { transform: rotate(180deg); }
.round-btn:disabled { opacity: .3; cursor: default; background: none; color: var(--ink); border-color: var(--line-2); }
.hrail {
	display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
	padding: 8px var(--pad) 22px calc(var(--rail) + var(--pad)); scroll-padding-left: calc(var(--rail) + var(--pad));
	scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none;
}
.hrail::-webkit-scrollbar { display: none; }
.hrail > * { flex: 0 0 auto; scroll-snap-align: start; }
.hrail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hrail.is-dragging > * { pointer-events: none; }
.hrail:focus-visible { outline-offset: -4px; }
.hrail__bar { display: block; position: relative; height: 1px; background: var(--line); overflow: hidden; }
.hrail__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.06); transition: transform .3s; }

.s-card {
	display: flex; flex-direction: column; width: clamp(250px, 24vw, 360px); overflow: hidden; border-radius: 22px;
	border: 1px solid var(--line); background: var(--bg-2); color: inherit; text-decoration: none;
	transition: transform .7s var(--ease), border-color .4s;
}
.s-card:hover, .s-card:focus-visible { transform: translateY(-8px); border-color: rgba(201, 164, 92, .45); }
.s-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.s-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.85) brightness(.85); }
.s-card:hover .s-card__media img { transform: scale(1.07); filter: none; }
.s-card__play {
	position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(11, 10, 9, .55); border: 1px solid rgba(243, 236, 223, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: background .4s, color .4s, transform .5s var(--ease);
}
.s-card:hover .s-card__play { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); transform: scale(1.1); }
.s-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.s-card__passage { font: 600 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.s-card__title { font: 500 23px/1.12 var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s-card__meta { margin-top: auto; font-size: 13px; color: var(--ink-3); }
.sf__actions .btn--ghost .icon { width: 16px; height: 16px; }

/* ---------- Estudios (series) ---------- */
.study__content { justify-content: flex-start; }
.study__thumb { width: min(320px, 100%); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.study__meta span { white-space: nowrap; }

/* ---------- Música (álbumes con portada) ---------- */
.album__cover .album__thumb { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.36); opacity: .92; transition: transform 1.2s var(--ease), opacity .6s; }
.album:hover .album__cover .album__thumb { transform: scale(1.45); opacity: 1; }
.album__cover .album__logo { width: 34px; height: auto; opacity: .95; }
.album__cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 10, 9, .1) 30%, rgba(11, 10, 9, .85)), linear-gradient(140deg, color-mix(in srgb, var(--cover-a) 50%, transparent), transparent 60%); }
.album__logo, .album__cover-title, .album__btn { position: relative; z-index: 2; }
.album__btn { position: absolute; }
.album__logo { width: 34px; height: auto; }
.album__artist { flex-wrap: wrap; }

/* ---------- Podcast en video ---------- */
.reels { background: radial-gradient(60% 50% at 10% 0%, rgba(110, 30, 76, .28), transparent 70%), var(--bg); }
.hrail--reels { gap: 18px; }
.reel {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: clamp(200px, 17vw, 250px); aspect-ratio: 9 / 16;
	padding: 18px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); color: var(--ink); text-align: left; cursor: pointer;
	background: #0d0d0f; font: inherit; transition: transform .7s var(--ease), border-color .4s;
}
.reel:hover, .reel:focus-visible { transform: translateY(-10px) rotate(-1deg); border-color: rgba(201, 164, 92, .5); }
.reel__glow { position: absolute; inset: 0; opacity: .85; transition: opacity .6s, transform 1.2s var(--ease); }
.reel--tiktok .reel__glow { background: radial-gradient(80% 50% at 0% 0%, rgba(37, 244, 238, .35), transparent 70%), radial-gradient(80% 50% at 100% 100%, rgba(254, 44, 85, .4), transparent 70%); }
.reel--instagram .reel__glow { background: radial-gradient(90% 60% at 100% 0%, rgba(131, 58, 180, .55), transparent 70%), radial-gradient(90% 60% at 0% 100%, rgba(252, 176, 69, .5), transparent 70%), radial-gradient(60% 50% at 50% 60%, rgba(253, 29, 29, .3), transparent 70%); }
.reel:hover .reel__glow { transform: scale(1.15); opacity: 1; }
.reel__prov { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 10, 9, .55); font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.reel__prov .icon { width: 14px; height: 14px; }
.reel__play { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(243, 236, 223, .14); border: 1px solid rgba(243, 236, 223, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, color .4s, transform .5s var(--ease); }
.reel:hover .reel__play { background: var(--gold); color: var(--gold-ink); transform: scale(1.12); }
.reel__meta { position: relative; display: grid; gap: 6px; }
.reel__logo { position: relative; width: 34px; height: auto; }
.reel__title { position: relative; font: 500 22px/1.1 var(--serif); }
.reel__author { font-size: 12px; color: var(--ink-2); }
.reel--empty { cursor: default; justify-content: center; align-items: flex-start; gap: 14px; border-style: dashed; background: rgba(243, 236, 223, .02); width: clamp(240px, 22vw, 300px); }
.reel--empty:hover { transform: none; }
#reelAdd { margin-top: 40px; }

/* ---------- Video Flow arrastrable ---------- */
.motion .flow__row { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.motion .flow__row.is-dragging { cursor: grabbing; }
.motion .flow__row.is-dragging .v-card { pointer-events: none; }
.v-card img { -webkit-user-drag: none; }

/* ---------- Modal (horizontal / vertical) ---------- */
.modal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 16px; }
.modal__foot .modal__title { margin: 0 4px; }
.modal__ext { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); text-decoration: none; }
.modal__ext[hidden] { display: none; }
.modal__ext .icon { width: 16px; height: 16px; }
.modal__ext:hover { color: var(--ink); }
.modal__soon-text { font: italic 400 clamp(24px, 3vw, 38px)/1.2 var(--serif); color: var(--ink-2); }
.modal--vertical .modal__box { width: min(400px, 100%); }
.modal--vertical .modal__frame { aspect-ratio: 9 / 16; max-height: 74vh; margin: 0 auto; }

/* ---------- Sesión de la intranet en el portal ---------- */
.session { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(243, 236, 223, .03); }
.session__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.session.is-on { border-color: rgba(108, 192, 74, .35); background: rgba(108, 192, 74, .06); }
.session.is-on .session__dot { background: var(--leaf); box-shadow: 0 0 0 4px rgba(108, 192, 74, .2); }
.session__text { margin: 0; font-size: 14px; color: var(--ink-2); }
.session__btn { grid-column: 1 / -1; justify-self: start; }
.portal__form:has(.session.is-on) .field-name { display: none; }

/* =====================================================================
   v3 — Galerías del muro, "Quiero sumarme", contacto
   ===================================================================== */
.galleries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gcard {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; overflow: hidden;
	border-radius: 24px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; isolation: isolate;
	transition: border-color .4s, transform .7s var(--ease);
}
.gcard:hover, .gcard:focus-visible { border-color: rgba(201, 164, 92, .55); transform: translateY(-6px); }
.gcard__media { position: absolute; inset: -8% 0; z-index: -2; overflow: hidden; }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: saturate(.85) brightness(.8); transition: transform 1.6s var(--ease), filter .8s; }
.gcard:hover .gcard__media img { transform: scale(1.14); filter: saturate(1.05) brightness(.95); }
.gcard--historia .gcard__media img { filter: sepia(.65) grayscale(.35) brightness(.78) contrast(1.05); }
.gcard--historia:hover .gcard__media img { filter: sepia(.4) grayscale(.15) brightness(.95); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 10, 9, .05) 25%, rgba(11, 10, 9, .92)); }
.gcard__num { position: absolute; top: 16px; right: 20px; font: italic 400 46px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(230, 205, 148, .7); }
.gcard__body { display: grid; gap: 10px; padding: 22px; }
.gcard__title { font: 500 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); }
.gcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.gcard__count b { font-weight: 600; color: var(--gold-2); }
.gcard__open { display: inline-flex; align-items: center; gap: 8px; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.gcard__open .icon { width: 16px; height: 16px; color: var(--gold); transition: transform .5s var(--ease); }
.gcard:hover .gcard__open .icon { transform: translateX(6px); }
.gcard.is-bumped { animation: bump 1s var(--ease); }
@keyframes bump { 30% { transform: scale(1.03); border-color: var(--gold); } }
@media (max-width: 560px) { .galleries { grid-template-columns: 1fr; } .gcard { min-height: 240px; } }

/* "Quiero sumarme" (botón dentro de la tarjeta del ministerio) */
button.link-arrow { padding: 0; border: 0; background: none; cursor: pointer; font: 600 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

/* Panel emergente */
.join { position: fixed; inset: 0; z-index: 210; visibility: hidden; }
.join.is-open { visibility: visible; }
.join__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.join__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(980px, 100%); display: grid; grid-template-columns: 300px minmax(0, 1fr);
	background: var(--bg-2); border-left: 1px solid var(--line); box-shadow: -40px 0 80px -30px rgba(0, 0, 0, .8); overflow: hidden;
}
html:not(.motion) .join__panel { transition: transform .5s var(--ease); transform: translateX(100%); }
html:not(.motion) .join.is-open .join__panel { transform: none; }
.join__close { position: absolute; top: 18px; right: 18px; z-index: 2; border: 1px solid var(--line-2); color: var(--ink); }
.join__aside {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 32px; overflow: hidden;
	background: radial-gradient(90% 60% at 30% 10%, rgba(110, 30, 76, .55), transparent 70%), radial-gradient(80% 60% at 70% 100%, rgba(201, 164, 92, .18), transparent 70%), #0e0c0b;
	border-right: 1px solid var(--line);
}
.join__aside img { width: 120px; height: auto; filter: drop-shadow(0 0 30px rgba(108, 192, 74, .25)); }
.join__verse { margin: 0; font: italic 400 22px/1.4 var(--serif); color: var(--ink-2); }
.join__form, .join__done { overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.join__form[hidden], .join__done[hidden] { display: none; }
.join__form .eyebrow { margin: 0; }
.join__title { margin: 0; font: 500 clamp(38px, 4.4vw, 60px)/1 var(--serif); }
.join__lead { margin: 0; color: var(--ink-2); }
.join__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.join__field--wide { grid-column: 1 / -1; }
.join__field .lbl { margin-bottom: 8px; }
.join__hint { margin: -6px 0 0; font-size: 12px; color: var(--ink-3); }
.join__consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.join__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.join__consent input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.join__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join__done { justify-content: center; align-items: flex-start; }
.join__done img { width: 90px; height: auto; }
.join__done h2 { margin: 0; font: italic 400 clamp(40px, 5vw, 64px)/1 var(--serif); color: var(--gold-2); }
.join__done p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 17px; }
#joinMsg a { color: var(--gold-2); }
@media (max-width: 760px) {
	.join__panel { grid-template-columns: 1fr; }
	.join__aside { display: none; }
	.join__grid { grid-template-columns: 1fr; }
}

/* Correo de contacto en el pie */
.footer__mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 15px var(--sans); color: var(--ink); text-decoration: none; transition: color .3s; }
.footer__mail .icon { color: var(--gold); }
.footer__mail:hover { color: var(--gold-2); }
.footer__grid { grid-template-columns: auto 1fr auto auto; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Página de galería (galeria.html)
   ===================================================================== */
.gpage { --rail: 0px; --gpad: clamp(20px, 5vw, 84px); }
.motion .gpage, .motion .gpage a, .motion .gpage button, .motion .gpage label { cursor: pointer; }
.motion .gpage { cursor: auto; }
.motion .gpage .gitem { cursor: zoom-in; }
.gcurtain { display: none; }
.motion .gcurtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); clip-path: inset(0 0 0 0); }
.gcurtain img { width: 110px; height: auto; }
.gtop {
	position: fixed; top: 0; left: 0; right: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px var(--gpad); background: linear-gradient(180deg, rgba(11, 10, 9, .85), rgba(11, 10, 9, 0));
}
.gtop__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.gtop__back .icon { transform: rotate(180deg); color: var(--gold); transition: transform .5s var(--ease); }
.gtop__back:hover .icon { transform: rotate(180deg) translateX(6px); }
.gtop__logo img { width: 170px; height: auto; }
.gtop__langs { display: flex; gap: 4px; }
.gtop__langs .chip { min-height: 36px; padding: 0 10px; font-size: 10px; }
@media (max-width: 760px) { .gtop__logo { display: none; } .gtop__langs .chip { padding: 0 8px; } .gtop__back span { display: none; } }

.ghero { position: relative; height: 92vh; height: 92svh; min-height: 520px; overflow: hidden; display: flex; align-items: flex-end; }
.ghero__media { position: absolute; inset: -6% 0 0; }
.ghero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.gpage--historia .ghero__media img, .gpage--historia .gitem__media img { filter: sepia(.45) grayscale(.25) contrast(1.05); }
.ghero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, .55), rgba(11, 10, 9, .15) 40%, rgba(11, 10, 9, .95)); }
.ghero__content { position: relative; z-index: 2; padding: 0 var(--gpad) clamp(56px, 10vh, 110px); max-width: 1100px; }
.ghero__title { margin: 0 0 18px; perspective: 900px; font: 400 clamp(54px, 10vw, 170px)/.9 var(--serif); font-style: italic; letter-spacing: -.02em; }
.ghero__lead { margin: 0 0 18px; max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.ghero__count { margin: 0; font: 600 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.ghero__count b { font: 500 34px var(--serif); letter-spacing: 0; color: var(--gold-2); margin-right: 6px; }
.ghero__scroll { position: absolute; right: var(--gpad); bottom: 40px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 600 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.ghero__scroll span { writing-mode: vertical-rl; }
.ghero__scroll i { width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }

.gtabs {
	position: sticky; top: 0; z-index: 60; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	padding: 76px var(--gpad) 16px; background: linear-gradient(180deg, var(--bg) 70%, rgba(11, 10, 9, 0));
}
.gtabs::-webkit-scrollbar { display: none; }
.gtabs__link { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 13px var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.gtabs__link:hover { border-color: var(--gold); color: var(--ink); }
.gtabs__link[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

.gbody { padding: 24px var(--gpad) clamp(80px, 12vh, 140px); }
.ggrid { display: flex; gap: clamp(12px, 1.6vw, 22px); align-items: flex-start; }
.gcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 22px); will-change: transform; }
.gcol--1 { margin-top: clamp(40px, 8vw, 120px); }
.gitem { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--bg-3); cursor: zoom-in; color: inherit; text-align: left; }
.gitem__media { display: block; overflow: hidden; }
.gitem__media img, .gitem__media video { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease), filter .6s; }
.gitem:hover .gitem__media img, .gitem:hover .gitem__media video { transform: scale(1.06); }
.gitem__zoom, .gitem__play {
	position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: rgba(11, 10, 9, .55); border: 1px solid rgba(243, 236, 223, .3); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease), background .4s;
}
.gitem__play { opacity: 1; transform: none; }
.gitem__play .icon { fill: currentColor; stroke: none; }
.gitem:hover .gitem__zoom, .gitem:focus-visible .gitem__zoom { opacity: 1; transform: none; }
.gitem:hover .gitem__play { background: var(--gold); color: var(--gold-ink); }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(11, 10, 9, .9)); font-size: 13px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { opacity: 1; transform: none; }
.gitem__text { color: var(--ink); }
.gitem__by { color: var(--ink-3); font-size: 12px; }
@media (hover: none) { .gitem__cap { opacity: 1; transform: none; } }
.gempty { display: grid; justify-items: center; gap: 16px; padding: 80px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 24px; }
.gempty[hidden] { display: none; }
.gempty img { width: 80px; height: auto; }
.gempty p { margin: 0; max-width: 40ch; font: italic 400 26px/1.3 var(--serif); color: var(--ink-2); }

.gcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: 0 var(--gpad) 80px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(70% 90% at 0% 0%, rgba(110, 30, 76, .35), transparent 70%), var(--bg-2); }
.gcta h2 { margin: 0 0 6px; font: 500 clamp(30px, 3.4vw, 46px)/1.05 var(--serif); }
.gcta p { margin: 0; max-width: 52ch; color: var(--ink-2); }
.gfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 40px var(--gpad); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.gfoot img { width: 200px; height: auto; }
.gfoot p { margin: 0; }

/* Visor */
.lb { position: fixed; inset: 0; z-index: 250; visibility: hidden; }
.lb.is-open { visibility: visible; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, .96); }
.lb__stage { position: absolute; inset: 70px 90px 90px; touch-action: pan-y; }
.lb__media {
	position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
	border-radius: 12px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); user-select: none; -webkit-user-drag: none;
}
.lb__caption { position: absolute; left: 90px; right: 200px; bottom: 26px; margin: 0; font: italic 400 22px/1.3 var(--serif); color: var(--ink-2); }
.lb__count { position: absolute; right: 90px; bottom: 30px; margin: 0; font: 600 12px var(--sans); letter-spacing: .3em; color: var(--gold); }
.lb__btn { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(18, 16, 14, .7); color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.lb__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.lb__prev { left: 20px; top: 50%; margin-top: -28px; }
.lb__prev .icon { transform: rotate(180deg); }
.lb__next { right: 20px; top: 50%; margin-top: -28px; }
.lb__close { top: 16px; right: 20px; }
@media (max-width: 760px) {
	.lb__stage { inset: 70px 12px 110px; }
	.lb__prev, .lb__next { top: auto; bottom: 18px; margin: 0; }
	.lb__caption { left: 16px; right: 16px; bottom: 84px; font-size: 18px; text-align: center; }
	.lb__count { right: 50%; transform: translateX(50%); bottom: 36px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.grain { animation: none; }
	.marquee__track { animation: none; }
}
