/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:var(--z-header);
  background:color-mix(in srgb,var(--bg) 92%,transparent);
  -webkit-backdrop-filter:saturate(160%) blur(8px);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease,background .25s ease;
}
.site-header.is-scrolled{
  background:color-mix(in srgb,var(--bg) 97%,transparent);
  border-bottom-color:var(--border);
}
.header-row{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--header-h-mobile);gap:12px;
}
@media (min-width:768px){.header-row{height:var(--header-h)}}

.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.brand-mark{
  width:34px;height:34px;color:var(--accent);flex-shrink:0;
  display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 14%,var(--bg));
  border-radius:50%;padding:5px;
}
.brand-mark svg{width:100%;height:100%;display:block}
.brand-name{font-family:var(--ff-display);font-weight:500;font-size:1.1rem;line-height:1;letter-spacing:.005em}
.brand-name em{font-style:italic;color:var(--accent);font-weight:500}

/* nav desktop */
.nav-desktop{display:none}
@media (min-width:900px){
  .nav-desktop{display:flex;align-items:center;gap:28px}
  .nav-desktop a{font-size:.95rem;color:var(--text-2);position:relative;padding:6px 0}
  .nav-desktop a:hover{color:var(--text)}
  .nav-desktop a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
  .nav-desktop a:hover::after{transform:scaleX(1)}
}
.btn.header-cta{display:none}
@media (min-width:900px){
  .btn.header-cta{display:inline-flex}
}

/* BURGER */
.burger{
  position:fixed;
  top:calc((var(--header-h-mobile) - 44px) / 2);
  right:14px;
  width:44px;height:44px;
  display:grid;place-items:center;
  background:transparent;border:0;cursor:pointer;
  z-index:1201;
}
.burger span,.burger span::before,.burger span::after{
  content:"";display:block;
  width:24px;height:2px;background:var(--text);border-radius:2px;
  transition:transform .25s ease,opacity .2s ease,top .25s ease;
  position:relative;
}
.burger span::before{position:absolute;left:0;top:-7px}
.burger span::after {position:absolute;left:0;top:7px}
.burger.is-open span{background:transparent}
.burger.is-open span::before{transform:rotate(45deg);top:0}
.burger.is-open span::after{transform:rotate(-45deg);top:0}
@media (min-width:900px){.burger{display:none}}

/* MENU MOBILE */
.menu-mobile{
  position:fixed;
  top:0;left:0;
  width:100%;
  height:100dvh;
  background:var(--bg);
  z-index:var(--z-menu);
  padding:calc(var(--header-h-mobile) + 28px) 24px 32px;
  display:flex;flex-direction:column;gap:.4rem;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  transform:translateY(-100%);
  opacity:0;visibility:hidden;
  transition:transform .35s ease,opacity .35s ease,visibility 0s linear .35s;
}
.menu-mobile.is-open{
  transform:translateY(0);
  opacity:1;visibility:visible;
  transition:transform .35s ease,opacity .35s ease;
}
.menu-mobile a{
  display:flex;align-items:center;
  min-height:52px;
  font-family:var(--ff-display);font-size:1.4rem;
  color:var(--text);
  border-bottom:1px solid var(--border);
}
.menu-mobile a:last-child{border:0}
.menu-mobile .btn-wa{
  margin-top:18px;
  background:var(--wa-green);color:#fff;
  border-radius:10px;padding:14px 18px;
  font-family:var(--ff-ui);font-weight:500;font-size:1rem;
  justify-content:center;
}
@media (min-width:900px){.menu-mobile{display:none}}

/* FOOTER */
.site-footer{
  background:var(--surface-deep);
  color:#E5E0D4;
  padding:48px 0 32px;
  margin-top:0;
}
.site-footer h4{color:#fff;font-size:1.05rem;margin-bottom:.8em}
.site-footer p,.site-footer li,.site-footer a{color:#D9D4C7}
.site-footer a:hover{color:var(--accent-on-dark)}
.footer-grid{
  display:grid;grid-template-columns:1fr;gap:32px;
}
@media (min-width:768px){
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr}
}
.site-footer .brand{color:#fff}
.site-footer .brand-name{color:#fff}
.site-footer .brand-mark{background:rgba(255,255,255,.08);color:var(--accent-on-dark)}
.footer-list{list-style:none;padding:0;margin:0}
.footer-list li{padding:6px 0;font-size:.95rem;display:flex;align-items:center;gap:10px}
.footer-list svg{flex-shrink:0;color:var(--accent-on-dark)}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:14px 22px;justify-content:space-between;align-items:center;
  margin-top:32px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);
  font-size:.85rem;color:#B3AE9F;
}
.footer-bottom a{color:#D9D4C7}
.footer-bottom button{font-size:.85rem;color:#D9D4C7;text-decoration:underline}

/* FAB mobile */
.fab-mobile{
  position:fixed;bottom:18px;right:18px;
  display:inline-flex;align-items:center;gap:8px;
  background:var(--accent);color:#fff;
  padding:14px 18px;border-radius:50px;
  font-family:var(--ff-ui);font-weight:600;font-size:.95rem;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
  z-index:1050;
  text-decoration:none;
}
.fab-mobile svg{width:18px;height:18px}
@media (min-width:900px){.fab-mobile{display:none}}
