.bloque-beneficios {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.05);
}

#bloque-beneficios {
  padding: 48px 0; /* o el valor que prefieras */
}

.contenedor-iconos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 30px 40px;
  // background-color: white;
  border-radius: 10px;
  // box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  width: 50%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.footer {
    background: #fff;
    color: #003068;
    padding: 60px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    text-align: center;
  }

  .footer-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .footer-links a {
      position: relative;
    color: #003068;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 20px;
}

  .footer-links a:hover {
    color: #003068;
  }
  
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #003068;
  transition: width 0.4s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

  .footer-contacto p:first-child {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .footer-contacto p:last-child {
    font-size: 16px;
    color: #003068;
  }

  .footer-social a {
    display: inline-block;
    margin: 0 12px;
    font-size: 22px;
    color: #003068;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .footer-social a:hover {
    transform: scale(1.2);
    color: #003068;
  }

  .footer-copy {
    font-size: 13px;
    color: #003068;
  }
.fa-solid, .fas {
    font-weight: 900;
    margin: 7px;
}

.clientes-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
  margin: -10px;
  margin-bottom: 70px;
}

.swiper {
  padding-bottom: 30px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 100px;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

.swiper-slide img:hover {
  filter: grayscale(0%);
}
/* Counter Section */
.section.counters {
  background: #f7f7f7;
  padding: 60px 0;
  text-align: center;
}

.facts-item {
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.facts-item:hover {
  transform: translateY(-5px);
}

.facts-item .icon {
  font-size: 50px;
  color: #003068; /* color principal Cambren */
  margin-bottom: 15px;
}

.fact-count h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #222;
}

.fact-count h4 {
  font-size: 16px;
  font-weight: 400;
  color: #555;
}

/* Responsive improvements */
@media (max-width: 767px) {
  .facts-item .icon {
    font-size: 40px;
  }

  .fact-count h3 {
    font-size: 28px;
  }

  .fact-count h4 {
    font-size: 14px;
  }
  #header .nav-link {
  text-shadow: 3px 3px 4px rgba(0,0,0,0.8);
  background-color: #003068;
  border-radius: 8px;
  opacity: 88%;
  margin: 1px;
}
}
.card-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.card .texto {
  flex: 1;
}

.card .imagen img {
  width: 220px;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive: en mobile que se apile */
@media (max-width: 768px) {
  .card-contenido {
    flex-direction: column;
    text-align: center;
  }

  .card .imagen img {
    width: 100%;
    max-width: 300px;
  }
  .navbar-brand .logo {
    display: block;
    width: 180px;
    height: 60px;
    background: url(img/logo_cambren.png) no-repeat center / contain;
    transform: scale(1.9);
    margin-left: 22px;
}
}
.clientes {
  padding: 4rem 1rem;
  background-color: #fff;
}

#clientesContainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.cliente-logo img {
  width: 160px;
  max-height: 160px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.cliente-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* 1) Dile al contenedor que anime opacity y transform */
#clientesContainer {
  /* Ajusta la duración para el fade-out (0.4s) y el fade-in (0.6s) */
  transition: opacity 0.4s ease, transform 0.4s ease;
  /* will-change ayuda a que el navegador lo optimice */
  will-change: opacity, transform;
}

/* 2) Sobrescribe la duración del fade-in para que dure 0.6s */
#clientesContainer.fade-in {
  transition-duration: 0.6s;
}

.custom-outline {
  color: #003068;
  border: 1px solid #003068;
  border-radius: 50px;
  font-weight: 700;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.custom-outline:hover {
  background-color: #ffffff;
  color: #003068;
}
.img-cambren {
  max-width: 100%;
  height: auto;
  border-radius: 1.5rem; /* bordes redondeados */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* sombra elegante */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.img-cambren:hover {
  transform: scale(1.02); /* efecto leve de zoom */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); /* sombra más fuerte al pasar el mouse */
}
#quienes-somos.py-5{
    background-color: #f5f5f5;
}
.card-animada {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
  will-change: transform, opacity, box-shadow;
}

/* Se aplica cuando aparece en pantalla */
.card-animada.animada {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto al pasar el mouse */
.card-animada:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}
.seccion-contacto {
  background-color: #002F6C; /* tu azul */
  color: white;
  padding: 60px 20px;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%);
  position: relative;
  z-index: 1;
}
.scroll-margin {
  scroll-margin-top: 100px; /* Ajustá según el alto de tu navbar, 100px suele andar bien */
  scroll-behavior: smooth;
}
#quienes-somos {
  scroll-margin-top: 100px;
}

#obras {
  scroll-margin-top: 10px;
}

#contacto {
  scroll-margin-top: 10px;
}

#contacto {
  scroll-margin-top: 100px;
}
.counter-wrap {
  display: inline-flex;
  flex-direction: row-reverse; /* Esto invierte visualmente */
  align-items: baseline;
}

.counter-wrap .plus {
  margin-right: 5px;
}

.fact-count h3 {
    color: #003068;
}
.fact-count h4 {
    color: #003068;
}
#hero .btn-dark{
    background-color: #0000;
    border-color: #fff;
}
.boton-link {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  background-color: transparent;
  transition: all 0.3s ease;
  font-size: 14px;
}

.boton-link:hover {
  background-color: white;
  color: #003068; /* o el color de fondo que tengas */
}
.fact-count h3 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center; /* opcional */
  align-items: baseline;   /* opcional */
  gap: 4px;                /* para un poco de espacio */
}
/* 👉 logo vía CSS en la navbar */
.navbar-brand .logo {
  display: block;
  width: 180px;         /* ajusta al ancho que necesites */
  height: 60px;         /* ajusta la altura acorde al logo */
  background: url('img/logo_cambren.png') no-repeat center/contain;
  transform: scale(1.9);
}
.menu-open {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  border-radius: 8px;
  padding: 1rem;
}
.menu-open .nav-link {
  display: inline-block;
  text-align: center; /* centra el texto dentro del inline-block */
  color: #fff;
  background-color: rgba(0, 48, 104, 0.7);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  margin: 0.2rem 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  transition: background 0.3s, transform 0.2s;
}

/* Esto hace que el bloque mismo quede centrado */
.menu-open {
  text-align: center;
}
.navbar-nav {
    text-align: center;
}