/* =========================================
   BASE — Variables, reset y utilidades
   ========================================= */

:root {
  /* === PALETA === */

  /* Principal: teal del logo y derivados */
  --teal: #1E7682;
  --teal-oscuro: #0F4951;
  --teal-claro: #2A9BAA;
  --teal-muy-oscuro: #0A2E33;

  /* Acentos */
  --lima: #C5F408;          /* acción, CTAs, energía */
  --lima-suave: #D4F73C;    /* hover del lima */
  --cian: #44DCF1;          /* highlights, detalles, líneas */
  --cian-suave: #6FE5F4;    /* hover del cian */

  /* Neutros */
  --fondo: #F5FAFB;         /* blanco azulado para el body */
  --fondo-alt: #E8F4F6;     /* alternativa para secciones */
  --texto: #0F2F35;         /* oscuro alineado con teal */
  --texto-suave: #4A6970;
  --blanco: #ffffff;

  /* === Aliases semánticos (si en el futuro cambias la paleta, solo tocas estos) === */
  --color-principal: var(--teal);
  --color-principal-oscuro: var(--teal-oscuro);
  --color-principal-claro: var(--teal-claro);
  --color-accion: var(--lima);
  --color-accion-hover: var(--lima-suave);
  --color-detalle: var(--cian);

  /* === Tipografía === */
  --fuente-display: 'Cormorant Garamond', Georgia, serif;
  --fuente-cuerpo: 'Inter', system-ui, sans-serif;

  /* === Dimensiones === */
  --header-h: 90px;
  --player-h: 78px;
  --max-w: 1280px;

  /* === Sombras === */
  --sombra-suave: 0 4px 20px rgba(15, 73, 81, 0.08);
  --sombra-media: 0 8px 30px rgba(15, 73, 81, 0.15);
  --sombra-fuerte: 0 12px 40px rgba(15, 73, 81, 0.25);
  --sombra-lima: 0 8px 24px rgba(197, 244, 8, 0.35);

  /* === Transiciones === */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* === Botones === */
.btn {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--lima);
  color: var(--teal-muy-oscuro);
  box-shadow: var(--sombra-lima);
}
.btn-primary:hover {
  background: var(--lima-suave);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 244, 8, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  background: rgba(68, 220, 241, 0.1);
  border-color: var(--cian);
  color: var(--cian);
}

/* === Reveal (animación al hacer scroll) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Footer-spacer y contenedor sticky-player ===
   El reproductor ahora vive dentro de un contenedor con position: sticky
   que se queda anclado al fondo del viewport mientras el contenedor
   está visible, y se desplaza con él cuando llegamos al footer.
*/
.player-stage {
  position: relative;
  /* altura mínima para que el sticky tenga "pista" hasta justo antes del footer */
}

/* === Accesibilidad: respeta usuarios que prefieren menos animación === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
/* =========================================
   HEADER
   ========================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.4s var(--ease);
  background: linear-gradient(90deg, rgba(42, 155, 170, 0.95) 0%, rgba(30, 118, 130, 0.95) 50%, rgba(15, 73, 81, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(68, 220, 241, 0.18);
}
 .frutos {
  display: flex;
  gap: 10px;
  justify-content: space-evenly;
  color: whitesmoke;
  padding: 0.5rem 0;
  
  max-height: 40px; /* ajusta a tu altura real */
  opacity: 1;
  overflow: hidden;

  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.frutos.oculto {
  max-height: 0;
  opacity: 0;
  padding: 0;
}

.site-header.scrolled {
  height: 70px;
  background: linear-gradient(90deg, rgba(42, 155, 170, 0.98) 0%, rgba(30, 118, 130, 0.98) 50%, rgba(15, 73, 81, 0.98) 100%);
  box-shadow: 0 4px 30px rgba(15, 73, 81, 0.2);
}

.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--blanco);
}
.logo-mark {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Sombra suave para dar relieve al logo sobre la cabecera */
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}
.logo:hover .logo-mark {
  transform: scale(1.05);
}

