/* ==========================================================================
   Radio Bíblica — Propuesta de diseño 2026
   Hoja de estilos de la maqueta (no es aún la plantilla de Joomla)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca */
  --verde-950: #061d13;
  --verde-900: #08281b;
  --verde-800: #0b3b28;
  --verde-700: #0f5132;
  --verde-600: #14663f;
  --verde-500: #1c7d4e;
  --verde-200: #b9d8c7;
  --verde-100: #dcebe3;
  --verde-050: #eef6f1;

  --crema:      #fbf8f1;
  --crema-2:    #f4eee2;
  --crema-3:    #e9e0cf;
  --papel:      #ffffff;

  --tinta:      #14201a;
  --tinta-70:   #4a5a52;
  --tinta-50:   #74847b;
  --linea:      #e5dccb;
  --linea-dark: rgba(255, 255, 255, .14);

  --oro:        #c9a227;
  --oro-claro:  #e8c766;
  --rojo:       #c0392b;

  /* Tipografía */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Métrica */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sombra-sm: 0 1px 2px rgba(20, 32, 26, .05), 0 2px 8px rgba(20, 32, 26, .04);
  --sombra-md: 0 12px 30px -12px rgba(20, 32, 26, .22), 0 2px 6px rgba(20, 32, 26, .04);
  --sombra-lg: 0 40px 80px -40px rgba(6, 29, 19, .55);

  --player-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: calc(var(--player-h) + 8px);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
svg { display: block; }
::selection { background: var(--oro-claro); color: var(--verde-950); }

:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--verde-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* ---------- 3. Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verde-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--gold { color: var(--oro-claro); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.serif { font-family: var(--display); font-optical-sizing: auto; }

/* ---------- 4. Botones ---------- */
.btn {
  --btn-bg: var(--verde-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(8, 40, 27, .5); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { --btn-bg: var(--verde-700); }
.btn--primary:hover { --btn-bg: var(--verde-800); }
.btn--gold { --btn-bg: var(--oro); --btn-fg: var(--verde-950); }
.btn--gold:hover { --btn-bg: var(--oro-claro); }
.btn--light { --btn-bg: var(--crema); --btn-fg: var(--verde-900); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--verde-800);
  border: 1px solid var(--linea);
}
.btn--ghost:hover { --btn-bg: #fff; box-shadow: var(--sombra-sm); border-color: var(--verde-200); }
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .1); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--verde-800);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--verde-050); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- 5. Barra superior ---------- */
.topbar {
  background: var(--verde-950);
  color: rgba(255, 255, 255, .78);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.onair { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.onair__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff5a4e;
  box-shadow: 0 0 0 0 rgba(255, 90, 78, .7);
  animation: pulso 2.4s infinite;
}
@keyframes pulso {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 78, .65); }
  70%  { box-shadow: 0 0 0 7px rgba(255, 90, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 78, 0); }
}
.topbar__mid { opacity: .55; }
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar__social a {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .7);
  transition: color .2s, background .2s;
}
.topbar__social a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.topbar__social svg { width: 15px; height: 15px; }

/* ---------- 6. Cabecera ---------- */
.header {
  position: relative;
  z-index: 50;
  background: var(--crema);
  border-bottom: 1px solid var(--linea);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 86px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__txt { display: none; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tinta);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--verde-050); color: var(--verde-800); }
.nav a[aria-current="page"] { color: var(--verde-700); font-weight: 650; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--oro);
  transform: translateX(-50%);
}
.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.burger { display: none; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 86px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 780px; height: 780px;
  background: radial-gradient(circle at center, rgba(201, 162, 39, .16), rgba(201, 162, 39, 0) 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -180px -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(20, 102, 63, .10), rgba(20, 102, 63, 0) 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 5.3vw, 74px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 18px 0 0;
  color: var(--verde-950);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--verde-600);
}
.hero h1 .sub {
  display: block;
  font-size: .54em;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--tinta-70);
  margin-top: .32em;
}
.lede {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--tinta-70);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats {
  display: flex;
  gap: clamp(22px, 3.4vw, 44px);
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--linea);
}
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats dt {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--verde-800);
  letter-spacing: -.02em;
}
.stats dd {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinta-50);
}

