/* =========================================================================
   TV GROUP RETROX — Sistema de diseño
   Señal retro, interfaz moderna. Paleta CRT + tipografía de continuidad TV.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Paleta unificada (estilo política de privacidad) --- */
  --bg: #070b14;
  --bg-elevated: #0b1220;
  --bg-card: #101a2c;
  --bg-card-hover: #16213a;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  --red: #ff2fa0;
  --red-dim: #c41876;
  --blue: #2f7dff;
  --violet: #2fe6ff;
  --violet-soft: #8ff3ff;
  --silver: #8c97b3;
  --teal: #2fe6ff;
  --amber: #fbbf24;

  --white: #f1f5f9;
  --text: #eaf0fb;
  --text-dim: #8c97b3;

  /* --- Tipografía --- */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Layout --- */
  --header-h: 76px;
  --header-h-mobile: 62px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-pill: 999px;
  --max-w: 1280px;
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* --- Reseteo --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at top, #0b1220 0%, transparent 55%),
    radial-gradient(circle at 12% 20%, rgba(47,230,255, 0.12), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(47,125,255, 0.10), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255,47,160, 0.06), transparent 35%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

ul { list-style: none; }

button { font-family: inherit; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--violet);
}

/* =========================================================================
   MARCA
   ========================================================================= */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  line-height: 1;
}

.brand-tv { color: var(--silver); }
.brand-group { color: var(--blue); }
.brand-retrox { color: var(--red); }

/* =========================================================================
   ENCABEZADO / NAVEGACIÓN
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(7,11,20, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}

.desktop-nav ul { display: flex; align-items: center; gap: 8px; }

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: color 0.25s, background-color 0.25s;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--violet-soft);
  background: var(--bg-card);
}

.desktop-nav a.active {
  color: var(--white);
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}

.donate-pill {
  background: linear-gradient(135deg, var(--red), var(--red-dim)) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 18px rgba(255,47,160, 0.35);
}

.donate-pill::before { display: none; }

.hamburger-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-s);
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.hamburger-btn:hover { color: var(--red); border-color: var(--red); }

/* Panel lateral */
.overlay {
  position: fixed; inset: 0;
  background: rgba(4, 5, 8, 0.7);
  backdrop-filter: blur(2px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.overlay.active { opacity: 1; visibility: visible; }

.side-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(84vw, 340px);
  background: var(--bg-elevated);
  border-left: 1px solid var(--hairline-strong);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.22,.9,.32,1);
  z-index: 2000;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.side-panel.open { transform: translateX(0); }

.side-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.close-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-s);
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.25s, transform 0.25s, border-color 0.25s;
}

.close-btn:hover { color: var(--red); border-color: var(--red); transform: rotate(90deg); }

.side-panel ul { display: flex; flex-direction: column; gap: 6px; }

.side-panel a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 12px;
  border-radius: var(--radius-s);
  transition: color 0.25s, background-color 0.25s, padding-left 0.25s;
}

.side-panel a i { width: 22px; text-align: center; color: var(--text-dim); }

.side-panel a:hover, .side-panel a.active {
  color: var(--white);
  background: var(--bg-card);
  padding-left: 18px;
}

.side-panel a.active i { color: var(--red); }

.side-panel-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* =========================================================================
   BOTONES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--violet), var(--blue) 55%, var(--red));
  color: #071021;
  box-shadow: 0 10px 26px rgba(47,125,255, 0.35);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,47,160, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--hairline-strong);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--white); transform: translateY(-2px); }

.btn-whatsapp {
  background: #1fae57;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(31, 174, 87, 0.3);
}
.btn-whatsapp:hover { background: #24c765; transform: translateY(-2px); }

.btn-playstore {
  background: #0f9d58;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(15, 157, 88, 0.3);
  width: 100%;
  max-width: 380px;
}
.btn-playstore:hover { background: #12b567; transform: translateY(-2px); }

.btn-code {
  background: var(--bg-card);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  font-family: var(--font-mono);
  letter-spacing: 1px;
}
.btn-code:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); transform: translateY(-2px); }

.btn-paypal {
  background: linear-gradient(135deg, #ffc439, #ffb02e);
  color: #002d84;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 196, 57, 0.3);
}
.btn-paypal:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 196, 57, 0.42); }

