

/* ------------------------ Efecto del Logo ------------------------  */

/* Efecto Glitch para desktop (hover) */
@media (hover: hover) {
  .navbar-logo:hover {
    animation: glitch 0.3s linear infinite;
  }
}
/* Efecto Glitch para móviles (active/tap) */
@media (hover: none) {
  .navbar-logo:active {
    animation: glitch 0.3s linear 2; /* 2 ciclos al tocar */
  }
}
/* Animación Glitch (personalizada con tus colores) */
@keyframes glitch {
  0% { 
    filter: drop-shadow(-2px 0 #CD3334); 
    transform: translateX(0);
  }
  25% { 
    filter: drop-shadow(2px 0 #E28413);
    transform: translateX(-2px);
  }
  50% { 
    filter: drop-shadow(-2px 0 #CD3334);
    transform: translateX(2px);
  }
  75% { 
    filter: drop-shadow(2px 0 #E28413);
    transform: translateX(0);
  }
  100% { 
    filter: none;
  }
}
/* ------------------------ Inicio - Menú  ------------------------  */
/* Estilos generales de la barra de navegación */
.navbar {
  width: 100%;
  background-color: #F3F3F3;
  border-bottom: 5px solid black;
  padding: 0.5rem;
}
/* Estilos del logo/brand */
.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
}
/* Estilos del botón hamburguesa */
.navbar-toggler {
  border: 3px solid #CD3334;
  padding: 0.5rem;
  margin-right: 1rem;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}
/* Estilos de los enlaces del menú */
.navbar-nav .nav-link {
  font-family: 'Matter SQ Regular', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease, transform 0.3s ease; /* Añade transform aquí */
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #E28413;
  background-color: rgba(0, 0, 0, 0.05);
  transform: scale(1.05); /* Efecto de escala */
}
/* Estilos del dropdown */
.dropdown-menu {
  background-color: #6EC1E4;
  border: 3px solid #000;
  padding: 0;
  margin-top: 0;
  border-radius: 0 !important;
  box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
  transform: scale(0.95); /* Escala inicial ligeramente reducida */
  transform-origin: top left; /* Punto de origen de la transformación */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.1); /* Animación más dinámica */
  opacity: 0; /* Inicialmente invisible */
  display: block; /* Necesario para la animación */
  visibility: hidden; /* Oculto pero ocupa espacio */
}
.dropdown:hover .dropdown-menu {
  opacity: 1; /* Hacer visible */
  visibility: visible; /* Mostrar */
  transform: scale(1); /* Escala normal */
}
/* Items del dropdown */
/* Estilos del dropdown */
.dropdown-menu {
  background-color: #CD3334;
  border: 4px solid black !important; /* Borde más grueso */
  padding: 0;
  margin-top: 5px; /* Pequeño espacio del borde superior */
  transform: scale(0.98); /* Escala inicial ligeramente reducida */
  transform-origin: top center; /* Punto de origen de la transformación */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.1); /* Animación más dinámica */
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3); /* Sombra brutalista */
}
.dropdown:hover .dropdown-menu {
  transform: scale(1); /* Escala normal al hacer hover */
  box-shadow: 8px 8px 0px rgba(0,0,0,0.4); /* Sombra más pronunciada */
}
/* Items del dropdown con bordes brutales */
.dropdown-item {
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid black; /* Borde grueso entre items */
  position: relative;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #060606;
  color: #ffffff;
  transform: scale(1.02); /* Efecto de escala hacia adelante */
  z-index: 1; /* Para que se superponga correctamente */
  box-shadow: 3px 3px 0px rgba(0,0,0,0.2); /* Sombra para el hover */
}
/* Efecto de "empuje" hacia adelante */
.dropdown-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* Mostrar dropdown al hacer hover (solo en desktop) */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}
/* Botón WhatsApp */
.btn-whatsapp {
  background-color: transparent;
  color: #25D366;
  font-weight: bold;
  border: 4px solid #25D366;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  margin-left: auto;
  margin-right: 1rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Matter SQ Regular', sans-serif;
}
.btn-whatsapp:hover {
  background-color: #25D366;
  color: white;
}
/* Estilos responsivos */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
  }
  
  .dropdown-menu {
    background-color: #6EC1E4;
    margin-left: 1rem;
    width: calc(100% - 2rem);
  }
  
  .btn-whatsapp {
    margin: 1rem auto;
    display: block;
    width: calc(100% - 2rem);
  }
}
@media (max-width: 768px) {
  .navbar-brand, .nav-link, .btn-whatsapp {
    font-size: 1rem;
  }
  
  .navbar-brand img {
    max-height: 40px;
  }
}
/* ------------------------ FIN - Menú  ------------------------  */



