﻿/* ==========================================================================
   RADIO SOLIDARIA 88.9 FM - SAN LUIS | SISTEMA DE DISENO ROJO Y BLANCO
   Estilo Glassmorphism, Rojo Brillante & Blanco Puro, PWA Ready, 100% Responsivo
   ========================================================================== */

:root {
  /* Paleta Oficial de Tonalidades Rojas & Blancas (Brand Remar / Radio Solidaria) */
  --red-primary: #DC2626;
  --red-light: #EF4444;
  --red-bright: #F87171;
  --red-dark: #B91C1C;
  --red-deep: #991B1B;
  --red-glow: rgba(220, 38, 38, 0.45);
  
  --red-accent: #E11D48;
  --red-accent-glow: rgba(225, 29, 72, 0.4);
  --white-accent: #FFFFFF;

  /* Fondos y Superficies Elegantes y Contrastantes */
  --bg-darkest: #0A0304;
  --bg-deep: #140507;
  --bg-surface: #1F080A;
  --bg-surface-elevated: #2A0B0E;
  --bg-card: rgba(32, 10, 13, 0.85);
  --bg-card-hover: rgba(45, 14, 18, 0.92);
  --bg-glass: rgba(28, 8, 11, 0.78);

  /* Bordes Luminosos Rojos */
  --border-red: rgba(239, 68, 68, 0.22);
  --border-red-hover: rgba(248, 113, 113, 0.55);
  --border-glow: 0 0 16px rgba(220, 38, 38, 0.35);

  /* Tipografia y Blancos */
  --text-pure: #FFFFFF;
  --text-white-soft: #FDF2F2;
  --text-muted: #FEE2E2;
  --text-dim: #D1B5B7;

  /* Colores de Accion */
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  /* Aliases para compatibilidad total de variables heredadas */
  --violet-primary: var(--red-primary);
  --violet-light: var(--red-light);
  --violet-bright: var(--red-bright);
  --violet-dark: var(--red-dark);
  --violet-deep: var(--red-deep);
  --violet-glow: var(--red-glow);
  --fuchsia-accent: var(--red-accent);
  --fuchsia-glow: var(--red-accent-glow);
  --border-violet: var(--border-red);
  --border-violet-hover: var(--border-red-hover);
  --text-lavender: var(--text-white-soft);

  /* Fuentes */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radios y Transiciones */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE GLOBAL
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-pure);
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 50% 0%, #300A0E 0%, #140507 45%, var(--bg-darkest) 100%);
  color: var(--text-muted);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TIPOGRAFIA Y GRADIENTES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--violet-light) 50%, var(--fuchsia-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-bright);
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* ==========================================================================
   BOTONES Y COMPONENTES REUTILIZABLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet-primary) 0%, var(--violet-dark) 100%);
  color: #fff;
  border: 1px solid var(--violet-bright);
  box-shadow: 0 4px 20px var(--violet-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(220, 38, 38, 0.7);
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--violet-primary) 100%);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #041a0b;
  box-shadow: 0 4px 18px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.65);
}

.btn-outline {
  border: 1px solid var(--border-violet);
  background: rgba(28, 8, 11, 0.5);
  color: var(--text-pure);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--violet-bright);
  background: rgba(220, 38, 38, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-pwa {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(225, 29, 72, 0.15));
  border: 1px solid var(--violet-bright);
  color: #ffffff;
}

.btn-pwa:hover {
  background: linear-gradient(135deg, var(--violet-primary), var(--fuchsia-accent));
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Tarjetas Glassmorphism */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-violet);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-violet-hover);
  box-shadow: 0 14px 40px rgba(220, 38, 38, 0.22);
}

/* ==========================================================================
   TOP BAR (Barra Superior Oficial)
   ========================================================================== */
.top-bar {
  background: rgba(6, 2, 14, 0.98);
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding: 0.4rem 0;
  position: relative;
  z-index: 60;
}

.top-bar-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem;
}

