.header {
  background-color: #bb5cf6cf;
  height: 50px;             /* altura delgada */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;          /* poco padding horizontal */
  box-sizing: border-box;
  width: 100%;              /* ancho total */
  position: fixed;          /* fijo arriba */
  top: 0;
  left: 0;
  z-index: 1000;            /* por encima de otros elementos */
  font-size: 1.2rem;
  color: white;
}
.center-text{
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  opacity: 0.8;
  color: #ffffff;
  text-align: center;
  letter-spacing: 8px; 
}

.logo img {
  height: 35px;        
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: inherit;
}

.nav-links {
  display: flex;
  gap: 35px;
  font-size: 1.1rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  line-height: 50px;       /* centrar verticalmente */
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-color: rgb(195, 173, 49);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}
.social-icons img {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}
/* Tablets y pantallas medianas */
@media (max-width: 992px) {
  .header {
    flex-wrap: wrap;
    height: auto;             
    padding: 8px 15px;        /* menos padding para que sea más compacto */
    justify-content: center;
    text-align: center;
  }

  .logo {
    flex: 1 1 100%;
    justify-content: center;
    display: flex;
    margin-bottom: 5px;
  }

  .logo img {
    height: 28px;             /* logo más pequeño */
  }

  .center-text {
    flex: 1 1 100%;
    font-size: 0.95rem;       /* reducir tamaño del eslogan */
    letter-spacing: 3px;      
    margin-bottom: 5px;
  }

  .nav-links {
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;                /* menos espacio entre enlaces */
    font-size: 0.95rem;       /* enlaces más pequeños */
    margin-bottom: 5px;
  }

  .nav-links a {
    line-height: 1.3;
    padding: 0 5px;
  }

  .social-icons {
    flex: 1 1 100%;
    justify-content: center;
    display: flex;
    gap: 10px;                /* menos espacio entre iconos */
    margin-bottom: 5px;
  }

  .social-icons svg,
  .social-icons img {
    width: 20px;              /* iconos más pequeños */
    height: 20px;
  }
}

/* Móviles pequeños — más compacta (25% más pequeña) */
@media (max-width: 600px) {
  .header {
    height: auto;             
    padding: 4px 8px;        /* header más delgado */
    flex-wrap: wrap;          
    justify-content: center;
    text-align: center;
  }

  .logo img {
    height: 18px;             /* logo más pequeño */
  }

  .center-text {
    font-size: 0.75rem;        /* eslogan más compacto */
    letter-spacing: 1px;      
    margin-bottom: 2px;
  }

  .nav-links {
    flex-direction: row;       
    flex-wrap: wrap;           
    align-items: center;
    justify-content: center;
    gap: 6px;                  /* menos espacio entre enlaces */
    font-size: 0.75rem;        /* enlaces más pequeños */
  }

  .nav-links a {
    line-height: 1.1;
    padding: 0 3px;
  }

  .social-icons {
    gap: 6px;                 
  }

  .social-icons svg,
  .social-icons img {
    width: 14px;              /* iconos más pequeños */
    height: 14px;
  }
}
/* Carrusel de imágenes */
.swipe-carousel {
  display: flex;
  overflow-x: hidden; 
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 900px;
  margin: 60px auto 0 auto; /* espacio debajo del header */
  position: relative;
}

/* Tablets */
@media (max-width: 992px) {
  .swipe-carousel {
    max-width: 600px;  
    margin-top: 70px;  /* header más grande al hacer wrap */
  }
}

/* Móviles */
@media (max-width: 600px) {
  .swipe-carousel {
    max-width: 320px;  
    margin-top: 80px;  /* suficiente espacio para no mezclarse con el header */
  }
}

.slide {
  flex: 0 0 100%; /* Cada slide ocupa el 100% del carrusel */
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  box-sizing: border-box; /* Asegura que el padding no desborde */
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ajusta imagen sin deformarla */
  border-radius: 10px;
}

/* Sección "¿Qué hacemos?" */
.que-es{
  background-color: #ffffff;
  padding: 60px 20px 200px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #05134e;
  position: relative;
}

.que-es .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.que-es h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #9a26dd;
}

.que-es .descripcion {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease, transform 1s ease;
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #222; /* más oscuro */
}

.que-es .descripcion.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Servicios */
.servicios {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.servicio {
  background-color: #fff;
  box-shadow: 0 4px 12px rgb(42, 7, 63);
  border-radius: 10px;
  padding: 25px;
  flex: 1 1 280px;
  max-width: 320px;

  /* Animación de entrada */
  opacity: 0;
  transform: translateY(100px);
  transition: transform 0.6s ease, box-shadow 0.3s ease, opacity 0.8s ease;
}

.servicio.visible {
  opacity: 1;
  transform: translateY(0);
}

.servicio:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.servicio h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #6e1c9e;
}

.servicio p {
  font-size: 1rem;
  color: #111; /* más oscuro */
  line-height: 1.4;
}

/* Actividades */
.actividades {
  background-color: #f9f9f9;
  padding: 60px 20px 200px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222222;
  position: relative;
}

