/*
Theme Name: GVY Alba
Theme URI: https://gayatrivedantayoga.org/
Author: Gayatri Vedanta Yoga
Description: Tema propio de Gayatri Vedanta Yoga. Identidad "El alba": el cielo índigo antes del amanecer y el oro de Savitṛ; un sol de 24 rayos, uno por cada sílaba del Gayatri Mantra. Sin dependencias de plugins.
Version: 0.3.2
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: gvy-alba
*/

:root {
	--night: #141833;
	--night-2: #1f2550;
	--dawn: #e3a13b;
	--dawn-soft: #f2c979;
	--aruna: #c9737d;
	--paper: #f4f3f7;
	--paper-2: #e9e7f0;
	--ink: #1b1d33;
	--muted: #5a5a73;
	--line: #d6d3e2;
	--on-night: #ecebf5;
	--on-night-muted: #a9a8c6;
	--accent-ink: #875710;
	--serif: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
	--skt: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", "Nirmala UI", Georgia, serif;
	--wrap: 1160px;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.label { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.skt { font-family: var(--skt); }
.iast { font-family: var(--skt); font-style: italic; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dawn); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
section, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Botones ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sun { background: var(--dawn); color: var(--night); }
.btn-sun:hover { background: var(--dawn-soft); }
.btn-line { border-color: rgba(236, 235, 245, .35); color: var(--on-night); }
.btn-line:hover { border-color: var(--on-night); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--dawn); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(20, 24, 51, .94); backdrop-filter: blur(10px); color: var(--on-night); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand .gvy-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: .04em; line-height: 1.1; }
.brand-name small { display: block; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-muted); }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-night-muted); transition: color .2s; }
.nav a:hover, .nav .current-menu-item > a { color: var(--on-night); }
.nav .current-menu-item:not(.nav-cta) > a { box-shadow: 0 1px 0 var(--dawn); }
.nav .nav-cta > a { color: var(--night); background: var(--dawn); padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta > a:hover { color: var(--night); background: var(--dawn-soft); }
.mnav { display: none; }
@media (max-width: 900px) {
	.brand-name small { display: none; }
	.nav { display: none; }
	.mnav { display: block; position: relative; }
	.mnav summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 14px; }
	.mnav summary::-webkit-details-marker { display: none; }
	.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 8px; min-width: 230px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
	.mnav .menu { list-style: none; margin: 0; padding: 0; display: grid; }
	.mnav a { display: block; padding: 11px 12px; text-decoration: none; color: var(--on-night); border-radius: 8px; }
	.mnav a:hover, .mnav .current-menu-item > a { background: rgba(255, 255, 255, .06); }
}

/* ---------- Portada: el alba ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-night);
	background:
		radial-gradient(120% 70% at 72% 108%, rgba(227, 161, 59, .55) 0%, rgba(201, 115, 125, .35) 28%, rgba(31, 37, 80, 0) 60%),
		linear-gradient(180deg, #0f1229 0%, var(--night) 45%, var(--night-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.hero h1 em { font-style: normal; color: var(--dawn-soft); }
.hero .label { color: var(--dawn-soft); margin-bottom: 22px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); }
.hero .lead { margin-top: 24px; max-width: 34em; color: #cfcde3; }
.sun-wrap { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.sun-wrap svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sun-caption { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: 13px; color: var(--on-night-muted); letter-spacing: .04em; }
.hero-mantra { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; color: var(--on-night-muted); }
.hero-mantra .skt { font-size: clamp(17px, 1.9vw, 22px); color: var(--dawn-soft); }
.hero-mantra .iast { font-size: 15px; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 28px; }
	.sun-wrap { max-width: 320px; order: -1; }
}

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-head { display: grid; gap: 18px; max-width: 760px; align-content: start; }
.sec-head h2 { font-size: clamp(32px, 3.8vw, 48px); }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 36em; }

/* El mantra */
.mantra-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.padas { display: grid; border-top: 1px solid var(--line); }
.pada { display: grid; grid-template-columns: 104px 1fr; gap: 6px 22px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.pada-n { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.pada .skt { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; }
.pada.vyahrti .skt { font-size: clamp(20px, 2vw, 24px); }
.pada .iast { font-size: 18px; color: var(--accent-ink); }
.pada .es { grid-column: 2; color: var(--muted); font-size: 16px; }
.meter { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--muted); }
.meter b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); margin-right: 6px; }
@media (max-width: 520px) { .pada { grid-template-columns: 1fr; } .pada .es { grid-column: 1; } .pada-n { padding-top: 0; } }