.top-bar-text {
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-text strong {
  color: var(--violet-bright);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: liveBlink 1.4s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.top-bar-link {
  color: var(--text-lavender);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-link strong {
  color: var(--whatsapp);
}

.top-bar-link:hover {
  color: var(--whatsapp);
}

/* ==========================================================================
   SITE HEADER & NAVBAR (Sticky Glassmorphic)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(12, 4, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.25);
  z-index: 50;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 2, 16, 0.98);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(168, 85, 247, 0.45);
}

.header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 74px;
  gap: 1.25rem;
}

.brand-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  max-height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(220, 38, 38, 0.4));
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

.frequency-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 1px solid #f87171;
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.775rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.55);
  white-space: nowrap;
}

.frequency-pill .freq-unit {
  color: #fca5a5;
  font-size: 0.7rem;
}

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 12px var(--violet-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-primary), var(--fuchsia-accent));
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-violet);
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: var(--violet-primary);
}

/* ==========================================================================
   HERO SECTION & REPRODUCTOR PRINCIPAL
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(1.4) hue-rotate(270deg);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 3, 20, 0.65) 0%, rgba(9, 3, 20, 0.92) 75%, var(--bg-darkest) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.frequency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: liveBlink 1.4s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-desc strong {
  color: var(--violet-bright);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-chip svg {
  color: var(--violet-bright);
}

/* Tarjeta del Reproductor Hero */
.hero-player-card {
  position: relative;
}

.player-glow-effect {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.35) 0%, rgba(225, 29, 72, 0.15) 50%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
}

.player-card-inner {
  position: relative;
  z-index: 1;
  background: rgba(28, 8, 11, 0.85);
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.player-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--violet-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--violet-light);
  letter-spacing: 0.05em;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet-bright);
}

.status-indicator.live {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: liveBlink 1.4s infinite;
}

.status-indicator.loading {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: liveBlink 0.8s infinite;
}

.stream-dial {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--fuchsia-accent);
}

.player-artwork-box {
  position: relative;
  width: 180px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  background: radial-gradient(circle, #3D0B12 0%, #1D0509 100%);
  border: 2px solid var(--violet-bright);
  box-shadow: 0 0 30px var(--violet-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  overflow: hidden;
}

.player-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.player-ring-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  animation: ringPulse 2.5s infinite;
}

@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.player-meta-box {
  margin-bottom: 1.25rem;
}

.player-station-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.player-station-subtitle {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Visualizador / Ecualizador */
.equalizer-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 38px;
  margin-bottom: 1.75rem;
}

.eq-bar {
  width: 5px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--fuchsia-accent), var(--violet-primary));
  transition: height 0.15s ease;
}

.eq-bar.animate {
  animation: eqJump 0.8s infinite ease-in-out alternate;
}

.eq-bar:nth-child(1)  { animation-delay: 0.05s; }
.eq-bar:nth-child(2)  { animation-delay: 0.35s; }
.eq-bar:nth-child(3)  { animation-delay: 0.15s; }
.eq-bar:nth-child(4)  { animation-delay: 0.55s; }
.eq-bar:nth-child(5)  { animation-delay: 0.25s; }
.eq-bar:nth-child(6)  { animation-delay: 0.45s; }
.eq-bar:nth-child(7)  { animation-delay: 0.10s; }
.eq-bar:nth-child(8)  { animation-delay: 0.60s; }
.eq-bar:nth-child(9)  { animation-delay: 0.30s; }
.eq-bar:nth-child(10) { animation-delay: 0.50s; }
.eq-bar:nth-child(11) { animation-delay: 0.20s; }
.eq-bar:nth-child(12) { animation-delay: 0.40s; }

@keyframes eqJump {
  0% { height: 6px; }
  50% { height: 28px; }
  100% { height: 12px; }
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-play-hero {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-primary), var(--violet-dark));
  border: 2px solid var(--violet-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px var(--violet-glow);
  transition: all var(--transition-normal);
}

.btn-play-hero:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(220, 38, 38, 0.8);
}

.btn-play-hero.playing {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: #f87171;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.7);
}

.volume-control-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.volume-control-box input[type="range"] {
  width: 85px;
  accent-color: var(--violet-bright);
  cursor: pointer;
}

