.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h-mobile);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
@media (min-width: 768px) { .site-header { height: var(--header-h); } }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; gap: 14px;
}
@media (min-width: 768px) { .header-inner { padding: 0 40px; } }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); border-radius: 50%; padding: 7px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; color: var(--text); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name em { font-style: italic; color: var(--accent); font-weight: 500; }
.brand-tag { display: none; font-family: var(--ff-ui); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--text-mute); margin-top: 3px; }
@media (min-width: 520px) { .brand-tag { display: inline; } }

.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; align-items: center; gap: 28px; }
  .nav-desktop a { font-family: var(--ff-ui); font-size: .94rem; color: var(--text); font-weight: 500; }
  .nav-desktop a:hover { color: var(--accent); }
}

.site-header .header-cta { display: none; }
@media (min-width: 900px) { .site-header .header-cta { display: inline-flex; } }

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

.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: .25rem;
  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; justify-content: space-between;
  padding: 18px 6px;
  font-family: var(--ff-display); font-size: 1.5rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.menu-mobile > a:last-of-type { border-bottom: 0; }
.menu-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.menu-mobile a.btn { justify-content: center; gap: 10px; padding: .95rem 1.6rem; min-height: 52px; border-bottom: 0; font-size: 1rem; }
.menu-mobile a.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.menu-mobile .menu-cta .btn-primary { color: var(--on-dark); }
.menu-mobile .menu-cta .btn-wa { color: var(--on-dark); }
@media (min-width: 900px) { .menu-mobile { display: none; } }

.site-footer {
  background: var(--surface-deep);
  color: var(--on-dark);
  padding: 64px 0 0;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }
.footer-col h4 { font-family: var(--ff-display); font-weight: 500; font-size: 1.1rem; color: var(--on-dark); margin: 0 0 14px; }
.footer-col p, .footer-col li, .footer-col a { color: var(--on-dark-2); font-size: .95rem; line-height: 1.6; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand-mark { background: color-mix(in srgb, var(--on-dark-2) 18%, var(--surface-deep)); color: var(--on-dark-2); }
.footer-brand .brand-name { color: var(--on-dark); }
.footer-brand .brand-name em { color: var(--on-dark-2); }
.footer-brand .brand-tag { color: var(--on-dark-2); display: inline; }
.footer-lead { margin-top: 18px; max-width: 36ch; color: var(--on-dark-2); font-size: .95rem; }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; color: var(--on-dark-2); font-size: .82rem; }
.footer-bottom button { background: transparent; border: 0; color: var(--on-dark-2); font: inherit; font-size: .82rem; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom button:hover { color: var(--on-dark); }

.fab-call {
  position: fixed; right: 16px; bottom: 16px;
  width: 56px; height: 56px;
  background: var(--accent); color: var(--on-dark);
  border-radius: 50%; box-shadow: 0 12px 30px -10px rgba(28, 40, 32, 0.5);
  display: grid; place-items: center;
  z-index: var(--z-fab);
  text-decoration: none;
  transition: transform var(--t-base), background var(--t-fast);
  opacity: 0; pointer-events: none; transform: translateY(20px);
}
.fab-call.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-call:hover { background: var(--accent-2); transform: translateY(-2px); }
.fab-call svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .fab-call { display: none; } }

.spacer-header { height: var(--header-h-mobile); }
@media (min-width: 768px) { .spacer-header { height: var(--header-h); } }