/* --- Consola en vivo --- */
.console {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(28, 125, 78, .55), transparent 58%),
    linear-gradient(160deg, var(--verde-800), var(--verde-950));
  box-shadow: var(--sombra-lg);
  isolation: isolate;
}
.console::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .045), 0 0 0 92px rgba(255, 255, 255, .028);
}
.console::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.console__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pill--live { background: rgba(255, 255, 255, .1); color: #fff; }
.pill--live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--oro-claro);
  animation: pulso 2.4s infinite;
}
.console__quality { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.console__kicker {
  margin-top: 26px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oro-claro);
}
.console__title {
  font-family: var(--display);
  font-size: clamp(27px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-top: 6px;
}
.console__sub { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 46px;
  margin: 24px 0 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.wave span {
  flex: 1 1 auto;
  min-width: 2px;
  height: var(--h, 30%);
  border-radius: 99px;
  background: rgba(255, 255, 255, .34);
  transform-origin: center;
  transition: background .3s;
}
.is-playing .wave span {
  background: linear-gradient(180deg, var(--oro-claro), rgba(232, 199, 102, .35));
  animation: onda var(--dur, 1.1s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes onda {
  from { transform: scaleY(.35); opacity: .55; }
  to   { transform: scaleY(1);   opacity: 1; }
}
.console__controls { display: flex; align-items: center; gap: 14px; }

.playbtn {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--crema);
  color: var(--verde-900);
  transition: transform .25s var(--ease), background .25s;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .55);
}
.playbtn:hover { transform: scale(1.05); background: #fff; }
.playbtn svg { width: 22px; height: 22px; }
.playbtn .ico-pause { display: none; }
.is-playing .playbtn .ico-play { display: none; }
.is-playing .playbtn .ico-pause { display: block; }
.console__meta { display: flex; flex-direction: column; line-height: 1.3; }
.console__meta strong { font-size: 14px; font-weight: 600; }
.console__meta span { font-size: 12px; color: rgba(255, 255, 255, .55); }
.console__share {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  transition: background .2s, border-color .2s;
}
.console__share:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.console__share svg { width: 18px; height: 18px; }
.console__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--linea-dark);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.console__foot span { display: inline-flex; align-items: center; gap: 7px; }
.console__foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--verde-500); }
.console__foot a { color: rgba(255, 255, 255, .7); border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 1px; }
.console__foot a:hover { color: #fff; }

/* ---------- 8. Cita ---------- */
.verse {
  background: var(--crema-2);
  border-block: 1px solid var(--linea);
  padding: 22px 0;
  text-align: center;
}
.verse p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--verde-900);
}
.verse span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinta-50);
}

/* ---------- 9. Secciones ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tinted { background: var(--crema-2); border-block: 1px solid var(--linea); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section__head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--verde-950);
  margin-top: 12px;
  text-wrap: balance;
}
.section__head p { max-width: 52ch; margin-top: 12px; color: var(--tinta-70); font-size: 15px; }
.section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--verde-700);
  border-bottom: 1px solid var(--verde-200);
  transition: gap .2s, border-color .2s;
}
.section__link:hover { gap: 12px; border-color: var(--verde-700); }
.section__link svg { width: 15px; height: 15px; }

/* ---------- 10. Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); border-color: var(--verde-200); }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--verde-050);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__tag {
  position: absolute;
  left: 14px; top: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: blur(6px);
  color: var(--verde-800);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--tinta-50);
  text-transform: uppercase;
}
.card__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--tinta-50); }
.card h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--verde-950);
  text-wrap: balance;
}
.card h3 a { transition: color .2s; }
.card:hover h3 a { color: var(--verde-600); }
.card__ex {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tinta-70);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--verde-700);
}
.card__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- 11. Pastores ---------- */
.pastors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pastor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--linea);
  border-radius: var(--r-md);
  background: var(--papel);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pastor:hover { transform: translateY(-3px); border-color: var(--verde-200); box-shadow: var(--sombra-sm); }
.avatar {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--verde-100);
  color: var(--verde-800);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pastor__txt { display: flex; flex-direction: column; min-width: 0; }
.pastor__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.pastor__count { font-size: 11.5px; color: var(--tinta-50); margin-top: 2px; }
.pastor__go { margin-left: auto; color: var(--verde-700); opacity: .45; transition: opacity .2s, transform .2s; }
.pastor:hover .pastor__go { opacity: 1; transform: translateX(3px); }
.pastor__go svg { width: 16px; height: 16px; }

