/* ================= RESET GENERAL ================= */
@font-face {
  font-family: 'MontserratExtraBold';
  src: url('../Fonts/Montserrat-ExtraBold.otf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  
  max-width: 100%;
  overflow-x: hidden;
}
/* ================= BODY ================= */
body {
  font-family: 'Arial', sans-serif;
  color: #000;
  background-color: #fff;
  background-image: none;
  line-height: 1.5;
}
/* ================= HEADER y NAVBAR ================= */
header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px; /* Consistente con otras páginas */
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* Se quita la posición sticky para que fluya con la página */
  z-index: 1000;
}

header .logo img {
  height: 100px;
  width: auto;
  display: block;
  filter: none;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
}

header nav a {
 font-family: 'Century Gothic', Arial, sans-serif;
   font-weight: bold; 
  color: #282e62;
  text-decoration: none;
  font-size: 22px;
  transition: 0.3s;
}

header nav a:hover {
  opacity: 0.7;
}

header nav a.activo {
  color: #6091cc;  
  border-bottom: 3px solid #6091cc;
  padding-bottom: 5px;
  background-color: transparent;
  border-radius: 0;
}

header nav a.btn-contacto {
  background-color: #3054a0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

header nav a.btn-contacto:hover {
  background-color: #001a4d;
}

/* ================= SECCIÓN CÓMO LO HACEMOS ================= */
.seccion-hacemos {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  min-height: calc(100vh - 140px); /* Ocupa el alto de la pantalla menos la altura del header (aprox 100px + padding) */
  padding: 0;
  margin: 0;
}

.imagen-hacemos {
  flex-basis: 50%; /* ocupa la mitad exacta */
  height: 100%;    /* ocupa toda la altura disponible */
}

.imagen-hacemos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.texto-hacemos {
  flex-basis: 50%; /* la otra mitad */
  padding: 40px 60px; /* Más espaciado horizontal */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.texto-hacemos h1 {
  font-size: 3.5vw;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #201c4c;
  text-align: left;
  /* Sombra más sutil y legible */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-size: clamp(2.5rem, 3.5vw, 4rem); /* Fuente responsive controlada */
}

.texto-hacemos h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #3674c0;
  margin-top: 10px;
  border-radius: 2px;
}

.texto-hacemos p {
  max-width: 450px; /* Un poco más de ancho para el párrafo */
  line-height: 1.6;
  text-align: left;
  font-size: clamp(1rem, 1.2vw, 1.1rem); /* Fuente responsive controlada */
}

.subtitulo-hacemos {
  position: relative;
  color: #201c4c;
  margin-top: 30px; /* Espacio superior */
  font-size: clamp(1.2rem, 1.5vw, 1.6rem); /* Fuente responsive controlada */
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  line-height: 1.2; /* Aumenta el espacio entre líneas */
}

.subtitulo-hacemos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  background-color: #4884cd;
}

.frase-destacada {
  font-weight: bold;
  display: block;
  font-size: clamp(1.8rem, 2vw, 2.2rem); /* Fuente responsive controlada */
}

/* Ocultar el ícono de WhatsApp por defecto (en escritorio) */
.whatsapp-icon {
  display: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .seccion-hacemos {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 50px 5%;
    gap: 30px;
  }

  .imagen-hacemos,
  .texto-hacemos {
    max-width: 100%;
    height: auto;
  }

  .texto-hacemos h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    text-align: center;
  }

  .texto-hacemos p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.6;
    max-width: 100%;
    text-align: center;
  }

  .subtitulo-hacemos {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    align-items: center;
  }

  .frase-destacada {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}
footer {
  background: #201c4c;
  color: #fff;
  padding: 90px 20px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.social a img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.3s;
}

.social a img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
  font-size: 0.9em;
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  header .logo img {
    height: 80px;
  }

  header nav ul {
    gap: 15px;
  }

  header nav a {
    font-size: 16px;
  }

  header nav a.btn-contacto {
    font-size: 14px;
    padding: 6px 12px;
  }

  .texto-hacemos h1 {
    font-size: 10vw;
  }

  .texto-hacemos p {
    font-size: 4vw;
  }

  .subtitulo-hacemos {
    font-size: 4vw;
  }

  .frase-destacada {
    font-size: 5vw;
  }

  /* ================= ICONO WHATSAPP ================= */
  .whatsapp-icon {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  .whatsapp-icon img {
    width: 60px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
}

