.site-header, .site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header { width: min(1440px, calc(100% - 32px)); padding: 22px 0; }
.site-footer {
  margin-top: 72px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer div { display: grid; gap: 6px; }
.footer-text { line-height: 1.55; white-space: normal; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--cyan); }
.footer-socials {
  display: grid;
  justify-items: center;
  gap: 30px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
}
.footer-socials strong {
  color: var(--lime);
  font-size: .96rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-align: center;
}
.footer-socials span {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-socials a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(159,189,116,.30);
  color: var(--muted);
  background: rgba(79,111,58,.08);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.footer-socials a:hover {
  color: var(--text);
  border-color: rgba(159,189,116,.56);
  background: rgba(79,111,58,.18);
}
.footer-socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand { display: inline-grid; gap: 5px; align-items: center; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.brand-logo { max-width: 150px; max-height: 54px; object-fit: contain; }
.brand-text.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brand span { color: var(--cyan); }
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.nav a, .nav form { flex: 0 0 auto; }
.nav a:hover, .section-head a, table a { color: var(--cyan); }
.lang-select { position: relative; flex: 0 0 auto; }
.lang-select summary {
  min-width: 48px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface-2);
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}
.lang-select summary::-webkit-details-marker { display: none; }
.lang-select[open] summary { border-color: var(--cyan); }
.lang-select a {
  display: block;
  min-width: 112px;
  padding: 9px 11px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
}
.lang-select a:hover { color: var(--cyan); }
.lang-select a:first-of-type { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.lang-select a:last-of-type { border-radius: 0 0 8px 8px; }
.hero, .section, .steps, .brand-band, .page-title, .detail-grid, .cards, .auth-box, .table-wrap, .stats-grid {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}
.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0 72px;
}
.section, .steps, .brand-band, .page-title { padding: 52px 0; }
.section-head, .admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; padding: 44px 0; align-items: start; }
.page-title.narrow, .auth-box { max-width: 620px; }