.btn-icon {
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.btn-icon:hover {
  color: #fff;
}

.player-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
}

.stream-direct-link {
  color: var(--violet-light);
  text-decoration: underline;
}

/* ==========================================================================
   SECCION: MENSAJES AL AIRE (WHATSAPP FORM & INFO CARD)
   ========================================================================== */
.messages-section {
  background: radial-gradient(circle at 50% 100%, rgba(76, 29, 149, 0.25) 0%, transparent 60%);
}

.messages-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 2.25rem !important;
  align-items: stretch !important;
}

.form-card, .info-card {
  padding: 2.25rem !important;
  border-radius: var(--radius-xl) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-lavender);
}

.form-control {
  width: 100%;
  background: rgba(10, 4, 25, 0.85);
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--violet-bright);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
  background: rgba(15, 6, 35, 0.95);
}

.form-control option {
  background: var(--bg-surface);
  color: #ffffff;
}

.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.form-disclaimer strong {
  color: var(--whatsapp);
}

/* Tarjeta Lateral de Informacion */
.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--violet-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-bright);
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--violet-glow);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.info-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.info-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.info-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 8px var(--violet-bright);
  margin-top: 6px;
  flex-shrink: 0;
}

.info-features-list strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.info-features-list div {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cta-direct-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: auto;
}

.cta-direct-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   SECCION: NUESTRA IDENTIDAD & LABOR SOCIAL
   ========================================================================== */
.identity-section {
  background: radial-gradient(circle at 10% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
}

.identity-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.identity-text .body-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.identity-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-box {
  background: rgba(28, 8, 11, 0.8);
  border: 1px solid var(--border-violet);
  padding: 1.25rem 0.85rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--violet-bright);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--violet-bright);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.775rem;
  color: var(--text-dim);
  font-weight: 600;
}

.identity-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--violet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-bright);
  flex-shrink: 0;
}

.pillar-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pillar-item p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.image-stack {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--border-violet);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.stack-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.image-stack:hover .stack-main-img {
  transform: scale(1.04);
}

.stack-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(13, 5, 31, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--violet-bright);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 0 25px var(--violet-glow);
}

.badge-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.badge-sub {
  font-size: 0.775rem;
  color: var(--fuchsia-accent);
  font-weight: 700;
}

/* ==========================================================================
   SECCION: GALERIA & EQUIPO
   ========================================================================== */
.gallery-section {
  background: radial-gradient(circle at 90% 20%, rgba(225, 29, 72, 0.12) 0%, transparent 50%);
}

.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-violet);
  background: var(--bg-card);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  border-color: var(--violet-bright);
  box-shadow: 0 12px 35px var(--violet-glow);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 4, 25, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   SECCION: CONTACTO & PUBLICIDAD
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: stretch;
}

.contact-form-card, .contact-info-card {
  padding: 2.25rem;
  border-radius: var(--radius-xl);
}

.contact-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.contact-card-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--violet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-bright);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.775rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.contact-val {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

a.contact-val:hover {
  color: var(--whatsapp);
}

.pwa-card-callout {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(225, 29, 72, 0.1));
  border: 1px solid var(--violet-bright);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.pwa-card-callout strong {
  color: #fff;
  font-size: 1rem;
}

.pwa-card-callout p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PIE DE PAGINA (FOOTER PROFESIONAL Y LOGRADO)
   ========================================================================== */
.site-footer {
  background: #080203;
  border-top: 1px solid rgba(220, 38, 38, 0.25);
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-bright), transparent);
}

.footer-inner {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.2fr !important;
  gap: 3rem !important;
  padding-bottom: 3.5rem;
  align-items: start;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 12px rgba(220, 38, 38, 0.35));
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 380px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.badge-mini {
  display: inline-block;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--violet-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--violet-primary);
  border-radius: 2px;
}

