/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
}

/* Estilos del menú */

/* .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%);
  z-index: 9999;
  transition: background-color 0.3s ease;
} */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #102d56;
  /* background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%); */
  z-index: 9999;
  transition: background-color 0.3s ease;
}


.menu-opciones {
  background: #102d56;
  /* background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%); */
  display: flex;
  list-style: none;
  flex-grow: 1;
  justify-content: flex-end;
  padding-right: 30px;
  height: 100%;
  align-items: center;
  gap: 30px;
}

.menu-opciones a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.menu-opciones a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  bottom: 0;
  left: 0;
  background: #1E90FF;
  /* box-shadow: 0 0 8px #1E90FF; */
  transition: width 0.3s ease;
  border-radius: 2px;
}

.menu-opciones a:hover {
  color: #1E90FF;
  /* text-shadow: 0 0 8px #1E90FF; */
  transform: scale(1.1);
}

.menu-opciones a:hover::after {
  width: 100%;
}

.menu-opciones a.active,
.menu-opciones a.active:hover {
  color: #FFD700;
  text-shadow: 0 0 10px #FFD700;
  cursor: default;
}

/* submenu*/


.submenu {
  position: relative;
}

.submenu-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0A1E3F;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.submenu-list li {
  padding: 0;
  margin: 0;
  list-style: none;
  /* Elimina los puntos */

}

.submenu-list a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s ease;
}

.submenu-list a:hover {
  background-color: #12305B;
}

.submenu:hover .submenu-list {
  display: block;
}


.logo {
  background-color: #ffffff;
  padding: 0 30px;
  display: flex;
  align-items: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* .menu.show-logo .logo {
  opacity: 1;
  pointer-events: auto;
} */

.logo img {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  /* box-shadow: 0 4px 12px rgba(0, 74, 173, 0.6); */
  cursor: pointer;
}

/* Contacto */

.contacto {
  background-color: #f5f7fa;
  padding: 80px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #0a1e3f;
}

.contacto .container {
  padding-top: 50px;
  /* o más si hay solapamiento */

  max-width: 1200px;
  margin: 0 auto;
}

.contacto h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
}

.contacto .intro {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #4b5563;
}

.contacto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  justify-content: space-between;
}

.info-contacto,
.formulario-contacto {
  flex: 1 1 450px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-contacto h3,
.formulario-contacto h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #12305b;
}

.info-contacto p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  resize: none;
}

.formulario-contacto button {
  background-color: #102d56;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #1e90ff;
}

.mapa-ubicacion h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
  color: #12305b;
}


/* modal */

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center; justify-content: center;
  }

  .modal-contenido {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    animation: aparecer 0.3s ease;
  }

  .paloma {
    font-size: 3rem;
    color: green;
    display: block;
    margin-bottom: 10px;
  }

  @keyframes aparecer {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
  }


/*Pie de pagina*/

.footer {
  background-color: #0a1e3f;
  color: #ffffff;
  padding: 60px 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
  /* filter: brightness(0) invert(1);  */
}

.footer-info {
  flex: 1 1 200px;
}

.footer-address {
  flex: 2 1 300px;
  /* Este ocupa el doble de espacio disponible */
}

.footer-social {
  flex: 1 1 200px;
}

.footer-logo {
  flex: 1 1 100px;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer p,
.footer a {
  font-size: 1rem;
  color: #d1d9e6;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer a:hover {
  color: #1e90ff;
}

.footer-address p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer .social-icons img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.footer .social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(0) invert(66%) sepia(100%) saturate(500%) hue-rotate(180deg);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #2f3f61;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aab6cc;
}