/* ══════════════════════════════════════════
   Alchimista — Shared Styles
   Nav + Footer (common across all pages)
   ══════════════════════════════════════════ */

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,251,249,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-200);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--black); }

/* ── HAMBURGER / MOBILE NAV ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 9.8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  overflow: hidden;
}
.nav-toggle span {
  display: block;
  height: 2.25px;
  width: 26px;
  background: var(--black);
  transition: transform 0.25s, opacity 0.1s;
  -webkit-transition: transform 0.25s, opacity 0.1s;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(12.05px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transition: opacity 0s; -webkit-transition: opacity 0s; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-12.05px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--beige);
  border-bottom: 1px solid var(--beige-200);
  z-index: 150;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--beige-100); }
.mobile-menu a:not(.btn) {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  padding: 18px 40px;
}
.mobile-menu a:not(.btn):hover,
.mobile-menu a:not(.btn).active { color: var(--orange); }
.mobile-menu-cta {
  padding: 20px 40px 28px;
  border-top: 1px solid var(--beige-100);
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 64px 0 32px;
  border-top: 1px solid var(--beige);
}

.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--beige);
  margin-bottom: 28px;
}

.footer-about {
  font-size: 0.95rem;
  color: var(--beige);
  line-height: 1.85;
}

.footer-col-title {
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-size: 0.955rem;
  color: var(--beige);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
  font-size: 0.955rem;
  color: var(--beige);
  margin-bottom: 8px;
}

.footer-contact-item a {
  color: var(--beige);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.845rem;
  color: var(--beige);
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 51px; height: 51px;
  border: 1px solid var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer-socials a:hover { border-color: var(--orange); color: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-btn { display: none !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .mobile-menu a:not(.btn) { padding: 18px 20px; }
  .mobile-menu-cta { padding: 20px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 20px; }
}
