/* 🌆 Sección Empresas */
.trusted-section {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #fff;
  min-height: 95vh;
  background: url(FondoSeccion2.jpg) center/cover no-repeat;
  padding-left: 10%;
}

.trusted-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url(Seccion2Imagen.webp) center/cover no-repeat;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 30% 100%);
  z-index: 3;
  opacity: 1;
}

.trusted-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.60);
  z-index: 2;
}

/* 🏢 Contenido */
.trusted-content {
  position: relative;
  z-index: 4;
  text-align: left;
  max-width: 700px;
  color: #000;
}

.trusted-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1.5px;
  color: #000;
}

/* Logos grid */
.trusted-logos-grid {
  display: flex;
  gap: 60px;
}

.logo-column {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: flex-start;
}

/* 🔧 Corrección: evitar que los logos se deformen */
.logo-item {
  max-height: 115px;   /* límite de altura, no forzada */
  width: auto;         /* mantiene proporción */
  object-fit: contain; /* asegura que no se recorte ni estire */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
}

.logo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 💬 Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  right: 24px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 5px rgba(209, 15, 15, 0.3);
  z-index: 60;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #20b358;
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

/* 📱 Responsive de la sección empresas */
@media (max-width: 992px) {
  .trusted-section {
    flex-direction: column;
    padding: 60px 20px;
    align-items: center;
  }

  .trusted-image { display: none; }

  .trusted-content { text-align: center; }

.trusted-logos-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 110px; /* Espacio entre la fila de columnas y el logo GTD */
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px; /* Espacio entre las dos columnas principales */
}

.logo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}


.logo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🎯 Logo GTD centrado */
.logo-center {
  display: flex;
  justify-content: center;
}

.logo-center img {
  height: 90px; /* ✅ Mismo alto que los demás */
  width: auto;
  object-fit: contain;
}



}
