/* RESET GENERAL */
* {
  font-family: "Montserrat";
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Montserrat';
}

.slider, .slider-container, .slide {
  background-color: #f1f3f4;; /* o el color que prefieras de fondo */
}

/* HEADER / NAVBAR */
/* HEADER / NAVBAR */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: auto;
  padding: 0rem 4rem 0rem 4rem; /* MÁS espacio a los lados */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  z-index: 1000;
  box-sizing: border-box;
}

header.transparent {
  background-color: transparent;
}

header.scrolled {
  background-color: #f45f64;
}

.logo img {
  height: 90px; /* Ajusta el tamaño del logo según necesites */
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4rem;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li .dot {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.3;
  transition: opacity 0.3s;
}

nav ul li.active .dot {
  opacity: 1;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

nav ul li :hover {
  color: #2D3142;
}

/* HAMBURGUESA */
.hamburger {
  display: none;
}

.hamburger span {
  background: white;
  height: 3px;
  width: 25px;
}

/* REDES SOCIALES A LA DERECHA */
.menu-redes {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.menu-redes a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.menu-redes a:hover {
  color: #2D3142; /* Cambia a color deseado */
}

/* SECCIONES */
section {
  height: auto;
  color: white;
}

/* SOLO para la sección del slider */
section#inicio {
  position: relative;
}

/* SLIDER */
.slider-container {
  overflow: hidden;
  position: relative;
  height: 100vh;
  width: 100%;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* fondo blanco semitransparente */
  backdrop-filter: blur(20px); /* aplica el blur al fondo detrás */
  -webkit-backdrop-filter: blur(10px); /* para compatibilidad Safari */
  z-index: 2;
  opacity: 0;
}

.slide.active .overlay {
  opacity: 1;
}

/* TEXTO SOBRE SLIDER */
.texto_slider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 99;
  padding: 2rem;
  color: white;
  text-shadow: 2px 2px 8px #2D3142;
}

.texto_slider h1 {
  font-size: 3rem;
  margin: 0 0 1rem;
}

.texto_slider h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.boton_slider {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  background-color: #f45f64;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.boton_slider:hover {
  background-color: #2D3142;
}

.texto_slider h1, .texto_slider h2 {
  word-break: break-word;
  white-space: normal;
}
/* FLECHAS SLIDER */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  overflow: visible;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.thumbnail-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: -1;
  opacity: 0; /* << AÑADE ESTO */
  pointer-events: none;
}

.slider-btn:hover .thumbnail-preview {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; /* << MOSTRAR SOLO EN HOVER */
}

/*Estilos de la galería*/
.galery {
  min-height: 100vh;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-bottom: 4rem;
}

.galery_title h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  color: #2D3142;
  font-style: italic;
}

.galery_title h2 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #2D3142;
  padding-bottom: 3rem;
}

.galery_title p{
  font-size: 1rem;
  color: #2D3142;
  text-align: center;
  padding-bottom: 2rem;
}

.categories p{
  font-size: 1rem;
  color: #2D3142;
  text-align: center;
  padding-bottom: 2rem;
}


.galery_title span {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #f45f64;
  font-style: italic;
}

.categories ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0;
}

.categories ul li {
  cursor: pointer;
  font-weight: bold;
  color: #444;
}

.continent.active {
  color: #f45f64; /* El color que desees */
  font-weight: bold;
}

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

.galery_cart {
  position: relative;
  flex: 1 1 calc(25% - 1rem);
  max-width: calc(25% - 1rem);
  aspect-ratio: 1 / 1; /* ← mantenemos cuadrado */
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galery_cart img {
  width: 100%;
  height: 100%; /* ← asegura cubrir todo el espacio */
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 8px;
}

.galery_cart:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(244, 95, 100, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  overflow-y: auto; /* ← scroll si el texto es largo */
  box-sizing: border-box;
}

.galery_cart:hover .overlay {
  opacity: 1;
}

.cart_info {
  color: white;
  font-weight: bold;
}

.cart_info p {
  margin: 0.1rem;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* ← corta con '...' si es demasiado largo */
}

.partner {
  font-size: 0.9rem;
  font-weight: normal;
  color: #ccc;
  margin-top: 4px;
  display: block;
  opacity: 0.8;
}

.cart_info .line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #f45f64;
  margin-bottom: 0.5rem;
}

