/* ESTILOS PRINCIPALES CON COLORES MÁS VISIBLES */

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background: #0a1f44;
  padding: 12px 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-left: 20px;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 20px;
}

.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar nav ul li a:hover {
  color: #00bfff;
}

/* HERO */
.hero {
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  background-color: rgba(10, 31, 68, 0.7);
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.btn-primary {
  background: #00bfff;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.btn-primary:hover {
  background: #009acd;
}

/* SECCIONES */
.nosotros {
  background: #e6f0ff;
  padding: 60px 20px;
  text-align: center;
}

.servicios {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.servicio-card {
  background: #f2f6fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.contacto {
  background: #f0f0f0;
  padding: 60px 20px;
}

.contacto-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: auto;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* FOOTER */
.footer {
  background: #0a1f44;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  line-height: 60px;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #20b954;
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar .logo {
    margin-bottom: 10px;
  }

  .navbar nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    gap: 6px;
    margin: 0;
  }

  .navbar nav ul li {
    flex: 1 1 auto;
    text-align: center;
    font-size: 14px;
  }

  .navbar nav ul li a {
    display: block;
    padding: 8px;
    white-space: nowrap;
  }
}