/* --------------------------------------------------
   VARIABLES GLOBALES
-------------------------------------------------- */
:root {
  --bg-dark: #070707;
  --panel: #151515;
  --panel-2: #191919;
  --accent: #ff1186;
  --muted: #bfbfbf;
}

/* --------------------------------------------------
   RESET Y ESTILOS BASE
-------------------------------------------------- */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #000;
  color: #fff;
  background: #000 url('../images/fnd.jpg') center top / cover no-repeat fixed;
}

/* --------------------------------------------------
   TOPBAR
-------------------------------------------------- */
.topbar {
  height: 38px;
  background: rgba(10,10,10,0.95);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  gap: 12px;
  font-size: 13px;
}

.topbar .icons {
  display: flex;
  gap: 10px;
  opacity: 0.95;
}

/* --------------------------------------------------
   HEADER MODERNO
-------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #000;
  border-bottom: 3px solid #8a0030;
  padding: 12px 0;
}

.header-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.header-logo {
  font-family: 'Bebas Neue';
  font-size: 52px;
  letter-spacing: 5px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.header-logo {
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

@media (max-width: 850px) {
  .header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .header-logo-wrapper {
    grid-column: 2;
    justify-self: center;
  }

  .menu-btn {
    grid-column: 3;
    justify-self: end;
  }
}

/* MENÚ PC */
.menu-pc {
  display: flex;
  gap: 12px; /* antes 22px */
}

.menu-pc a {
  color: #ccc;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 4px;
  border-radius: 3px;
  transition: 0.3s;
}

