.media__image::before{
     content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 0.5 — степень затемнения */
  z-index: 1; /* Слой над фоном */
}

#popup{
  position: fixed;
  opacity: 0;
  visibility: hidden;
  width: 0;
  z-index: -100 !important;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

#popup-container{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

#burger-header{
  background-color: transparent;
  border: none;
}

.dropdown{
  background-color: #002fa7;
  padding: 0 4rem !important;
}

.partners-image{
  width: 100% !important;
  height: auto !important;
}

.popup-modal-dismiss{
  border: none;
  background-color: transparent;
}

/* Header/Footer refresh */
.header--site-shell {
  padding-top: 2.4rem;
}

.header__inner--site {
  gap: 3rem;
}

.header__logo-image,
.footer__logo-image {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}

.header-search-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: default;
  opacity: 0.78;
}

.header-search-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-contact-btn,
.footer__button {
  min-width: 17rem;
  justify-content: center;
  text-align: center;
}

.header .header__nav {
  margin-left: 0;
}

.header .nav--primary-menu > ul > li + li {
  margin-left: 0;
}

.nav--primary-menu > ul > li.menu-item-has-children > a {
  min-width: 12.4rem;
  padding: 1.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.nav--primary-menu .dropdown {
  top: calc(100% + 1.2rem);
  right: 0;
  left: auto;
  min-width: 28rem;
  padding: 2rem !important;
  border-radius: 2rem;
  background: rgba(0, 47, 167, 0.96);
  backdrop-filter: blur(10px);
}

.nav--primary-menu .sub-menu--simple {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.nav--primary-menu .sub-menu--simple > li {
  margin: 0;
}

.nav--primary-menu .sub-menu--simple > li > a {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav--primary-menu .sub-menu--simple > li:first-child > a {
  border-top: 0;
  padding-top: 0;
}

.nav--primary-menu .sub-menu--simple > li.is-current > a,
.footer__menu li.is-current > a {
  opacity: 1;
  color: #ffffff;
}

.footer--site-shell {
  padding-top: 7rem;
}

.footer__inner--site {
  margin-top: 0;
  margin-bottom: 7rem;
  align-items: flex-start;
}

.footer__aside--site,
.footer__content--site {
  display: flex;
  flex-direction: column;
}

.footer__aside--site {
  gap: 1.8rem;
}

.footer__eyebrow {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.footer__summary,
.footer__lead {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer__content--site h3 {
  margin-bottom: 1.8rem;
}

.footer__actions--site {
  gap: 1.6rem;
  margin-top: 3.2rem;
  margin-bottom: 4rem;
}

.footer__actions--site li {
  margin-right: 0;
}

.footer__menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer__menu a {
  color: inherit;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.footer__menu a:hover,
.footer__outro--site a:hover,
.header-search-link:hover {
  opacity: 1;
  text-decoration: none;
}

.footer__outro--site {
  gap: 2rem;
}

.footer__outro--site ul {
  justify-content: flex-end;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.footer__outro--site ul li + li {
  margin-left: 2rem;
}

@media (max-width: 1080px) {
  .header--site-shell {
    padding-top: 3.2rem;
  }

  .header__actions {
    gap: 1.2rem;
  }

  .header-search-link,
  .header-contact-btn {
    display: none;
  }

  .header .header__nav {
    padding: 10rem 2rem 6rem;
  }

  .nav--primary-menu > ul > li.menu-item-has-children > a {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .nav--primary-menu .dropdown {
    position: static;
    min-width: 0;
    margin-top: 1.6rem;
    padding: 0 !important;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav--primary-menu .sub-menu--simple > li:first-child > a {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer--site-shell {
    padding-top: 5rem;
  }

  .footer__inner--site {
    margin-bottom: 5rem;
  }
}

@media (max-width: 767px) {
  .header__logo-image,
  .footer__logo-image {
    width: 140px;
  }

  .footer__actions--site {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__actions--site li,
  .footer__button {
    width: 100%;
  }

  .footer__menu ul {
    display: grid;
    gap: 1rem;
  }

  .footer__outro--site ul {
    justify-content: flex-start;
  }
}


.page-placeholder {
  position: relative;
  z-index: 2;
  padding: 10rem 0 12rem;
}

.page-placeholder__inner {
  max-width: 72rem;
  padding: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.4rem;
  background: rgba(0, 16, 56, 0.6);
  backdrop-filter: blur(10px);
}

.page-placeholder__eyebrow {
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.page-placeholder h1 {
  margin-bottom: 2rem;
}

.page-placeholder p {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767px) {
  .page-placeholder {
    padding: 7rem 0 9rem;
  }

  .page-placeholder__inner {
    padding: 2.4rem;
  }
}