/* Lista de enlaces limpios (sin viÃ±etas nativas) */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links-list a::before {
  content: '>';
  font-size: 0.75rem;
  color: var(--violet-light);
  transition: transform var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links-list a:hover::before {
  color: var(--fuchsia-accent);
}

.footer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-contact-line strong {
  color: #fff;
}

.footer-contact-line a {
  color: var(--text-lavender);
}

.footer-contact-line a:hover {
  color: var(--whatsapp);
}

.footer-bottom {
  background: #050102;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-inner code {
  color: var(--violet-light);
  background: rgba(220, 38, 38, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* ==========================================================================
   STICKY MINI-PLAYER (REPRODUCTOR INFERIOR)
   ========================================================================== */
.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 4, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-violet);
  padding: 0.65rem 0;
  z-index: 90;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-player.visible {
  transform: translateY(0);
}

.sticky-player-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sticky-artwork {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--violet-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sticky-artwork img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.sticky-text {
  display: flex;
  flex-direction: column;
}

.sticky-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
}

.sticky-status {
  font-size: 0.775rem;
  color: var(--violet-light);
}

.sticky-controls-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-play-sticky {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-primary), var(--violet-dark));
  border: 1px solid var(--violet-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 15px var(--violet-glow);
  transition: transform var(--transition-fast);
}

.btn-play-sticky:hover {
  transform: scale(1.08);
}

.sticky-volume-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-volume-box input[type="range"] {
  width: 75px;
  accent-color: var(--violet-bright);
}

/* ==========================================================================
   BOTON FLOTANTE WHATSAPP
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 85;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
}

.floating-wa-inner {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-darkest);
  text-transform: uppercase;
}

/* ==========================================================================
   MODALES (PWA & LIGHTBOX)
   ========================================================================== */
.pwa-modal-backdrop, .lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.5rem;
}

.pwa-modal-backdrop.active, .lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pwa-modal-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 2.25rem 2rem;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-violet);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(168, 85, 247, 0.2);
}

.pwa-modal-backdrop.active .pwa-modal-card {
  transform: scale(1);
}

.pwa-close-x-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.pwa-close-x-btn:hover {
  color: #fff;
}

.pwa-modal-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 25px var(--violet-glow);
  background: rgba(42, 8, 78, 0.6);
  padding: 6px;
  border: 2px solid var(--violet-bright);
}

.pwa-dialog-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pwa-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.pwa-detected-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: var(--violet-light);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.875rem;
}

.pwa-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.pwa-modal-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.pwa-direct-install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  box-shadow: 0 0 25px var(--violet-glow);
}

.pwa-tabs-nav {
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-violet);
  margin-bottom: 1.25rem;
}

.pwa-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.35rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pwa-tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.pwa-tab-btn.active {
  background: var(--violet-primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--violet-glow);
}

.tab-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.pwa-tab-pane {
  display: none;
  animation: paneFadeIn 0.25s ease-out;
  text-align: left;
}

.pwa-tab-pane.active {
  display: block;
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pwa-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pwa-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.835rem;
  line-height: 1.45;
  color: var(--text-light);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text {
  flex: 1;
}

.ios-share-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 800;
  font-size: 0.875rem;
}

.pwa-tip-box {
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: rgba(168, 85, 247, 0.08);
  border-left: 3px solid var(--violet-bright);
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.pwa-installed-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.installed-icon {
  font-size: 2.5rem;
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-violet);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   RESPONSIVIDAD Y BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-text-block {
    text-align: center;
    align-items: center;
  }
  .hero-ctas, .hero-features-list {
    justify-content: center;
  }
  .messages-grid, .identity-grid, .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
  }
  .identity-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: rgba(10, 4, 25, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-violet);
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 49;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 640px) {
  .top-bar {
    font-size: 0.725rem;
  }
  .top-bar-right {
    display: none !important;
  }
  .header-inner {
    height: 64px;
  }
  .brand-logo {
    height: 34px;
    max-width: 135px;
  }
  .nav-actions .btn span {
    display: none;
  }
  .nav-actions .btn {
    padding: 0.45rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .sticky-volume-box {
    display: none;
  }
}
.btn-pwa-install.installed {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: #22c55e !important;
  color: #22c55e !important;
  cursor: default !important;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3) !important;
}

/* ==========================================================================
   SECCION: ESCRIBINOS TE LEEMOS EN EL AIRE & EL TIEMPO EN SAN LUIS
   ========================================================================== */