/* ------------------------Inicio - Screen 1 ------------------------  */
/* Estilos base */
.split-screen {
  display: flex;
  min-height: 100vh; /* Cambiado de height a min-height */
  background: #32ACC5;
}

.video-half {
  flex: 60%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center; /* Centra verticalmente el video */
  justify-content: center; /* Centra horizontalmente el video */
}

.video-half video {
  width: 100%;
  height: 100%;
  min-height: 100%; /* Asegura que cubra toda la altura */
  object-fit: cover;
  filter: grayscale(30%) contrast(110%);
}

/* Controles personalizados */
.video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 20px;
}

.control-btn {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #fff;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.1);
}

.text-half {
  flex: 40%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  /* Eliminado el border-left */
  font-family: 'Hakuna Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Título responsivo */
  line-height: 1.2;
  margin-bottom: 1rem;
  word-break: keep-all; /* Evita que se corte la palabra "Especializada" */
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.hero-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  align-self: flex-start;
}

.hero-button:hover {
  background-color: white;
  color: #CD3334;
}

/* Media Queries para móviles */
@media (max-width: 768px) {
  .split-screen {
    flex-direction: column;
    min-height: auto;
  }
  
  .video-half, .text-half {
    flex: 100%;
    min-height: 50vh; /* Altura mínima para ambas secciones */
  }
  
  .video-half video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Mantiene la proporción del video */
  }
  
  .text-half {
    padding: 1.5rem;
    order: 2; /* Coloca el texto debajo del video */
  }
  
  .hero-title {
    font-size: 2rem; /* Tamaño fijo para móviles */
  }
  
  .video-controls {
    bottom: 10px;
    left: 10px;
    transform: scale(0.9); /* Reduce ligeramente los controles */
  }
}

/* ------------------------ Fin  - Screen 1  ------------------------  */




/* ------------------------ Sección El Problema ------------------------ */

.problema-seccion {
  padding: 60px 20px;
  background-color: #F3F3F3;
  max-width: 1200px;
  margin: 60px auto;
  border: 4px solid #272727;
  box-shadow: 8px 8px 0px #272727;
  font-family: 'Hakuna Sans', sans-serif;
}

.problema-header {
  text-align: center;
  margin-bottom: 50px;
}

.problema-titulo {
  display: inline-block;
  font-size: 1.8rem;
  color: #FFF;
  background-color: #CD3334;
  font-weight: 800; /* Más grueso para mayúsculas */
  padding: 10px 25px;
  text-transform: uppercase; /* Conversión a mayúsculas */
  letter-spacing: 1px; /* Espaciado entre letras para mejor legibilidad */
  border: 3px solid #272727;
  box-shadow: 6px 6px 0px #272727;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-family: 'Hakuna Sans', sans-serif;
  text-rendering: optimizeLegibility; /* Mejor renderizado de tipografía */
  -webkit-font-smoothing: antialiased; /* Suavizado para navegadores WebKit */
}

.problema-subtitulo {
  font-size: 2.2rem;
  color: #272727;
  font-weight: bold;
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Matter SQ Regular', sans-serif;
  text-rendering: optimizeLegibility; /* Mejor renderizado de tipografía */
  -webkit-font-smoothing: antialiased; /* Suavizado para navegadores WebKit */
}

.problemas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.problema-card {
  background-color: #fff;
  border: 3px solid #272727;
  box-shadow: 6px 6px 0px #272727;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.problema-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0px #272727;
}