/* Quiénes somos + linaje (portada) */
.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 96px); margin-top: 56px; }
.about-copy { display: grid; gap: 20px; max-width: 36em; align-content: start; }
.about-copy p { font-size: 18px; }
.about-copy .pull, .prose .is-style-gvy-pull p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; }
.about-copy .pull { padding-left: 22px; border-left: 2px solid var(--dawn); }
.lineage-title { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.lineage, .gvy-lineage { position: relative; display: grid; padding-left: 34px; }
.lineage::before, .gvy-lineage::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(var(--dawn), var(--line)); }
.node, .gvy-node { position: relative; padding-bottom: 30px; }
.node:last-child, .gvy-node:last-child { padding-bottom: 0; }
.node::before, .gvy-node::before { content: ""; position: absolute; left: -31px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper-2); border: 1.5px solid var(--dawn); }
.node.main::before, .gvy-node.is-main::before { background: var(--dawn); }
.node h3, .gvy-node h3 { font-size: 22px; }
.node .role, .gvy-node .gvy-role { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin-bottom: 4px; }
.node p:not(.role), .gvy-node p:not(.gvy-role) { color: var(--muted); font-size: 15.5px; margin-top: 6px; line-height: 1.6; }
.node .inspired { margin-top: 10px; font-size: 14px; font-style: italic; }

/* El camino */
.path-list { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 26px 34px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step-n { font-family: var(--serif); font-size: 15px; color: var(--accent-ink); }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.step a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--dawn); align-self: flex-start; padding-bottom: 2px; margin-top: auto; }
.step a:hover { color: var(--accent-ink); }
@media (max-width: 980px) {
	.path-list { grid-template-columns: 1fr 1fr; }
	.step:nth-child(2) { border-right: 0; }
	.step:nth-child(3) { padding-left: 0; }
	.step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
	.path-list { grid-template-columns: 1fr; }
	.step { border-right: 0 !important; padding-inline: 0 !important; }
	.step + .step { border-top: 1px solid var(--line); }
}

/* Santuario (invitación en portada) */
.sanctuary { background: radial-gradient(60% 90% at 30% 50%, #2a2350 0%, var(--night) 70%); color: var(--on-night); overflow: hidden; }
.sanct-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.flame-box { aspect-ratio: 4 / 5; max-width: 340px; width: 100%; justify-self: center; }
.flame-box canvas { width: 100%; height: 100%; display: block; }
.sanctuary .label { color: var(--dawn-soft); }
.sanctuary h2 { font-size: clamp(34px, 4vw, 52px); margin-top: 18px; }
.sanctuary .lead { margin-top: 20px; color: #cfcde3; max-width: 32em; }
.sanct-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--on-night-muted); }
.sanct-meta strong { color: var(--on-night); font-weight: 500; }
@media (max-width: 860px) { .sanct-grid { grid-template-columns: 1fr; } .flame-box { max-width: 220px; } }

/* Actividades (portada) */
.acts-sec { background: var(--paper-2); }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.act { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.act:hover { border-color: var(--dawn); transform: translateY(-2px); }
.act svg { width: 44px; height: 44px; color: var(--dawn); }
.act h3 { font-size: 25px; }
.act p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.act .when { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .acts { grid-template-columns: 1fr; } }

/* Llamado a contacto */
.cta-sec { border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 60px; }
.cta-inner .actions { margin-top: 0; }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--on-night);
	background:
		radial-gradient(70% 120% at 88% 120%, rgba(227, 161, 59, .38) 0%, rgba(201, 115, 125, .22) 30%, rgba(31, 37, 80, 0) 62%),
		linear-gradient(180deg, #0f1229 0%, var(--night) 55%, var(--night-2) 100%); }
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); display: grid; gap: 18px; }
.page-hero .label { color: var(--dawn-soft); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 14em; }
.page-hero .lead { color: #cfcde3; max-width: 36em; }
.page-hero-sun { position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; opacity: .5; pointer-events: none; }
@media (max-width: 700px) { .page-hero-sun { width: 320px; height: 320px; right: -110px; bottom: -150px; opacity: .35; } }

.page-body .with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 14.5px; }
.toc-title { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--dawn); }
@media (max-width: 900px) { .page-body .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 42rem; font-size: 18px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 23px; margin-top: 1.6em; }
.prose > h2 + * { margin-top: .8em; }
.prose a { color: var(--accent-ink); text-decoration-color: var(--dawn); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose em { font-style: italic; }
.prose .wp-block-quote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 2px solid var(--dawn); }
.prose .wp-block-quote cite { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); font-style: normal; }
.prose .gvy-lineage { margin-top: 1.8em; margin-bottom: 1.8em; }
.prose .gvy-lineage > * + * { margin-top: 0; }
.prose .gvy-lineage .wp-block-group__inner-container > *, .prose .gvy-lineage > * { margin-block: 0; }
.prose .gvy-lineage .gvy-node h3 { margin-top: 2px; }
.prose .gvy-lineage .gvy-node p:last-child { margin-top: 6px; }
.prose .gvy-node::before { background: var(--paper); }
.prose .gvy-node.is-main::before { background: var(--dawn); }
.prose .gvy-mantra-block { margin: 2em 0; }
.prose .gvy-mantra-block .pada > * { margin: 0; }
.prose figure { margin-inline: 0; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--dawn); outline-offset: 0; border-color: transparent; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--dawn); }
.form .btn-sun { justify-self: start; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 15.5px; }
.notice-ok { background: rgba(227, 161, 59, .16); border: 1px solid var(--dawn); }
.notice-error { background: rgba(201, 115, 125, .14); border: 1px solid var(--aruna); }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.social a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink); }
.social a:hover { border-color: var(--dawn); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .contact-grid, .about-grid, .mantra-grid { grid-template-columns: 1fr; } }