.btn-block { width: 100%; }

/* =========================================================================
   HERO — INICIO
   ========================================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) clamp(20px, 5vw, 56px) 60px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 14px 0 20px;
}

.hero-copy h1 .brand-retrox { color: var(--red); }

.hero-copy p {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-tv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-tv img {
  width: auto;
  max-width: min(520px, 92vw);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(255,47,160,0.4));
  animation: float 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.6s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* =========================================================================
   HERO — SUBPÁGINAS
   ========================================================================= */
.hero-mini {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 20px 60px;
  position: relative;
  background:
    linear-gradient(160deg, rgba(7,11,20,0.94) 10%, rgba(7,11,20,0.75) 100%),
    radial-gradient(circle at 80% 0%, rgba(255,47,160,0.16), transparent 55%);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.hero-mini::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.hero-mini-icon {
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 0 40px rgba(255,47,160,0.18);
  font-size: 1.9rem;
  color: var(--red);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero-mini h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.hero-mini p {
  max-width: 600px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  position: relative;
  z-index: 1;
}

/* =========================================================================
   SECCIONES GENERALES
   ========================================================================= */
.section-divider {
  height: 1px;
  border: none;
  max-width: 80%;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--hairline-strong), transparent);
}

section { padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 56px); }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 6vw, 56px);
}

.section-head .eyebrow { display: block; margin-bottom: 14px; }

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}

.section-title span { color: var(--red); }

.section-lede { margin-top: 14px; font-size: 1.05rem; }

/* =========================================================================
   REPRODUCTOR EN VIVO
   ========================================================================= */
.tv-live-frame {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-l);
  padding: 14px;
  background: linear-gradient(155deg, #101a2c, #070b14);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline-strong);
  position: relative;
}

.tv-live-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 16px;
}

.channel-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  background: rgba(255,47,160,0.14);
  border: 1px solid rgba(255,47,160,0.4);
  padding: 5px 12px;
  border-radius: 999px;
}

.tv-live-screen {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--hairline-strong);
}

.tv-live-screen video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

/* =========================================================================
   CANALES
   ========================================================================= */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.channel-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: 34px 28px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.channel-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 18px 34px rgba(0,0,0,0.4);
}

.channel-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  display: block;
}

.channel-logo {
  max-width: 96px;
  margin-bottom: 20px;
}

.channel-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.channel-card p { font-size: 0.98rem; }

/* =========================================================================
   GALERÍA
   ========================================================================= */
.slider-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline-strong);
}

.slide {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.slide img:hover { opacity: 0.92; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  background: rgba(7,11,20,0.55);
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background-color 0.25s, border-color 0.25s;
  text-decoration: none;
  font-size: 1rem;
  user-select: none;
}

.prev { left: 16px; }
.next { right: 16px; }

.prev:hover, .next:hover { background: var(--red); border-color: var(--red); }

.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 24px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.fade { animation: fadeAnim 1.2s; }
@keyframes fadeAnim { from { opacity: 0.35; } to { opacity: 1; } }

.gallery-gap { height: clamp(50px, 8vw, 80px); }

/* --- Lightbox (visor de imagen completa) --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 4, 6, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lightboxFade 0.2s ease;
}
.lightbox-overlay.active { display: flex; }
@keyframes lightboxFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-s);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }

/* =========================================================================
   COMUNICADO
   ========================================================================= */
.comunicado-box {
  max-width: 940px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: inset 0 0 0 1px var(--hairline);
  border-left: 4px solid var(--red);
}

.comunicado-head { text-align: center; margin-bottom: 30px; }
.comunicado-head h3 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.comunicado-head p { font-size: 0.98rem; }

.comunicado-box p { margin-bottom: 16px; text-align: left; }

.comunicado-firma { margin-top: 36px; text-align: center; }

/* =========================================================================
   CONTACTO
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.contact-card h3 { font-size: 1.4rem; margin-bottom: 16px; letter-spacing: 1px; }
.contact-card p { margin-bottom: 12px; }
.contact-card strong { color: var(--teal); }

.horarios-list { max-width: 300px; }
.horarios-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
}
.horarios-list li:last-child { border-bottom: none; }
.horarios-list span { font-weight: 700; color: var(--white); font-family: var(--font-mono); font-size: 0.85rem; }
.horarios-list strong { color: var(--red); }

/* =========================================================================
   TARJETAS DE LOGO / INFO
   ========================================================================= */
.logo-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.logo-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  box-shadow: 0 0 0 3px var(--teal);
  margin-bottom: 20px;
}