.problema-imagen-container {
  overflow: hidden;
  border-bottom: 3px solid #272727;
}

.problema-imagen {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.problema-card:hover .problema-imagen {
  transform: scale(1.05);
}

.problema-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.problema-content h3 {
  font-size: 1.5rem;
  color: #CD3334;
  margin-bottom: 15px;
  font-weight: bold
  font-family: 'Hakuna Sans', sans-serif;
}

.problema-content p {
  font-size: 1rem;
  color: #272727;
  line-height: 1.6;
  margin-bottom: 0;
  font-family: 'Matter SQ Regular', sans-serif;
}

/* ------------------------ RESPONSIVE ------------------------ */
@media (max-width: 1024px) {
  .problemas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .problema-seccion {
    padding: 40px 15px;
    margin: 40px auto;
  }
  
  .problema-titulo {
    font-size: 1.5rem;
    padding: 8px 20px;
  }
  
  .problema-subtitulo {
    font-size: 1.8rem;
  }
  
  .problemas-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .problema-imagen {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .problema-subtitulo {
    font-size: 1.5rem;
  }
  
  .problema-content {
    padding: 20px;
  }
  
  .problema-content h3 {
    font-size: 1.3rem;
  }
}




/* INICIO - Cuarto - Nuestros servicios  //////////////////////////////////////////////////////////////// */
/* ------------------------ ESTILOS NUESTROS PODERES ------------------------ */
.servicios-seccion {
  padding: 60px 20px;
  background-color: #F3F3F3;
  max-width: 1200px;
  margin: 60px auto;
  border: 4px solid #272727;
  box-shadow: 8px 8px 0px #272727;
  font-family: 'Hakuna Sans', sans-serif;
}

.servicios-header {
  text-align: center;
  margin-bottom: 50px;
}

.servicios-titulo {
  display: inline-block;
  font-size: 1.8rem;
  color: #FFF;
  background-color: #CD3334;
  font-weight: 800;
  padding: 10px 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid #272727;
  box-shadow: 6px 6px 0px #272727;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-family: 'Hakuna Sans', sans-serif;
}

.servicios-subtitulo {
  font-size: 2.2rem;
  color: #272727;
  font-weight: bold;
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Matter SQ Regular', sans-serif;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.servicio-card {
  background-color: #fff;
  border: 3px solid #272727;
  box-shadow: 6px 6px 0px #272727;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.servicio-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0px #272727;
}

.servicio-imagen-container {
  height: 200px;
  overflow: hidden;
  border-bottom: 3px solid #272727;
}

.servicio-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-imagen {
  transform: scale(1.05);
}

.servicio-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.servicio-content h3 {
  font-size: 1.5rem;
  color: #CD3334;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Hakuna Sans', sans-serif;
}

.servicio-content p {
  font-size: 1rem;
  color: #272727;
  line-height: 1.6;
  margin-bottom: 0;
  font-family: 'Matter SQ Regular', sans-serif;
}

/* Card especial para el último servicio */
.servicio-card-full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
}

.servicio-card-full .servicio-imagen-container {
  height: auto;
  width: 40%;
  border-right: 3px solid #272727;
  border-bottom: none;
}

.servicio-card-full .servicio-content {
  width: 60%;
}

/* ------------------------ RESPONSIVE ------------------------ */
@media (max-width: 1024px) {
  .servicio-card-full {
    flex-direction: column;
  }
  
  .servicio-card-full .servicio-imagen-container {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 3px solid #272727;
  }
  
  .servicio-card-full .servicio-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  
  .servicios-titulo {
    font-size: 1.5rem;
  }
  
  .servicios-subtitulo {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .servicios-subtitulo {
    font-size: 1.5rem;
  }
  
  .servicio-content h3 {
    font-size: 1.3rem;
  }
}


.servicio-imagen-container {
  height: 0;
  padding-bottom: 100%; /* Mantiene relación 1:1 para imágenes cuadradas */
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #272727;
}

.servicio-imagen {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

/* Ajuste especial para la card ancha */
.servicio-card-full .servicio-imagen-container {
  padding-bottom: 50%; /* Relación 2:1 para la imagen horizontal */
}


.titulo-servicio {
  font-size: 1.5rem;
  color: #CD3334;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Hakuna Sans', sans-serif;

}


/* Mantiene el mismo estilo visual para los títulos h2 */
.problema-card-title {
  font-size: 1.5rem;
  color: #CD3334;
  margin-bottom: 15px;
  font-weight: bold;
  font-family: 'Hakuna Sans', sans-serif;
  display: block; /* Asegura que se comporte como los h3 originales */
}

/* Responsive para los nuevos títulos h2 */
@media (max-width: 768px) {
  .problema-card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .problema-card-title {
    font-size: 1.1rem;
  }
}





/* INTERACTIVO */

/* ***********************  Lluvia de palabras *********************** */
.servicios-fisica-seccion {
  padding: 60px 20px;
  background-color: #F3F3F3;
  max-width: 1200px;
  margin: 60px auto;
  border: 4px solid #272727;
  box-shadow: 8px 8px 0px #272727;
  font-family: 'Hakuna Sans', sans-serif;
}

.servicios-header {
  text-align: center;
  margin-bottom: 50px;
}

.servicios-titulo {
  display: inline-block;
  font-size: 1.8rem;
  color: #FFF;
  background-color: #CD3334;
  font-weight: 800;
  padding: 10px 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid #272727;
  box-shadow: 6px 6px 0px #272727;
  margin-bottom: 20px;
  font-family: 'Hakuna Sans', sans-serif;
}

.servicios-subtitulo {
  font-size: 2.2rem;
  color: #272727;
  font-weight: bold;
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Matter SQ Regular', sans-serif;
}

/* Contenedor de la lluvia interactiva */
.physics-container {
  height: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border: 3px solid #272727;
  box-shadow: 6px 6px 0px #272727;
  margin: 0 auto;
}

/* Estilos para las palabras de servicio */
.service-word {
  position: absolute;
  font-family: 'Matter SQ Regular', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #272727;
  white-space: nowrap;
  user-select: none;
  animation: fall linear forwards;
  cursor: pointer;
  padding: 10px 20px;
  background-color: #fff;
  border: 2px solid #272727;
  border-radius: 30px;
  box-shadow: 4px 4px 0px #272727;
  transition: all 0.3s ease;
}

.service-word:hover {
  background-color: #CD3334;
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #272727;
}

/* Animación de caída con efecto "flotante" */
@keyframes fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(550px) rotate(10deg);
  }
}

/* Efecto al hacer clic */
@keyframes click-effect {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .servicios-titulo {
    font-size: 1.5rem;
    padding: 8px 20px;
  }
  
  .servicios-subtitulo {
    font-size: 1.8rem;
  }
  
  .physics-container {
    height: 400px;
  }
  
  .service-word {
    font-size: 16px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .servicios-subtitulo {
    font-size: 1.5rem;
  }
  
  .physics-container {
    height: 350px;
  }
}


  
/* ***********************  Beneficios *********************** */
/* *********************** Estilo Brutalista con Paleta de Colores *********************** */
.brutal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: #BAE1EC;
    color: #272727;
    border: 5px solid #000000;
    text-align: center;
}

.brutal-title {
  
    display: inline-block; /* Para comportarse como un botón */
    font-size: 1.5rem; /* Tamaño de fuente reducido */
    color: #fff; /* Texto blanco para contraste */
    background-color: #6EC1E4; /* Fondo azul llamativo */
    font-weight: bold;
    padding: 5px 15px; /* Espaciado interno para parecer un botón */
    text-transform: uppercase; /* Texto en mayúsculas para impacto */
    border: 3px solid #000; /* Bordes gruesos para el estilo brutalist */
    margin: 0 auto 20px; /* Centrado y con espacio debajo */
    text-align: center;
    box-shadow: 4px 4px 0px #000; /* Sombra fuerte para brutalism */
    cursor: pointer; /* Indicar que es interactivo */
    transition: transform 0.2s ease;

}

.brutal-subtitle {
  font-size: 1.5rem;
  color: #CD3334;
  font-weight: normal;
  margin-bottom: 60px; /* Espacio adicional debajo del subtítulo */
}

.brutal-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
}

