/* ==========================================================================
   Evan Radio — hoja de estilos
   Paleta y tipografías del sitio original (Elementor kit):
   navy #1E2D3D · rojo #DE2B2C · salvia #D7E0DD · Syne + Inter
   ========================================================================== */
:root {
  --navy: #1E2D3D;
  --ink: #11151C;
  --deep: #121C2D;
  --red: #DE2B2C;
  --red-d: #c21f20;
  --sage: #D7E0DD;
  --sage-2: #e6ecea;
  --soft: #F7FAF9;
  --white: #fff;
  --text: #494949;
  --muted: #6b7680;
  --line: rgba(30, 45, 61, .12);
  --f-head: "Syne", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow: 0 20px 50px -20px rgba(17, 21, 28, .35);
  --shadow-sm: 0 8px 24px -12px rgba(17, 21, 28, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
  --dock-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--f-body); font-weight: 300; font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--soft);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.i { flex: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-2 { margin-top: 2.5rem; }
.pt-0 { padding-top: 0 !important; }

/* ---------- Tipografía ---------- */
.h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.h3 { font-size: 1.5rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: #555f69; }
mark {
  background: linear-gradient(transparent 58%, var(--red) 58%, var(--red) 88%, transparent 88%);
  color: inherit; padding: 0 .04em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-body); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow.light { color: #ff8f8f; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-red { --bg: var(--red); }
.btn-red:hover { --bg: var(--red-d); }
.btn-navy { --bg: var(--navy); }
.btn-ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { --bg: var(--navy); --fg: #fff; }
.btn-glass { --bg: rgba(255,255,255,.12); --fg: #fff; backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-lg { padding: 1.1em 1.9em; font-size: .9rem; }
.btn-sm { padding: .75em 1.2em; font-size: .75rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; color: var(--navy); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .2s, color .2s; }
.link-arrow:hover { gap: .8em; color: var(--red); }

/* Botones que controlan el player: icono play/pause según estado */
[data-play-toggle] .i:nth-of-type(2), .pt-ico .i:nth-child(2) { display: none; }
html.is-playing [data-play-toggle] .i:nth-of-type(1),
html.is-playing .pt-ico .i:nth-child(1) { display: none; }
html.is-playing [data-play-toggle] .i:nth-of-type(2),
html.is-playing .pt-ico .i:nth-child(2) { display: block; }
.pt-ico { display: inline-flex; }

/* Punto rojo "en vivo" */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; flex: none; display: inline-block; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--red); opacity: .45; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }

/* Mini ecualizador */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 30%; background: currentColor; border-radius: 2px; }
html.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s !important; }
.eq i:nth-child(3) { animation-delay: -.7s !important; }
.eq i:nth-child(4) { animation-delay: -.2s !important; }
.eq i:nth-child(5) { animation-delay: -.55s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(215, 224, 221, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background .3s, box-shadow .3s, height .3s var(--ease);
}
.site-header.scrolled { --header-h: 70px; background: rgba(247, 250, 249, .88); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.3); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { height: 48px; width: auto; transition: height .3s var(--ease); }
.scrolled .logo img { height: 42px; }
.logo-light { display: none !important; }
:is(.page-emisora, .page-programacion) .site-header { background: rgba(17,21,28,.55); }
:is(.page-emisora, .page-programacion) .site-header.scrolled { background: rgba(17,21,28,.9); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
:is(.page-emisora, .page-programacion) .logo-dark { display: none !important; }
:is(.page-emisora, .page-programacion) .logo-light { display: block !important; }
:is(.page-emisora, .page-programacion) .main-nav a { color: rgba(255,255,255,.85); }
:is(.page-emisora, .page-programacion) .main-nav a:hover { background: rgba(255,255,255,.1); }
:is(.page-emisora, .page-programacion) .menu-btn { background: rgba(255,255,255,.14); }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  position: relative; padding: 10px 14px; font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-radius: 999px; transition: color .2s, background .2s;
}
.main-nav a:hover { background: rgba(30,45,61,.07); }
.main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--red); border-radius: 50%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(222,43,44,.8); transition: transform .25s var(--ease), background .2s;
}
.live-pill:hover { transform: translateY(-2px); background: var(--red-d); }
.live-pill .live-dot { background: #fff; }
.live-pill .live-dot::after { background: #fff; }
.live-pill .eq { display: none; }
html.is-playing .live-pill .eq { display: inline-flex; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; }

/* ---------- Menú móvil ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: calc(18px + env(safe-area-inset-top, 0px)) 24px calc(24px + var(--safe-b));
  opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .4s var(--ease);
  background-image: radial-gradient(120% 60% at 100% 0%, rgba(222,43,44,.28), transparent 60%);
}
.mobile-menu.open { opacity: 1; transform: none; }
.mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-top img { height: 44px; width: auto; }
.mm-close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.mm-nav { margin: auto 0; display: flex; flex-direction: column; gap: 2px; padding: 24px 0; }
.mm-nav a {
  display: flex; align-items: baseline; gap: 14px; font-family: var(--f-head); font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: 600; color: #fff;
  padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease), color .2s;
  transition-delay: calc(var(--d) * 45ms + 60ms);
}
.mm-nav a span { font-family: var(--f-body); font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.45); letter-spacing: .1em; }
.mm-nav a[aria-current="page"] { color: #ff6b6b; }
.mobile-menu.open .mm-nav a { opacity: 1; transform: none; }
.mm-foot { display: grid; gap: 18px; }
.mm-social { display: flex; justify-content: center; gap: 12px; }
.mm-social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
body.menu-open { overflow: hidden; }

/* ---------- Hero portada ---------- */
.hero { background: var(--sage); position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: min(820px, calc(100svh - var(--header-h) - 60px)); padding: 48px 0 72px; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.05; margin-bottom: .4em; text-transform: none; }
.hero-text { max-width: 520px; font-size: 1.06rem; color: #4d5862; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-cta.center { justify-content: center; }
.hero-stat { display: flex; align-items: center; gap: 16px; }
.hero-stat strong { font-family: var(--f-head); font-size: 2.6rem; color: var(--navy); font-weight: 700; line-height: 1; }
.hero-stat sup { color: var(--red); font-size: .55em; }
.hero-stat > span { font-size: .85rem; line-height: 1.35; color: var(--muted); padding-left: 16px; border-left: 2px solid var(--red); }

.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 210px 200px; gap: 16px; }
.shape { margin: 0; overflow: hidden; background: #c6d0cd; box-shadow: var(--shadow); }
.shape img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.shape:hover img { filter: grayscale(0); transform: scale(1.04); }
.s1 { grid-row: 1 / 3; border-radius: 48px 48px 48px 48px; }
.s2 { border-radius: 50% 50% 32px 32px / 42% 42% 32px 32px; }
.s3 { border-radius: 50%; aspect-ratio: 1; align-self: start; width: 82%; justify-self: center; }
.s4 { grid-column: 2; grid-row: 2 / 4; border-radius: 200px 200px 40px 40px; }
.s3 { grid-column: 1; grid-row: 3; height: 100%; width: auto; }
/* Hero con fotos de los podcasts */
.hero-art.pod { display: block; aspect-ratio: 1 / 1; }
.pod-card { position: absolute; margin: 0; overflow: hidden; background: var(--navy); box-shadow: 0 34px 70px -30px rgba(17,21,28,.55); }
.pod-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pod-card:hover img { transform: scale(1.04); }
.pod-a { top: 0; right: 0; width: 90%; aspect-ratio: 16 / 10.4; border-radius: 34px; z-index: 1; }
.pod-b { left: 0; bottom: 14%; width: 64%; aspect-ratio: 16 / 10.4; border-radius: 28px; z-index: 2; box-shadow: 0 0 0 8px var(--sage), 0 34px 70px -24px rgba(17,21,28,.6); }
.pod-a figcaption { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(10,14,22,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pod-bars { position: absolute; left: 2%; top: -4%; width: 34%; height: 46%; z-index: 0; pointer-events: none; }
.pod-bars i { position: absolute; bottom: 0; width: 10px; height: 100%; border-radius: 10px; transform: rotate(32deg); transform-origin: bottom; opacity: .55; filter: blur(.3px); }
.pod-bars i:nth-child(1) { left: 0; height: 70%; background: linear-gradient(#5ee0f0, transparent); }
.pod-bars i:nth-child(2) { left: 26%; background: linear-gradient(#ff7ac8, transparent); }
.pod-bars i:nth-child(3) { left: 52%; height: 82%; background: linear-gradient(#5ee0f0, transparent); }
.pod-bars i:nth-child(4) { left: 78%; height: 60%; background: linear-gradient(#ff7ac8, transparent); }
.hero-art.pod .np-float { left: auto; right: 0; bottom: 0; z-index: 3; }
.np-float {
  position: absolute; left: -36px; bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; max-width: 330px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 20px; box-shadow: var(--shadow); text-align: left; animation: float 6s ease-in-out infinite;
}
.np-float img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.np-float-txt { display: grid; min-width: 0; line-height: 1.25; }
.np-float-txt small { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.np-float-txt strong { font-family: var(--f-head); color: var(--navy); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-float-txt em { font-style: normal; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-float-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.marquee .i { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.dark { background: var(--navy); color: rgba(255,255,255,.75); }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head .h2 { margin: 0; }
.page-hero { background: var(--sage); padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 90px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); }
/* Hero de Programación: texto sobre fondo oscuro + foto panorámica completa */
.photo-hero { position: relative; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 0; color: rgba(255,255,255,.8);
  background: radial-gradient(60% 50% at 50% 0%, rgba(127,166,232,.16), transparent 70%), linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%) top / 100% calc(100% - clamp(90px, 14vw, 200px)) no-repeat, var(--soft); }
.photo-hero .h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; margin-bottom: .35em; }
.photo-hero .lead { color: rgba(255,255,255,.75); }
.photo-hero .hero-cta { margin: 30px 0 clamp(40px, 6vw, 64px); }
.photo-hero-frame { margin: 0; border-radius: clamp(20px, 3vw, 36px); overflow: hidden; aspect-ratio: 2000 / 772; background: var(--navy); box-shadow: 0 40px 90px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }
.photo-hero-frame img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.photo-hero + .section.pt-0 { padding-top: clamp(48px, 7vw, 88px) !important; }
.page-hero + .section.pt-0 { padding-top: clamp(40px, 6vw, 72px) !important; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(222,43,44,.1); color: var(--red); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Blog ---------- */
.blog-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-2); }
.post-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover figure img { transform: scale(1.05); }
.pc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-body h2, .pc-body h3 { font-size: 1.22rem; line-height: 1.3; margin: 0; }
.pc-body p { margin: 0; font-size: .95rem; color: var(--muted); }
.post-card.big figure { aspect-ratio: 16 / 9; }
.post-card.big h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.pc-meta { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); font-weight: 400; }
.pc-date { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); transition: gap .2s; }
.post-card:hover .read-more, .post-row:hover .read-more { gap: 10px; }
.post-list { display: grid; gap: 14px; align-content: start; }
.post-row { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 12px; background: #fff; border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-row:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.post-row figure { margin: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sage-2); }
.post-row figure img { width: 100%; height: 100%; object-fit: cover; }
.post-row h3 { font-size: 1rem; line-height: 1.35; margin: 4px 0 6px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-weight: 500; }
.pager a[aria-current] { background: var(--navy); color: #fff; }

/* ---------- Misión (pasos) ---------- */
.mission { background: #fff; }
.mission-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 32px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: s; }
.step { display: grid; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.step:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); }
.step:hover h3, .step:hover .step-n { color: #fff; }
.step:hover p { color: rgba(255,255,255,.7); }
.step-n { font-family: var(--f-head); font-size: 2rem; font-weight: 500; color: #b9c4c1; line-height: 1; transition: color .3s; }
.step h3 { font-size: 1.05rem; margin: 0 0 4px; transition: color .3s; }
.step p { font-size: .88rem; margin: 0; color: var(--muted); line-height: 1.55; transition: color .3s; }
.mission-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mission-art figure { margin: 0; overflow: hidden; background: var(--sage); }
.mission-art img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s var(--ease); }
.mission-art figure:hover img { filter: none; }
.m1 { border-radius: 50%; aspect-ratio: 1; }
.m2 { border-radius: 28px; aspect-ratio: 4 / 5; }
.m3 { border-radius: 28px; aspect-ratio: 4 / 5; margin-top: -60px !important; }
.m4 { border-radius: 50%; aspect-ratio: 1; }

/* ---------- Banda app ---------- */
.app-band { background: var(--navy); color: rgba(255,255,255,.75); overflow: hidden; position: relative; }
.app-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 50%, rgba(222,43,44,.35), transparent 70%); }
.app-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: clamp(64px, 8vw, 100px) 0; }
.app-band .h2 { color: #fff; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 16px; background: #fff; color: var(--ink); font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; line-height: 1.1; transition: transform .25s var(--ease); }
.store:hover { transform: translateY(-3px); }
.store small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .7rem; color: var(--muted); }
.phone { justify-self: center; width: 270px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px; background: #0b0f15; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 2px #2a3442; transform: rotate(6deg); }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 18px 18px; background: linear-gradient(180deg, rgba(17,21,28,.35), rgba(17,21,28,.1) 40%, rgba(17,21,28,.85)); }
.phone-ui > img { width: 84px; margin: 0 auto; }
.phone-player { display: grid; justify-items: center; gap: 6px; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); color: #fff; text-align: center; }
.phone-player strong { font-family: var(--f-head); font-size: .95rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-player small { font-size: .62rem; letter-spacing: .2em; color: #ff8f8f; font-weight: 600; }
.phone-play { width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-top: 4px; }
.eq.big { height: 26px; gap: 3px; color: #fff; }
.eq.big i { width: 4px; animation: eq 1s ease-in-out infinite; }

/* ---------- Programación ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program { position: relative; padding: 30px; border-radius: var(--r); background: #fff; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--sage); opacity: .6; transition: transform .6s var(--ease); }
.program:hover::after { transform: scale(1.4); }
.program-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; position: relative; z-index: 1; }
.program .chip { align-self: flex-start; }
.program h2 { font-size: 1.4rem; margin: 4px 0 0; }
.program p { margin: 0; font-size: .95rem; color: var(--muted); }
.program-live { background: var(--red); color: rgba(255,255,255,.85); }
.program-live h2 { color: #fff; }
.program-live p { color: rgba(255,255,255,.8); }
.program-live .chip { background: rgba(255,255,255,.18); color: #fff; }
.program-live .chip .live-dot, .program-live .chip .live-dot::after { background: #fff; }
.program-live .program-ico { background: #fff; color: var(--red); }
.program-live::after { background: rgba(255,255,255,.12); opacity: 1; }
.program-live .btn { --bg: #fff; --fg: var(--red); align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }

.cover-band { position: relative; color: rgba(255,255,255,.82); padding: clamp(80px, 10vw, 140px) 0; background: var(--navy) var(--bg) center / cover no-repeat; isolation: isolate; }
.cover-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,28,45,.88), rgba(18,28,45,.72)); }
.cover-band .h2 { color: #fff; }
.cover-band .btn { margin-top: 18px; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); }
.checks .i { color: #fff; background: var(--red); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.store-mini { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .9rem; }
.store-mini a { padding: 8px 16px; border-radius: 999px; background: #fff; font-weight: 500; color: var(--navy); font-size: .82rem; }
.about-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-collage figure { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 3 / 4; background: #c6d0cd; }
.about-collage figure:nth-child(1) { border-radius: 200px 200px 28px 28px; }
.about-collage figure:nth-child(2) { margin-top: 48px; }
.about-collage figure:nth-child(3) { margin-top: -48px; }
.about-collage figure:nth-child(4) { border-radius: 28px 28px 200px 200px; }
.about-collage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s; }
.about-collage figure:hover img { filter: none; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { padding: 34px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .35s var(--ease); }
.pillar:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.pillar-n { font-family: var(--f-head); font-size: 2.6rem; color: var(--red); font-weight: 700; display: block; margin-bottom: 12px; }
.pillar h2 { font-size: 1.45rem; }
.pillar p { margin: 0; font-size: .95rem; }
.quote { font-family: var(--f-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--navy); margin: 28px 0 0; font-weight: 600; line-height: 1.3; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.partner { display: grid; place-items: center; padding: 28px; background: #fff; border-radius: var(--r); aspect-ratio: 16 / 9; transition: transform .3s var(--ease), box-shadow .3s; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.partner img { max-height: 64px; width: auto; filter: grayscale(1) brightness(.35); opacity: .8; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }

/* ---------- Staff ---------- */
.group-title { font-size: 1.1rem; font-family: var(--f-body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 32px 0 24px; display: flex; align-items: center; gap: 16px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { position: relative; border-radius: var(--r); overflow: hidden; background: #dfe5e3; aspect-ratio: 3 / 4; }
.member figure { margin: 0; height: 100%; }
.member img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter .7s var(--ease), transform 1s var(--ease); }
.member:hover img { filter: none; transform: scale(1.04); }
.member-info { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); }
.member-info span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.member-info h3 { margin: 2px 0 0; font-size: 1.1rem; }

/* ---------- Donaciones / formulario ---------- */
.donate-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.donate-art { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; background: var(--navy) var(--bg) center / cover; display: flex; align-items: flex-end; padding: 24px; }
.donate-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(17,21,28,.85)); }
.donate-ways { position: relative; display: grid; gap: 10px; width: 100%; }
.donate-ways div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); color: #fff; }
.donate-ways .i { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--red); }
.donate-ways strong { font-family: var(--f-head); font-weight: 600; }
.donate-ways span { font-size: .84rem; color: rgba(255,255,255,.75); }
.card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 1px 0 var(--line); }
.form { display: grid; gap: 16px; align-content: start; }
.form .h3 { margin: 0; }
.form > p { margin: -6px 0 4px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft);
  font-size: 1rem; font-weight: 400; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231E2D3D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(30,45,61,.08); }
.field .invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-msg:empty { display: none; }
.form-msg, .alert { padding: 14px 16px; border-radius: 14px; font-weight: 500; font-size: .95rem; }
.form-msg.ok, .alert.ok { background: #e7f6ee; color: #11683b; }
.form-msg.err, .alert.err { background: #fde8e8; color: #9b1c1c; }
.form button[disabled] { opacity: .6; pointer-events: none; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ccard { display: grid; gap: 4px; padding: 24px; border-radius: var(--r); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
a.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ccard .i { color: var(--red); margin-bottom: 8px; }
.ccard small { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccard strong { font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }

/* ---------- Artículo ---------- */
.article-head { background: var(--sage); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 48px) 0 0; }
.article-head .h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 18px 0 36px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: 22px; }
.back:hover { color: var(--red); }
.article-cover { position: relative; margin-bottom: -120px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.article > .wrap.narrow { padding-top: 168px; }
.article-head:not(:has(.article-cover)) + .wrap.narrow { padding-top: 48px; }
.prose { font-size: 1.12rem; line-height: 1.8; color: #3d464f; font-weight: 400; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 .5em; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--f-head); color: var(--navy); }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: var(--r); width: 100%; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 48px 0 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-share > span { font-weight: 600; color: var(--navy); margin-right: 6px; }
.listen-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: var(--r); background: var(--navy); color: rgba(255,255,255,.75); margin-bottom: 20px; flex-wrap: wrap; }
.listen-cta strong { display: block; font-family: var(--f-head); color: #fff; font-size: 1.2rem; }

.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.share { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 500; font-size: .88rem; background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease); }
.share:hover { transform: translateY(-2px); }
.share.wa .i { color: #25d366; }
.share.fb .i { color: #1877f2; }

/* ---------- Página "Emisora" (player grande) ---------- */
.live { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.8); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 40px) 0 80px; isolation: isolate; }
.live-bg, .sheet-bg { position: absolute; inset: -60px; z-index: -1; background: var(--navy) center / cover no-repeat; filter: blur(60px) saturate(1.3) brightness(.42); transform: scale(1.1); transition: background-image 1s; }
.live::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 30% 40%, rgba(222,43,44,.25), transparent 70%), linear-gradient(180deg, rgba(17,21,28,.55), rgba(17,21,28,.9)); }
.live-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; min-height: calc(100svh - var(--header-h) - 180px); }
.live-stage { display: grid; justify-items: center; gap: 28px; }
.live-disc { position: relative; width: min(420px, 78vw, 52svh); aspect-ratio: 1; display: grid; place-items: center; }
.live-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); transition: transform .8s var(--ease), border-radius .8s var(--ease); position: relative; z-index: 1; }
html.is-playing .live-disc img { transform: scale(1.02); }
.ring { position: absolute; inset: 0; border-radius: 40px; border: 1.5px solid rgba(255,255,255,.18); opacity: 0; }
html.is-playing .ring { animation: ripple 3.6s var(--ease) infinite; }
.ring.r2 { animation-delay: 1.2s !important; }
.ring.r3 { animation-delay: 2.4s !important; }
@keyframes ripple { 0% { transform: scale(.95); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.play-btn.live-play { position: absolute; z-index: 2; right: -18px; bottom: -18px; box-shadow: 0 0 0 8px rgba(17,21,28,.55), 0 16px 34px -8px rgba(222,43,44,.9); }
.viz { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 56px; width: min(420px, 78vw); }
.viz i { flex: 1; height: 8%; border-radius: 3px; background: linear-gradient(180deg, #ff6b6b, var(--red)); opacity: .85; transition: height .3s; }
html.is-playing .viz i { animation: viz 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -97ms); }
@keyframes viz { 0%, 100% { height: 12%; } 25% { height: 70%; } 50% { height: 35%; } 75% { height: 92%; } }
.live-title { font-size: clamp(2rem, 4.6vw, 3.6rem); color: #fff; margin: 4px 0 6px; overflow-wrap: anywhere; }
.live-artist { font-size: 1.15rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.live-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.live-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.live-cols { display: grid; grid-template-columns: 1fr; gap: 14px; }
.live .sheet-time { max-width: 520px; }

/* ---------- Dock (reproductor fijo): píldora minimalista ---------- */
.dock {
  position: fixed; z-index: 70; left: 50%; bottom: calc(16px + var(--safe-b)); transform: translateX(-50%);
  width: min(620px, calc(100% - 28px)); height: var(--dock-h);
  display: flex; align-items: center; gap: 10px; padding: 0 8px 0 10px;
  border-radius: 999px; color: #fff;
  background: rgba(8, 10, 22, .88); backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px);
  box-shadow: 0 22px 44px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .5s var(--ease), opacity .4s;
}
.dock-main { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border-radius: 999px; }
.dock-live { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(127,166,232,.13); }
.dock-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fa6e8; box-shadow: 0 0 0 4px rgba(127,166,232,.2); }
.dock-eq { display: none; align-items: flex-end; gap: 3px; height: 14px; }
.dock-eq i { width: 3px; height: 40%; border-radius: 2px; background: #9dbdf2; animation: eq 1s ease-in-out infinite; }
.dock-eq i:nth-child(2) { animation-delay: -.45s; } .dock-eq i:nth-child(3) { animation-delay: -.8s; }
html.is-playing .dock-dot { display: none; }
html.is-playing .dock-eq { display: inline-flex; }
.dock-text { display: grid; min-width: 0; line-height: 1.25; gap: 2px; }
.dock-title { font-family: var(--f-head); font-weight: 500; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-title.scroll { text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.dock-title.scroll span { display: inline-block; padding-right: 48px; animation: ticker var(--t, 12s) linear infinite; }
@keyframes ticker { 0%, 15% { transform: translateX(0); } 100% { transform: translateX(var(--x, -50%)); } }
.dock-artist { font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-controls { display: flex; align-items: center; gap: 4px; flex: none; }
.dock-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.7); transition: background .2s, color .2s; }
.dock-icon:hover { background: rgba(255,255,255,.08); color: #fff; }
.dock-vol input[type=range] { width: 80px; margin-right: 6px; }
.dock-play {
  position: relative; width: 48px; height: 48px; margin-left: 4px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #fff; color: #0b0d12; box-shadow: 0 6px 18px -6px rgba(255,255,255,.35); transition: transform .25s var(--ease);
}
.dock-play:hover { transform: scale(1.06); }
.dock-play:active { transform: scale(.92); }
.dock-play .i { grid-area: 1 / 1; }
.dock-play .i:first-of-type { margin-left: 2px; }
.dock-play .spinner { border-width: 2px; border-top-color: #4f74c4; }
html.is-loading .dock-play .i { opacity: .35; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: inherit; transition: background .2s; flex: none; }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn.lg { width: 52px; height: 52px; background: rgba(255,255,255,.08); }
.play-btn {
  position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--red); color: #fff; box-shadow: 0 10px 26px -8px rgba(222,43,44,.9); transition: transform .25s var(--ease), background .2s;
}
.play-btn:hover { transform: scale(1.06); background: #e83a3b; }
.play-btn:active { transform: scale(.94); }
.play-btn .i { grid-area: 1 / 1; }
.play-btn .i:first-of-type { margin-left: 3px; }
.play-btn.xl { width: 88px; height: 88px; }
.spinner { grid-area: 1 / 1; width: 100%; height: 100%; border-radius: 50%; border: 3px solid transparent; border-top-color: #fff; opacity: 0; }
html.is-loading .spinner { opacity: 1; animation: spin .8s linear infinite; }
html.is-loading .play-btn .i { opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }
.vol { display: flex; align-items: center; gap: 4px; }
.vol .i:nth-of-type(2) { display: none; }
.vol.muted .i:nth-of-type(1) { display: none; }
.vol.muted .i:nth-of-type(2) { display: block; }
.vol input[type=range] { -webkit-appearance: none; appearance: none; width: 96px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff var(--v, 100%), rgba(255,255,255,.2) var(--v, 100%)); cursor: pointer; }
.vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.vol input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

/* ---------- Componentes "now playing" compartidos (página Emisora) ---------- */
.badge-soft { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .74rem; font-weight: 500; color: rgba(255,255,255,.85); }
.sheet-time .bar i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 0 3px 3px 0; transition: width 1s linear; }
.sheet-time .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.sheet-time .times { display: flex; justify-content: space-between; margin-top: 8px; font-size: .76rem; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.sheet-card { padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.sheet-card > small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.np-row, .np-history li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; }
.np-row { grid-template-columns: 44px 1fr; }
.np-row img, .np-history img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: rgba(255,255,255,.1); }
.np-row strong, .np-history strong { display: block; font-weight: 500; font-size: .92rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-row span, .np-history span { display: block; font-size: .8rem; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-row > div, .np-history li > div { min-width: 0; }
.np-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.np-history time { font-size: .74rem; color: rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
.np-history li.muted { display: block; color: rgba(255,255,255,.5); font-size: .9rem; }

/* ---------- Reproductor ampliado (sheet) — paleta de la referencia: negro → índigo, acento azul ---------- */
.sheet { position: fixed; inset: 0; z-index: 95; --sp-blue: #7fa6e8; --sp-blue-2: #4f74c4; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(5,6,12,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(430px, calc(100% - 24px));
  border-radius: 40px; overflow: hidden; overflow: clip; color: #fff; isolation: isolate;
  background: linear-gradient(180deg, #000 0%, #04050a 30%, #0d1124 62%, #1a2142 86%, #222a52 100%);
  display: flex; flex-direction: column; transform: translateX(110%); transition: transform .55s var(--ease);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(150,170,230,.14);
}
.sheet.open .sheet-panel { transform: none; }
.sheet-panel.dragging { transition: none; }
.sp-ambient { display: none; }
.sp-lights { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 30% at 50% 0%, rgba(120,140,220,.10), transparent 70%),
    radial-gradient(80% 35% at 50% 100%, rgba(95,120,210,.22), transparent 75%); }

.sp-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 4px; }
.sp-grab { position: absolute; left: 50%; top: 22px; width: 34px; height: 3px; margin-left: -17px; border-radius: 3px; background: rgba(255,255,255,.35); }
.sp-onair { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); padding: 8px 6px; }
.sp-onair .live-dot, .sp-onair .live-dot::after { background: var(--sp-blue); }
.sp-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: none; transition: opacity .2s, transform .25s var(--ease); flex: none; }
.sp-icon:hover { opacity: .75; }
.sp-icon:active { transform: scale(.9); }

.sp-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 30px calc(30px + var(--safe-b)); scrollbar-width: none; }
.sp-body::-webkit-scrollbar { display: none; }

.sp-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.sp-titles { min-width: 0; }
.sp-title { font-family: var(--f-body); font-weight: 300; font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; margin: 0 0 4px; overflow-wrap: anywhere; }
.sp-artist { margin: 0 0 0 2px; font-size: 1.05rem; font-weight: 400; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Disco oscuro con anillo azul */
.sp-disc { position: relative; width: min(100%, 320px); aspect-ratio: 1; margin: 44px auto 6px; display: grid; place-items: center; }
.sp-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #1d1f26, #121318 72%); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
.sp-disc::after { content: ""; position: absolute; inset: 7.5%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.sp-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(110deg); overflow: visible; }
.sp-track, .sp-arc { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.sp-track { stroke: rgba(255,255,255,.06); stroke-dasharray: 525 590.6; }
.sp-arc { stroke: url(#spg); stroke-dasharray: 0 590.6; transition: stroke-dasharray 1s linear; filter: drop-shadow(0 0 3px rgba(127,166,232,.7)); }
.sp-plate { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 30px -8px rgba(0,0,0,.9); transform: scale(.96); transition: transform .8s var(--ease); }
.sp-plate img { width: 100%; height: 100%; object-fit: cover; animation: spin 60s linear infinite; animation-play-state: paused; }
html.is-playing .sp-plate { transform: none; }
html.is-playing .sp-plate img { animation-play-state: running; }
.sp-time { position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 6px; padding: 0 8px; font-size: .82rem; font-weight: 400; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-time i { font-style: normal; color: rgba(255,255,255,.35); }
.sp-playlist { text-align: center; margin: 22px 0 0; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.sp-controls { display: flex; align-items: center; justify-content: center; gap: 46px; margin: 30px 0 6px; }
.sp-mute { gap: 0; }
.sp-play {
  position: relative; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #000; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); transition: transform .3s var(--ease);
}
.sp-play:hover { transform: scale(1.05); }
.sp-play:active { transform: scale(.94); }
.sp-play .i { grid-area: 1 / 1; }
.sp-play .i:first-of-type { margin-left: 4px; }
.sp-play .spinner { border-top-color: var(--sp-blue-2); }

.sp-volume { justify-content: center; gap: 12px; margin: 20px auto 0; color: rgba(255,255,255,.5); }
.sp-volume .i { display: block !important; }
.sp-volume input[type=range] { width: 210px; }

.sp-section { margin-top: 34px; }
.sp-section h3 { font-family: var(--f-body); font-weight: 500; font-size: 1.3rem; color: #fff; margin: 0 0 16px; letter-spacing: -.01em; }
.sp-row, .sp-list li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.sp-row img, .sp-list img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,.08); }
.sp-row strong, .sp-list strong { display: block; font-weight: 400; font-size: 1rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row span, .sp-list span { display: block; font-size: .82rem; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row time, .sp-list time { font-size: .8rem; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.sp-row time { color: var(--sp-blue); }
.sp-list { gap: 0; }
.sp-list li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.06); }
.sp-list li:first-child { border-top: 0; padding-top: 0; }

/* ---------- WhatsApp y toast ---------- */
.wa-fab {
  position: fixed; z-index: 60; left: 20px; bottom: calc(var(--dock-h) + 28px + var(--safe-b));
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 16px rgba(10,14,22,.18), inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 22px rgba(10,14,22,.22), inset 0 0 0 1px rgba(255,255,255,.18); }
.wa-fab .i { width: 26px; height: 26px; }
/* Etiqueta "Únete hoy" como globo al pasar el mouse (solo computadora) */
.wa-fab span { position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-6px, -50%); padding: 7px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.wa-fab:hover span { opacity: 1; transform: translate(0, -50%); }
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(var(--dock-h) + 40px + var(--safe-b)); transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.65); padding: 80px 0 calc(var(--dock-h) + 24px + var(--safe-b)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.f-brand img { width: 130px; margin-bottom: 20px; }
.f-brand p { max-width: 320px; }
.f-mail { display: inline-flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 18px; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .25s var(--ease); }
.f-social a:hover { background: var(--red); transform: translateY(-3px); }
.f-links { display: grid; align-content: start; gap: 10px; }
.f-links a { transition: color .2s, padding .2s; width: fit-content; }
.f-links a:hover { color: #fff; padding-left: 4px; }
.f-jesus { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.f-jesus .i { color: var(--red); }
.f-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); gap: 10px; margin-bottom: 28px; }
.f-badges img { border-radius: 8px; }
.f-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store.sm { padding: 9px 14px; font-size: .92rem; border-radius: 12px; gap: 9px; }
.store.sm small { font-size: .62rem; }
.store.dark { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.store.dark small { color: rgba(255,255,255,.6); }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.f-bottom a { color: #fff; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal, html.no-io .reveal { opacity: 1; transform: none; }
main { animation: pagein .5s var(--ease); }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } }
html.navigating main { opacity: .4; transition: opacity .2s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .mission-grid, .about-grid, .app-grid, .donate-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-top: 32px; gap: 40px; }
  .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
  .np-float { left: 50%; transform: translateX(-50%); bottom: -22px; animation: none; width: max-content; max-width: calc(100% - 20px); }
  .hero-art.pod .np-float { left: 50%; right: auto; bottom: -6px; }
  .blog-feature { grid-template-columns: 1fr; }
  .post-grid, .programs, .pillars { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-apps { grid-column: 1 / -1; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .live-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .live-badges, .live-actions { justify-content: center; }
  .live .sheet-time { margin-inline: auto; }
  .live-info .eyebrow { justify-content: center; }
  .live-cols { text-align: left; max-width: 560px; margin: 0 auto; width: 100%; }
  .phone { transform: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; --dock-h: 60px; }
  body { font-size: 15.5px; }
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .logo img { height: 40px; }
  .site-header.scrolled { --header-h: 62px; }
  .scrolled .logo img { height: 36px; }
  .live-pill { padding: 11px 14px; font-size: .7rem; letter-spacing: .06em; }
  .live-pill .pt-label { display: none; }
  .live-pill::after { content: "En vivo"; }
  html.is-playing .live-pill::after { content: ""; }
  html.is-playing .live-pill .live-dot { display: none; }

  .hero-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-cta { margin: 24px 0 28px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .photo-hero-frame { aspect-ratio: 2.2 / 1; border-radius: 20px; }
  .photo-hero-frame img { object-position: 50% 40%; }
  .hero-art { grid-template-rows: 170px 150px 140px; gap: 10px; }
  .hero-art.pod { aspect-ratio: 1 / 1.2; }
  .pod-a { width: 94%; border-radius: 24px; }
  .pod-b { width: 74%; bottom: 17%; border-radius: 20px; box-shadow: 0 0 0 6px var(--sage), 0 24px 50px -20px rgba(17,21,28,.6); }
  .pod-a figcaption { left: 10px; top: 10px; padding: 6px 11px; font-size: .62rem; }
  .s1 { border-radius: 32px; }
  .s4 { border-radius: 120px 120px 28px 28px; }
  .np-float { bottom: -26px; }
  .hero-grid { padding-bottom: 64px; }
  .marquee span { font-size: .92rem; }

  .post-grid, .programs, .pillars, .steps, .partners, .contact-cards, .checks, .field-row { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .post-row { grid-template-columns: 92px 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member-info { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; }
  .member-info h3 { font-size: .95rem; }
  .member-info span { font-size: .6rem; }
  .mission-art { gap: 10px; }
  .donate-art { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-bottom { flex-direction: column; text-align: center; align-items: center; }
  .about-collage figure:nth-child(2) { margin-top: 28px; }
  .about-collage figure:nth-child(3) { margin-top: -28px; }
  .listen-cta .btn { width: 100%; }
  .article-cover { margin-bottom: -60px; }
  .article > .wrap.narrow { padding-top: 96px; }
  .prose { font-size: 1.05rem; }

  /* Player móvil */
  .dock { width: calc(100% - 20px); bottom: calc(10px + var(--safe-b)); padding: 0 6px 0 8px; }
  .dock-main { gap: 12px; }
  .dock-live { width: 36px; height: 36px; }
  .dock-vol, .dock-expand { display: none !important; }
  .dock-play { width: 46px; height: 46px; }
  .dock-title { font-size: .94rem; }
  .wa-fab { left: auto; right: 16px; bottom: calc(var(--dock-h) + 24px + var(--safe-b)); width: 48px; height: 48px; }
  .wa-fab .i { width: 24px; height: 24px; }
  .wa-fab span { display: none; }

  .sheet-panel { inset: 0; width: 100%; border-radius: 0; transform: translateY(100%); padding-top: env(safe-area-inset-top, 0px); box-shadow: none; }
  .sheet.open .sheet-panel { transform: translateY(var(--drag, 0px)); }
  .sp-head { padding: 24px 14px 4px; }
  .sp-body { padding: 14px 24px calc(28px + var(--safe-b)); }
  .sp-disc { width: min(100%, 80vw, 42svh); margin-top: 34px; }
  .sp-volume { display: none; }
  .sp-controls { gap: 44px; margin-top: 28px; }

  .live { padding-bottom: 56px; }
  .live-disc, .viz { width: min(320px, 82vw); }
  .play-btn.live-play { right: -8px; bottom: -8px; width: 76px; height: 76px; }
  .live-actions .btn { flex: 1 1 auto; }
}

@media (hover: none) {
  .shape img, .mission-art img, .about-collage img, .member img { filter: grayscale(.35); }
}

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