.contacto-item a {
  color: inherit;
  text-decoration: none;

}

.contacto-item a:hover {
  text-decoration: underline;
  /* opcional */
}

/* ------------ SECCIÓN VALORES ------------ */
.values-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.values-intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .values-intro {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .values-text {
    flex: 1;
    padding-right: 2rem;
  }

  .values-image-container {
    flex: 1;
    max-width: 500px;
  }
}

.values-image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.values-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .values-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .values-grid-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

.values-card {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.values-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: #10422B;
}

.values-icon {
  margin-bottom: 1rem;
  padding: 10px;
  background-color: rgb(240 240 240 / 50%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.values-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #10422B;
  margin-bottom: 0.5rem;
}

.values-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ------------ SECCIONES SERVICIOS CON FONDO ------------ */
#gerencia,
#supervision,
#direccion-tecnica {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#gerencia {
  background-image: url('./images_projects/img7.jpg');
}

#supervision {
  background-image: url('./images_projects/img2.png');
}

#direccion-tecnica {
  background-image: url('./images_projects/img12.jpg');
}

/* Overlay */
#gerencia::before,
#supervision::before,
#direccion-tecnica::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 45, 42, 0.75);
  /*background-color: rgba(16, 66, 43, 0.85);*/
  z-index: 1;
}

#gerencia .container,
#supervision .container,
#direccion-tecnica .container {
  position: relative;
  z-index: 2;
}

/* Textos en blanco para contraste */
#gerencia .section__title,
#supervision .section__title,
#direccion-tecnica .section__title {
  color: #fff !important;
}

#gerencia .section__subtitle,
#supervision .section__subtitle,
#direccion-tecnica .section__subtitle {
  color: #f0f0f0 !important;
}



/* Tarjetas con ligera transparencia */
.values-card {
  background: rgba(255, 255, 255, 0.95);
}
/* =========================================
   ESTILOS DE SECCIONES DE SERVICIOS
   ========================================= */

.services-section-title {
  color: #10422B;
  font-size: clamp(20px, 3vw, 2.4rem);
}

.services-section-subtitle {
  font-style: italic;
}

.values-text-centered {
  text-align: center;
  width: 100%;
  padding-right: 0;
}

.values-grid-8 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