.brutal-item {
    background-color: #6EC1E4;
    border: 3px solid #000000;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: -5px 5px 0 #000000;
}

.brutal-item:hover {
    transform: scale(1.05);
    box-shadow: -8px 8px 0 #000000;
    background-color: #3BBDD9;
}

.benefit-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #272727;
}

.brutal-text {
    font-size: 26px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #CD3334;
}

.brutal-description {
    font-size: 18px;
    color: #272727;
    background-color: #F3F3F3;
    padding: 10px;
    border: 2px solid #000000;
}

@media (min-width: 768px) {
    .brutal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .brutal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* --------------------- FOOTER MEJORADO --------------------- */
#footer {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Nunito', sans-serif;
  padding: 50px 0 20px;
  border-top: 4px solid #000000;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  padding: 15px;
  transition: all 0.3s ease;
}

.footer-box {
  border: 3px solid #060606;
  padding: 20px;
  height: 100%;
  box-shadow: 4px 4px #000000;
  background: white;
  transition: all 0.3s ease;
}

/* Efectos hover con los colores específicos */
.footer-col[data-hover-color="#32ACC5"]:hover .footer-box {
  background-color: #32ACC5;
}
.footer-col[data-hover-color="#6EC1E4"]:hover .footer-box {
  background-color: #6EC1E4;
}
.footer-col[data-hover-color="#E28413"]:hover .footer-box {
  background-color: #E28413;
}
.footer-col[data-hover-color="#CD3334"]:hover .footer-box {
  background-color: #CD3334;
}

