:root {
  --lp-cream: #f5efe6;
  --lp-beige: #e3d2bc;
  --lp-gold: #b8893a;
  --lp-brown: #5a3a18;
  --lp-dark: #15110d;
}
.brand-logo { height: 56px; width: auto; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: white; box-shadow: 0 12px 28px rgba(0,0,0,.25);
  text-decoration: none;
}
.footer-hours { color: #d3c2ab; font-size: 0.95rem; line-height: 1.7; }
.lp-smallcaps { letter-spacing: .24em; text-transform: uppercase; }

/* --- Shared navigation: same floating capsule on every page --- */
.lp-site-header { transition: transform .45s cubic-bezier(.22,1,.36,1); }
.lp-nav-shell {
  min-height: 68px;
  transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.22,1,.36,1), padding .4s ease;
}
.lp-site-header.is-scrolled .lp-nav-shell {
  background: rgba(15,16,16,.96) !important;
  border-color: rgba(184,137,58,.24) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  transform: translateY(-4px);
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.22));
  transition: transform .45s cubic-bezier(.22,1,.36,1), filter .3s ease;
}
.lp-brand:hover .brand-logo { transform: scale(1.045); filter: drop-shadow(0 7px 16px rgba(184,137,58,.20)); }
.lp-dropdown-trigger { background: transparent; border: 0; cursor: pointer; font: inherit; }
.lp-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 230px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,19,20,.97);
  box-shadow: 0 22px 50px rgba(0,0,0,.36);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(.98);
  transform-origin: 50% 0;
  transition: opacity .22s ease, transform .32s cubic-bezier(.22,1,.36,1), visibility .22s;
}
.lp-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
}
.lp-dropdown:hover .lp-dropdown-menu,
.lp-dropdown:focus-within .lp-dropdown-menu,
.lp-dropdown.is-open .lp-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.lp-dropdown-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 12px;
  color: #d5d5d4;
  letter-spacing: .13em;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}
.lp-dropdown-menu a:hover,
.lp-dropdown-menu a.is-active {
  color: #d9b36f;
  background: rgba(184,137,58,.10);
  transform: translateX(3px);
}
.lp-mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height .42s cubic-bezier(.22,1,.36,1), opacity .25s ease, transform .38s cubic-bezier(.22,1,.36,1), padding .3s ease;
}
.lp-mobile-menu.is-open {
  max-height: 560px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lp-mobile-menu a { color: #d0d0cf; transition: color .2s ease, transform .2s ease; }
.lp-mobile-menu a:hover,
.lp-mobile-menu a.is-active { color: #caa36a; transform: translateX(4px); }

/* keep floating WhatsApp above animated content */
.whatsapp-float { transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 32px rgba(0,0,0,.32); }

@media (max-width: 767px) {
  .lp-nav-shell { min-height: 60px; padding-top: 6px !important; padding-bottom: 6px !important; }
  .brand-logo { width: 46px; height: 46px; }
}

/* === FINAL QA / PRODUCTION HARDENING === */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; }
button, a, input, textarea, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid rgba(216,181,116,.88); outline-offset: 3px; }

/* Full desktop navigation: every real page is exposed directly. */
.lp-site-header nav { min-width: 0; }
.lp-nav-link { position: relative; line-height: 1; }
.lp-nav-link.is-active { color: #d8b574 !important; }
.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(216,181,116,.30);
  border-radius: 999px;
  color: #f3eadc !important;
  background: rgba(184,137,58,.09);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
@media (hover:hover) {
  .lp-nav-cta:hover { background: #c29d59; color: #111 !important; border-color: #c29d59; transform: translateY(-1px); }
}

/* Added inner heroes reuse the same visual language as the existing Stitch heroes. */
.lp-inner-hero { background: #0b0d0c; }
.lp-inner-hero .lp-hero-bg-depth { inset: 0; }
.lp-inner-hero h1 { text-wrap: balance; }
.lp-inner-hero p { text-wrap: balance; }

/* Avoid expensive effects on tablet/mobile while retaining the visual finish. */
@media (max-width: 1023px) {
  .lp-nav-shell { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .lp-mobile-menu { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
@media (max-width: 767px) {
  .lp-inner-hero { min-height: 390px !important; height: 54svh !important; max-height: 540px; }
  .lp-inner-hero h1 { font-size: clamp(2.5rem, 13vw, 4.2rem) !important; line-height: .98; }
  .lp-inner-hero p { max-width: 92vw; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

/* Below-fold media is lazy-loaded; reserve layout space and avoid jank. */
img[loading="lazy"] { content-visibility: auto; }

/* Progressive-enhancement fallback for the mobile menu:
   if main.js fails, links stay available instead of being trapped behind a hamburger. */
@media (max-width: 1023px) {
  .lp-mobile-menu {
    max-height: 680px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  html.nav-enhanced .lp-mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
  }
  html.nav-enhanced .lp-mobile-menu.is-open {
    max-height: 680px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