.actividades .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.actividades h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #a326dd;
}

.actividades .descripcion {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease, transform 1s ease;
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #222; /* más oscuro */
}

.pactividades .descripcion.visible {
  opacity: 1;
  transform: translateX(0);
}

/* CONTENEDORES FLEXIBLES */
.cuadrados-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

/* Fondo degradado para toda la página */
body, html {
  height: 100%;
  margin: 0;
  background: linear-gradient(to right, #f7dc6f, #85c1e9); /* amarillo → azul */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

section, .container, .cuadro, .horario-section, .como-llegar, .que-hacemos, .por-que-nos-eligen {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9); /* semi-transparente */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 30px;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 80px at 15% 20%, rgba(85, 150, 230, 0.6), transparent 70%),
    radial-gradient(circle 40px at 70% 15%, rgba(247, 220, 111, 0.6), transparent 70%),
    radial-gradient(circle 60px at 30% 80%, rgba(85, 150, 230, 0.5), transparent 70%),
    radial-gradient(circle 50px at 85% 60%, rgba(247, 220, 111, 0.6), transparent 70%),
    radial-gradient(circle 35px at 10% 90%, rgba(85, 150, 230, 0.6), transparent 70%),
    radial-gradient(circle 70px at 90% 85%, rgba(247, 220, 111, 0.5), transparent 70%);
}
.contacto-suscripcion {
  background-color: #fff; /* blanco sólido */
  padding: 60px 20px;
  opacity: 1;
}

.bloques-contacto {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}

.bloque {
  background-color: #ffe5e5; /* color sólido */
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 400px;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 1;
}

/* Estilos para enlaces dentro de .bloque */

.bloque {
  background-color: rgb(250, 248, 238);
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 400px;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(214, 229, 247, 0.1);
  text-align: center;
  opacity: 1;
}
.bloque h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-contacto input,
.form-contacto textarea,
.form-suscripcion input {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
  border: 2px solid #e0e8fd;
  font-size: 1rem;
}

.form-contacto button,
.form-suscripcion button {
  background-color: #509afa;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.form-contacto button:hover,
.form-suscripcion button:hover {
  background-color: #7aabeb;
}

.iconos-redes {
  font-size: 1.5rem;
  margin: 10px 0 20px;
}

.iconos-redes i {
  margin: 0 10px;
  color: #000;
  cursor: pointer;
}

/* Ajustes específicos para los bloques dentro de contacto-suscripcion */

.contacto-suscripcion .bloque {
  background-color: rgb(250, 248, 238);
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 400px;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(214, 229, 247, 0.1);
  text-align: center;
  opacity: 1;
}

.contacto-suscripcion .bloque h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #8b29b9;
}

/* Estilos solo para el formulario dentro del primer bloque */
.contacto-suscripcion .bloque:first-child .form-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.contacto-suscripcion .bloque:first-child .form-contacto input,
.contacto-suscripcion .bloque:first-child .form-contacto textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: vertical;
}

.contacto-suscripcion .bloque:first-child .form-contacto button {
  background-color: #bc3dfb;
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto-suscripcion .bloque:first-child .form-contacto button:hover {
  background-color: #5f047e;
}

/* Estilo para el segundo bloque (datos de contacto) */
.contacto-suscripcion .bloque:last-child p {
  font-size: 1.3rem;       /* un poco más grande */
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: center;      /* centrado */
  font-weight: 500;        /* un toque más de peso para mejor lectura */
}

.contacto-suscripcion .bloque:last-child h3 {
  text-align: center;
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.bloque {
  background-color: rgb(250, 248, 238);
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 400px;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(214, 229, 247, 0.1);
  text-align: center;
  opacity: 0;
}

/* Activan la animación cuando aparecen */
.bloque.visible.desde-izquierda {
  animation: slideFromLeft 0.8s ease-out forwards;
}

.bloque.visible.desde-derecha {
  animation: slideFromRight 0.8s ease-out forwards;
}

/*Quitar eñ subrayado del htmp en los enlaces cliclabes al los otros htmls*/
.servicio-enlace {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Contenedor general de actividades */
/* Contenedor que agrupa todas las actividades */
.actividades-grid {
  display: grid;
  grid-template-columns: 1fr; /* una columna por defecto */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Cada actividad ahora es un flex container */
.actividad {
  display: flex;
  align-items: center;
  background-color: #f5f7fa;
  border: 2px solid #d7e748c3;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  gap: 20px;
}

/* Texto a la izquierda */
.contenido {
  flex: 1;
  text-align: left;
  font-family: Arial, sans-serif;
}

.contenido h3 {
  margin: 0;
  color: #851dca;
  font-size: 1.3rem;
}

.contenido p {
  font-size: 1rem;
  font-weight: bold;
  color: #000000;

  margin-top: 8px;
}

/* Imagen a la derecha */
.imagen img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .actividad {
    flex-direction: column;
    text-align: center;
  }

  .imagen img {
    width: 100%;
    max-width: 300px;
  }
}



