* {
  box-sizing: border-box; /* Evita desbordamientos por padding o border */
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden; /* Previene scroll horizontal */
  color: #101828;
  background-color: #FFF;
}



header {
  background-color: #0D2F4D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 2rem;
  color: white;
  font-family: 'Roboto', sans-serif;
  border-bottom: 2px solid #fff; /* Borde abajo blanco */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0D2F4D;
  padding: 1rem 2rem;
    position: sticky;
  padding: 12px;
    top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #00658B;
}


nav  {
  display: flex;
  list-style: none;
  gap: 20px;
  font-family: 'Roboto', sans-serif;
}


nav a {
  color: white;
  text-decoration: none;
  font-weight: 545;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
}

.lan {
  color: #E0682A;
  text-decoration: none;
  font-weight: 545;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;

}

.nav-links a:hover {
  color: #E0682A;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #0D4A73;
  color: white;
    padding: 130px;
          background-image: url('images/fondo11.png'); /* imagen de fondo de la sección */
    background-size: cover;

}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 4px 20px;
    opacity: 0;
  transform: translateX(0);
  animation-fill-mode: forwards;
}

/* Animación desde la izquierda */
.slide-left {
  animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  font-weight: 710;
  font-family: 'Roboto', sans-serif;
  text-align: left;
  width: 600px;
  word-wrap: break-word;
}

.hero-text p {
  font-size: 1.4rem;
  margin-bottom: 2.8rem;
  font-family: 'Roboto', sans-serif;
    width: 450px;
  word-wrap: break-word;
    text-align: left;
    font-weight: 400;
}

.btn {
  background-color: #E0682A;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Spane mono' monospace;
}

.hero-img {
  flex: 1;
  min-width: 300px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

}

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }

  .hero-img img {
    display: none;
  }
}

.top-right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;

}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}


/* Mostrar botón y ocultar menú en móviles */
@media (max-width: 768px) {

.navbar {
    position: relative;
    flex-wrap: nowrap;
  }
  
  .logo {
    flex: 1;
  }

  .lan {
    display: block;
    text-align: center;
    flex: 1;
    font-size: 16px;
    font-weight: 540;
  }

.nav-links {
  display: none;
  flex-direction: column;
      background-color: #0D2F4D;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
}

.nav-links.active {
  display: flex;
}

.navbar-right {
  width: 100%;
}

  .nav-links a {
    padding: 10px 20px;
  }

    .hero {
    padding: 60px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    padding: 20px 10px;
    text-align: center;
    max-width: 100%;
  }
    .hero-text h1,
  .hero-text p {
    text-align: center;
    width: auto;
  }

    .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }

  .hero-img img {
    display: none;
  }

  .hamburger {
    display: block;
  }

    .top-right-controls {
      display: flex;
      justify-content: center;
      width: 100%;
      margin-right: 0;
  }
   .lan {
    flex: none;
    width: auto;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }
}

.bienvenida-section {
  text-align: center;
  padding: 6rem 1rem;
  background-color: #fff;
  color: #101828;
            background-image: url('images/ciudad5.png'); /* imagen de fondo de la sección */
    background-size: cover;
}

.bienvenida-title {
  color: #E0682A;
  font-size: 1.7rem;
  font-weight: 750;
  margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
}

.bienvenida-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: 'Spane mono', monospace, 'Courier New', monospace;
  font-weight: 500;
}