/* ---------- 12. Bloque Tesoro Bíblico ---------- */
.feature {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0;
  color: #fff;
  background:
    radial-gradient(90% 120% at 85% 10%, rgba(28, 125, 78, .5), transparent 55%),
    linear-gradient(150deg, var(--verde-900), var(--verde-950));
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.feature__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.feature__art { position: relative; }
.feature__art img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sombra-lg);
  filter: saturate(.9) contrast(1.02);
}
.feature__art::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(232, 199, 102, .35);
  border-radius: var(--r-lg);
  z-index: -1;
}
.feature__badge {
  position: absolute;
  left: 16px; top: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--oro);
  color: var(--verde-950);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-top: 14px;
  text-wrap: balance;
}
.feature h2 em { font-style: italic; color: var(--oro-claro); }
.feature p { margin-top: 16px; max-width: 52ch; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .66); }
.tracklist { margin-top: 26px; border-top: 1px solid var(--linea-dark); }
.tracklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--linea-dark);
  font-size: 14px;
  color: rgba(255, 255, 255, .86);
  transition: color .2s, padding-left .2s;
}
.tracklist li:hover { color: #fff; padding-left: 6px; }
.tracklist button {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  transition: background .2s, border-color .2s;
}
.tracklist button:hover { background: var(--oro); border-color: var(--oro); color: var(--verde-950); }
.tracklist svg { width: 11px; height: 11px; }
.tracklist em {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.feature .btn { margin-top: 28px; }

/* --- Portada generada para Tesoro Bíblico --- */
.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 4.4;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  color: var(--verde-950);
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(201, 162, 39, .35), transparent 55%),
    linear-gradient(160deg, #f7f0df, #e8dcc0);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
}
.cover::before {
  content: "";
  position: absolute;
  right: -90px; bottom: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(15, 81, 50, .18);
  box-shadow: 0 0 0 34px rgba(15, 81, 50, .06), 0 0 0 72px rgba(15, 81, 50, .04);
}
.cover__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--verde-700);
}
.cover__title {
  display: block;
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.03em;
}
.cover__title em { font-style: italic; font-weight: 400; color: var(--verde-600); }
.cover__wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
  margin-top: 22px;
}
.cover__wave i {
  flex: 1;
  height: var(--h);
  border-radius: 99px;
  background: var(--verde-700);
  opacity: .75;
}
.cover__meta {
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinta-50);
}

/* ---------- 13. App / Donar ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.promo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 300px;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--r-xl);
  border: 1px solid var(--linea);
  background: var(--papel);
}
.promo--dark {
  border: 0;
  color: #fff;
  background:
    radial-gradient(90% 100% at 100% 0%, rgba(201, 162, 39, .25), transparent 55%),
    linear-gradient(150deg, var(--verde-800), var(--verde-950));
}
.promo h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-top: 12px;
  max-width: 18ch;
}
.promo p { margin-top: 12px; max-width: 40ch; font-size: 14.5px; color: var(--tinta-70); }
.promo--dark p { color: rgba(255, 255, 255, .65); }
.promo__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.promo__art {
  position: absolute;
  right: -30px; bottom: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .035), 0 0 0 62px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s;
}
.store-badge:hover { background: rgba(255, 255, 255, .14); }
.store-badge svg { width: 22px; height: 22px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.store-badge strong { font-size: 13px; font-weight: 600; }
.mp-logo { height: 40px; width: auto; }
.promo__foot { display: flex; flex-direction: column; gap: 14px; }
.promo__note {
  margin-top: 0;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tinta-50);
}

/* ---------- 14. Pie ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--verde-950);
  color: rgba(255, 255, 255, .62);
  padding: clamp(48px, 6vw, 76px) 0 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr .9fr;
  gap: 40px;
}
.footer__brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.footer__brand .logo svg { width: 34px; height: 34px; color: var(--oro-claro); }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: 13.5px; line-height: 1.7; }
.footer h4 {
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--oro-claro); }
.footer__contact { font-size: 13.5px; line-height: 1.8; }
.footer__contact a { color: rgba(255, 255, 255, .85); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .75);
  transition: background .2s, color .2s, border-color .2s;
}
.footer__social a:hover { background: var(--oro); border-color: var(--oro); color: var(--verde-950); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .38);
}
.footer__bottom a { color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 15. Reproductor sticky ---------- */
.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  height: var(--player-h);
  color: #fff;
  background: rgba(6, 29, 19, .92);
  backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -20px 50px -28px rgba(0, 0, 0, .7);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.player__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--player-h);
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}
.player__play {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: none;
  border-radius: 50%;
  background: var(--oro);
  color: var(--verde-950);
  transition: transform .2s var(--ease), background .2s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 22px -8px rgba(201, 162, 39, .8);
}
.player__play:hover { transform: scale(1.06); background: var(--oro-claro); }
.player__play svg { width: 19px; height: 19px; }
.player__play .ico-pause { display: none; }
.is-playing .player__play .ico-play { display: none; }
.is-playing .player__play .ico-pause { display: block; }

