/* ============================================================
   🔹 HEADER & FOOTER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to right, #c9d4e7, #2A5287);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
  box-sizing: border-box;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}


/* 🔹 Efecto vidrio al hacer scroll */
header.scrolled {
  background: linear-gradient(
    to right,
    rgba(201, 212, 231, 0.45),
    rgba(42, 82, 135, 0.55)
  );
  backdrop-filter: blur(12px);
}

.logo {
  height: 65px;
}

/* 🔹 Menú */
nav a {
  color: #ECE6DF;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  font-size: 14px;
}

nav a:hover {
  color: #92B1E7;
}

header nav a {
  color: white !important;
}

header .logo {
  filter: brightness(1000%);
}

/* ============================================================
   🔹 CONTACTO / FOOTER
   ============================================================ */
.contact-section {
  background: linear-gradient(to right, #c9d4e7, #2A5287);
  padding: 80px 20px 60px;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}


.contact-section h2 {
  color: #ECE6DF;
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 14px 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.contact-item .icon {
  width: 24px;
  height: 24px;
}

.contact-item a {
  color: #2A5287;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #92B1E7;
}

.footer-note {
  color: #ECE6DF;
  font-size: 13px;
  margin-top: 40px;
}

body {
    padding-top: 100px; /* Ajusta si quieres 90, 100 o 120 */
}

.login-btn {
    padding: 8px 15px;
    background: #6a8edb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.login-btn:hover {
    background: #597ccc;
}


/* Botón hamburguesa oculto en desktop */
.menu-toggle {
  display: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* Mostrarlo en móvil y ocultar menú normal */
@media (max-width: 768px) {

  nav {
    display: none; /* Oculta el menú horizontal */
  }

  .menu-toggle {
    display: block; /* Muestra el botón ☰ */
  }
}

/* Contenedor del menú lateral (oculto por defecto) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* Se oculta fuera de pantalla */
  width: 75%;
  height: 100%;
  background: white;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 9999;
}

.mobile-menu.open {
  right: 0; /* Se despliega */
}

.close-menu {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}


/* =============================== */
/* 🔥 Estilo profesional menú móvil */
/* =============================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100%;
  background: #F8F5F2; /* beige suave */
  padding: 40px 30px;
  transition: right 0.35s ease;
  z-index: 9999;
  box-shadow: -6px 0 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

/* Botón cerrar */
.mobile-menu .close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 34px;
  font-weight: 300;
  color: #444;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Enlaces del menú */
.mobile-menu a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
  margin: 16px 0;
  padding-bottom: 8px;
  border-bottom: 0.5px solid #e0dcd7;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.mobile-menu a:hover {
  color: #2A5287;
  border-bottom-color: #2A5287;
}

/* Botón de login */
.mobile-menu .login-btn {
  margin-top: 40px;
  background: #d6e4ff;
  color: #2A5287;
  padding: 14px 18px;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

/* Evitar scroll del fondo cuando el menú está abierto */
body.no-scroll {
  overflow: hidden;
}