.logo-text, .logo-text-p {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .nombre, .logo-text-p .nombre {
  font-family: var(--fuente-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.logo-text .lema {
  font-size: 0.7rem;
  color: var(--cian);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Navegación */
.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--cian);
  transition: all 0.35s var(--ease);
  transform: translateX(-50%);
}
.nav a:hover { color: var(--cian); }
.nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--lima);
  color: var(--teal-muy-oscuro) !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
.nav-cta:hover {
  background: var(--lima-suave);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 244, 8, 0.5);
}
.nav-cta::after { display: none; }

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--blanco);
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.logo-text-p {
  display: none;
}
/* Responsive */
@media (max-width: 1000px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--teal-oscuro);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(68, 220, 241, 0.18);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 640px) {

  :root { --header-h: 70px; }
  .header-inner { padding: 0 1rem;}
  .logo-text .nombre { font-size: 1.2rem; }
  .logo-text .lema { font-size: 0.6rem; letter-spacing: 1.5px; }
}/* =========================================
   HERO
   ========================================= */

.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(68, 220, 241, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(197, 244, 8, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--teal-muy-oscuro) 0%, var(--teal-oscuro) 50%, var(--teal) 100%);
  color: var(--blanco);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Partículas decorativas */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(68, 220, 241, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(197, 244, 8, 0.4), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 90% 50%, rgba(68, 220, 241, 0.4), transparent);
  background-size: 300px 300px;
  animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Glow lateral sutil */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 244, 8, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}


.hero-eyebrow {
  display: inline-block;
  color: var(--cian);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}
/* Líneas decorativas a los lados del eyebrow */
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--cian);
  opacity: 0.5;
}
.hero-eyebrow::before { right: 100%; }
.hero-eyebrow::after  { left: 100%; }

.hero h1 {
  font-family: var(--fuente-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--lima) 0%, var(--cian) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animación escalonada al cargar */
.hero .reveal:nth-child(1) { transition-delay: 0.2s; }
.hero .reveal:nth-child(2) { transition-delay: 0.4s; }
.hero .reveal:nth-child(3) { transition-delay: 0.6s; }
.hero .reveal:nth-child(4) { transition-delay: 0.8s; }

/* Indicador scroll */
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(68, 220, 241, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}/* =========================================
   SECCIONES DE CONTENIDO
   ========================================= */

main { position: relative; }

.seccion {
  padding: 6rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

/* Etiqueta tipográfica antes del título (decorativa) */
.seccion h2 {
  font-family: var(--fuente-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal-oscuro);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Línea decorativa bajo el h2 */
.seccion h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--lima), var(--cian));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.seccion p {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--texto-suave);
  font-size: 1.05rem;
}

/* Fondo alterno para secciones pares (opcional, lo activaremos luego) */
.seccion.alt {
  background: var(--fondo-alt);
  max-width: 100%;
  width: 100%;
}
.seccion.alt > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  width: 100%;
  max-width: 951px;    /* no crece más de su tamaño original */
  margin: 0 auto;
}

.video-wrapper iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;        /* equivale a frameborder="0" */
  border-radius: 12px; /* opcional, queda bien */
}

@media (max-width: 640px) {
  .seccion { padding: 4rem 1.25rem; }
}/* =========================================
   LANG SWITCHER · selector de idioma
   ========================================= */

.lang-switcher {
  position: relative;
}

/* Botón disparador */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(68, 220, 241, 0.25);
  border-radius: 50px;
  color: var(--blanco);
  font-family: var(--fuente-cuerpo);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.lang-toggle:hover {
  background: rgba(68, 220, 241, 0.15);
  border-color: var(--cian);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 1px;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.3s var(--ease);
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

/* Menú desplegable */
.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: rgba(15, 73, 81, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(68, 220, 241, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 1001;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li {
  display: block;
}

.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--fuente-cuerpo);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-menu button:hover {
  background: rgba(68, 220, 241, 0.12);
  color: var(--blanco);
}

.lang-menu button.is-active {
  color: var(--cian);
  background: rgba(68, 220, 241, 0.1);
}

.lang-menu .lang-name {
  flex: 1;
}

.lang-menu .check {
  width: 16px;
  height: 16px;
  color: var(--lima);
}

/* Responsive */
@media (max-width: 900px) {
  .lang-switcher { margin-right: 0.5rem; }
  .lang-menu { right: 0; left: auto; }
}

@media (max-width: 640px) {
  .lang-toggle {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }
  .lang-code { display: none; }
}
/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background: linear-gradient(160deg, var(--teal-muy-oscuro) 0%, var(--teal-oscuro) 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 2rem 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding-bottom: calc(78px + 2rem);
}

/* Línea de acento arriba */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lima) 40%, var(--cian) 100%);
  opacity: 0.7;
}

