.site-header { position: sticky; top: 0; z-index: 100; height: 74px; background: rgba(251, 250, 246, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(7, 63, 42, .07); }
.nav-wrap { height: 74px; display: grid; grid-template-columns: 136px 1fr auto; align-items: center; gap: 24px; }
.brand {
  width: 112px;
  height: 64px;
  padding: 4px 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(231, 245, 239, .72);
  box-shadow: 0 6px 18px rgba(7, 129, 75, .12);
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.18) contrast(1.12) drop-shadow(0 2px 3px rgba(7, 129, 75, .2));
}
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 36px; }
.primary-nav > a:not(.btn) { position: relative; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.primary-nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--green); transition: right .2s; }
.primary-nav > a:hover::after, .primary-nav > a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-toggle button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 5px 8px; font-size: .66rem; font-weight: 800; cursor: pointer; }
.lang-toggle button[aria-pressed=true] { background: var(--mint); color: var(--green-dark); }
.header-download { min-height: 44px; padding-inline: 20px; font-size: .8rem; }
.nav-burger, .mobile-only { display: none; }

.site-footer { padding-top: 50px; background: var(--green-deep); color: #d6ebe1; }
.site-footer p { color: #a9c7ba; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.35fr 1fr; gap: 46px; padding-bottom: 38px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-grid h3 { margin: 0 0 9px; color: #fff; font-size: .92rem; letter-spacing: 0; }
.footer-grid a, .footer-grid p { margin-bottom: 0; font-size: .82rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { width: 118px; height: 72px; object-fit: contain; opacity: 1; }
.footer-brand p { max-width: 290px; margin: 9px 0 0; }
.footer-social { display: flex; gap: 9px; margin-top: 15px; }
.social-link { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 0; text-decoration: none; transition: background .2s, transform .2s; }
.social-link svg { width: 18px; height: 18px; display: block; }
.social-link--instagram { font-size: 0; }
.social-link:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); text-decoration: none !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0 22px; display: flex; justify-content: space-between; gap: 20px; color: #a9c7ba; font-size: .76rem; }
.toast { position: fixed; z-index: 200; right: 20px; bottom: 20px; background: var(--ink); color: #fff; border-radius: 12px; padding: 13px 17px; box-shadow: var(--shadow); }

@media (min-width: 961px) {
  .site-header, .nav-wrap { height: 74px; }
  .nav-wrap { grid-template-columns: 136px 1fr auto; }
  .brand { width: 112px; height: 64px; }
  .primary-nav { gap: 36px; }
  .primary-nav > a:not(.btn) { font-size: .9rem; }
  .header-download { min-height: 44px; padding-inline: 20px; font-size: .8rem; }
  .site-footer { padding-top: 50px; }
  .footer-grid { gap: 46px; padding-bottom: 38px; }
  .footer-grid h3 { margin-bottom: 9px; font-size: .92rem; }
  .footer-grid a, .footer-grid p { font-size: .82rem; }
  .footer-brand img { width: 118px; height: 72px; }
  .footer-bottom { padding: 18px 0 22px; font-size: .76rem; }
}

@media (max-width: 1400px) and (min-width: 961px) {
  .primary-nav { gap: 20px; }
  .primary-nav > a:not(.btn) { font-size: .78rem; }
  .header-download { padding-inline: 16px; }
}

@media (max-width: 1180px) and (min-width: 961px) {
  .primary-nav { gap: 16px; }
  .primary-nav > a:not(.btn) { font-size: .74rem; }
  .header-download { padding-inline: 16px; }
}

@media (max-width: 960px) {
  .nav-wrap { grid-template-columns: 100px 1fr auto; }
  .primary-nav { position: fixed; inset: 68px 0 auto; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px; display: flex; align-items: stretch; flex-direction: column; gap: 18px; transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .25s; }
  .primary-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav > a:not(.btn) { font-size: .95rem; white-space: normal; }
  .primary-nav > a:not(.btn)::after { display: none; }
  .nav-burger { width: 40px; height: 40px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .nav-burger span { display: block; width: 21px; height: 2px; background: var(--ink); transition: .2s; }
  .nav-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-only { display: inline-flex; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 650px) {
  .site-header, .nav-wrap { height: 64px; }
  .nav-wrap { width: calc(100% - 28px); grid-template-columns: auto auto; justify-content: space-between; gap: 12px; }
  .brand { width: 88px; height: 52px; padding: 3px 5px; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .primary-nav { inset-block-start: 64px; }
  .header-download { display: none; }
  .lang-toggle button { padding: 5px 7px; }
  .nav-burger { align-items: center; padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .site-footer { padding-top: 32px; }
}