.footer-col:hover .footer-box {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px #000000;
}

.footer-title {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #000;
}

.footer-text {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mapa del sitio mejor organizado */
.sitemap-section {
  margin-bottom: 1rem;
}

.sitemap-header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}

.sitemap-links {
  list-style: none;
  padding-left: 0;
}

.sitemap-links li {
  margin-bottom: 0.3rem;
}

.sitemap-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  padding-left: 0;
  transition: all 0.2s ease;
}

.sitemap-links a:hover {
  color: #000;
  font-weight: bold;
  padding-left: 5px;
}

.sitemap-links a:before {
  content: "•";
  margin-right: 5px;
  color: #E28413;
}

/* Contacto */
.contact-list {
  list-style: none;
  
  padding-left: 0;
}

.contact-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.contact-list i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #000;
}

.contact-list a {
  color: #333333; /* Mismo color que el texto normal del footer */
  text-decoration: none; /* Quita el subrayado */
  transition: all 0.3s ease; /* Transición suave para efectos hover */
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  color: #000;
  background: #fff;
  border: 2px solid #000;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
}

/* Copyright */
.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #000;
}

.copyright p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer-col {
    margin-bottom: 20px;
  }
  
  .footer-box {
    padding: 15px;
  }
}

@media (max-width: 767.98px) {
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-text, .contact-list li, .sitemap-links a {
    font-size: 0.85rem;
  }
}


/* 
Efecto Smooth sobre el mouse haciendo scrool  */
html {
  scroll-behavior: smooth;
}


/* ------------------------ Estilos Historia ------------------------ */
/* ------------------------ Estilos Historia ------------------------ */
.historia-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(#32ACC5, #CD3334), 
              url('images/hero-historia.webp') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  border-bottom: 5px solid #000;
}

.historia-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.historia-main-content {
  transform: translateY(-20%);
}

.historia-titulo {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Matter SQ Regular', sans-serif;
  text-shadow: 3px 3px 0px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .historia-titulo {
      font-size: 3.5rem;
      letter-spacing: 3px;
  }
}

.historia-titulo-destacado {
  color: #CD3334;
  display: inline-block;
  position: relative;
}

.historia-titulo-destacado::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #E28413;
}

.historia-subtitulo {
  font-size: 1.2rem;
  font-family: 'Helvetica', sans-serif;  /* Tipo de letra */

}