.cbox-weather-section {
  position: relative;
  background-color: var(--bg-deep);
  overflow: hidden;
  padding: 5rem 0;
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border-red);
}

.cbox-weather-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: contrast(115%) brightness(55%);
  pointer-events: none;
}

.cbox-weather-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(32, 10, 13, 0.88) 0%, rgba(10, 3, 4, 0.98) 100%);
  pointer-events: none;
}

.cbox-weather-container {
  position: relative;
  z-index: 2;
}

.cbox-weather-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.25rem;
  align-items: start;
}

.cbox-column, .weather-column {
  display: flex;
  flex-direction: column;
}

.widget-red-header {
  text-align: center;
  margin-bottom: 1.15rem;
}

.widget-red-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #DC2626;
  text-shadow: 0 0 14px rgba(220, 38, 38, 0.5), 0 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.widget-red-sub {
  font-size: 0.9rem;
  color: #FFFFFF;
  opacity: 0.95;
}

.widget-cbox-card {
  background: rgba(22, 6, 8, 0.92);
  border: 1.5px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 38, 38, 0.18);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: 100%;
}

.widget-cbox-card iframe {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
  border: none;
  display: block;
  background: #ffffff;
}

.cbox-extra-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  flex-wrap: wrap;
}

.cbox-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cbox-hint strong {
  color: #ffffff;
}

.widget-weather-card {
  background: rgba(22, 6, 8, 0.92);
  border: 1.5px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 38, 38, 0.18);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.weather-iframe-box {
  width: 300px;
  max-width: 100%;
  height: 411px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: transparent;
  display: flex;
  justify-content: center;
}

.weather-iframe-box iframe {
  width: 300px;
  height: 411px;
  border: none;
  overflow: hidden;
  display: block;
}

@media (max-width: 960px) {
  .cbox-weather-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.5rem;
  }
  .weather-column {
    max-width: 400px;
    width: 100%;
  }
}

/* ==========================================================================
   SECCION: NOVEDADES EN REDES SOCIALES (FACEBOOK & YOUTUBE)
   ========================================================================== */
.social-section {
  padding: 5.5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1A070A 0%, var(--bg-darkest) 100%);
  border-bottom: 1px solid var(--border-red);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

.social-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(220, 38, 38, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.social-card:hover {
  border-color: var(--border-red-hover);
  box-shadow: 0 16px 45px rgba(220, 38, 38, 0.28);
  transform: translateY(-3px);
}

.social-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-card-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.social-brand-icon.fb {
  background: #1877F2;
  color: #FFFFFF;
}

.social-brand-icon.yt {
  background: #DC2626;
  color: #FFFFFF;
}

.social-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.social-card-handle {
  font-size: 0.825rem;
  color: var(--text-dim);
}

.social-btn-link {
  font-size: 0.8125rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}

.fb-container-responsive {
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 500px;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.fb-container-responsive iframe {
  width: 100% !important;
  max-width: 500px;
  height: 500px;
  border: none;
  overflow: hidden;
}

.yt-container-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.25rem;
}

.yt-container-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-card-info {
  background: rgba(10, 3, 4, 0.65);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.yt-info-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.yt-channel-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #DC2626;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
}

.yt-channel-link-btn:hover {
  background: #EF4444;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   BANNER FLOTANTE DE INSTALACION PWA EN ANDROID
   ========================================================================== */
.pwa-android-float-banner {
  position: fixed;
  bottom: 82px;
  left: 1rem;
  right: 1rem;
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1A070A 0%, #2D0C10 100%);
  border: 1.5px solid #EF4444;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(220, 38, 38, 0.45);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 990;
  animation: pwaSlideUp 0.35s ease-out;
}

.pwa-android-float-banner.visible {
  display: flex;
}

.pwa-float-banner-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pwa-float-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.pwa-float-banner-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.pwa-float-banner-desc {
  font-size: 0.75rem;
  color: #FECACA;
  margin: 0;
}

.pwa-float-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pwa-float-close-btn {
  background: none;
  border: none;
  color: #C5A5A7;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

@keyframes pwaSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}