.menu-pc a:hover { color: #fff; }

.menu-pc a.active {
  color: #fff;
  border-bottom: 2px solid var(--accent);
}

/* BOTÓN HAMBURGUESA */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-btn span {
  width: 32px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* MENÚ MÓVIL */
.menu-movil {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  align-items: center;
  text-align: center;
  background: #0b0b0b;
  backdrop-filter: blur(6px);
  border-bottom: 3px solid #8a0030;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  z-index: 9998;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.menu-movil.open {
  max-height: 500px;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-movil a {
  color: #ddd;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #1b1b1b;
  letter-spacing: 1px;
  transition: 0.25s;
}

.menu-movil a:last-child { border-bottom: none; }

.menu-movil a:hover { color: #fff; padding-left: 6px; }

.menu-movil a.active {
  color: var(--accent);
  font-weight: 700;
}

/* MOSTRAR HAMBURGUESA EN MOVIL */
@media(max-width:850px) {
  .menu-pc { display: none; }
  .menu-btn { display: flex; }
}

/* FIX HEADER SOLO EN PC */
@media(min-width: 851px) {
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  /* Evitar que el contenido quede oculto detrás del header */
  body {
    padding-top: 10px; /* ajusta según la altura real del header */
  }
}

/* EFECTO AÑO NUEVO LOGO */
/* =========================
   FIREWORKS LOGO FX
========================= */

.header-logo-wrapper {
  position: relative;
  display: inline-block;
}

/* Canvas detrás del logo */
#fireworksCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Logo por encima */
.header-logo {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */
.site-wrap { max-width: 1100px; margin: 0 auto; }

.hero {
  max-width: 1100px;
  margin: 26px auto 0;
  padding: 18px;
  background: linear-gradient(#1a1a1a, #111);
  border: 8px solid #222;
  position: relative;

  /* Fondo texturizado detrás de las imágenes */
  background-image: repeating-linear-gradient(
      45deg,
      rgba(34,34,34,0.6),
      rgba(34,34,34,0.6) 10px,
      rgba(17,17,17,0.6) 10px,
      rgba(17,17,17,0.6) 20px
  );
  background-blend-mode: overlay;
}

/* Imágenes siempre encima del fondo */
.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16/6;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* TEXTO SOBRE HERO */
.hero .label {
  position: absolute;
  left: 20px;
  bottom: 28px;
  background: var(--accent);
  padding: 10px 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 3;
}

/* FLECHAS HERO */
.hero .arrows {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero .arrows button {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  border: none;
  background: #111;
  color: #fff;
  opacity: 0.85;
}

/* RESPONSIVE HERO */
@media(max-width:750px) {
  .hero .label {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
  }
}

/* --------------------------------------------------
   CONTENIDO — INDEX Y GENERAL
-------------------------------------------------- */
.content-index {
  max-width: 1100px;
  margin: 22px auto;
  background: linear-gradient(#151515, #0f0f0f);
  border: 6px solid #1f1f1f;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1.5fr minmax(260px, 320px);
  gap: 22px;
}

.content {
  max-width: 1100px;
  margin: 22px auto;
  padding: 20px;
  background: linear-gradient(#151515, #0f0f0f);
  border: 6px solid #1f1f1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.album-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 4px solid #111;
}

.video-wrapper {
    position: relative;
    overflow: hidden; /* Asegura que no se salga del contenedor */
    padding: 0;       /* Elimina cualquier padding extra */
    margin: 0;        /* Elimina márgenes extra */
    height: 100%;     /* Ajusta el contenedor a su contenedor principal */
    width: 100%;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción, sin espacio vacío */
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* whatsapp slider mensajes inicio */
.btn-whatsapp-slider {
  display: inline-block;
  padding: 14px 22px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  overflow: hidden;
}

#whatsappText {
  display: inline-block;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   SECCIÓN NOTICIAS INICIO
========================= */
.noticias-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.noticia-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #111;
    padding: 10px 14px;
    border: 2px solid #1d1d1d;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s;
    margin-bottom: 16px; /* espacio fijo entre todas */
}

.noticia-card:hover {
    border-color: #ff1186;
}

.noticia-img {
    flex-shrink: 0;
    width: 90px;
    height: 68px;
    overflow: hidden;
    border: 3px solid #000;
    border-radius: 4px;
}

.noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.noticia-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

.noticia-info small {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 4px;
}

.noticia-info h4 {
    font-size: 14px;
    color: #fff;
    margin: 0 0 4px 0; /* margen controlado */
    font-family: 'Oswald', sans-serif;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticia-info p {
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
    margin: 0; /* eliminar margen extra */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media(max-width:600px){

    .noticia-card {
        flex-direction: column;
        align-items: center; /* centra el bloque completo */
        gap: 10px;
        text-align: center;  /* 🔥 centra texto */
    }

    .noticia-info {
        width: 100%;
        align-items: center;
        text-align: center; /* 🔥 aquí va el “center” moderno */
    }

    .noticia-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        max-height: 140px;
    }

    .noticia-info h4 {
        -webkit-line-clamp: 2;
        font-size: 13px;
    }

    .noticia-info p {
        -webkit-line-clamp: 3;
        font-size: 12px;
    }
}


.news-card:hover {
  border-color: var(--accent);
}

.news-img img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border: 3px solid #000;
  /* Fondo texturizado detrás de las imágenes */
  background-image: repeating-linear-gradient(
      45deg,
      rgba(34,34,34,0.6),
      rgba(34,34,34,0.6) 10px,
      rgba(17,17,17,0.6) 10px,
      rgba(17,17,17,0.6) 20px
  );
  background-blend-mode: overlay;
}

.news-info {
  flex: 1;
  overflow: hidden;
}

.news-info small {
  font-size: 11px;
  opacity: 0.6;
}

.news-info h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  margin: 3px 0;
  max-height: 32px;
  line-height: 1.2;
  color: #fff;
}

.news-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  line-height: 1.4;
}

/* --------------------------------------------------
   PROGRAMAS
-------------------------------------------------- */
.right-box { margin-left: 50px; }

.tour-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.tour-info p {
  margin: 0;
  font-size: 13px;
  color: #d9d9d9;
}

.tour-info a {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 3px;
  text-decoration: none;
}

.tour-pagination {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.tour-next-btn {
  width: 28px;
  height: 28px;
  font-size: 16px;
  background: #111;
  border: 2px solid #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.tour-next-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* TOUR DATE */
.tour-date {
  width: 58px;
  padding: 10px 6px;
  background: #1b1b1b;
  border-left: 4px solid rgba(255,255,255,0.04);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tour-date .day {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 4px;
}

.tour-date .month {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.7;
}

.video-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border: 3px solid #111;
}

/* --------------------------------------------------
   SLIDER AUTOMÁTICO PROGRAMAS
-------------------------------------------------- */
.slider-programas {
  width: 100%;
  max-width: 900px;
  height: 200px;
  margin: 12px auto 20px auto;
  position: relative;
  overflow: hidden;
  border: 4px solid #1f1f1f;
  background: #111;
}

.slider-programas img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-programas img.slide-activa {
  opacity: 1;
}

/* BUSCADOR INICIO */
.buscador-general{
    display:flex;
    align-items:center;
    background:#111;
    border:1px solid #333;
    border-radius:30px;
    padding:6px 12px;
    margin-bottom:18px;
    max-width:420px;
}

.buscador-general input{
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    color:#fff;
    font-size:14px;
    padding:6px 8px;
}

.buscador-general input::placeholder{
    color:#888;
}

.buscador-general button{
    background:none;
    border:none;
    color:#ff1186;
    font-size:16px;
    cursor:pointer;
    padding:4px 8px;
}

.buscador-general button:hover{
    color:#fff;
}

/* ==========================
   BOTON YOUTUBE
========================== */
.btn-youtube-slider {
    display: block;
    text-align: center;
    width: 100%;
    background: #cc0000;
    color: #fff;
    padding: 6px 0;
    margin-top: 6px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-youtube-slider:hover {
    background: #ff0000;
}

/* ==========================
   BOTÓN WHATSAPP
========================== */
.btn-whatsapp-slider {
    display: block;
    text-align: center;
    width: 100%;
    background: #136f46; /* verde más oscuro y sobrio */
    color: #fff;
    padding: 6px 0;
    margin-top: 6px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp-slider:hover {
    background: #1fa463; /* verde más claro al hover */
}

/* ==========================
   BOTON PEDIDOS
========================== */
.btn-pedidos-slider {
    display: block;
    text-align: center;
    width: 100%;
    background: #ff3300; /* color principal */
    color: #fff;
    padding: 6px 0;
    margin-top: 6px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-pedidos-slider:hover {
    background: #ff6600; /* hover más intenso */
}

/* TITULO SECCION */
.titulo-estilo {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #fff;
  width: 100%;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin: 0 0 10px 0;
  text-align: left;
}

/* INTRODUCCION SECCION */
.texto-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 32px;
  text-align: left;
}

.seccion-box {
  width: 100%;
  max-width: 900px;
  align-self: center;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background: #0d0d0d;
  padding: 36px 20px;
  margin-top: 28px;
  color: #bdbdbd;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.site-footer h5 {
  margin-bottom: 12px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  color: #fff;
}

.site-footer p,
.site-footer a {
  font-size: 14px;
  margin: 2px 0;
  color: #bdbdbd;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------
   CONTENEDOR DE LA IMAGEN FOOTER
-------------------------------------------------- */
.footer-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

/* --------------------------------------------------
   LA IMAGEN (Nueva clase)
-------------------------------------------------- */
.imagen-footer-contacto {
    max-width: 100%;
    height: auto;
    display: block;
    
    /* --- TAMAÑO PEQUEÑO (Escritorio) --- */
    width: 100px; 
    
    /* Estado Inicial: Gris y 70% opacidad */
    opacity: 0.7;
    filter: grayscale(100%);
    
    /* Preparación para el resplandor */
    border-radius: 8px;
    
    /* Transición suave para todos los efectos */
    transition: all 0.3s ease-in-out;
}

/* --- EFECTO HOVER --- */
.imagen-footer-contacto:hover {
    opacity: 1;
    filter: grayscale(0%);
    
    /* --- ZOOM MÁS PEQUEÑO --- */
    /* Reducido de 1.1 (10%) a 1.03 (3%) */
    transform: scale(1.03); 
    cursor: pointer;
}

/* --- AJUSTE PARA MÓVIL --- */
@media (max-width: 768px) {
    .imagen-footer-contacto {
        width: 30%; 
    }
}

/* --------------------------------------------------
   REDES SOCIALES
-------------------------------------------------- */
.site-footer .social {
  margin: 0 5px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.site-footer .social:hover {
  text-decoration: none;
}

.site-footer .social.facebook:hover { color: #1877F2; }
.site-footer .social.instagram:hover { color: #E1306C; }
.site-footer .social.youtube:hover { color: #FF0000; }

/* --------------------------------------------------
   COPYRIGHT
-------------------------------------------------- */
.copyright {
  text-align: center;
  font-size: 12px;
  margin-top: 25px;
  opacity: 0.8;
}
.copyright a {
  font-size: 12px; /* igual que el resto del texto */
  color: var(--accent); /* opcional, para mantener color destacado */
  text-decoration: none; /* opcional, quita subrayado si quieres */
}

.copyright a:hover {
  text-decoration: underline;
  color: var(--accent);
}

/* --------------------------------------------------
   COLABORADORES / IMÁGENES FOOTER
-------------------------------------------------- */
.footer-images {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-images a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-images img {
  width: 55px;          /* tamaño uniforme */
  max-width: 100%;
  height: auto;
  opacity: 0.85;
  transition: transform .25s ease, opacity .25s ease;
}

.footer-images img:hover {
  transform: scale(1.08);
  opacity: 1;
}

/* --------------------------------------------------
   EVITAR SELECCIÓN DE TEXTO
-------------------------------------------------- */
.noselect {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* --------------------------------------------------
   RESPONSIVE — CONTENEDOR INDEX
-------------------------------------------------- */
/* Tablets */
@media(max-width:1024px) {
  .content-index {
    grid-template-columns: 1fr 1fr;
  }
  .right-box { margin-left: 0; }
}

/* Celulares */
@media(max-width:800px) {
  .content-index { grid-template-columns: 1fr; }
  .right-box { margin-left: 0; }
  .news-item { height: auto; }
  .programa-thumb { width: 120px; height: 80px; }
}

/* 1. EL CONTENEDOR PRINCIPAL */
.contenedor-mascota {
    position: absolute; /* Cambiamos a absolute para que se mueva con el scroll */
    /* Lo bajamos un poco para que por defecto esté "escondido" */
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* MUY IMPORTANTE: z-index bajo para que el footer lo tape */
    z-index: 5; 
    cursor: grab;
    filter: drop-shadow(0 0 10px var(--glow));
    transition: opacity 0.5s ease, filter 0.3s ease;
}

/* 2. EL PERSONAJE (Ajuste de niveles) */
.personaje {
    /* ... tus estilos actuales ... */
    bottom: -150px; /* Escondido totalmente tras el borde del footer */
    z-index: 2;
}

/* 3. EL FOOTER (Debe ser sólido y estar arriba) */
.site-footer {
    position: relative; /* Para que respete el z-index */
    z-index: 20;       /* Mucho mayor que el mono (5) */
    background: #0d0d0d; /* Negro sólido para que no se trasluzca el mono */
}
/* --------------------------------------------------
   SECCIÓN CONTACTO
-------------------------------------------------- */
.contact-form {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 3px solid #111;
  background: #151515;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #fff;
  color: var(--accent);
}
/* Notificación flotante */
#notificacion {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: #4CAF50;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: sans-serif;
}
#notificacion svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Estilo para ocultar la trampa de robots (Honeypot) */
.n-robot { display: none !important; visibility: hidden; }

/* --------------------------------------------------
   FORM ESTILO (GENÉRICO)
-------------------------------------------------- */
.form-estilo input,
.form-estilo textarea {
  width: 100%;
  padding: 12px;
  border: 3px solid #111;
  background: #151515;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.form-estilo input:focus,
.form-estilo textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-estilo button {
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.form-estilo button:hover {
  background: #fff;
  color: var(--accent);
}

/* --------------------------------------------------
   SECCIÓN NOSOTROS
-------------------------------------------------- */
.nosotros-descripcion {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 20px;
  text-align: justify;
}

/* MISION Y VISION */
.mision-vision { 
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap; 
    justify-content: center; 
    margin-top: 20px; /* Un poco más de aire arriba */
}

.mision-vision .col { 
    flex: 1 1 300px; 
    min-width: 280px; 
    padding: 25px; /* Más padding para que el texto "respire" */
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1); /* Borde más sutil y elegante */
    border-radius: 12px; /* Bordes más modernos y suaves */
    
    /* Efecto de profundidad */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mision-vision .col:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.mision-vision .col h4 { 
    font-size: 22px;
    color: #fff; 
    /* Ajuste clave: quitamos el margen superior por defecto */
    margin: 0 0 15px 0; 
    
    text-align: center; 
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    line-height: 1.2; /* Ajusta la altura de línea para un centrado perfecto */
}

/* Línea decorativa bajo el título */
.mision-vision .col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #ff1186; /* Usando tu color de acento */
    margin: 8px auto 0;
}

.mision-vision .col .contenido { 
    font-size: 15px; /* Mejora legibilidad */
    line-height: 1.6; 
    text-align: justify; 
    color: #bbb; /* Gris ligeramente más suave */
}

/* STAFF - DISEÑO LIMPIO Y OSCURO */
/* ================= EQUIPO GRID - LUXURY TECH ================= */
.equipo-grid {
    display: flex;
    gap: 50px; /* Más aire entre elementos */
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
    padding-bottom: 60px;
}

.equipo-item {
    width: 200px; /* Un poco más de presencia */
    text-align: center;
    position: relative;
    padding: 20px 10px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto de tarjeta invisible que aparece en hover */
.equipo-item:hover {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
}

/* ================= AVATAR CON ANILLO DE GRADIENTE ================= */
.equipo-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111; /* Fondo base */
    
    /* El "anillo" pro: un borde con gradiente mediante un pseudo-elemento */
    padding: 3px; 
    background: linear-gradient(135deg, #333 0%, #111 100%);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.1), 
                0 10px 20px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.equipo-item:hover .equipo-circle {
    background: linear-gradient(135deg, #ff1186 0%, #7000ff 100%); /* Gradiente vibrante */
    box-shadow: 0 0 25px rgba(255, 17, 134, 0.4);
}

.equipo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #151515; /* Crea un espacio entre la foto y el anillo */
    display: block;
    filter: grayscale(40%); /* Look artístico */
    transition: all 0.4s ease;
}

.equipo-item:hover .equipo-circle img {
    filter: grayscale(0%);
    transform: scale(0.95); /* La foto se "hunde" un poco, dando profundidad */
}

/* ================= TIPOGRAFÍA REFINADA ================= */
.equipo-item h4 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.equipo-item:hover h4 {
    color: #ff1186; /* El nombre se ilumina */
}

.equipo-item p {
    margin-top: 5px;
    font-size: 12px;
    color: #666; /* Gris apagado para jerarquía */
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Detalle decorativo: puntito debajo */
.equipo-item::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff1186;
    margin: 10px auto 0;
    transition: width 0.4s ease;
}

.equipo-item:hover::after {
    width: 30px;
}

.nosotros-descripcion {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* --------------------------------------------------
   SECCIÓN PROGRAMAS
-------------------------------------------------- */
.programas-filtro {
  margin: 14px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 32px;
}

.programas-filtro label {
  font-size: 14px;
  color: var(--muted);
  font-family: 'Oswald', sans-serif;
}

.programas-filtro select {
  background: #151515;
  border: 3px solid #111;
  color: #fff;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 4px;
}

.programas-list {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.programa-item {
  display: flex;
  gap: 14px;
  background: #131313;
  padding: 12px;
  border: 4px solid #1f1f1f;
  margin-bottom: 20px;
}

.programa-thumb {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border: 3px solid #111;
    /* Fondo texturizado detrás de las imágenes */
  background-image: repeating-linear-gradient(
      45deg,
      rgba(34,34,34,0.6),
      rgba(34,34,34,0.6) 10px,
      rgba(17,17,17,0.6) 10px,
      rgba(17,17,17,0.6) 20px
  );
  background-blend-mode: overlay;
}

.programa-info h4 {
  margin: 0;
  font-size: 16px;
  font-family: 'Oswald', sans-serif;
}

.programa-info p {
  margin: 4px 0 10px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.programa-btn {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s;
}

.programa-btn:hover {
  background: #fff;
  color: var(--accent);
}

.inicio-btn {
  font-size:11px;
  transition: all 0.3s ease;
}

.inicio-btn:hover {
  background: #fff;
  color: var(--accent);
}

.inicio-btn:hover {
  background: #fff;
  color: var(--accent);
}

.historial-container {
    display: block;
    text-align: center;
    margin-top: 6px;
}

.historial-btn {
    font-size: 12px;
    color: #ff2a9a;
    text-decoration: none;
    transition: 0.3s ease;
}

.historial-btn:hover {
    color: #ffffff;
}

/* Contenedor fijo para todas las imágenes */
.img-wrap {
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid #111;
  background: #000;
}

.img-wrap-index {
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid #111;
  background: #000;
}

/* Imagen recortada uniformemente */
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){

    .programas-filtro{
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .programas-filtro label{
        display:none; /* ahorra espacio */
    }

    .programas-filtro select,
    .programas-filtro input,
    .programas-filtro button{
        width:100%;
        font-size:16px; /* evita zoom en iOS */
    }

    .programas-filtro button{
        background:#ff1186;
        font-weight:bold;
    }
}
mark{
    background:#ff1186;
    color:#fff;
    padding:2px 4px;
    border-radius:3px;
}
.programas-filtro input{
    padding:8px;
    background:#111;
    border:1px solid #333;
    color:#fff;
    border-radius:4px;
}
.programas-filtro button{
    padding:8px 12px;
    background:#333;
    border:0;
    color:#fff;
    cursor:pointer;
    border-radius:4px;
}
/* =========================
   FILTROS RESPONSIVE
========================= */
.programas-filtro{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
}

/* Desktop */
.programas-filtro select,
.programas-filtro input,
.programas-filtro button{
    min-height:38px;
}

/* --------------------------------------------------
   SECCIÓN SERVICIOS
-------------------------------------------------- */
.servicios-grid {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.servicio-card {
  background: #151515;
  border: 5px solid #1f1f1f;
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
  transition: transform .25s, border-color .25s;
}

.servicio-card:hover {
  border-color: var(--accent);
}

.servicio-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid #111;
  /* Fondo texturizado detrás de las imágenes */
  background-image: repeating-linear-gradient(
      45deg,
      rgba(34,34,34,0.6),
      rgba(34,34,34,0.6) 10px,
      rgba(17,17,17,0.6) 10px,
      rgba(17,17,17,0.6) 20px
  );
  background-blend-mode: overlay;
}

.servicio-card h4 {
  margin: 4px 0 0 0;
  font-size: 20px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.servicio-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.servicio-info-extra {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.servicio-info-extra a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 13px;
  background: #111;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #222;
  transition: .3s;
}

.servicio-info-extra a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.telefono {
  margin-left: auto;
  font-size: 13px;
  color: #fff;
  opacity: 0.9;
  font-weight: bold;
}

.servicio-card h4 {
  min-height: 42px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.servicio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.servicio-info-extra a,
.modal-rrss a {
    background: #222;
    padding: 4px 8px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    margin-right: 6px;
    transition: .25s;
}

.servicio-info-extra a:hover,
.modal-rrss a:hover {
    background: var(--accent);
}

.correo-link {
    text-transform: uppercase;
}

/* Estilo de RRSS (FB, IG, YT) */
#modal-servicio .modal-rrss a {
  display: inline-block;
  margin-right: 10px;
  color: #4267B2; /* color azul FB por defecto */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

#modal-servicio .modal-rrss a:hover {
  color: #1d2951; /* tono más oscuro al pasar mouse */
}

/* =========================
   ESTILOS DEL MODAL
   ========================= */
#modal-servicio-bg {
    position: fixed;
    inset: 0; /* Optimización de top/left/width/height */
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: flex-start;
    justify-content: center;
    /* Acercado al top: de 80px bajó a 30px */
    padding-top: 30px; 
    z-index: 9999;
    /* Aceleración por hardware para móviles */
    transform: translateZ(0);
}

#modal-servicio {
    background: #1e1e1e !important;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Optimización de renderizado */
    will-change: transform, opacity;
}

/* Títulos */
#modal-servicio h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

/* IMAGEN OPTIMIZADA: NO SE RECORTE */
#modal-servicio img {
    width: 100%;       /* Ocupa el ancho disponible */
    max-width: 280px;  /* Límite máximo para que no se vea gigante */
    height: auto;      /* Mantiene proporción original */
    object-fit: contain; /* 🔥 Asegura que la imagen NO se recorte */
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

/* Párrafos */
#modal-servicio p {
    color: #ddd !important;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Botón cerrar */
#modal-servicio .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 26px;
    cursor: pointer;
    color: #fff !important;
    font-weight: bold;
    transition: 0.2s;
    line-height: 1;
}

#modal-servicio .close-btn:hover {
    color: #ff4747 !important;
}

/* Redes Sociales */
.modal-rrss a {
    display: inline-block;
    margin: 5px 8px;
    text-decoration: none;
    color: #ff4747 !important;
    font-weight: bold;
    font-size: 15px;
}

.modal-rrss a:hover {
    color: #ff6a6a !important;
}

/* Teléfono */
.modal-telefono {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #fff !important;
}

/* Ajuste móvil extremo para que no choque con el borde superior */
@media (max-width: 600px) {
    #modal-servicio-bg {
        padding-top: 15px;
    }
    #modal-servicio {
        padding: 20px 15px;
    }
}

/* --------------------------------------------------
   PAGINACIÓN (GENÉRICA)
-------------------------------------------------- */
.pagination {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.next-btn,
.prev-btn {
  width: 28px;
  height: 28px;
  background: #111;
  border: 2px solid #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.next-btn:hover,
.prev-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* FOOTER RESPONSIVE */
@media(max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columnas en tablets */
    text-align: left;
    gap: 16px;
  }
}

@media(max-width:768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
    text-align: center;
    gap: 12px;
  }

  .site-footer h5 {
    font-size: 16px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 13px;
  }

  .site-footer .social {
    display: inline-block;
    margin: 6px 8px;
  }

  .copyright {
    font-size: 11px;
    margin-top: 18px;
  }
}

/* Ajuste del logo en móviles */
@media(max-width:850px) {
  .header-logo {
    font-size: 32px;  /* reduce tamaño para que quede en una línea */
    letter-spacing: 3px; /* opcional, para que no se vea tan apretado */
  }
}

@media(max-width:1024px) {
  .header-logo {
    font-size: 40px;
    letter-spacing: 4px;
  }
}

/* SLIDER */
/* =========================
   SLIDER HERO OPTIMIZADO
========================= */
.hero { 
    position: relative; 
    overflow: hidden; 
    height: 200px;
    /* Optimización: Crea un contexto de renderizado para evitar parpadeos */
    transform: translateZ(0); 
    background-color: #000;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Suavizado mejorado para CPUs de bajos recursos */
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
    /* Avisamos al navegador qué va a cambiar para optimizar RAM */
    will-change: opacity; 
    pointer-events: none; /* Evita que slides invisibles capturen clics */
}

.hero .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Previene que la imagen se vea borrosa durante la transición */
    backface-visibility: hidden;
}

.hero .slide.slide-activa {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

/* Texto / Label */
.hero .label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.65); /* Un poco más oscuro para mejor legibilidad */
    color: #fff;
    padding: 6px 12px;
    font-family: 'Oswald', sans-serif;
    border-radius: 4px;
    max-width: 80%;
    white-space: normal;
    word-wrap: break-word;
    z-index: 3;
    /* Optimización: El texto no necesita transiciones pesadas */
    transform: translateZ(0);
}

/* Flechas de Navegación */
.hero .arrows {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    gap: 8px; /* Espacio limpio entre botones */
}

.hero .arrows button {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff1186;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    width: 32px; /* Ligeramente más grandes para mejor click en móviles */
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    outline: none;
}

.hero .arrows button:hover {
    background: #ff1186;
    border-color: #fff;
    transform: scale(1.1);
    color: #000;
}

/* =========================
   RESPONSIVE (TEXTO DESPEJADO)
========================= */
@media(max-width: 850px) {
    .hero {
        height: 160px; /* Un poquito más de altura para dar aire */
    }
    
    .hero .label {
        left: 15px;      /* Lo pegamos a la izquierda */
        right: auto;     /* Liberamos el lado derecho */
        transform: none; /* Eliminamos cualquier centrado previo */
        max-width: 70%;  /* Limitamos el ancho para que no cruce toda la pantalla */
        text-align: left; /* Alineación natural */
        bottom: 15px;    /* Lo bajamos para que no flote en el medio */
        font-size: 14px;
        background: rgba(0, 0, 0, 0.7); /* Un poco más de contraste para leer bien */
    }

    .hero .slide img {
        /* En móviles, centramos la imagen para que el protagonista no quede tapado */
        object-position: center; 
    }
    
    .hero .arrows {
        right: 10px;
        bottom: 10px;
    }
}

@media(max-width: 600px) {
    .hero {
        height: 140px; 
    }
    .hero .label {
        font-size: 12px;
        max-width: 65%; /* Más pequeño aún para dejar ver el fondo */
        padding: 4px 8px;
        left: 10px;
        bottom: 10px;
    }
    
    .hero .arrows button {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
}

 /* NUEVA PAGINACION */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 20px 0 10px;
}

.pagination a {
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: #ccc;
  background: #111;
  padding: 8px 12px;
  border: 2px solid #1f1f1f;
  border-radius: 4px;
  transition: 0.25s;
}

.pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  cursor: default;
}

.pagination .pag-btn {
  font-size: 16px;
  padding: 8px 12px;
}

/* NOTICISAS INDEX */
.box.news,
.news-list {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.news-card h4 {
  font-size: 15px;        /* tamaño del título */
  font-weight: 700;
  color: #fff;
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;  /* ✅ SOLO 1 LÍNEA */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card p {
  font-size: 13px;        /* tamaño de descripción */
  color: var(--muted);
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;  /* ✅ SOLO 2 LÍNEAS */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* GRID SERVICIOS */
.servicios-grid {
  width: 100%;
  max-width: 900px; /* evita que se expanda demasiado */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  justify-content: center;
}

/* TARJETA */
.servicio-card {
  background: #111;
  border: 4px solid #1f1f1f;
  padding: 16px;
  text-align: center;
  border-radius: 6px;
  max-width: 300px;   /* ✅ clave para que NO se expanda al 100% */
  margin: auto;       /* ✅ centra cuando queda solo una */
    display: flex;
      flex-direction: column;
        justify-content: space-between; /* 🔥 clave */
  height: 100%;
}

.servicio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 4px;
}

/* 🔥 MISMA ALTURA PARA TODAS LAS TARJETAS */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* TARJETA */
.servicio-card {
  background: #111;
  border: 4px solid #1f1f1f;
  padding: 16px;
  text-align: center;
  border-radius: 6px;
  height: 100%;           /* ✅ todas igual tamaño */
    width: 100%;       /* ✅ ocupa todo el ancho del grid */
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;    /* ✅ evita que se encoja */
}

/* IMAGEN FIJA */
.servicio-card img {
  width: 100%;
  height: 180px;        /* ✅ todas mismas proporciones */
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 4px;
}

/* BOTÓN SI TIENES */
.servicio-card a {
  margin-top: auto;  /* ✅ empuja el botón abajo siempre */
}
.servicio-card h3 {
  min-height: 40px;   /* ✅ asegura mismo espacio visual */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* evitar que cambie el color al hacer clic fecha noticias index */
.news-card:visited small,
.news-card small {
  color: #b686ff !important; /* tu morado del hover */
  opacity: 1 !important;
}

/* noticias detalle fecha */
.noticia-fecha {
  color: #b686ff !important; /* mismo color de hover que quieres */
  font-size: 11px;
  opacity: 1;
  display: inline-block;
  margin-bottom: 10px;
}
/* =========================
   VIDEO LOCAL CENTRADO
   (igual a YouTube)
========================= */
.contenido-noticia .media-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.contenido-noticia video {
    width: 70%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
    border-radius: 6px;
}



.header-logo {
  /* Colores más "Tropicales" y profesionales (evitamos el arcoíris básico de juguete) */
  background: linear-gradient(
    135deg, 
    #ff0080, #ff8c00, #40e0d0, #ff0080
  );
  background-size: 200% auto; /* Reducido de 400% a 200% para ahorrar memoria */
  
  /* Clipping estándar y prefijado */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Animación más eficiente */
  animation: tropicalFlow 8s linear infinite;
  
  /* Mejora de rendimiento: Hardware Acceleration */
  will-change: background-position;
  transform: translateZ(0); 
  
  /* filtro de brillo */
  filter: drop-shadow(0 2px 10px rgba(255, 0, 128, 0.3));
}

@keyframes tropicalFlow {
  from { background-position: 0% center; }
  to { background-position: 200% center; }
}

/*BLOQUEO SELECCIONAR CLIC HEADER Y MENU */
.header-logo,
.menu-pc a,
.menu-movil a {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* AJUSTES NOTICIAS_DETALLES.PHP */
/* ============================================
   RESPONSIVE YOUTUBE VIDEOS EN NOTICIAS
============================================ */
.noticia-contenido iframe {
  width: 100% !important;
  max-width: 560px;      /* tamaño máximo del video */
  aspect-ratio: 16 / 9;  /* mantiene proporción */
  height: auto !important;
  display: block;
  margin: 20px auto;     /* centra el video */
  border: none;
  border-radius: 6px;
}

/* Centrar imágenes y videos dentro del contenido de noticias */
.noticia-contenido img,
.noticia-contenido iframe {
    display: block;
    margin: 20px auto; /* centrado horizontal y un poco de separación vertical */
    max-width: 100%;   /* que no se salga del contenedor */
    height: auto;      /* mantiene proporción */
    border-radius: 4px; /* opcional: bordes suaves */
}

.noticia-contenido.contenido-noticia {
    text-align: justify;
}
@media (max-width: 768px) {
    .noticia-contenido.contenido-noticia {
        text-align: justify;
    }
}

.btn-volver{
    color: #ff1186;
    text-decoration: none;
    font-size: 15px;
}

/* SOLO LA FLECHA */
.btn-subir-noticia{
    position: absolute;
    bottom: 18px;
    left: 18px;
    font-size: 26px;
    color: #ff1186;
    cursor: pointer;
}

/* -----------------------------------------
   AJUSTE DE IMAGEN DE NOTICIA (CARÁTULA)
------------------------------------------ */

/* Contenedor centrado */
.noticia-img-wrap {
    width: 650;          /* La imagen ocupa solo la mitad del ancho */
    max-width: 700px;    /* Reduce el tamaño máximo */
    margin: 20px auto;
    padding: 0;
}

.noticia-img-wrap img {
    width: 100%;
    height: auto;
    border: 4px solid #111;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 600px) {
    .noticia-img-wrap {
        max-width: 100%;
        padding: 0 10px;
    }

    .noticia-img-wrap img {
        border-width: 3px;
    }
}

/* Estilo para mensaje de noticia no encontrada */
.not-found-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 80vh;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.not-found-page i {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 20px;
}

.not-found-page h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.not-found-page p {
    font-size: 16px;
    color: var(--muted);
}

.not-found-page a {
    margin-top: 20px;
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.not-found-page a:hover {
    text-decoration: underline;
}

/* NOTICIAS COMENTARIOS */
.comentarios-section {
    margin: 15px auto 0 auto;   /* centra el bloque horizontalmente */
    padding: 20px;
    background: #0d0d0d;
    border-radius: 0px;
    width: 100%;
    max-width: 1100px;
}

/* Comentarios individuales */
.comentario {
    background: #111;
    border-left: 3px solid #ff1186;
    padding: 12px;
    margin-bottom: 12px;
}

/* Respuestas anidadas */
.comentario .comentario {
    margin-top: 10px;
}

/* Formulario */
.comentarios-form input,
.comentarios-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

.comentarios-form textarea {
    min-height: 90px;
}

.comentarios-form button {
    background: #ff1186;
    border: none;
    padding: 10px 18px;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

/* Botón ver más */
#ver-mas-comentarios {
    margin-top: 15px;
    background: transparent;
    color: #ff1186;
    border: 1px solid #ff1186;
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 4px;
}
.comentario-acciones {
    margin-top: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}

.citar-btn {
    cursor: pointer;
    color: #ff1186;
}

.like-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-btn i {
    color: #bbb;
}

.like-btn .like-count {
    font-size: 13px;
}

.btn-comentar {
    background: transparent;
    border: 1px solid #ff1186;
    color: #ff1186;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 auto 15px auto; /* margen superior 0, horizontal auto, inferior 15px */
    display: block;           /* necesario para que margin auto funcione */
}

.comentario {
    animation: fadeInUp .4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.respuestas {
    overflow: hidden;
    transition: max-height .4s ease;
}

/* ================================
   PROGRAMAS - SOLO MÓVIL
   Imagen arriba → Título → Texto → Botón
================================ */
@media (max-width: 700px) {

  /* Fuerza columna solo aquí */
  .programas-list .programa-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Imagen al 100% arriba */
  .programas-list .programa-thumb {
    width: 100% !important;
    height: auto !important;
    border: 3px solid #111;
  }

  /* Info abajo de la imagen */
  .programas-list .programa-info {
    width: 100%;
  }

  /* Texto centrado */
  .programas-list .programa-info h4,
  .programas-list .programa-info p,
  .programas-list .programa-info small {
    text-align: center !important;
  }

  /* Botón centrado */
  .programas-list .programa-btn {
    display: inline-block;
    margin: 10px auto 0;
  }
}

/* TEXTO CITAR NOTICIA DETALLE */
.noticia-contenido .blockquote-custom {
    background: #2a2a2a;
    border-left: 4px solid #ff1186;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 6px;
    font-style: italic;
    color: #fff;
}

/* FIX: Unificar tamaño de las fechas en PROGRAMAS */
.tour-date {
  width: 62px !important;
  min-width: 62px;
  height: 67px;
  padding: 10px 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1b1b1b;
  border-left: 4px solid rgba(255,255,255,0.04);
}

/* Número del día */
.tour-date .day {
  font-size: 26px;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

/* Mes (texto más parejo usando monoespaciado) */
.tour-date .month {
  font-size: 11px;
  letter-spacing: 1px;
  font-family: monospace;       /* <-- clave para uniformidad */
  width: 100%;
  text-align: center;
  opacity: 0.75;
}

/* ================================================
   REORDENAR SECCIONES EN PANTALLA MEDIA (tablet)
   ================================================ */
@media(max-width: 1100px) {

  .content-index {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "news programas";
  }

  .col-left {
    grid-area: center;
  }

  .box.news {
    grid-area: news;
  }

  .box.tour {
    grid-area: programas;
  }
}

/* ================================================
   EN MOVIL PEQUEÑO TODO EN 1 COLUMNA
   ================================================ */
@media(max-width: 650px) {
  .content-index {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "news"
      "programas";
  }
}

/* ============================
   ESPACIO UNIFORME ENTRE SECCIONES
============================ */
.content-index > .col-left,
.content-index > div,
.content-index > .box.tour {
    margin-top: 0;
}

.box.album,
.box.news,
.box.tour {
    margin-bottom: 22px; /* mismo espaciado */
}

/* Mantener 3 columnas siempre que haya espacio */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Romper a 1 columna solo en móviles verdaderos */
@media(max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

/* --------------------------------------------------
   LISTADO DE PROGRAMAS — ESTILO OSCURO PREMIUM (RESPONSIVO)
-------------------------------------------------- */

.lista-programas {
  width: 100%;
  max-width: 700px;          /* ancho máximo */
  margin: 15px auto;         /* centrado */
  padding-left: 0;
  list-style: none;
  counter-reset: contadorProgramas;
}

.lista-programas li {
  counter-increment: contadorProgramas;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #111;
  border-left: 4px solid var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: flex;
  flex-wrap: wrap;           /* permite que los elementos internos bajen de línea si es necesario */
  align-items: center;
  gap: 8px;
  transition: 0.25s ease;
  border-radius: 4px;
}

.lista-programas li::before {
  content: counter(contadorProgramas) ".";
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;           /* evita que el número se comprima */
}

.lista-programas li:hover {
  background: #181818;
  transform: translateX(2px);
  border-left-color: #ff2a9a;
}

.lista-programas li a {
  color: #fff;
  text-decoration: none;
  flex: 1 1 auto;           /* ocupa el espacio disponible, pero se adapta */
  font-size: 13px;
  white-space: normal;       /* permite salto de línea */
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;    /* rompe palabras largas */
  min-width: 0;              /* muy importante para flex en móviles */
}

.lista-programas li small {
  font-size: 12px;
  opacity: 0.8;
  flex-shrink: 0;           /* evita que se comprima demasiado */
}

/* =========================
   RESPONSIVE MÓVIL
========================= */
@media (max-width: 480px) {
  .lista-programas li {
    font-size: 13px;
    padding: 8px 10px;
  }

  .lista-programas li::before {
    font-size: 16px;
  }

  .lista-programas li a {
    font-size: 12px;
  }

  .lista-programas li small {
    font-size: 11px;
  }
}

.site-footer a {
    text-decoration: none;
    color: inherit;
}

.site-footer a.active {
    font-weight: bold;
    color: #ff4444; /* rojo suave, puedes cambiarlo */
    text-decoration: none;
}

#coverArt {
    width: 100%;
    max-width: 100px;  /* Tamaño máximo deseado */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Overlay */
#popupOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 10px 15px;
}

/* Contenido del popup */
.popupContent {
    position: relative;
    background: #111;
    color: #fff;
    padding: 12px 20px 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin: 5px auto; 
    box-sizing: border-box;
}

/* Botón cerrar + contador */
.popupControls {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.closePopup {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
}
.closePopup:hover {
    color: #ff5733;
    cursor: pointer;
}

.popupCountdown {
    font-size: 14px;
    opacity: 0.8;
}

/* Título */
.popupTitle {
    margin: 0 0 12px;
    font-family: 'Oswald', sans-serif;
}

/* Imagen */
.popupImage {
    display: block;
    margin: 0 auto 15px;
    max-width: 50%;
    height: auto;
    border-radius: 6px;
}

.popupImage.full {
    max-width: 80%;
    width: 100%;
}

/* Texto */
.popupText {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
    color: #ddd;
}

/* Redes sociales */
.popupSocials {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 20px;
    margin-bottom: 10px;
}

.popupSocials a {
    color: #fff;
}

.popupSocials .fb { color: #3b5998; }
.popupSocials .ig { color: #e1306c; }
.popupSocials .yt { color: #ff0000; }
.popupSocials .x  { color: #1da1f2; }
.popupSocials .in { color: #0077b5; }

.popupSocials a.web {
    background: #444;
    color: #fff;
}

.popupSocials a.web:hover {
    background: #222;
}

@media (max-width: 600px) {
    #popupOverlay {
        padding: 10px 15px; /* más pegado arriba en móvil */
    }

    .popupContent {
        padding: 15px;
        margin: 5px auto;
    }

    .popupTitle {
        font-size: 18px;
    }

    .popupText {
        font-size: 13px;
    }

    .popupSocials a {
        font-size: 18px;
    }
}

#share-links a {
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    text-decoration:none;
}
/* ==============================
   RRSS Noticia Detalle (aislado)
============================== */
/* ==============================
   FIX DEFINITIVO RRSS NOTICIA
============================== */
#share-box {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 🔥 evita estiramiento */
    gap: 10px;
}
#share-box a {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    align-items: center;
    justify-content: center;
}
#share-box i {
    font-size: 22px;
}

/* --------------------------------------------------
   SLIDER BANNERS - OPTIMIZADO
-------------------------------------------------- */

#bannersSlider {
  position: relative;
  width: 100%;       /* Cambiado a 100% para ser responsivo */
  max-width: 250px;  /* Límite de ancho */
  height: 70px;      /* Alto fijo deseado */
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #454444;
  background-color: #000;
  /* Perspectiva para efectos 3D (Flip/Zoom) */
  perspective: 1000px; 
}

/* Contenedor interno para agrupar slides si usas efecto slide */
.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#bannersSlider .banner-slide {
  flex: 0 0 100%;    /* Cada slide ocupa exactamente el 100% del padre */
  width: 100%;
  height: 100%;
  position: absolute; /* Por defecto para Fade/Flip/Zoom */
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 1;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden; /* Evita parpadeos en Flip */
}

/* Ajuste específico para cuando el efecto es 'slide' */
#bannersSlider[data-efecto="slide"] .banner-slide {
  position: relative; /* Cambia a relativo para que Flexbox los alinee */
  opacity: 1;
  visibility: visible;
}

#bannersSlider .banner-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Clase de estado activo (principalmente para Fade) */
#bannersSlider .banner-slide.active {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.banners-box {
    overflow: hidden;
    width: 100%;
}

#bannersSlider {
    position: relative;
    width: 100%;
    height: 70px; /* Ajusta según tus banners */
    perspective: 1000px; /* Necesario para el efecto Flip */
}

.banner-slide {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    backface-visibility: hidden; /* Evita parpadeos */
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene la proporción de tus banners */
}

/* FIX GLOBAL IMÁGENES NOTICIA_DETALLE.php */
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.noticia-contenido p:first-child {
  margin-top: 0;
}

.noticia-contenido img {
  display: block;
}

/* ==========================
   MODAL PEDIDOS
========================== */
.modal-pedidos{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    justify-content:center;
    align-items:center;
    align-items:flex-start;   /* 👈 lo sube arriba */
    padding-top: 40px;        /* 👈 ajusta distancia al header */
}

.modal-pedidos.active{
    display:flex;
}

.modal-pedidos-content{
    background:#111;
    padding:20px;
    border-radius:10px;
    width:90%;
    max-width:400px;
    text-align:center;
    position:relative;
}

.cerrar-modal{
    position:absolute;
    top:10px;
    right:15px;
    font-size:22px;
    cursor:pointer;
    color:#fff;
}
.pedidosinput-estilo {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.pedidosinput-estilo:focus {
    outline: none;
    border-color: #ff0000;
}

.input-wrapper{
    position: relative;
}

.suggestions-list{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    margin-top: 4px;
    z-index: 9999;
    list-style: none;
    padding: 0;
    max-height: 180px;
    overflow-y: auto;
}

.mp3-suggestion-item{
    padding: 8px;
    cursor: pointer;
    color: #fff;
}

.mp3-suggestion-item:hover{
    background: #ff6600;
}

#mp3-clear-btn-custom{
    position: absolute;
    right: 10px;
    top: 8px;
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
}
.modal-pedidos{
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-pedidos.active{
    display: flex;
    opacity: 1;
}
.programa-btn:disabled{
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

.tag-link {
        color: #666; /* Color fijo para el # */
        margin: 4px 6px; 
        display: inline-block; 
        font-family: 'Oswald', sans-serif; 
        text-decoration: none; 
        line-height: 1.1;
        cursor: pointer;
    }

    .tag-text {
        color: #666; /* Color inicial del texto */
        transition: color 0.3s ease; /* Transición suave */
    }

    /* Solo cambia el color del texto cuando pasamos el mouse por el enlace */
    .tag-link:hover .tag-text {
        color: #cf1186;
    }

    /* 1. BASE Y MÓVILES (Ahora con tamaño más generoso para celulares) */
    .encuesta-visible { display: flex !important; }
    
    .encuesta-nueva-overlay {
        position: fixed !important;
        z-index: 2147483647 !important; 
        left: 0; top: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.85) !important;
        display: none; 
        align-items: flex-start !important; 
        justify-content: center !important;
        padding: 10px !important; /* Espacio mínimo arriba en móviles */
        box-sizing: border-box;
        overflow-y: auto;
    }

    .encuesta-nueva-container {
        background: #0a0a0a !important;
        border: 2px solid #ff1186 !important;
        width: 100%;
        /* Aumentado para móviles: se verá más grande en celulares */
        max-width: 320px; 
        padding: 20px; 
        border-radius: 10px;
        position: relative;
        box-shadow: 0 0 20px rgba(255, 17, 134, 0.4) !important;
        font-family: 'Arial', sans-serif;
        max-height: 85vh; 
        overflow-y: auto;
        box-sizing: border-box;
        animation: slideDown 0.4s ease-out;
    }

    @keyframes slideDown {
        from { transform: translateY(-20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .encuesta-nueva-container::-webkit-scrollbar { width: 3px; }
    .encuesta-nueva-container::-webkit-scrollbar-thumb { background: #ff1186; border-radius: 10px; }

    .encuesta-nueva-cerrar {
        position: absolute; right: 10px; top: 5px; 
        color: #ff1186; font-size: 24px; cursor: pointer;
        z-index: 10;
        line-height: 1;
    }

    .encuesta-nueva-titulo {
        font-family: 'Oswald', sans-serif; 
        color: #fff; text-transform: uppercase; 
        margin: 0 0 12px 0;
        border-left: 3px solid #ff1186; 
        padding-left: 10px; 
        font-size: 15px; /* Un poco más grande para móvil */
        line-height: 1.2;
        padding-right: 20px;
    }

    .item-encuesta-boton-nuevo, .encuesta-item-resultado {
        width: 100% !important;
        padding: 12px 15px !important; /* Botones más grandes en móvil */
        margin: 6px 0 !important;
        background: #151515 !important;
        border: 1px solid #333 !important;
        color: #fff !important;
        border-radius: 6px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        font-size: 14px !important; 
        transition: 0.2s;
        box-sizing: border-box !important;
    }

    .item-encuesta-boton-nuevo:hover { border-color: #ff1186 !important; background: #1e1e1e !important; }
    .voto-count { font-weight: bold; color: #00ff88; font-size: 12px; }

    .encuesta-nueva-gracias {
        display: none; 
        margin-top: 10px;
        text-align: center;
        border-top: 1px solid #222;
        padding-top: 8px;
    }

    .encuesta-nueva-gracias p { color: #00ff88; margin: 0; font-size: 14px; font-weight: bold; }
    .encuesta-nueva-gracias span { color: #888; font-size: 10px; }

    /* 2. TABLETS (768px - 991px) - AQUÍ SE COMPRIME */
    @media (min-width: 768px) {
        .encuesta-nueva-overlay {
            padding-top: 15px !important;
        }
        .encuesta-nueva-container {
            max-width: 280px; /* Más pequeño que en móvil para no estorbar */
            padding: 12px;
        }
        .encuesta-nueva-titulo { 
            font-size: 14px; 
        }
        .item-encuesta-boton-nuevo {
            padding: 8px 12px !important;
            font-size: 13px !important;
        }
    }

    /* 3. PC (992px+) - COMPRIMIDO Y CERCA DEL TOP */
    @media (min-width: 992px) {
        .encuesta-nueva-overlay {
            align-items: flex-start !important; 
            padding-top: 20px !important; 
        }
        .encuesta-nueva-container {
            max-width: 310px; /* Tamaño elegante para PC */
            padding: 15px;
            max-height: 80vh; 
        }
        .encuesta-nueva-titulo { font-size: 16px; }
        .item-encuesta-boton-nuevo { 
            padding: 10px 14px !important; 
            font-size: 14px !important; 
            margin: 5px 0 !important;
        }
    }