/* ===== Navbar fija ===== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .navbar-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 50px;
    width: auto;
  }
  
  .navbar nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .navbar nav ul li a {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .navbar nav ul li a:hover {
    color: #f4b400;
  }
  
  /* Ajuste para compensar el navbar fijo */
  body {
    scroll-behavior: smooth;
    padding-top: 80px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #2d2d2d;
    background-color: #ffffff;
    line-height: 1.6;
  }
  
  /* ===== Hero (portada principal) ===== */
  .hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../img/hero.jpeg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
  
  /* ===== Servicios ===== */
  .services {
    padding: 4rem 2rem;
    background-color: #ffffff;
  }
  
  .service-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .service-columns {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  .service-item {
    flex: 1;
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  /* ===== Contacto ===== */
  .contact {
    padding: 4rem 2rem;
    background-color: #f8f8f8;
  }
  
  .contact h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact input,
  .contact textarea {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .contact button {
    padding: 1rem;
    background-color: #f4b400;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .contact button:hover {
    background-color: #e0a800;
  }
  
  /* ===== Footer ===== */
  .footer {
    background-color: #2d2d2d;
    color: white;
    text-align: center;
    padding: 1.5rem;
  }
  
  /* ===== Soluciones ===== */
  .solutions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #ffffff;
  }
  
  @media (min-width: 992px) {
    .solutions {
      flex-direction: row;
      align-items: center;
    }
  }
  
  .solutions-left {
    flex: 1;
  }
  
  .solutions-left h2 {
    color: #f4b400;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .solutions-left .highlight {
    color: #f4b400;
    font-weight: bold;
  }
  
  .solutions-left p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .solution-list {
    list-style: none;
    padding: 0;
  }
  
  .solution-list li {
    font-weight: bold;
    color: #f4b400;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .solution-list img {
    width: 24px;
    height: 24px;
  }
  
  .solutions-right {
    flex: 1;
  }
  
  .solutions-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .solutions-img img {
    width: 100%;
    display: block;
    object-fit: cover;
  }
  
  .solutions-text {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 1rem;
    width: 100%;
  }
  
  .solutions-text h3 {
    margin: 0 0 0.5rem;
  }
  
  /* ===== Novedades ===== */
  .novedades {
    padding: 4rem 2rem;
    background-color: #f8f8f8;
    text-align: center;
  }
  
  .novedades-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .novedades-grid article {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  @media (min-width: 768px) {
    .novedades-grid {
      flex-direction: row;
    }
  }
  
  /* ===== Nosotros ===== */
  .nosotros {
    padding: 4rem 2rem;
    background-color: #ffffff;
  }
  
  .nosotros-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  @media (min-width: 992px) {
    .nosotros-container {
      flex-direction: row;
    }
  }
  
  .nosotros-text {
    flex: 1;
  }
  
  .nosotros-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
  }
  
  /* ===== Trabaja con nosotros ===== */
  .trabaja {
    padding: 4rem 2rem;
    background-color: #f8f8f8;
    text-align: center;
  }
  
  .trabaja .btn-postula {
    display: inline-block;
    margin-top: 1rem;
    background-color: #f4b400;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .trabaja .btn-postula:hover {
    background-color: #e0a800;
  }
  
  #compradoresList ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
  }
  
  #compradoresList li {
    background: #fff;
    border-left: 5px solid #f4b400;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .carousel-slide.active {
    opacity: 1;
  }
  
  .hero-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text p {
    font-size: 1.5rem;
  }

  .clientes {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
  }
  
  .clientes h2 {
    color: #f4b400;
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .clientes-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem 4rem; /* más espacio entre filas y columnas */
    padding: 2rem 0;
  }
  
  .clientes-logos img {
    max-width: 160px; /* puedes reducir o aumentar según el diseño */
    height: auto;
    margin: 0 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
  }
  
  .clientes-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
  }


.grayscale-icon {
    width: 24px;
    height: 24px;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.grayscale-icon:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}