.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px){ .container { padding: 0 32px; } }

/* HEADER */
.site-header{
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(245,241,234,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled{
  background: rgba(245,241,234,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h-mobile);
}
@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);
  font-family: var(--ff-display);
}
.brand-mark{
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark--pill{
  background: var(--accent-soft);
  border-radius: 50%;
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.brand-name{
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: .01em;
}

.nav-desktop{
  display: none;
  gap: 22px;
  font-family: var(--ff-ui);
  font-size: 0.92rem;
}
.nav-desktop a{
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a::after{
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-call { display: none; }

@media (min-width: 900px){
  .nav-desktop { display: flex; }
  .header-call { display: inline-flex; }
}

/* BURGER mobile */
.burger{
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  z-index: 1101;
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.burger span,
.burger span::before,
.burger span::after{
  content:"";
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform .25s ease, opacity .15s ease, top .25s ease;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.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 */
.menu-mobile{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: 1000;
  padding: calc(var(--header-h-mobile) + 28px) 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  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{
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--text);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: block;
}
.menu-mobile a:hover { color: var(--accent); }
.menu-cta{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.menu-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 900px){ .menu-mobile { display: none; } }

/* FOOTER */
.site-footer{
  background: var(--accent-deep);
  color: #F5F1EA;
  padding: 56px 0 24px;
  margin-top: 0;
}
.site-footer :where(h4, p, a, li, span){ color: #F5F1EA; }
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px){
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
}
.foot-brand .brand-name { color: #F5F1EA; }
.foot-brand .brand-mark{
  background: rgba(255,255,255,0.10);
  color: #F5F1EA;
  border-color: rgba(255,255,255,0.18);
}
.foot-tag{
  color: rgba(245,241,234,0.78);
  font-size: 0.95rem;
  margin-top: 14px;
  max-width: 38ch;
}
.foot-col h4{
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.foot-col ul{ display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.foot-col a{ color: rgba(245,241,234,0.86); text-decoration: none; }
.foot-col a:hover{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-base{
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(245,241,234,0.62);
}
@media (min-width: 768px){
  .foot-base { flex-direction: row; justify-content: space-between; }
}

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