/* Círculo decorativo de fondo */
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 220, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

/* =========================================
   GRID DE COLUMNAS
   ========================================= */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(68, 220, 241, 0.12);
}

/* === Col 1: Brand === */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cian);
  opacity: 0.85;
}

/* Lista de contacto */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cian);
  opacity: 0.8;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover {
  color: var(--cian);
}

/* === Títulos de columna === */
.footer-col-titulo {
  font-family: var(--fuente-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--blanco);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-titulo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--lima), var(--cian));
  border-radius: 2px;
}

/* === Col 2: Horarios === */
.footer-horarios {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-horarios li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-horarios li:last-child {
  border-bottom: none;
}

.footer-horarios .dia {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lima);
  opacity: 0.9;
}

.footer-horarios .hora {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bienvenida {
  margin-top: 1.25rem;
  font-family: var(--fuente-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* === Col 3: Navegación === */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.footer-nav a::before {
  content: '→';
  font-size: 0.7rem;
  color: var(--lima);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  color: var(--blanco);
  gap: 0.75rem;
}
.footer-nav a:hover::before {
  opacity: 1;
}

/* =========================================
   REDES SOCIALES
   ========================================= */

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(68, 220, 241, 0.12);
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.04);
}

.social-btn svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: var(--blanco);
}

.social-btn--facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.5);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.2);
}

.social-btn--youtube:hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.15);
}

.social-btn--instagram:hover {
  background: rgba(225, 48, 108, 0.15);
  border-color: rgba(225, 48, 108, 0.4);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.15);
}

/* =========================================
   COPYRIGHT
   ========================================= */

.footer-copyright {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-copyright p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    grid-column: 1 / -1; /* ocupa las 2 columnas */
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-logo { width: 90px; }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-social {
    gap: 0.75rem;
  }
  .social-btn span {
    display: none; /* solo icono en móvil */
  }
  .social-btn {
    padding: 0.6rem;
    border-radius: 50%;
  }
}
/* =========================================
   REPRODUCTOR DE AUDIO

   IMPORTANTE: el comportamiento "fijo abajo + se ancla al footer"
   se consigue con position: sticky en lugar de fixed + JS.
   Esto elimina el bug de salto al hacer scroll rápido.

   Estructura HTML necesaria:
     <div class="player-stage">
       <div class="audio-player">...</div>
     </div>
     <footer>...</footer>

   El .player-stage envuelve toda la zona donde queremos que el
   player esté visible (desde el final del hero hasta antes del
   footer). El .audio-player con sticky se queda pegado abajo
   mientras estemos dentro de .player-stage.
   ========================================= */

.player-stage {
  position: relative;
  /* El stage no necesita altura fija: ya la aporta el contenido (main).
     Solo nos aseguramos de que el sticky tenga contexto. */
}

.audio-player {
  /* position: sticky;
  bottom: 0; */
  height: var(--player-h);
  z-index: 999;
  background: linear-gradient(135deg, rgba(15, 73, 81, 0.85) 0%, rgba(30, 118, 130, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(68, 220, 241, 0.22);
  box-shadow: 0 -8px 32px rgba(15, 73, 81, 0.25);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  /* Nota: NO transition en bottom/position. Sticky se mueve solo. */
}

.player-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--blanco);
}

/* === Botón play/pause === */
.play-btn {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--lima);
  color: var(--teal-muy-oscuro);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
  position: relative;
}
.play-btn:hover {
  background: var(--lima-suave);
  transform: scale(1.08);
  box-shadow: var(--sombra-lima);
}
.play-btn svg { width: 22px; height: 22px; }
.play-btn .icon-pause { display: none; }
.play-btn.playing .icon-play { display: none; }
.play-btn.playing .icon-pause { display: block; }

/* Pulso cuando reproduce */
.play-btn.playing::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--lima);
  animation: pulse-ring 1.5s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Estado cargando */
.play-btn.loading { pointer-events: none; }
.play-btn.loading::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--teal-muy-oscuro);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.play-btn.loading svg { opacity: 0.3; }