.bienvenida-cita {
  max-width: 763px;
  margin: 0 auto;
  background-color: #0D4A73;
  color: #EEF2F5;
  padding: 1.5rem;
  border-radius: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease forwards;
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bienvenida-cita p {
  font-family: 'Spane mono', monospace, 'Courier New', monospace;
  font-weight: 400;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .bienvenida-title {
    font-size: 1.5rem;
  }

  .bienvenida-text {
    font-size: 1rem;
  }

  .bienvenida-cita p {
    font-size: 0.95rem;
  }
}

.servicios-section {
  padding: 5.5rem 1rem;
  background-color: #f9fafb;
  text-align: center;
}

.servicios-section h2 {
  font-size: 1.9rem;
  color: #000;
  margin-bottom: 2.5rem;
  font-weight: 750;
     font-family: 'Roboto', sans-serif;
}

.servicios-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.servicio-card {
  background: #fff;
  padding: 1.2rem ;
  border-radius: 10px;
  box-shadow: 0 15px 15px rgba(0,0,0,0.1);
  flex: 1 1 280px;
  max-width: 465px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 3s ease forwards;
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.servicio-card img {
  width: 65px;
  height: auto;
  margin-bottom: 1rem;
}

.servicio-card h3 {
  font-size: 1.3rem;
  color: #0D2F4D;
  margin-bottom: 1rem;
  font-weight: 750;
     font-family: 'Roboto', sans-serif;
}

.servicio-card p {
  font-size: 1rem;
  color: #364153;
   font-family: 'Spane mono', monospace, 'Courier New', monospace;
   font-weight: 500;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .servicios-container {
    align-items: center;
  }
  .servicio-card p {
    font-size: 1rem;
  }
}

.valores-section {
  background: linear-gradient(to bottom, #0d2f4d, #0D4A73);
  padding: 85px 60px;
  text-align: center;
  color: white;
  border-bottom: 26px solid #567D98; /* Borde abajo blanco */
}

.valores-section h2 {
  font-size: 30px;
  margin-bottom: 55px;
  font-family: 'Roboto', sans-serif;
  font-weight: 800;

}

.valores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.valor-card {
  background: white;
  color: #002b45;
  border-radius: 50%;
  width: 323px;
  height: 323px;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s;
  align-items: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 3s ease forwards;
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.valor-card img {
  width: 57px;
  height: 57px;
  margin-bottom: 15px;
}

.valor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
    font-weight: 770;
     font-family: 'Roboto', sans-serif;
}

.valor-card p {
  font-size: 1.1rem;
  color: #0D2F4D;
     font-family: 'Spane mono', monospace, 'Courier New', monospace;
   font-weight: 400;
   align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  .valor-card {
    width: 700px;
        height: 300px;
    padding: 20px;

  }

  .valor-card img {
    width: 50px;
    height: 50px;
  }

  .valores-section h2 {
    font-size: 1.6rem;
  }
}

.contacto-section {
  padding: 130px 20px;
  background-color: #fff;
              background-image: url('images/contact3.png'); /* imagen de fondo de la sección */
    background-size: cover;
}

.contacto-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: auto;
  gap: 40px;
}

.contacto-text {
  flex: 1;
  min-width: 300px;
}


.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto-formulario h2 {
  color: #E0682A;
  font-size: 30px;
  margin-bottom: 10px;
      font-weight: 700;
     font-family: 'Roboto', sans-serif;
     width: 500px;
}

.contacto-formulario p {
  font-size: 1.1rem;
  margin-bottom: 20px;
       font-family: 'Spane mono', monospace, 'Courier New', monospace;
   font-weight: 300;
}

.contacto-formulario form {
  display: flex;
  flex-direction: column;
  gap: 15px;
} 

.contacto-formulario input,
.contacto-formulario textarea {
  padding: 16px;
  border: 1px solid #000;
  border-radius: 4px;
  font-size: 15px;
         font-family: 'Spane mono', monospace, 'Courier New', monospace;
   font-weight: 500;
   width: 96%;
}

.contacto-formulario button {
  background-color: #E0682A;
  color: white;
  padding: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 33%;
  transition: background-color 0.3s ease;
      font-weight: 770;
     font-family: 'Roboto', sans-serif;
     font-size: 16px;
}

.contacto-formulario button:hover {
  background-color: #d4560f;
}

/* Responsive: móviles */
@media (max-width: 500px) {
  .contacto-section {
    padding: 60px 15px;
  }

  .contacto-contenido {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .contacto-formulario h2 {
    font-size: 1.6rem;
    width: 100%;
    text-align: center;
  }

  .contacto-formulario p {
    font-size: 0.9rem;
    text-align: center;
  }

  .contacto-formulario form {
    width: 100%;
    padding: 0;
  }

  .contacto-formulario input,
  .contacto-formulario textarea {
    width: 100%;
    font-size: 1rem;
  }

  .contacto-formulario button {
    width: 40%;
    font-size: 1rem;
  }
}

/* Estilos del pie de página */
.footer {
  background-color: #101828; /* Color oscuro del fondo (según la imagen) */
  color: oklch(.707 .022 261.325);        /* Color del texto (gris claro) */
  text-align: center;
  padding: 25px 10px;
  font-size: 18px;
  font-family: 'Spane mono', monospace, 'Courier New', monospace;
  font-weight: 370;
}

