.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 172px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.brand-wordmark {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 27px;
  letter-spacing: 0.025em;
  line-height: 1.1;
}

.brand-caption {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
  line-height: 1.4;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  display: block;
  padding-block: 30px;
  color: #4a5870;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  bottom: 19px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transition: width 180ms;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-nav a:hover::after, .site-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.language-switch .separator {
  color: #a6b1c2;
}

.language-switch [aria-current="true"] {
  color: var(--blue);
}

.language-switch a:hover {
  color: var(--blue);
}

.header-cta {
  min-height: 40px;
  gap: 12px;
  padding: 9px 16px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--navy);
  background: var(--white);
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  color: #94a6c7;
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.page-hero::after {
  position: absolute;
  top: -240px;
  right: -50px;
  width: 600px;
  height: 600px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgb(255 255 255 / 3%), 0 0 0 130px rgb(255 255 255 / 2%);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 32px 66px;
}

.page-hero .eyebrow {
  color: #9fc6ff;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 670px;
  margin-top: 22px;
  color: #bfcce1;
  font-size: 17px;
}

.hero-bottom-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 17%);
  color: #90a5c7;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 30px 36px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-number {
  display: block;
  color: var(--navy);
  font-family: var(--display-font);
  font-size: 47px;
  line-height: 1.15;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.partner {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding: 26px;
}

.partner:first-child {
  border-left: 0;
}

.partner img {
  width: 150px;
  height: 83px;
  object-fit: contain;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.news-image {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
}

.news-body {
  padding: 27px 25px 28px;
}

.news-kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card h3, .news-card h2 {
  font-size: 20px;
  line-height: 1.45;
}

.news-card p {
  margin-top: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cta-band {
  color: var(--white);
  background: var(--blue);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 58px;
}

.cta-band .eyebrow {
  margin-bottom: 14px;
  color: #bbd6ff;
}

.cta-band h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.cta-band p {
  margin-top: 15px;
  color: #d6e7ff;
  font-size: 15px;
}

.cta-band .button {
  flex-shrink: 0;
}

.site-footer {
  padding-top: 64px;
  color: #bac7de;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.1fr;
  gap: 70px;
  padding-bottom: 50px;
}

.site-footer .brand {
  margin-bottom: 22px;
}

.site-footer .brand-mark {
  border-radius: 3px;
  background: var(--white);
}

.site-footer .brand-name {
  color: var(--white);
}

.site-footer .brand-caption {
  color: #a4b8d8;
}

.footer-company {
  max-width: 360px;
  font-size: 14px;
}

.footer-description {
  max-width: 350px;
  margin-top: 14px;
  color: #7f95b7;
  font-size: 13px;
}

.footer-title {
  margin: 5px 0 22px;
  color: var(--white);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 11px;
  font-size: 13px;
}

.footer-links a:hover, .footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: 18px;
  color: #9fb2ce;
  font-size: 13px;
  line-height: 1.9;
}

.footer-contact-label {
  display: block;
  margin-bottom: 3px;
  color: #e0e8f5;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid #213252;
  color: #7f95b7;
  font-size: 11px;
}

.registration-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.registration-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.registration-links img {
  width: 16px;
  height: 18px;
  object-fit: contain;
}

.certificate-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

.certificate-dialog::backdrop {
  background: rgb(6 20 47 / 80%);
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.dialog-heading h2 {
  font-size: 18px;
}

.dialog-close {
  display: flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: var(--surface);
  font-size: 26px;
  line-height: 1;
}

.dialog-image {
  max-height: calc(100dvh - 160px);
  width: 100%;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav ul {
    gap: 18px;
  }

  .header-actions {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .site-nav ul {
    flex-wrap: wrap;
    padding-bottom: 18px;
  }

  .site-nav a {
    padding-block: 10px;
  }

  .site-nav a::after {
    bottom: 3px;
  }

  .js .menu-toggle {
    display: flex;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 32px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 15px 24px rgb(6 20 47 / 9%);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    display: grid;
    gap: 5px;
    padding: 0;
  }

  .js .site-nav a {
    padding: 12px 8px;
  }

  .js .site-nav a::after {
    display: none;
  }

  .js .site-nav a[aria-current="page"] {
    background: var(--blue-light);
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1.4fr;
  }

  .cta-inner {
    align-items: start;
    flex-direction: column;
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 45px;
    height: 47px;
  }

  .brand-mark img {
    width: 146px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-caption {
    font-size: 9px;
  }

  .header-actions {
    gap: 14px;
  }

  .language-switch {
    gap: 6px;
    font-size: 11px;
  }

  .js .site-nav {
    padding-inline: 20px;
  }

  .page-hero-inner {
    padding-block: 24px 42px;
  }

  .breadcrumb {
    margin-bottom: 30px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .hero-bottom-line {
    margin-top: 32px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .stat {
    padding: 22px 16px;
  }

  .stat-number {
    font-size: 33px;
  }

  .stat-label {
    font-size: 11px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner {
    min-height: 120px;
    padding: 18px;
  }

  .partner:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .partner:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .partner img {
    width: 130px;
    height: 65px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-body {
    padding: 23px 22px;
  }

  .cta-inner {
    padding-block: 42px;
  }

  .site-footer {
    padding-top: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 38px;
  }

  .footer-contact {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    font-size: 10px;
  }

  .registration-links {
    flex-direction: column;
    gap: 9px;
  }

  .certificate-dialog {
    padding: 16px;
  }
}

@media (max-width: 400px) {
  .brand-caption {
    font-size: 8px;
    letter-spacing: 0.01em;
  }

  .header-actions {
    gap: 10px;
  }
}