.player__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.player__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oro-claro);
}
.player__live i { width: 5px; height: 5px; border-radius: 50%; background: #ff5a4e; animation: pulso 2.4s infinite; }
.player__title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__program {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__viz {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  flex: 1;
  max-width: 220px;
  margin: 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.player__viz span {
  flex: 1;
  height: var(--h, 30%);
  min-width: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .28);
  transform-origin: center;
}
.is-playing .player__viz span {
  background: var(--oro-claro);
  animation: onda var(--dur, 1s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
.player__sep { width: 1px; height: 30px; background: rgba(255, 255, 255, .14); flex: none; }
.player__volwrap { display: flex; align-items: center; gap: 8px; flex: none; }
.player__volbtn { color: rgba(255, 255, 255, .7); display: grid; place-items: center; width: 32px; height: 32px; }
.player__volbtn:hover { color: #fff; }
.player__volbtn svg { width: 18px; height: 18px; }
input[type="range"].player__vol {
  -webkit-appearance: none;
  appearance: none;
  width: 84px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .75) var(--vol, 70%), rgba(255, 255, 255, .18) var(--vol, 70%));
  cursor: pointer;
}
input[type="range"].player__vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .15);
}
input[type="range"].player__vol::-moz-range-thumb {
  width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff;
}
.player__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 40px;
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .85);
  font-size: 12.5px;
  font-weight: 550;
  transition: background .2s, color .2s, border-color .2s;
}
.player__btn:hover { background: rgba(255, 255, 255, .09); color: #fff; border-color: rgba(255, 255, 255, .3); }
.player__btn svg { width: 16px; height: 16px; }
.player__btn--icon { padding: 0; width: 40px; justify-content: center; }
.player__expand svg { transition: transform .3s var(--ease); }
.player.is-open .player__expand svg { transform: rotate(180deg); }

/* Panel expandido */
.player__panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: min(100% - var(--gutter) * 2, var(--wrap));
  transform: translate(-50%, 12px);
  opacity: 0;
  visibility: hidden;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--verde-900);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--sombra-lg);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.player.is-open .player__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.player__panel h3 { font-family: var(--display); font-size: 22px; font-weight: 500; }
.player__panel p { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.player__panelrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--linea-dark);
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}
.player__panelrow .eq { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.player__panelrow .eq i { width: 3px; background: var(--oro-claro); border-radius: 2px; }
.player__panelrow .eq i:nth-child(1) { height: 6px; }
.player__panelrow .eq i:nth-child(2) { height: 12px; }
.player__panelrow .eq i:nth-child(3) { height: 9px; }
.player__panelrow .eq i:nth-child(4) { height: 14px; }

/* ---------- 16. Menú móvil ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 29, 19, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--crema);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer__head img { height: 40px; width: auto; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--linea);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--verde-950);
}
.drawer nav a:hover { color: var(--verde-600); }
.drawer__foot { margin-top: auto; padding-top: 26px; font-size: 12px; color: var(--tinta-50); }

/* ---------- 17. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--player-h) + 20px);
  z-index: 130;
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--crema);
  color: var(--verde-900);
  font-size: 13px;
  font-weight: 550;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  transition: opacity .25s, transform .25s, visibility .25s;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--verde-600); flex: none; }

/* ---------- 18. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 9px; font-size: 13.5px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { max-width: 720px; }
  .console { max-width: 560px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pastors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .player__viz { max-width: 150px; }
  input[type="range"].player__vol { width: 64px; }
}

@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .burger {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--linea);
    margin-left: auto;
  }
  .header__in { min-height: 74px; }
  .header__actions { margin-left: 0; }
  .feature__grid { grid-template-columns: 1fr; }
  .feature__art { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 680px) {
  :root { --player-h: 72px; }
  .topbar__mid { display: none; }
  .topbar__in { justify-content: space-between; }
  .brand img { height: 38px; }
  .cards { grid-template-columns: 1fr; }
  .pastors { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
  .stats dt { font-size: 22px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .console { padding: 20px; border-radius: var(--r-lg); }
  .console__title { font-size: 26px; }
  .console__quality { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .player__inner { gap: 10px; }
  .player__play { width: 46px; height: 46px; }
  .player__viz { max-width: 60px; margin: 0; }
  .player__sep, .player__volwrap, .player__btn[data-share] span { display: none; }
  .player__btn { padding: 0; width: 40px; justify-content: center; }
  .player__program { display: none; }
  .player__title { font-size: 13px; }
  .player__panel { width: calc(100% - 24px); bottom: calc(100% + 8px); }
  .promo { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 20. Modo captura (solo para generar imágenes) ---------- */
html.capture body { padding-bottom: 0; }
html.capture .player { position: relative; }
html.capture .toast { display: none; }

/* ---------- 21. Utilidades de la presentación ---------- */
.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--crema-2);
  border: 1px solid var(--linea);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tinta-50);
}
.demo-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--oro); }