@media (min-width: 768px) {
  .historia-subtitulo {
      font-size: 1.5rem;
  }
}

.historia-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: white;
  z-index: 3;
  transition: all 0.3s ease;
}

.historia-scroll-down:hover {
  transform: translateX(-50%) translateY(5px);
}

.historia-scroll-down span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.historia-scroll-arrow {
  width: 18px;
  height: 28px;
  border: 2px solid white;
  border-radius: 10px;
  position: relative;
}

.historia-scroll-arrow::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: white;
  border-radius: 2px;
  animation: scrollDown 1.5s infinite;
}

.historia-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@keyframes scrollDown {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 8px); opacity: 0; }
}


/* Sección Orígenes */
.origenes-seccion {
  padding: 80px 20px;
  background-color: #F3F3F3;
  border-bottom: 5px solid #000;
}

.origenes-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.origenes-imagen {
  position: relative;
  flex: 1;
}

.origenes-img {
  width: 100%;
  height: auto;
  border: 5px solid #000;
  box-shadow: 10px 10px 0px #000;
  transition: transform 0.3s ease;
}

.origenes-img:hover {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0px #000;
}

.origenes-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: #CD3334;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border: 3px solid #000;
  font-family: 'Hakuna Sans', sans-serif;
  font-size: 1.2rem;
}

.origenes-content {
  flex: 1;
}

.origenes-titulo {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Matter SQ Regular', sans-serif;
  text-transform: uppercase;
}

.texto-destacado {
  color: #CD3334;
  position: relative;
  display: inline-block;
}

.texto-destacado::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #E28413;
}

.origenes-texto {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.origenes-frase {
  background-color: #fff;
  border: 3px solid #000;
  padding: 20px;
  position: relative;
  box-shadow: 5px 5px 0px #000;
}

.origenes-frase p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.origenes-frase span {
  font-weight: bold;
  color: #CD3334;
}

/* Sección Evolución */

/* Estilos mejorados para la animación y destaque */
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline-highlights {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.highlight-item {
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.highlight-number {
  font-weight: 700;
  font-size: 1.4rem;
  color: #2c3e50;
  line-height: 1.2;
}

.highlight-text {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.highlight-channels {
  font-family: monospace;
  letter-spacing: 1px;
  color: #3498db;
  font-size: 0.9rem;
}

.timeline-year {
  /* Estilo para que solo muestre el año */
  font-weight: 800;
  font-size: 1.1rem;
}



.evolucion-seccion {
  padding: 80px 20px;
  background-color: #32ACC5;
  color: white;
  border-bottom: 5px solid #000;
}

.evolucion-header {
  text-align: center;
  margin-bottom: 50px;
}

.evolucion-titulo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Matter SQ Regular', sans-serif;
  text-transform: uppercase;
}

.evolucion-subtitulo {
  font-size: 1.5rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
  z-index: 2;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 30px;
  padding-right: 0;
}

.timeline-year {
  position: absolute;
  top: 0;
  width: 80px;
  height: 80px;
  background: #CD3334;
  border: 3px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 5px 5px 0px #000;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
}

.timeline-content {
  width: calc(50% - 70px);
  padding: 20px;
  background: white;
  color: #000;
  border: 3px solid #000;
  box-shadow: 5px 5px 0px #000;
}

.timeline-content h3 {
  color: #CD3334;
  margin-bottom: 0.5rem;
  font-family: 'Hakuna Sans', sans-serif;
}

.timeline-content p {
  font-family: 'Matter SQ Regular', sans-serif;
}

/* Sección Valores */
.valores-seccion {
  padding: 80px 20px;
  background-color: #F3F3F3;
  border-bottom: 5px solid #000;
}

.valores-header {
  text-align: center;
  margin-bottom: 50px;
}

.valores-titulo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Matter SQ Regular', sans-serif;
  text-transform: uppercase;
}

.valores-subtitulo {
  font-size: 1.5rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.valor-card {
  background: white;
  padding: 30px;
  border: 3px solid #000;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
}

.valor-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0px #000;
  background: #6EC1E4;
  color: white;
}

.valor-card:hover h3 {
  color: white;
}

.valor-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.valor-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #CD3334;
  font-family: 'Hakuna Sans', sans-serif;
}

.valor-card p {
  font-family: 'Matter SQ Regular', sans-serif;
  line-height: 1.6;
}

/* Sección Equipo */
.equipo-seccion {
  padding: 80px 20px;
  background-color: #fff;
  border-bottom: 5px solid #000;
}

.equipo-header {
  text-align: center;
  margin-bottom: 50px;
}

.equipo-titulo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Matter SQ Regular', sans-serif;
  text-transform: uppercase;
}

