.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f7f8fff5;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #dce1f3aa;
}
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  padding: 11px 12px;
  border-radius: 12px;
  background: #151a38;
}
.brand img {
  width: 158px;
  height: auto;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: #535b78;
  padding: 10px 0;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--ink);
}
.site-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.language-links {
  display: flex;
  gap: 10px;
}
.language-links a {
  color: #606985;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 24px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.language-links a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.language-links a:hover {
  color: var(--ink);
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 13px 17px;
  transition: background 0.2s;
}
.header-contact:hover {
  background: #343d70;
}
.header-contact span {
  color: #bfb5ff;
  font-size: 1.15rem;
}
.menu-toggle {
  display: none;
  border: 1px solid #bdc6e3;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  padding: 12px;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.2s;
}
.site-nav .mobile-contact {
  display: none;
}
.breadcrumbs {
  display: flex;
  gap: 13px;
  padding-top: 28px;
  color: #606985;
  font-size: 0.78rem;
}
.breadcrumbs a:hover {
  color: var(--ink);
}
.breadcrumbs > span:last-child {
  color: var(--ink);
}
.site-footer {
  background: linear-gradient(125deg, #edf0ff, #eaf5ff);
  padding: 70px 0 25px;
  border-top: 1px solid var(--border-color);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.9fr 1.1fr;
  gap: 45px;
}
.footer-brand .brand {
  margin-bottom: 25px;
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 310px;
}
.site-footer h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 11px 0 25px;
  color: var(--highlight);
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer a:not(.brand) {
  font-size: 0.85rem;
  color: #535b78;
}
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
.footer-grid > div:last-child > a {
  display: block;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.footer-grid > div:last-child > p {
  font-size: 0.82rem;
  margin: 20px 0;
}
.social-links {
  display: flex;
  gap: 18px;
}
.footer-bottom {
  margin-top: 55px;
  padding-top: 23px;
  border-top: 1px solid #cbd4ee;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #535b78;
  font-size: 0.73rem;
}
@media (max-width: 1160px) {
  .header-inner {
    gap: 25px;
  }
  .site-nav {
    gap: 18px;
  }
  .header-actions {
    gap: 16px;
  }
  .header-contact {
    gap: 10px;
  }
  .brand img {
    width: 141px;
  }
}
@media (max-width: 1020px) {
  .header-contact {
    padding: 12px;
  }
  .header-inner {
    gap: 20px;
  }
  .site-nav {
    gap: 14px;
  }
  .site-nav a {
    font-size: 0.79rem;
  }
  .header-actions {
    gap: 12px;
  }
}
@media (max-width: 960px) {
  .header-inner {
    min-height: 80px;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  .header-contact {
    display: none;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-main);
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 18px 20px #151a3809;
    margin: 0;
    flex-direction: column;
    gap: 0;
  }
  .menu-open .site-nav {
    display: flex;
  }
  .site-nav a {
    padding: 13px 0;
    font-size: 1rem;
  }
  .site-nav .mobile-contact {
    display: block;
    font-weight: 650;
    color: var(--accent-dark);
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 38px;
  }
}
@media (max-width: 640px) {
  .brand img {
    width: 122px;
  }
  .header-inner {
    gap: 12px;
    min-height: 76px;
  }
  .header-actions {
    gap: 14px;
  }
  .language-links {
    gap: 9px;
  }
  .language-links a {
    font-size: 0.75rem;
  }
  .menu-toggle {
    width: 43px;
    height: 43px;
  }
  .site-nav {
    padding-inline: 20px;
  }
  .site-footer {
    padding-top: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-brand p {
    max-width: 380px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 380px) {
  .brand img {
    width: 104px;
  }
  .language-links {
    gap: 3px;
  }
  .header-actions {
    gap: 8px;
  }
}