/* === Info === */
.player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.live-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 53, 69, 0.18);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff7080;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.live-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff4757;
  animation: live-blink 1.5s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.player-text {
  min-width: 0;
  flex: 1;
}
.player-text .titulo {
  font-family: var(--fuente-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blanco);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-text .subtitulo {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Ondas === */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}
.waveform span {
  display: block;
  width: 3px;
  background: var(--cian);
  border-radius: 2px;
  height: 30%;
  transition: height 0.2s ease;
}
.audio-player.is-playing .waveform span {
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1) { animation-delay: 0s; }
.waveform span:nth-child(2) { animation-delay: 0.15s; }
.waveform span:nth-child(3) { animation-delay: 0.3s; }
.waveform span:nth-child(4) { animation-delay: 0.45s; }
.waveform span:nth-child(5) { animation-delay: 0.6s; }
@keyframes wave {
  0%, 100% { height: 25%; }
  50% { height: 90%; }
}

/* === Volumen === */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.volume-control svg {
  width: 20px; height: 20px;
  color: rgba(255, 255, 255, 0.7);
}
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cian);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--lima);
}
.volume-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cian);
  border: none;
  cursor: pointer;
}
/* === Info de la canción en directo === */
#player-info {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

#player-info > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#titulo {
  font-family: var(--fuente-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blanco);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#artista {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Responsive === */
@media (max-width: 640px) {
  :root { --player-h: 68px; }
  .player-inner { padding: 0 0.8rem; gap: 0.8rem; }
  .volume-control, .waveform { display: none; }
  .play-btn { width: 44px; height: 44px; }
  .player-text .titulo { font-size: 0.9rem; }
  .player-text .subtitulo { font-size: 0.7rem; }
  #titulo { font-size: 0.85rem; }
  #artista { font-size: 0.72rem; }
}
/* =========================================
   CÓMO LLEGAR — Sección con mapa
   ========================================= */

.seccion--como-llegar {
  padding: 6rem 2rem;
  max-width: 100%;
  width: 100%;
  background: var(--fondo-alt);
}

.como-llegar-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* =========================================
   COLUMNA DE TEXTO
   ========================================= */

.como-llegar-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.25rem;
}
.como-llegar-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background: var(--cian);
  border-radius: 2px;
}

.como-llegar-info h2 {
  font-family: var(--fuente-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--teal-oscuro);
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: left;
}
.como-llegar-info h2::after { display: none; }

/* Lista de datos */
.como-llegar-datos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.como-llegar-datos li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dato-icono {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(30,118,130,0.12);
  display: grid;
  place-items: center;
  box-shadow: var(--sombra-suave);
}
.dato-icono svg {
  width: 18px; height: 18px;
  color: var(--teal);
}

.dato-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}

.dato-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--texto-suave);
  font-weight: 600;
}

.dato-valor {
  font-size: 0.95rem;
  color: var(--texto);
  line-height: 1.5;
}

.dato-link {
  font-size: 0.9rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.dato-link:hover { color: var(--teal-oscuro); }

/* Botón */
.como-llegar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* =========================================
   MAPA
   ========================================= */

.como-llegar-mapa {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra-fuerte);
  border: 2px solid rgba(30,118,130,0.12);
  position: relative;
}

#mapa-iglesia {
  width: 100%;
  height: 420px;
  z-index: 1;
}

/* Popup del marcador de la iglesia */
/* .popup-iglesia {
  padding: 0;
}
.popup-iglesia-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-oscuro);
  padding: 0.85rem 1rem 0.3rem;
}
.popup-iglesia-dir {
  font-size: 0.8rem;
  color: var(--texto-suave);
  padding: 0 1rem 0.75rem;
  line-height: 1.5;
} */

/* =======================================
==
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .como-llegar-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .como-llegar-info h2 { text-align: center; }
  .como-llegar-eyebrow { display: block; text-align: center; padding-left: 0; }
  .como-llegar-eyebrow::before { display: none; }
  .como-llegar-datos { max-width: 440px; margin-left: auto; margin-right: auto; }
  .como-llegar-btn { display: flex; justify-content: center; }
  #mapa-iglesia { height: 320px; }
}

@media (max-width: 580px) {
  .seccion--como-llegar { padding: 4rem 1.25rem; }
  #mapa-iglesia { height: 280px; }
}
