/* =========================
   MENÚ PRINCIPAL CECANAPO
   ========================= */
:root {
  --cafe-soft: #ffa81f;
  --blue-strong: #003976;
  --blue-light: #0057b3;
  --white: #fff;
}

/* NAV GENERAL */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #3f2000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* CONTENEDOR FLEX */
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGOTIPO + TEXTO */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}
.brand-logo:hover {
  transform: scale(1.04);
}
.brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* MENÚ PRINCIPAL */
.menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.menu a {
  color: var(--white);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  text-decoration: none; /* 🚫 sin subrayado */
  transition: color 0.25s ease;
}
.menu a:hover {
  color: var(--cafe-soft);
}

/* CTA WhatsApp */
.menu .cta {
  background: var(--white);
  color: #0c4800 !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.menu .cta:hover {
  background: var(--cafe-soft);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* BOTÓN HAMBURGUESA */
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* MENÚ MÓVIL */
.mobile {
  display: none;
  flex-direction: column;
  background: rgba(0, 57, 118, 0.97);
  backdrop-filter: blur(8px);
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  padding: 18px 0;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.mobile a {
  color: var(--white);
  text-decoration: none;
  padding: 14px 0;
  display: block;
  font-weight: 600;
  transition: background 0.2s ease;
}
.mobile a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 920px) {
  .menu {
    display: none;
  }
  .burger {
    display: block;
  }
  .mobile {
    display: none;
  }
}





/* Altura dinámica del nav para anclajes */
:root { --navH: 72px; }

/* Asegura que cualquier sección con id no quede oculta por el nav */
section[id], [id] { 
  scroll-margin-top: calc(var(--navH) + 8px);
}

/* También puedes dejar el comportamiento nativo suave como fallback */
html { scroll-behavior: smooth; }

