* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
   }
   .h2-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }  
html, body {
    overflow-x: hidden;
   }
body {
    line-height: 1.6;
    background-color: #ffffff;
    color: #1e1e1e;
   }
   #main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    transition: all 0.3s ease;
}
#logo {
    height: 180px;      
    max-width: 100%;   
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
   }
.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 98px 10%;
    gap: 40px;
   }
.section.reverse {
    flex-direction: row-reverse;
   }
.section img {
    width: 50% ;
    max-width: 100% ;
    height: auto ;
    max-height: 400px ;
    border-radius: 8px;
    object-fit: cover;
   }
.text-content {
    width: 45% !important;
    text-align: justify;
   }
.text-content h2 {
    color: #00b8b0;
    font-size: 2.6rem;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 700;
   }
.text-content p {
    font-size: 1.3rem;
    color: #1e1e1e;
   }
footer {
    background-color: #00b8b0;
    color: white;
    text-align: center;
    padding: 20px 10% 30px;
    font-size: 0.9rem;
   }
.footer .legal-links {
    margin-bottom: 10px;
   }
.footer .legal-links a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 0.85rem;
   }
.footer .legal-links a:hover {
    text-decoration: underline;
   }
.section.decorada {
    position: relative;
    overflow: hidden;
   }
.decor {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #00b8b0;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
   }
.top-right {
    top: -30px;
    right: -30px;
   }
.bottom-left {
    bottom: -30px;
    left: -30px;
   }
.turquesa {
    background-color: #00b8b0;
   }
.turquesa .text-content h2,
.turquesa .text-content p {
    color: #ffffff;
   }
.stats-section {
    background-color: #ffffff;
    padding: 60px 10%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 40px;
    flex-wrap: wrap;
   }
.stat h3 {
    font-size: 2.5rem;
    color: #00b8b0; 
    font-weight: 700;
    margin-bottom: 10px;
   }
.stat p {
    color: #00b8b0;
    font-size: 1.2rem;
    font-weight: 500;
   }
.contact-section {
    padding: 60px 10%;
    background-image: url('Imagenes/Foto_contacto.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px; 
   }
.contact-container {
    background-color: #00b8b0;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: white;
   }
.contact-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
   }
.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
   }
.contact-container input,
.contact-container textarea {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    color: #1e1e1e;
   }
.contact-container input::placeholder,
.contact-container textarea::placeholder {
    color: #999;
   }
.contact-container button {
    padding: 12px;
    background-color: #ffffff;
    color: #00b8b0;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
   }
.contact-container button:hover {
    background-color: #e0e0e0;
   }
.contact-description {
    font-size: 1rem;
    margin-bottom: 20px;
    margin-top: -10px; 
    text-align: justify; 
    color: white;
   }
@media (max-width: 768px) {
.section {
    flex-direction: column;
    text-align: center;
   }
.section.reverse {
    flex-direction: column;
   }
.section img,
.text-content {
    width: 100%;
   }
.text-content {
    text-align: left; 
    padding: 0 10px;   
   }
   #main-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #main-header.sticky {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }

  #logo {
    height: 120px;
    margin-bottom: 10px;
  }

  .nav-menu {
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
    justify-content: center;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .section {
    flex-direction: column !important;
    padding: 40px 5%;
    gap: 30px;
  }

  .section img {
    width: 100%;
    max-height: 300px;
  }

  .text-content {
    width: 100% !important;
    padding: 0;
    text-align: justify;
  }

  .text-content h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .text-content p {
    font-size: 1rem;
  }

  .stats-section {
    flex-direction: column;
    padding: 40px 5%;
    gap: 30px;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .stat p {
    font-size: 1rem;
  }
  .carousel {
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
  }
  
  .carousel-track {
    height: auto !important;
    width: 100% !important;
  }
  
  .carousel-track img {
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center;
  }  
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  

  .cta-final h2 {
    font-size: 1.5em;
  }

  .cta-final p {
    font-size: 1em;
  }

  .cta-button {
    width: 90%;              /* Que el botón use casi todo el ancho */
    max-width: 300px;        /* Límite opcional */
    font-size: 1rem;         /* Tamaño del texto más adecuado */
    padding: 12px 10px;
    text-align: center;
    margin: 0 auto;
    display: block;
    white-space: normal;     /* Permitir saltos de línea */
  } 
  /* Mostrar la hamburguesa */
.hamburger {
  display: none;
  color: #00b8b0;
}
#main-header.sticky .hamburger {
  display: block;
}

/* Al hacer scroll, ocultar el menú */
#main-header.sticky .nav-menu {
  display: none;
}

/* Si el menú está abierto */
#main-header.sticky.menu-open .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  background-color: white;
  padding: 15px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
  /* Mostrar menú al hacer clic en hamburguesa, en cualquier estado del header */
  #main-header.menu-open .nav-menu,
  #main-header.sticky.menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    background-color: white;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 0;
  }  
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }   
}
.nav-menu {
    position: relative;
    z-index: 1;
    z-index: 1000;
    background-color: white;
    padding: 15px 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }
.nav-menu a {
    text-decoration: none;
    color: #00b8b0;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
   }
.nav-menu a::after {
    content: "";
    display: block;
    height: 2px;
    background: #00b8b0;
    transition: width 0.3s;
    width: 0;
    margin: auto;
   }
.nav-menu a:hover::after {
    width: 100%;
   }
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }  
.carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 650px;
    margin-top: 0px;
   }
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
   }
.carousel-track img {
    width: 100vw;
    max-height: 650px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
   }
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
   }
.carousel-btn.prev {
    left: 10px;
   }
.carousel-btn.next {
    right: 10px;
   }
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #00b8b0;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
   }
#scrollToTop:hover {
    background-color: #00908a;
   }
#main-header.sticky {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#main-header.sticky #logo {
    height: 60px;
    margin: 0;
}

#main-header.sticky .nav-menu {
    padding: 0;
    margin: 0;
    box-shadow: none;
    justify-content: flex-end;
}
.cta-final {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-top: 4px solid #00cccc;
  }
  
  .cta-final .cta-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .cta-final h2 {
    font-size: 2em;
    margin-bottom: 15px;
  }
  
  .cta-final p {
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  
  .cta-button {
    background-color: #00cccc;
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #00a0a0;
  }  
  .hamburger {
    display: none; /* Se oculta por defecto en escritorio */
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  /* Versión sticky del header */
  #main-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  #main-header.sticky #logo {
    height: 60px;
    margin: 0;
  } 

/* CARRUSEL EMPRESAS QUE HAN CONFIADO*/

.logo-carousel-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
}

.logo-track-wrapper {
  flex: 1;
  width: 100vw; /* igual que el carousel */
  overflow: hidden;
}

.logo-track {
  display: flex;
  transition: transform 0.5s ease;
  width: max-content;
}

.logo-track img {
width: calc(100vw / 6 - 12px); /* ✅ Esto es correcto */
 /* resta 1px para evitar el desborde */
  min-width: 160px; /* mínimo visual aceptable */
  padding: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
}
#colaboradores.section {
  width: 100vw;
  padding: 0;
  margin: 0;
}

@media (max-width: 1023px) {
  .logo-track img {
    width: calc(100vw / 3 - 10px);
  }
}

@media (max-width: 767px) {
  .logo-track img {
    width: calc(100vw / 2 - 10px);
  }
}