.equipo-subtitulo {
  font-size: 1.5rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.equipo-card {
  background: #F3F3F3;
  border: 3px solid #000;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.equipo-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0px #000;
}

.equipo-imagen {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.equipo-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.equipo-card:hover .equipo-imagen img {
  transform: scale(1.1);
}

.equipo-redes {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(205, 51, 52, 0.9);
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.equipo-card:hover .equipo-redes {
  bottom: 0;
}

.equipo-redes a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.equipo-info {
  padding: 20px;
}

.equipo-info h3 {
  font-size: 1.5rem;
  color: #CD3334;
  margin-bottom: 0.5rem;
  font-family: 'Hakuna Sans', sans-serif;
}

.equipo-info p {
  font-family: 'Matter SQ Regular', sans-serif;
  line-height: 1.6;
}

.equipo-cta {
  text-align: center;
  margin-top: 50px;
}

.equipo-cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.equipo-boton {
  display: inline-block;
  padding: 12px 30px;
  background: #CD3334;
  color: white;
  border: 3px solid #000;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
  font-family: 'Hakuna Sans', sans-serif;
}

.equipo-boton:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px #000;
}

/* Sección Futuro */
.futuro-seccion {
  padding: 80px 20px;
  background-color: #f0f4f5;
  border-bottom: 5px solid #000;
}

.futuro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.futuro-content {
  flex: 1;
}

.futuro-titulo {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Matter SQ Regular', sans-serif;
  text-transform: uppercase;
}

.futuro-texto {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.futuro-datos {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.futuro-dato {
  text-align: center;
}

.futuro-numero {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #CD3334;
  font-family: 'Hakuna Sans', sans-serif;
}

.futuro-label {
  display: block;
  font-size: 1rem;
  font-family: 'Matter SQ Regular', sans-serif;
}

.futuro-imagen {
  position: relative;
  flex: 1;
}

.futuro-img {
  width: 100%;
  height: auto;
  border: 5px solid #000;
  box-shadow: 10px 10px 0px #000;
  transition: transform 0.3s ease;
}

.futuro-img:hover {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0px #000;
}

.futuro-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background-color: #E28413;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border: 3px solid #000;
  font-family: 'Hakuna Sans', sans-serif;
  font-size: 1.2rem;
  transform: rotate(5deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .origenes-container, .futuro-container {
      flex-direction: column;
  }
  
  .timeline-item, .timeline-item:nth-child(even) {
      justify-content: flex-start;
      padding-left: 70px;
      padding-right: 0;
  }
  
  .timeline-content {
      width: 100%;
  }
  
  .timeline-year {
      left: 0;
      transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .historia-titulo {
      font-size: 3rem;
  }
  
  .historia-subtitulo {
      font-size: 1.3rem;
  }
  
  .origenes-titulo, .evolucion-titulo, .valores-titulo, .equipo-titulo, .futuro-titulo {
      font-size: 2rem;
  }
  
  .origenes-subtitulo, .evolucion-subtitulo, .valores-subtitulo, .equipo-subtitulo {
      font-size: 1.2rem;
  }
  
  .futuro-datos {
      flex-direction: column;
      gap: 20px;
  }
}

@media (max-width: 480px) {
  .historia-titulo {
      font-size: 2.5rem;
  }
  
  .valor-card, .equipo-card {
      min-width: 100%;
  }
}
/* --------------------- FOOTER MEJORADO --------------------- */
#footer {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Nunito', sans-serif;
  padding: 50px 0 20px;
  border-top: 4px solid #000000;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col {
  padding: 15px;
  transition: all 0.3s ease;
}
.footer-box {
  border: 3px solid #060606;
  padding: 20px;
  height: 100%;
  box-shadow: 4px 4px #000000;
  background: white;
  transition: all 0.3s ease;
}
/* Efectos hover con los colores específicos */
.footer-col[data-hover-color="#32ACC5"]:hover .footer-box {
  background-color: #32ACC5;
}
.footer-col[data-hover-color="#6EC1E4"]:hover .footer-box {
  background-color: #6EC1E4;
}
.footer-col[data-hover-color="#E28413"]:hover .footer-box {
  background-color: #E28413;
}
.footer-col[data-hover-color="#CD3334"]:hover .footer-box {
  background-color: #CD3334;
}
.footer-col:hover .footer-box {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px #000000;
}
.footer-title {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #000;
}
.footer-text {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}
/* Mapa del sitio mejor organizado */
.sitemap-section {
  margin-bottom: 1rem;
}
.sitemap-header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}
.sitemap-links {
  list-style: none;
  padding-left: 0;
}
.sitemap-links li {
  margin-bottom: 0.3rem;
}
.sitemap-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  padding-left: 0;
  transition: all 0.2s ease;
}
.sitemap-links a:hover {
  color: #000;
  font-weight: bold;
  padding-left: 5px;
}
.sitemap-links a:before {
  content: "•";
  margin-right: 5px;
  color: #E28413;
}
/* Contacto */
.contact-list {
  list-style: none;
  
  padding-left: 0;
}
.contact-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}
.contact-list i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #000;
}
.contact-list a {
  color: #333333; /* Mismo color que el texto normal del footer */
  text-decoration: none; /* Quita el subrayado */
  transition: all 0.3s ease; /* Transición suave para efectos hover */
}
/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-icon {
  color: #000;
  background: #fff;
  border: 2px solid #000;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
}
/* Copyright */
.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #000;
}
.copyright p {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.legal-links {
  font-size: 0.8rem;  /* Tamaño más pequeño */
}
.legal-link {
  color: #000000 !important;  /* Negro puro */
  text-decoration: none;      /* Sin subrayado */
  margin: 0 10px;            /* Espaciado entre enlaces */
  transition: all 0.3s ease; /* Transición suave (opcional) */
}
.legal-link:hover {
  color: #000000 !important;  /* Mantiene negro al pasar el mouse */
  text-decoration: underline; /* Subrayado al hover (opcional) */
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer-col {
    margin-bottom: 20px;
  }
  
  .footer-box {
    padding: 15px;
  }
}
@media (max-width: 767.98px) {
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-text, .contact-list li, .sitemap-links a {
    font-size: 0.85rem;
  }
}

/* 
Efecto Smooth sobre el mouse haciendo scrool  */
html {
  scroll-behavior: smooth;
}




  
  /* Establece el color de fondo deseado para los botones del menú desplegable */
  .dropdown-menu .dropdown-item:focus, .dropdown-menu .dropdown-item:hover {
    background-color: #66CCE3; /* Cambia 'red' por el color deseado */
  }


/*Texto superior página inicial - Negrilla grande - Identificador
*/
#titulo1 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 6vw;
}


/*Intertítulos
*/
.titulo2 {
  font-family: 'Oxygen', sans-serif;
  text-decoration: underline;
  font-weight: 800;
}

/*Separador con fondo de color */
.separadortitulo{
  background-color: #f8f9fa;
  padding: 50px;
  font-family: 'Noto Sans', sans-serif;
}


body {
  background:white;
  font-family: "Nunito", sans-serif;
}
h1{
  font-size: 85px;
}
h2{
  color: #66CCE3;
  font-weight: bold;
}
span {
  color background: #66CCE3;
}
#footer{
  background-color: #ffffff;
  padding-top: 40px;
  padding-bottom: 20px;
}



/* fin ----------------  Footer Styles */
