/* Reset y tipografía */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #003366;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #ffffff, #3399ff);
  color: #003366;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-navbar img {
  height: 60px;
  transition: transform 0.3s ease;
}

.logo-navbar img:hover {
  transform: scale(1.1);
}

.menu-navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu-navbar ul li a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  transition: color 0.3s ease;
}

.menu-navbar ul li a:hover,
.menu-navbar ul li a.activo {
  color: #FFD700;
}

.hamburguesa {
  display: none;
  font-size: 1.8rem;
  color: #003366;
  cursor: pointer;
}


/* Sección contacto */
.seccion-contacto {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  padding-top: 100px;
}

.seccion-contacto h2 {
  font-size: 2.2rem;
  color: #0059b3;
  margin-bottom: 0.5rem;
}

.seccion-contacto p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #333;
}

.datos-contacto {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.dato {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: #003366;
  background-color: #f4f9ff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dato i {
  font-size: 1.3rem;
  color: #0059b3;
}

.mapa-contacto {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f4f9ff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.05);
}

.titulo-redes {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.redes-contacto {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.redes-contacto a img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 51, 102, 0.2);
  transition: transform 0.3s, background-color 0.3s;
}

.redes-contacto a img:hover {
  transform: scale(1.1);
  background-color: #FFD700;
}

.titulo-mapa {
  font-size: 1.3rem;
  color: #0059b3;
  margin-bottom: 1rem;
}

.mapa-contacto iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.1);
}

/* CTA final */
.cta-contacto {
  background: linear-gradient(to right, #0059b3, #3399ff);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 12px;
  margin: 3rem 1rem 0;
}

.cta-contacto h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.boton-servicio {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.boton-servicio:hover {
  background-color: #e0b800;
}


/* Responsive */
@media (max-width: 768px) {
  .hamburguesa {
    display: block;
  }

  .menu-navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 80px;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .menu-navbar.menu-abierto {
    display: flex;
  }

  .menu-navbar ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0;
  }

  .menu-navbar ul li a {
    font-size: 1.1rem;
    padding: 0.5rem;
  }

  .mapa-contacto {
    padding: 1rem;
  }

  .redes-contacto a img {
    width: 45px;
    height: 45px;
  }

  .datos-contacto {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===================== */
/*        FOOTER         */
/* ===================== */

.footer {
  background: #003366;
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 0 1rem;
}

.footer-logo {
  flex: 0 0 auto;
  margin: 0;
}

.footer-logo img {
  height: 80px;
  border-radius: 10px;
  padding: 4px;
  background-color: transparent;
  border: 2px solid #FFD700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1.05);
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.footer-info {
  flex: 1 1 300px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-info p {
  margin: 0;
  font-weight: 600;
}

.footer-info a {
  color: #FFD700;
  text-decoration: none;
  display: block;
  margin-top: 0.3rem;
  font-weight: 500;
}

.footer-info a:hover {
  color: white;
}

.footer-redes {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.footer-redes a {
  color: #FFD700;
  font-size: 1.4rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-redes a:hover {
  color: #ffffff;
  transform: scale(1.2);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-redes {
    margin-top: 1rem;
  }
}