/* ---------- Santuario (página) ---------- */
.is-santuario { background: var(--night); }
.is-santuario .site-footer { display: none; }
.santuario { position: relative; min-height: calc(100svh - var(--header-h)); overflow: hidden; color: var(--on-night); display: grid; place-items: center; padding: 40px 16px 120px;
	background: radial-gradient(70% 60% at 50% 45%, #2a2350 0%, var(--night) 72%); }
.santuario-sun { position: absolute; left: 50%; top: 46%; width: min(92vw, 640px); height: min(92vw, 640px); transform: translate(-50%, -50%); opacity: 0; transition: opacity 2.4s ease; pointer-events: none; overflow: visible; }
.santuario[data-state="escucha"] .santuario-sun { opacity: .55; }
.santuario-stage { position: relative; z-index: 1; overflow: visible; display: grid; justify-items: center; gap: 26px; text-align: center; max-width: 620px; }
.candle-wrap { position: relative; width: min(46vw, 220px); aspect-ratio: 4 / 5; }
.candle-btn { all: unset; position: relative; z-index: 1; display: block; width: 100%; height: 100%; cursor: pointer; border-radius: 20px; }
.candle-btn:disabled { cursor: default; }
.candle-btn:focus-visible { outline: 2px solid var(--dawn); outline-offset: 6px; }
.candle-btn canvas { width: 100%; height: 100%; display: block; }
.santuario-text { display: grid; gap: 16px; justify-items: center; }
.santuario h1 { font-size: clamp(38px, 5vw, 60px); }
.santuario .lead { color: #cfcde3; max-width: 30em; }
.santuario .hint { font-size: 14px; color: var(--on-night-muted); }
.santuario .admin-note { font-size: 13px; color: var(--dawn-soft); max-width: 34em; border: 1px dashed rgba(242, 201, 121, .4); padding: 10px 14px; border-radius: 10px; }
.santuario-mantra { display: grid; gap: 0; width: min(100%, 760px); text-align: left; }
.sm-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 12px; border-top: 1px solid rgba(242, 201, 121, .14); }
.sm-row:first-child { border-top: 0; }
.sm-skt { text-align: right; padding-right: 28px; border-right: 1px solid rgba(242, 201, 121, .35); }
.sm-skt .skt { font-size: clamp(22px, 2.8vw, 30px); color: var(--dawn-soft); line-height: 1.4; }
.sm-skt .iast { font-size: 14px; color: var(--on-night-muted); margin-top: 2px; }
.sm-es { font-family: var(--serif); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.4; color: var(--on-night); }
.sm-row.is-invocation .skt { font-size: clamp(18px, 2.2vw, 23px); color: var(--on-night-muted); }
.sm-row.is-invocation .sm-es { font-size: clamp(15px, 1.5vw, 17px); color: var(--on-night-muted); }
.santuario[data-state="escucha"] .santuario-stage { max-width: 820px; }
@media (max-width: 640px) {
	.santuario-mantra { text-align: center; }
	.sm-row { grid-template-columns: 1fr; gap: 6px; padding-block: 12px; }
	.sm-skt { text-align: center; padding-right: 0; border-right: 0; }
	.sm-es { font-size: 16.5px; color: #cfcde3; }
}
.santuario .voice { font-size: 14px; color: var(--on-night-muted); }
.santuario .voice strong { color: var(--on-night); font-weight: 500; }
.santuario-controls { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 10px; background: rgba(31, 37, 80, .85); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; white-space: nowrap; }
.ctrl { font: 600 14px/1 var(--sans); color: var(--on-night); background: transparent; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 10px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ctrl:hover { border-color: var(--dawn-soft); }
.ctrl svg { width: 14px; height: 14px; }
.js-toggle { background: var(--dawn); color: var(--night); border-color: var(--dawn); }
.js-toggle:hover { background: var(--dawn-soft); }
.time { font-size: 13px; color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.santuario[data-state="umbral"] .escucha-only { display: none; }
.santuario[data-state="escucha"] .umbral-only { display: none; }
@media (max-width: 480px) { .santuario-controls { gap: 10px; } .ctrl { padding: 9px 12px; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.footer-grid .brand { color: var(--on-night); }
.footer-h { margin: 0 0 14px; font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-night); }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .menu a { text-decoration: none; }
.site-footer .menu a:hover { color: var(--on-night); }
.site-footer .nav-cta > a { color: inherit; }
.footer-mantra { font-family: var(--skt); font-size: 18px; color: var(--dawn-soft); margin-top: 18px; }
.footer-grid p + p { margin-top: 4px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Genérico ---------- */
.entry-list { display: grid; gap: 28px; }
.entry-list h2 a { text-decoration: none; }

/* ---------- Tema oscuro del sistema (secciones claras) ---------- */
@media (prefers-color-scheme: dark) {
	:root {
		--paper: #11142a; --paper-2: #181c38; --ink: #e8e7f2; --muted: #a3a2bf; --line: #2c3158; --accent-ink: #f0bf66;
		color-scheme: dark;
	}
}

/* ---------- Agni Hotra: aviso del próximo encuentro ---------- */
.ah-band { background: linear-gradient(90deg, #2a1f3f, var(--night-2) 60%); color: var(--on-night); border-top: 1px solid rgba(242, 201, 121, .18); border-bottom: 1px solid rgba(242, 201, 121, .18); }
.ah-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 16px; font-size: 15.5px; }
.ah-band-inner p { flex: 1 1 420px; }
.ah-band .ah-flame svg { width: 26px; height: 26px; color: var(--dawn); display: block; }
.ah-when { display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--night); background: var(--dawn-soft); padding: 5px 9px; border-radius: 999px; margin-right: 8px; vertical-align: 2px; }
.ah-band strong { font-weight: 600; }
.ah-band-link { color: var(--dawn-soft); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.ah-band.is-live { background: linear-gradient(90deg, #5a3a1c, var(--night-2) 70%); }

.ah-slot { margin-bottom: clamp(48px, 7vw, 88px); }
.ah-wrap.has-poster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 24px; align-items: start; }
.ah-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(200px, 260px); gap: clamp(20px, 3vw, 36px); align-items: start; background: var(--night); color: var(--on-night); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); position: relative; overflow: hidden;
	background-image: radial-gradient(80% 120% at 100% 120%, rgba(227, 161, 59, .28), rgba(201, 115, 125, .14) 35%, transparent 65%); }
.ah-card.is-live { box-shadow: 0 0 0 2px var(--dawn); }
.ah-date { display: grid; justify-items: center; align-content: start; width: 92px; padding: 14px 8px 12px; border: 1px solid rgba(242, 201, 121, .45); border-radius: 16px; text-align: center; }
.ah-dow, .ah-month { font: 600 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dawn-soft); }
.ah-day { font-family: var(--serif); font-size: 50px; line-height: 1.05; color: var(--on-night); }
.ah-body { display: grid; gap: 12px; align-content: start; }
.ah-body .label { color: var(--dawn-soft); }
.ah-body h2 { font-size: clamp(28px, 3vw, 38px); }
.ah-lead { color: #cfcde3; font-size: 17px; }
.ah-lead strong { color: var(--on-night); font-weight: 600; }
.ah-note { font-size: 15px; color: var(--dawn-soft); }
.ah-body .actions { margin-top: 10px; }
.ah-card .btn-ghost { border-color: rgba(236, 235, 245, .3); color: var(--on-night); }
.ah-card .btn-ghost:hover { border-color: var(--on-night); }
.ah-live { font-size: 14.5px; font-weight: 600; color: var(--dawn-soft); }
.ah-zones { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: clamp(18px, 2.4vw, 30px); }
.ah-zones-title { font: 600 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 12px; }
.ah-zones ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ah-zones li { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 14.5px; color: #cfcde3; }
.ah-zones li:last-child { border-bottom: 0; }
.ah-zones .t { font-variant-numeric: tabular-nums; color: var(--on-night); font-weight: 600; white-space: nowrap; }
.ah-zones .ah-yours { color: var(--dawn-soft); border-top: 1px dashed rgba(242, 201, 121, .35); margin-top: 4px; padding-top: 10px; }
.ah-zones .ah-yours .t { color: var(--dawn-soft); text-transform: capitalize; }
.ah-poster { margin: 0; display: grid; gap: 8px; }
.ah-poster img { display: block; width: 100%; height: auto; border-radius: 18px; }
.ah-poster figcaption { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 1080px) {
	.ah-wrap.has-poster { grid-template-columns: 1fr; }
	.ah-poster { max-width: 420px; }
}
@media (max-width: 860px) {
	.ah-card { grid-template-columns: auto minmax(0, 1fr); }
	.ah-zones { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
}
@media (max-width: 520px) {
	.ah-card { grid-template-columns: 1fr; }
	.ah-date { grid-auto-flow: column; width: auto; justify-self: start; gap: 8px; align-items: baseline; padding: 8px 14px; }
	.ah-day { font-size: 28px; }
}
.ah-zones li[hidden] { display: none; }
.btn { white-space: nowrap; }
@media (min-width: 861px) {
	.ah-wrap.has-poster { grid-template-columns: minmax(0, 1fr) 300px; }
	.has-poster .ah-card { grid-template-columns: auto minmax(0, 1fr); }
	.has-poster .ah-zones { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
	.has-poster .ah-zones ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* ---------- WhatsApp en Contacto ---------- */
.wa-card { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--night); color: var(--on-night); border-radius: 20px; padding: clamp(22px, 3vw, 30px);
	background-image: radial-gradient(90% 120% at 100% 110%, rgba(227, 161, 59, .22), transparent 60%); }
.prose .wa-card > * , .prose .wa-text > * { margin: 0; }
.wa-text { display: grid; gap: 10px; }
.wa-card .label { color: var(--dawn-soft); }
.prose .wa-card h2 { font-size: 26px; margin: 0; padding: 0; border: 0; }
.wa-card p { font-size: 15.5px; color: #cfcde3; }
.btn-wa { justify-self: start; margin-top: 6px; background: #25d366; color: #0b2a17; }
.btn-wa:hover { background: #4ae081; }
.btn-wa svg { width: 18px; height: 18px; }
.wa-qr { display: grid; gap: 8px; justify-items: center; }
.wa-qr .js-qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 6px; }
.wa-qr svg { display: block; width: 100%; height: 100%; }
.wa-qr figcaption { font-size: 12.5px; color: var(--on-night-muted); }
.admin-hint { font-size: 13.5px; color: var(--muted); border: 1px dashed var(--line); padding: 10px 14px; border-radius: 10px; }
@media (max-width: 700px) { .wa-card { grid-template-columns: 1fr; } .wa-qr { display: none; } }
.prose .btn-wa, .prose .btn-wa:hover { color: #0b2a17; text-decoration: none; }
/* Santuario con traducción: el sol no invade el texto y todo cabe mejor en móvil. */
.santuario[data-state="escucha"] .santuario-sun { width: min(80vw, 500px); height: min(80vw, 500px); opacity: .45; }
.santuario[data-state="escucha"] .santuario-stage { gap: 44px; }
@media (max-width: 640px) {
	.santuario[data-state="escucha"] .candle-wrap { width: 30vw; }
	.santuario[data-state="escucha"] .santuario-sun { width: 76vw; height: 76vw; }
	.santuario[data-state="escucha"] .santuario-stage { gap: 30px; }
	.santuario { padding-bottom: 140px; }
}
@media (min-width: 641px) {
	.santuario[data-state="escucha"] .candle-wrap { width: 170px; }
	.santuario[data-state="escucha"] .santuario-stage { gap: 36px; }
}
