/* ================= RESET GENERAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  font-family: 'Arial', sans-serif;
  color: #000;
  background-color: #fff !important;  /* fuerza blanco */
  background-image: none !important;
  line-height: 1.5;
}

/* ================= HEADER y NAVBAR ================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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 {
  color: #002c80;
  text-decoration: none;
  font-size: 22px;
  transition: 0.3s;
}

header nav a:hover {
  opacity: 0.7;
}

header nav a.activo {
  border-bottom: 3px solid #002c80;
  padding-bottom: 5px;
  background-color: transparent;
  border-radius: 0;
}

header nav a.btn-contacto {
  background-color: #002c80;
  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: space-between;
  align-items: center;
  height: 100vh;
  padding: 0 5%;
  gap: 50px;
  box-sizing: border-box;
}

.imagen-hacemos {
  flex: 1;
  max-width: 50%;
  height: 100%;
}

.imagen-hacemos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.texto-hacemos {
  flex: 1;
  max-width: 50%;
  color: #000;
}

.texto-hacemos h1 {
  font-size: 5vw;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #201c4c;
  text-align: left;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     4px  4px 6px rgba(0, 0, 9, 0.3);
}

.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: 100%;
  line-height: 1.8;
  font-size: 1.2vw;
  text-align: left;
}

.subtitulo-hacemos {
  position: relative;
  font-size: 1.5vw;
  color: #201c4c;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  line-height: 1;
}

.subtitulo-hacemos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  background-color: #4884cd;
}

.frase-destacada {
  font-weight: bold;
  font-size: 2vw;
  display: block;
  margin-bottom: 2px;
}

/* ================= 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: 8vw;
  }

  .texto-hacemos p {
    font-size: 3vw;
    line-height: 1.6;
  }

  .subtitulo-hacemos {
    font-size: 3vw;
  }

  .frase-destacada {
    font-size: 4vw;
  }
}

@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;
  }
}
