/* Sección de clientes expandibles */
.clientes-section-expandible {
  padding: 4rem 2rem;
  background-color: #f8f9fc;
  text-align: center;
}

.clientes-section-expandible h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.clientes-subtitulo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
}

/* Grid de clientes */
.clientes-grid-expandible {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjeta de cliente */
.cliente-card-expandible {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cliente-card-expandible:hover {
  background-color: #edf4f8;
  transform: translateY(-4px);
}

.cliente-card-expandible.expanded {
  grid-column: span 2;
  background-color: #edf4f8;
  transform: scale(1.02);
}

/* Imagen cliente */
.cliente-image {
  width: 250px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.cliente-card-expandible:hover .cliente-image {
  transform: scale(1.05);
}

/* Texto cliente */
.cliente-card-expandible h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}

.cliente-card-expandible .resumen {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.cliente-card-expandible .detalle {
  display: none;
  margin-top: 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.cliente-card-expandible.expanded .detalle {
  display: block;
}

.cliente-card-expandible.expanded .resumen {
  display: none;
}

/* Tecnologías */
.tecnologias {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}

.tech-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.tech-icon:hover img {
  transform: scale(1.15);
}