.logo-info-card h3 { font-size: 1.35rem; margin-bottom: 14px; letter-spacing: 1px; }

.description-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  text-align: left;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.description-text.expanded { -webkit-line-clamp: unset; }

.show-more-btn {
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}

.show-more-btn:hover { color: var(--red); text-decoration: underline; }

/* =========================================================================
   DESCARGAS
   ========================================================================= */
.download-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: clamp(28px, 5vw, 44px);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.download-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.download-card h3 { font-size: 1.4rem; letter-spacing: 1px; }
.download-card > p { margin-bottom: 24px; }

.codes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.steps-list {
  margin-top: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius-m);
  padding: 28px clamp(18px, 4vw, 28px);
}

.steps-list h4 {
  font-size: 1.15rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--teal);
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 4px;
  border-bottom: 1px solid var(--hairline);
}

.step-item:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
  min-width: 28px;
  font-size: 0.95rem;
}

.step-text strong { color: var(--white); }

/* =========================================================================
   DONACIONES
   ========================================================================= */
.donate-wrap { display: flex; justify-content: center; }

.donate-card {
  max-width: 680px;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-l);
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
  border-top: 4px solid var(--amber);
}

.donate-card h3 { font-size: 1.9rem; margin-bottom: 18px; letter-spacing: 1px; }
.donate-card p { font-size: 1.05rem; margin-bottom: 22px; }
.donate-card strong { color: var(--white); }

.donate-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.donate-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* =========================================================================
   PIE DE PÁGINA
   ========================================================================= */
.site-footer {
  background: #000;
  border-top: 1px solid var(--hairline);
  padding: 60px 20px 30px;
  text-align: center;
}

.footer-brand { margin-bottom: 10px; }

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 14px 0 26px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}

.social-icons a {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  color: var(--text);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.25s, transform 0.25s, background-color 0.25s;
}

.social-icons a:hover { color: var(--white); background: var(--red); transform: translateY(-4px); }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.footer-nav a { text-decoration: none; color: var(--text); transition: color 0.25s; }
.footer-nav a:hover { color: var(--red); }

.visit-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.visit-counter i { color: var(--red); font-size: 0.9rem; }
.visit-counter span { color: var(--white); font-weight: 600; }

.footer-legal {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.8;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-tv { max-width: 560px; margin: 0 auto; order: -1; }
}

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  .site-header { height: var(--header-h-mobile); padding: 0 18px; }
  .hero, .hero-mini { padding-top: calc(var(--header-h-mobile) + 34px); }
}

@media (max-width: 640px) {
  .brand { font-size: 1.3rem; }
  .hero-copy h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .section-title { font-size: 1.7rem; }
  .comunicado-box { padding: 24px 18px; }
  .comunicado-box p { font-size: 0.92rem; }
  .prev, .next { width: 38px; height: 38px; font-size: 0.85rem; }
  .prev { left: 8px; } .next { right: 8px; }
  .download-card-head { flex-direction: column; text-align: center; }
  .step-item { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  section { padding-left: 16px; padding-right: 16px; }
  .btn { padding: 14px 22px; font-size: 0.95rem; }
}


/* =========================================================================
   Páginas legales (política de privacidad y similares)
   ========================================================================= */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 36px) 20px 80px;
}
.legal-page header.legal-header {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.legal-page h1 {
  font-family: var(--font-body);
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.legal-page .meta {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.legal-page h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--violet);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0;
  line-height: 1.3;
}
.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--violet-soft);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
  line-height: 1.3;
}
.legal-page p,
.legal-page li {
  color: var(--text);
}
.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.legal-page li { margin: 0.35rem 0; }
.legal-page a { color: var(--violet-soft); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
}
.legal-page footer.legal-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--text-dim);
  font-size: 0.9rem;
}

