.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .nav-link,
.site-header.is-open .nav-link {
  color: var(--slate-600);
}

.nav-link:hover {
  color: var(--emerald-400);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-open .nav-link:hover {
  color: var(--emerald-600);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle {
  color: var(--slate-700);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.site-header.is-open .menu-toggle span {
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle span::before {
  opacity: 0;
}

.site-header.is-open .menu-toggle span::after {
  transform: translateY(-2px) rotate(90deg);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--emerald-100);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lg);
}

.mobile-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 600;
}

.mobile-panel a:hover {
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.site-footer {
  border-top: 1px solid var(--emerald-900);
  background: var(--emerald-950);
  color: var(--white);
}

.site-footer .content-max {
  width: min(100% - 64px, 1440px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(140px, 1fr));
  gap: 64px;
  padding: 82px 0 62px;
}

.footer-brand img {
  width: auto;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.footer-brand p {
  max-width: 220px;
  margin: 0;
  line-height: 1.6;
}

.footer-brand p,
.footer-link,
.footer-bottom {
  color: rgba(16, 185, 129, 0.92);
  font-size: 16px;
}

.footer-title {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.footer-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link:hover {
  color: var(--emerald-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 42px;
  border-top: 1px solid rgba(16, 185, 129, 0.22);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