/*Sección nosotros*/
.nosotros {
  display: flex;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  min-height: 300px;
  align-items: stretch; 
}

.nosotros-col.izquierda {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background-color: #f45f64;
  color: white;
  padding: 4rem;
  border-radius: 0;
  height: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);;
}

.nosotros-col.izquierda h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.nosotros-col.izquierda em {
  font-style: italic;
  font-weight: 600;
}

.nosotros-col.izquierda p {
  font-size: 1rem;
  line-height: 1.6;
}

.logo-nosotros {
  margin-bottom: 9rem;
}

.nosotros-col.derecha {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2.5rem;
  padding-right: 4rem;
  background-color: white;
}

.tarjeta {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  height: 600px;
  padding-top: 5%;
}

.tarjeta-img {
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2); /* sombra suave */
}

.tarjeta-titulo {
  position: absolute;
  bottom: 0;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  border-radius: 0 0 12px 12px;
}

.tarjeta p {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #2D3142;
  line-height: 1.5;
}

/* Sección de por qué elegirnos */

.elecion{
  padding-top: 5%;
  padding-bottom: 5%;
  padding-left: 4rem;
  padding-right: 4rem;
}

.elecion-iconos {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;  /* ✅ asegura dirección horizontal */
  justify-content: space-between;
  align-items: stretch;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
}

.elecion h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  color: #2D3142;
  font-style: italic;
}

.elecion-titulos p{
  font-size: 1rem;
  color: #2D3142;
  text-align: center;
  padding-bottom: 2rem;
}

.elecion h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2D3142;
  padding-bottom: 3rem;
}

.elecion span {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  color: #f45f64;
  font-style: italic;
}

.elecion-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 1rem;
}

.elecion-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  background-color: #2D3142;
  padding: 0.5rem;
  border-radius: 5%;
  box-shadow:  0 4px 5px #2D3142;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover: zoom suave y cambio de color */
.elecion-item img:hover {
  transform: scale(1.2); /* hace zoom al 120% */
  background-color: #ff6f80; /* color ligeramente más claro */
}

.elecion-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2D3142;
}

