/* ═══════════════════════════════════════
   NAV — Fixed Navigation (always light)
   ═══════════════════════════════════════ */

/* ── Default: always white/cream background ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 18px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,241,234,.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 16px rgba(46,39,35,.05);
  transition: padding .4s var(--ease-std),
              box-shadow .4s var(--ease-std);
}

/* ── Compact on scroll ── */
nav.solid {
  padding: 12px 64px;
  box-shadow: 0 1px 24px rgba(46,39,35,.08);
}

/* light-nav = same as default (kept for JS compatibility) */
nav.light-nav {
  background: rgba(245,241,234,.98);
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 70px;
  filter: none;
  transition: height .4s;
}
nav.solid .nav-logo img { height: 58px; }

/* ── Nav links — always dark ── */
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tmid);
  text-decoration: none;
  cursor: pointer;
  transition: color .3s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1px;
  background: var(--cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--cta); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ── CTA nav button ── */
.nav-cta {
  padding: 9px 22px;
  background: var(--cta);
  color: var(--white) !important;
  font-size: 9px !important;
  letter-spacing: .18em;
  transition: background .3s, transform .2s !important;
}
.nav-cta:hover { background: var(--ctah); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ── Hamburger ── */
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: var(--z-nav);
}
.hbg span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all .3s var(--ease-out);
}
.hbg.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: calc(var(--z-nav) - 10);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.mob-menu.open { display: flex; opacity: 1; }
.mob-menu a {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: color .3s;
  letter-spacing: .02em;
}
.mob-menu a:hover { color: var(--cta); }

/* ── Facebook Pixel noscript img (hidden via CSS, no inline style) ── */
.fb-pixel-ns { position: absolute; visibility: hidden; width: 1px; height: 1px; overflow: hidden; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--bg3);
  padding: 64px 64px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .fb-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}
.footer-brand p { font-size: 13px; max-width: 260px; margin-bottom: 12px; }
.footer-brand .fb-bar { width: 32px; height: 1.5px; background: var(--cta); margin-top: 10px; opacity: .6; }

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--tmid);
  text-decoration: none;
  cursor: pointer;
  transition: color .3s;
}
.footer-col ul li a:hover { color: var(--cta); }

/* Footer "Empieza aquí" column */
.footer-start a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--tmid);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s;
}
.footer-start a:last-child { border: none; }
.footer-start a:hover { color: var(--cta); }
.footer-start .fs-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;            /* White icon on brown circle */
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

/* Footer contact + CTA */
.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-contact .ig { font-size: 13px; color: var(--tmid); margin-bottom: 20px; display: block; }
.footer-cta {
  display: inline-block;
  padding: 11px 28px;
  background: var(--cta);
  color: #fff;            /* Explicit white text */
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .3s;
}
.footer-cta:hover { background: var(--ctah); }

/* Footer bottom bar */
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 11px; color: var(--tlight); }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a {
  font-size: 11px;
  color: var(--tlight);
  text-decoration: none;
  cursor: pointer;
  transition: color .3s;
}
.footer-bottom .legal-links a:hover { color: var(--cta); }

/* ── Responsive Nav ── */
@media (max-width: 960px) {
  nav { padding: 14px 24px; }
  nav.solid { padding: 10px 24px; }
  .nav-links { display: none; }
  .hbg { display: flex; }
  footer { padding: 48px 28px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom .legal-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
