/* ===============================
   Estilos base
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #f8f9fb;
  color: #333;
  scroll-behavior: smooth;
}

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

/* ===============================
   Navbar
=============================== */
.navbar {
  background-color: #0a1a2f;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: #00aaff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #00aaff;
}

/* ===============================
   Hero Section
=============================== */
.hero {
  background: linear-gradient(135deg, #0a1a2f, #003366);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background-color: #00aaff;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #008ecc;
}

/* ===============================
   Sobre Nosotros
=============================== */
.about {
  background-color: #eef3f7;
  padding: 4rem 0;
  text-align: center;
}

.about h2 {
  color: #0a1a2f;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1.05rem;
  color: #555;
}

/* ===============================
   Servicios
=============================== */
.services {
  padding: 4rem 0;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0a1a2f;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.service-card h3 {
  color: #003366;
  margin-bottom: 1rem;
}

/* ===============================
   Testimonios
=============================== */
.testimonials {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.testimonials h2 {
  color: #0a1a2f;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 90%;
  margin: auto;
}

blockquote {
  background-color: #eef3f7;
  padding: 2rem;
  border-radius: 10px;
  font-style: italic;
  color: #333;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

blockquote::before {
  content: "“";
  font-size: 3rem;
  color: #00aaff;
  position: absolute;
  top: 10px;
  left: 20px;
}

cite {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #003366;
}

/* ===============================
   Mapa / Cobertura
=============================== */
.map {
  background-color: #eef3f7;
  padding: 4rem 0;
  text-align: center;
}

.map h2 {
  color: #0a1a2f;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.map p {
  color: #555;
  margin-bottom: 2rem;
}

/* ===============================
   Contacto
=============================== */
.contact {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.contact h2 {
  color: #0a1a2f;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  margin-bottom: 2rem;
  color: #555;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact button {
  align-self: center;
}

/* ===============================
   Contact Info
=============================== */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: #003366;
}

.info-item i {
  color: #00aaff;
  font-size: 1.3rem;
}

.info-item a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s;
}

.info-item a:hover {
  color: #00aaff;
}

/* Footer links */
.footer-link {
  color: #00aaff;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}


/* ===============================
   Footer
=============================== */
.footer {
  background-color: #0a1a2f;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* ===============================
   Botón flotante de WhatsApp
=============================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  padding: 14px 16px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ===============================
   Responsivo
=============================== */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