.elecion-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* Animación Títulos */
.animar {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

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

/*Seccion about*/
.about {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 5%;;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 5%;
  background-color: #f1f3f4;
}

.about-point{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-text{
  flex-grow: 1;
  width: 50%;
  gap: 0.5rem;
  padding-left: 4rem;
  padding-right: 2rem;
  padding-top: 0.5 rem;
}

.about-images{
  flex-grow: 1;
  width: 50%;
}
    .about-text p {
      margin-top: 0.8rem;
      font-size: 1rem;
      color: #2D3142;
      line-height: 1.5;
      margin-bottom: 5px;
    }

    .about-text h4 {
      color: #f45f64;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      font-family: "Montserrat";
    }

    .about-text h3 {
      color: #f45f64;
      font-size: 1rem;
      font-family: "Montserrat";
    }


    .about-text h1 {
      font-size: 2rem;
      margin-bottom: 1rem;
      line-height: 1.3;
      color: #f45f64;
    }

    .about-list {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    .about-item {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .about-point{
      display: flex;
      align-items: center;
    }

    .check-icon img {
      width: 40px;
      height: 40px;
    }

    .check-icon img:hover{
      transform: scale(1.2);
    }

    .about-item p {
      margin-top: 0.8rem;
      font-size: 1rem;
      color: #2D3142;
      line-height: 1.5;
    }

    .about-images {
      flex: 1 1 400px;
      position: relative;
      padding-top: 5%; 
    }
    
    .about-images .img-main {
      width: 80%;
      border-radius: 12px;
    }
    
    .about-images .img-overlay {
      position: absolute;
      top: -30%;
      left: -20%;
      width: 70%;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

/* FRASE */
.frase {
  position: relative;
  background-image: url('https://destinationsexperts.com.mx/wp-content/uploads/2025/05/europe-7128531_1280.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.frase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px); /* Ajusta el nivel de blur aquí */
  background-color: rgba(0, 0, 0, 0.3); /* Capa semitransparente para oscurecer */
  z-index: 1;
}

.frase-fondo {
  position: relative;
  z-index: 2;
}

.frase-fondo p {
  font-size: 2rem;
  margin: 0;
  color: white;
  text-align: center;
}

/* Contador */
  .contador {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f45f64;
    color: white;
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
    padding: 1rem 4rem 1rem;
  }
  
  .contador-item {
    display: flex;
    align-items: center;
    margin: 1rem;
    text-align: center;
  }
  
  .contador-item img {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    border: 2px solid #f1f3f4;
    border-radius: 10%;
    align-items: end;
  }

  .contenedor-texto {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  
  .contenedor-texto h2 {
    font-size: 2.5rem;
    margin: 0.2rem 0;
    transition: transform 0.3s ease;
  }
  
  .contenedor-texto p {
    font-size: 1rem;
    margin: 0;
  }
  
  .contador-item:hover h2 {
    transform: scale(1.1);
  }

  /*Testimonios*/
.testimonios{
  display: flex;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

  .testimonio-bloque {
    position: relative;
    max-width: 45%; /* ajusta según tu diseño */
    padding-left: 4rem;
  }
  
  .testimonio-imagen img {
    width: 80%;
    border-radius: 12px;
    display: block;
  }
  
  .testimonio-caja {
    position: absolute;
    bottom: -20px;
    right: 10px;
    background-color: #2D3142;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  .estrellas {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .testimonio-caja p {
    font-size: 0.9rem;
    margin: 0;
  }

  .testimonios-der{
    flex-direction: column;
    max-width: 55%;
    padding-right: 4rem;
    padding-left: 2rem;
  }

  .title-testimonio h1{
    text-align: center;
    font-size: 2rem;
    color: #2D3142;
    font-style: italic;
  }

  .title-testimonio span{
    color: #f45f64;
  }

  .testimonial-item p{
    color: #2D3142;
    line-height: 1.5rem;
  }

  .testimonial-item p strong{
    color: #f45f64;
  }

  .testimonial-track{
    padding-top: 1rem;
  }

  .testimonial-item {
    display: none;
  }
  .testimonial-item.active {
    display: block;
  }

/* Botones del slider de testimonios */
.testimonial-prev, .testimonial-next {
  position: relative;  /* ya no flotan sobre el texto */
  display: inline-block;
  background-color: #f45f64; /* rosa */
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 10px;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Contenedor para centrar los botones abajo */
.testimonial-buttons {
  text-align: center;
  margin-top: 20px;
}

/* Hover efecto */
.testimonial-prev:hover, .testimonial-next:hover {
  background-color: #e2585d; /* un rosa más oscuro al pasar el mouse */
  transform: scale(1.1);
}

/* contacto */
/* Contenedor principal del bloque contacto */


.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;  /* importante para que ambos lados ocupen misma altura */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.contacto-texto p{
  font-size: 1rem;
  color: #2D3142;
  text-align: center;
  padding-bottom: 2rem;
}

.contacto-texto h1{
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    color: #2D3142;
    font-style: italic;
  }


  .contacto-texto span{
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    color: #f45f64;
    font-style: italic;
  }

/* Formulario 50% */
.contact-form {
    flex: 1;
    max-width: 50%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Imagen 50% */
.contact-image {
    flex: 1;
    max-width: 50%;
    min-width: 300px;
    height: 50vh;  /* altura al 80% del viewport */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Inputs y textarea */
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    padding: 1rem 0 0.5rem 0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f45d6d;
}

/* Placeholder estilo etiqueta flotante */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    transition: transform 0.2s, font-size 0.2s;
}

.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
    padding-top: 1.5rem;
}

.contact-form input:not(:placeholder-shown)::placeholder,
.contact-form textarea:not(:placeholder-shown)::placeholder {
    transform: translateY(-1rem);
    font-size: 0.75rem;
    color: #f45d6d;
}

/* Botón enviar */
.contact-form input[type="submit"],
.submit-button {
    background: #f45d6d;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form input[type="submit"]:hover,
.submit-button:hover {
    background: #d44c5c;
}

/* Checkbox bonito */

.form-check-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  justify-content: center;
  flex-wrap: nowrap;
  text-align: left;
  margin: 0 1rem 2rem 1rem; /* ← este margen incluye separación inferior */
  font-family: 'Montserrat', sans-serif;
}

.form-check-inline input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #f1646c;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  display: grid;
  place-content: center;
  margin: 0; /* ← aquí está la clave */
  flex-shrink: 0;
}

.form-check-inline input[type="checkbox"]:checked {
  background-color: #f1646c;
  border-color: #f1646c;
}

.form-check-inline input[type="checkbox"]::before {
  content: "✔";
  color: white;
  font-size: 14px;
  display: none;
}

.form-check-inline input[type="checkbox"]:checked::before {
  display: block;
}

.form-check-inline a {
  color: #f1646c;
  text-decoration: underline;
  white-space: nowrap;
}

/* FOOTER */
.footer {
  background-color: #f45f64;
  color: #fff;
  padding: 4rem;
  font-family: 'Montserrat', sans-serif;
  display: flex;
}

.footer-container {
  max-width: 50%;
}

.footer-container img{
  max-width: 300px;
}

.footer-description {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-contact p {
  margin: 0.5rem 0;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #f1f3f4; /* tu color rosa para resaltar íconos */
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 0.3rem 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #2D3142;
}

.footer-bottom {
  background-color: #e2585d;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}

.footer-bottom-left p {
  margin: 0;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-right span {
  margin-right: 0.5rem;
}

.footer-bottom-right a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-bottom-right a:hover {
  color: #f45f64; /* tu color rosa */
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #e2585d;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: background-color 0.3s;
}

.scroll-to-top:hover {
  background-color: #f45f64;
}

.footer-link {
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  color: #f45f64;
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .frase-fondo p {
    font-size: 1.5rem;
  }
}


/* MEDIA QUERIES */

/* TABLET */
@media (max-width: 1024px) {
  .texto_slider {
    padding: 1rem;
  }

  .texto_slider h1 {
    font-size: 2rem;
  }

  .texto_slider h2 {
    font-size: 1.2rem;
  }

  .boton_slider {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  .galery_title h1 {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      color: #2D3142;
      font-style: italic;
    }
    
    .galery_title h2 {
      text-align: center;
      font-size: 1rem;
      margin-bottom: 1.5rem;
      color: #2D3142;
      padding-bottom: 3rem;
    }
    
    .galery_title span {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      color: #f45f64;
      font-style: italic;
    }
    
    .galery {
      min-height: 100vh;
      padding: 2rem;
    }
  }

.abajo-gallery {
  margin-top: 4rem;
  margin-bottom: 4rem;
  margin-left: 4rem;
  margin-right: 4rem;
}

.abajo-texto p{
  font-size: 1rem;
  color: #2D3142;
  text-align: center;
  padding-bottom: 2rem;
}

.abajo-texto h1{
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  color: #2D3142;
  font-style: italic;
}


.abajo-texto span{
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  color: #f45f64;
  font-style: italic;
}



/* TABLET / MOBILE */
@media (max-width: 768px){
  .texto_slider {
    padding: 1rem;
  }

  .texto_slider h1 {
    font-size: 2rem;
  }

  .texto_slider h2 {
    font-size: 1.2rem;
  }

  .boton_slider {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  nav ul {
    display: none;
    flex-direction: column;
    background: #f45f64;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1rem;
    border-radius: 8px;
    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    z-index: 1100;
    width: 30px;
    height: 30px;
    position: relative;
  }

  .galery_cart {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .galery_title h1 {
    text-align: center;
    font-size: 2rem;
    color: #2D3142;
    font-style: italic;
  }
  
  .galery_title h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2D3142;
    line-height: 2; 
  }
  
  .galery_title span {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.3rem;
    color: #f45f64;
    font-style: italic;
  }

  .galery {
    min-height: 100vh;
    padding: 2rem;
  }
  .nosotros {
    flex-direction: column;
    height: auto; /* ya no queremos ocupar 100vh en móvil */
    width: 100vw;
    max-width: 100vw;
  }
  

  .nosotros-col.izquierda,
  .nosotros-col.derecha {
    width: 100%;
    height: auto;
  }

  .nosotros-col.izquierda {
    width: 100%; /* ✅ fuerza el ancho completo de la ventana */
    padding: none;
    box-sizing: none; /* importante para que padding no desborde */
    border-radius: 0;
  }

  .nosotros-col.derecha {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .card {
    max-width: 100%;
  }

  .contador {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
  }
  
  .contador-item {
    display: grid;
    grid-template-columns: 80px auto;
    align-items: center;
    width: 100%;
    max-width: 300px;
    background-color: transparent;
  }
  
  .contador-item img {
    width: 60px;
    height: 60px;
    border: 2px solid #f1f3f4;
    border-radius: 10%;
    justify-self: center;
  }
  
  .contenedor-texto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .contenedor-texto h2 {
    font-size: 2.5rem;
    margin: 0;
  }
  
  .contenedor-texto p {
    font-size: 1rem;
    margin: 0;
  }

	.footer {
	flex-direction: column;
	padding: 4rem 0.2rem 0.2rem 4rem;
	}
	
	.footer-container {
  max-width: 100%;
}

	
  }

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {
  .texto_slider h1 {
    font-size: 1.5rem;
  }

  .texto_slider h2 {
    font-size: 1rem;
  }

  .boton_slider {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .galery_cart {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .galery_title h1 {
    text-align: center;
    font-size: 0.8rem;
    margin-bottom: .2rem;
    color: #2D3142;
    font-style: italic;
  }
  
  .galery_title h2 {
    text-align: center;
    font-size: 0.4rem;
    margin-bottom: 0.3rem;
    color: #2D3142;
  }
  
  .galery_title span {
    text-align: center;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: #f45f64;
    font-style: italic;
}

.galery {
  min-height: 100vh;
  padding: 2rem;
}

.nosotros {
  flex-direction: column;
}

.nosotros-col.derecha {
  flex-direction: column;
  padding: 1rem;
}

.card {
  width: 100%;
  max-width: 100%;
}

.nosotros-col.izquierda {
  padding: 2rem 1.5rem;
}

.footer-container {
  max-width: 100%;
}


}

@media (max-width: 992px) {
  .testimonios {
    flex-direction: column;
  }
	
.footer-container {
  width: 90%;
}


  .testimonio-bloque {
   max-width: 100%;
   height: inherit;
   padding-bottom: 4rem;
   padding-bottom: 10rem;
  }

  .testimonio-caja {
    position: absolute;
    bottom: 20px;
    right: 15px;
    background-color: #f45f64;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .testimonios-der{
    padding-left: 4rem;
    display: flex;
    flex-direction: column;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    align-items: center;
  }

  .about-text{
    width: 90%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-images .img-overlay {
    top: -2%;
    left: -1%;
  }
  .about-images .img-main {
    margin-top: 80%;
    margin-left: 20%;
  }

  .elecion{
    padding-top: 2%;
    padding-bottom: 0%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .elecion-iconos {
    padding: 0.5rem;
    border-radius: 8px;
  }
/* Estilos para el menú hamburguesa (solo en mobile) */
#nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* cubre toda la pantalla */
  background-color: #f06060;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* espacio para que no tape logo/hamburguesa */
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

#nav-links.show {
  transform: translateY(0);
}

/* Evitar scroll del fondo cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
}

/* Botón hamburguesa */
#hamburger {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed; /* fuera del flujo normal */
  top: 20px;
  right: 20px;
  z-index: 1100; /* por encima del menú */
  cursor: pointer;
}

#hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white; /* usa blanco para contrastar sobre fondo rojo */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación de cruz al abrir */
#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#hamburger.active span:nth-child(2) {
  opacity: 0;
}

#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.contacto{
  padding-left: 2rem;
  padding-right: 2rem;
}

.formulario {
  max-width: 80%;
  padding: none;
}

.footer-container {
  max-width: 100%;
}

	
}
