/* Tipografía */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

/* Global Styles */
body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", serif;
    background-color: #fff;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 130px;
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links li {
    margin-left: 24px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 300;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ce5b0c;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1100;
}

.menu-icon .line {
    width: 28px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

#menu-toggle {
    display: none;
}

@media(max-width: 768px) {

    .logo {
        height: 59px;
    }

    .navbar {
        padding: 16px 24px;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #FFFFFF;
        text-align: center;
        transition: height 0.5s ease;
        padding: 0;
    }

    .nav-links li {
        margin: 10px 0;
        padding: 0;
        width: auto;
    }

    .nav-links a {
        display: inline-block;
        padding: 12px 0;
        text-align: center;
        color: black;
        font-size: 18px;
    }

    #menu-toggle:checked+.menu-icon+.nav-links {
        height: auto;
        padding: 20px 0;
    }

    #menu-toggle:checked+.menu-icon .line:nth-child(1) {
        transform: rotate(45deg) translate(15px, 3px);
    }

    #menu-toggle:checked+.menu-icon .line:nth-child(2) {
        transform: scale(0);
    }

    #menu-toggle:checked+.menu-icon .line:nth-child(3) {
        transform: rotate(-45deg) translate(15px, -4px);
    }
}

/***************************************************************************************/

/* Casos de Éxito */
.testimonios-section {
  padding: 80px 10%;
  background-color: #ffff;
  color: #333;
}

.titulo {
  margin-top: 50px;
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 30px;
  font-weight: 500;
  color: #222;
  letter-spacing: 2px;
}

.testimonio {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #ffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(206, 91, 12, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio:hover {
  box-shadow: 0 10px 25px rgba(206, 91, 12, 0.3);
}

.imagen-container {
  flex: 0 0 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-testimonio {
  width: 180px;
  height: 180px;
  border-radius: 60%;
  object-fit: cover;
}

.contenido-testimonio {
  flex: 1;
}

.nombre {
  font-size: 1.6rem;
  font-weight: 400;
  color: #111;
  margin-bottom: -18px;
}

.puesto {
  font-size: 1rem;
  font-weight: 300;
  color: #ce5b0c;
  margin-bottom: 16px;
}

.texto {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonio {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .imagen-container {
    flex: none;
  }

  .imagen-testimonio {
    width: 150px;
    height: 150px;
  }

  .contenido-testimonio {
    text-align: center;
  }
}

/***************************************************************************************/

/* Sección de Galería */

.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 1200px;
    padding: 30px 20px;
    margin: 0 auto;
    background-color: #fff;
    margin-bottom: 60px;
}

.galeria img {
    width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1440px) and (min-width: 1280px) {
    .galeria {
        max-width: 1100px;
        gap: 16px;
        padding: 25px 15px;
    }

    .galeria img {
        max-height: 230px;
    }
}

@media (max-width: 480px) {
    .galeria {
        grid-template-columns: 1fr;
        max-width: 90%;
        padding: 15px 8px;
        gap: 10px;
        margin-bottom: 90px;
    }
}

@media (max-width: 300px) {
    .galeria {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 12px 5px;
        gap: 10px;
        margin-bottom: 90px;
    }
}

/***************************************************************************************/

/* Footer */
.footer {
  background-color: #e2e2e2;
  color: #000;
  padding: 5px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  gap: 80px;
  margin-bottom: 10px;
}

.footer-section {
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 220px;
  padding: 10px;
  text-align: center;
}

.footer-section img.footer-imagen {
  margin-top: 15px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-weight: 500;
  text-align: center;
}

.footer-section p {
  margin-bottom: 0;
  text-align: center;
  line-height: 1.4;
  font-weight: 300;
}

.redes a {
  display: inline-block;
}

.footer-section .fa-brands {
  font-size: 28px;
  margin: 0 10px;
  transition: transform 0.3s ease;
  color: black;
}

.footer-section .fa-brands:hover {
  transform: scale(1.2);
  color: #ce5b0c;
}

.footer-link {
  display: block;
  color: black;
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.3s ease;
  font-weight: 300;
}

.footer-link:hover {
  color: #ce5b0c;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
  }

  .footer-section {
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 0;
    padding: 5px 0;
  }

  .footer-section h3 {
    margin-top: -75px;
    margin-bottom: 6px;
  }

  .footer-section p {
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .footer-section img.footer-imagen {
    width: 50%;
    max-width: 170px;
    margin: 0 auto 8px auto;
    display: block;
    margin-top: 15px;
  }

  .footer-section .fa-brands {
    margin: 0 8px;
    font-size: 26px;
  }
}