.container {
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
}

.btn {
  padding: 15px 30px;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  background: #005B8E;
  border-radius: 4px;
}

.btn:hover {
  background: #004369;
}

@media (max-width: 990px) {
  .btn {
    padding: 10px 30px;
  }
}

.title-section {
  font-weight: 700;
  font-size: 32px;
  line-height: 39px;
  position: relative;
  padding-left: 60px;
  margin-bottom: 60px;
}

.title-section:before {
  content: '';
  position: absolute;
  top: 50%;
  height: 2px;
  width: 30px;
  background-color: #005B8E;
  left: 0;
}

@media (max-width: 990px) {
  .title-section {
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 40px;
  }
}

.title-section--dark {
  color: #fff;
}

.d-none {
  display: none;
}

.list li {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  padding-left: 24px;
  position: relative;
  margin-bottom: 20px;
}

.list li:before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #005B8E;
  left: 0;
  top: 4px;
}

.list li:last-child {
  margin-bottom: 0;
}

html, body {
  color: #1e1e1e;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.header {
  border-bottom: 1px solid #F0F2F3;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
  background-color: #fff;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 20px 0;
}

.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 18px;
     -moz-column-gap: 18px;
          column-gap: 18px;
}

.header__logo-img {
  max-width: 220px;
  width: 100%;
}

.header__logo-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  width: 310px;
  color: #535353;
}

.header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header__nav nav a {
  font-style: normal;
  font-weight: 500;
  padding: 19px 14px;
  color: #005B8E;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  text-decoration: none;
}

.header__nav nav a:hover {
  color: #6d808b;
}

.header__phone {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  color: #1e1e1e;
  text-decoration: none;
}

.header__phone:hover {
  color: #747474;
}

@media (max-width: 1300px) {
  .header__logo {
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px;
  }
  .header__nav nav a {
    padding: 10px 7px;
  }
}

@media (max-width: 1200px) {
  .header__logo-img {
    max-width: 150px;
  }
  .header__logo-text {
    font-size: 10px;
    width: 250px;
  }
  .header__nav nav a {
    font-size: 12px;
  }
}

@media (min-width: 991px) {
  .header__mob-block, .header .mob__menu {
    display: none;
  }
}

@media (max-width: 990px) {
  .header__container {
    padding: 0;
  }
  .header__nav, .header__phone, .header__logo-text {
    display: none;
  }
  .header__mob-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header__mob-phone, .header__mob-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 48px;
    height: 48px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .header .mob__close {
    position: absolute;
    top: 52px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 8px;
    opacity: .4;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  .header .mob__close svg line {
    stroke: #005B8E;
  }
  .header .mob__close:hover {
    opacity: 1;
  }
  .header .mob__menu {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    top: -100%;
    position: absolute;
    background-color: #fff;
    height: 100vh;
    width: 100%;
    margin-left: -20px;
  }
  .header .mob__menu nav {
    padding: 90px 0 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .header .mob__menu nav a {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: #005B8E;
    padding: 20px 30px;
    text-decoration: none;
  }
  .header .mob__menu.active {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    top: 0;
    z-index: 2;
    row-gap: 10px;
  }
}

.top {
  padding: 14px 0;
}

.top__cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.top__text {
  max-width: 500px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.top__title {
  margin-bottom: 60px;
}

.top__title h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 49px;
}

.top__text-block {
  margin-bottom: 60px;
}

.top__button a {
  color: #fff;
  text-decoration: none;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.top__img {
  position: relative;
  padding-bottom: 785px;
  width: 100%;
}

.top__img img {
  position: absolute;
  height: 100%;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: left;
     object-position: left;
  overflow: visible;
}

@media (max-width: 990px) {
  .top {
    padding: 60px 0;
  }
  .top__cont {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
            flex-flow: column-reverse;
  }
  .top__img {
    padding-bottom: 320px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .top__text {
    margin-top: 40px;
  }
  .top__text-block {
    margin-bottom: 40px;
  }
  .top__title {
    margin-bottom: 40px;
  }
  .top__title h1 {
    font-size: 30px;
    line-height: 37px;
  }
}

@media (max-width: 560px) {
  .top__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .top__button .btn {
    height: 48px;
    width: 100%;
    text-align: center;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.production {
  padding: 100px 0;
  background: #F0F2F3;
}

.production__cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.production__block {
  padding-bottom: 20px;
  background-color: #fff;
  border-radius: 4px;
}

.production__img {
  position: relative;
  padding-bottom: 250px;
  margin-bottom: 10px;
  display: block;
}

.production__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.production__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #005B8E;
  margin-bottom: 30px;
  padding: 0 20px;
}

.production__subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 20px;
  padding: 0 20px;
}

.production__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  padding: 0 20px;
  margin-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  row-gap: 5px;
}

.production__text p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.production__btn {
  padding: 0 20px;
}

.production__btn .btn {
  display: block;
  text-align: center;
  border: 1px solid #005B8E;
  border-radius: 4px;
  background-color: #fff;
  color: #005B8E;
  text-decoration: none;
  padding: 15px 0;
}

.production__btn .btn:hover {
  background: #005B8E;
  color: #fff;
}

.production__block-last {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.production__block-last-text {
  text-align: center;
}

.production__block-last-text .question {
  font-weight: 700;
  font-size: 96px;
  line-height: 117px;
  color: #F0F2F3;
  margin-bottom: 30px;
}

.production__write {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #005B8E;
  text-decoration: none;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.production__write:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .production__cont {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 990px) {
  .production {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .production__cont {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
  .production__title {
    margin-bottom: 20px;
  }
  .production__text {
    margin-bottom: 30px;
  }
}

@media (max-width: 560px) {
  .production__block-last {
    padding: 40px;
  }
  .production .question {
    line-height: 100%;
  }
  .production__cont {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

.demonstration {
  background: #005B8E;
  overflow: hidden;
}

.demonstration__cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 505px;
  grid-template-columns: 1fr 505px;
  -webkit-column-gap: 125px;
     -moz-column-gap: 125px;
          column-gap: 125px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.demonstration__img {
  position: relative;
  padding-bottom: 414px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.demonstration__img img {
  position: absolute;
  height: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: unset;
}

.demonstration__title {
  font-weight: 500;
  font-size: 32px;
  line-height: 39px;
  margin-bottom: 26px;
  color: #fff;
}

.demonstration__text {
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  color: #fff;
  margin-bottom: 40px;
}

.demonstration__btn .btn {
  display: block;
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 15px 30px;
}

.demonstration__btn .btn:hover {
  background-color: #fff;
  color: #1E1E1E;
}

@media (max-width: 1200px) {
  .demonstration__cont {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
  }
}

@media (max-width: 990px) {
  .demonstration__cont {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    row-gap: 60px;
  }
  .demonstration__img {
    overflow-y: hidden;
    width: calc(100% + 40px);
    margin-left: -20px;
  }
  .demonstration__img img {
    height: 100%;
    width: 100%;
  }
  .demonstration__title {
    font-size: 24px;
    line-height: 29px;
  }
  .demonstration__text {
    font-size: 16px;
    line-height: 160%;
  }
  .demonstration__btn {
    margin-bottom: 60px;
  }
  .demonstration__btn .btn {
    width: 100%;
    text-align: center;
  }
}

.services {
  padding: 100px 0;
}

.services__cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services__block {
  background: rgba(0, 91, 142, 0.06);
  border-radius: 4px;
  padding: 30px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -webkit-column-gap: 15px;
     -moz-column-gap: 15px;
          column-gap: 15px;
}

.services__img {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 48px 1fr;
  grid-template-columns: 48px 1fr;
  -webkit-column-gap: 16px;
     -moz-column-gap: 16px;
          column-gap: 16px;
  margin-bottom: 7px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.services__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}

.services__text {
  padding-left: 64px;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  font-style: normal;
}

@media (max-width: 1200px) {
  .services__cont {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 990px) {
  .services {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .services__cont {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .services__img {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    row-gap: 20px;
    margin-bottom: 20px;
  }
  .services__text {
    padding-left: 0;
  }
}

.advantages {
  background: #23282D;
  padding: 100px 0;
}

.advantages__cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantages__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  row-gap: 30px;
}

.advantages__title {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

.advantages__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #9E9E9E;
}

@media (max-width: 990px) {
  .advantages {
    padding: 60px 0;
  }
  .advantages__cont {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

.about-us {
  padding: 100px 0;
}

.about-us__text {
  max-width: 820px;
  margin: 0 auto;
}

.about-us__text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #535353;
}

.about-us__text p + p {
  margin-top: 20px;
}

@media (max-width: 990px) {
  .about-us {
    padding: 60px 0;
  }
  .about-us__text {
    max-width: 100%;
  }
}

.map {
  position: relative;
  height: 700px;
}

.map__block {
  position: absolute;
  width: 100vw;
  left: 0;
  height: 700px;
  top: 0;
}

.map__cont {
  position: relative;
  z-index: 2;
  background-color: #fff;
  padding: 60px;
  top: 60px;
  left: 0;
  width: 480px;
}

.map__phone {
  margin-bottom: 40px;
}

.map__phone a {
  font-weight: 400;
  font-size: 32px;
  line-height: 39px;
  color: #1E1E1E;
  text-decoration: none;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.map__phone a:hover {
  text-decoration: underline;
}

.map__mail, .map__adress {
  margin-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}

.map__mail svg, .map__adress svg {
  margin-right: 10px;
}

.map__mail a, .map__adress a {
  font-size: 16px;
  line-height: 160%;
  color: #1E1E1E;
  text-decoration: none;
}

.map__mail a:hover, .map__adress a:hover {
  text-decoration: underline;
}

.map__mail span, .map__adress span {
  font-size: 16px;
  line-height: 160%;
}

.map__button .btn {
  padding: 15px 20px;
  width: 100%;
  display: block;
  text-decoration: none;
  color: #fff;
  text-align: center;
}

@media (max-width: 990px) {
  .map {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
  .map .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .map__cont {
    position: static;
    padding: 0;
    margin-bottom: 50px;
    width: 100%;
  }
  .map__block {
    position: static;
    height: 500px;
    width: 100%;
  }
  .map__phone {
    margin-bottom: 30px;
  }
  .map__phone a {
    font-size: 24px;
    line-height: 29px;
  }
  .map__mail, .map__adress {
    margin-bottom: 28px;
  }
}

.footer {
  padding: 40px 0;
  border-top: 1px solid #F0F2F3;
}

.footer a {
  color: #005B8E;
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  text-decoration: none;
}

.footer a:hover {
  color: #012e47;
}

.footer__cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer__c {
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  color: #A3A3A3;
}

.footer__pol {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
}

.footer__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 14px;
     -moz-column-gap: 14px;
          column-gap: 14px;
}

.footer__info-block span {
  font-size: 12px;
  line-height: 160%;
  color: #A3A3A3;
}

@media (max-width: 990px) {
  .footer__cont {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .footer__c {
    margin-bottom: 30px;
  }
  .footer__pol {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    row-gap: 20px;
    margin-bottom: 30px;
  }
}

.popup .fancybox-button--close {
  display: none;
}

.popup .modal {
  max-width: 740px;
  width: 100%;
  padding: 70px 130px;
  position: relative;
}

.popup .modal .close {
  position: absolute;
  top: 22px;
  right: 22px;
  opacity: .5;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.popup .modal .close:hover {
  opacity: 1;
}

.popup .modal .title-section {
  margin-left: -60px;
}

.popup .modal__subtitle {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 30px;
}

.popup .modal__form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  row-gap: 30px;
}

.popup .modal__row {
  position: relative;
}

.popup .modal__input {
  padding: 12px 48px;
  background: #FFFFFF;
  border: 1px solid #E0E6E9;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
  line-height: 160%;
  background: #F0F2F3;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.popup .modal__input::-webkit-input-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__input::-moz-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__input:-ms-input-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__input::-ms-input-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__input::placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__input:focus {
  background-color: #fff;
}

.popup .modal__input-icon {
  position: absolute;
  top: 12px;
  left: 14px;
}

.popup .modal__input.error {
  border: 1px solid #E20000;
}

.popup .modal__input.error ~ label.error {
  margin-top: 8px;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #E20000;
}

.popup .modal__textarea {
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid #E0E6E9;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
  line-height: 160%;
  height: 160px;
  resize: none;
  background: #F0F2F3;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.popup .modal__textarea::-webkit-input-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__textarea::-moz-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__textarea:-ms-input-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__textarea::-ms-input-placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__textarea::placeholder {
  color: rgba(30, 30, 30, 0.4);
}

.popup .modal__textarea:focus {
  background-color: #fff;
}

.popup .modal__submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.popup .modal__submit .btn {
  color: #fff;
  padding: 16px 30px;
}

.popup .modal .custom-select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  background: #F0F2F3;
  border: 1px solid #E0E6E9;
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.popup .modal .custom-select:after {
  content: '';
  border: none;
  background-image: url("../images/expand_more.svg");
  width: 24px;
  height: 24px;
  margin-top: 0;
  top: 0;
  right: 14px;
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
  position: static;
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
}

.popup .modal .custom-select .current {
  font-size: 16px;
  line-height: 160%;
}

.popup .modal .custom-select .list {
  margin-top: 0px;
  width: 100%;
  padding: 20px 0;
}

.popup .modal .custom-select .list li {
  font-size: 16px;
  line-height: 100%;
  padding: 18px 14px;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  margin-bottom: 0;
}

.popup .modal .custom-select .list li:before {
  display: none;
}

.popup .modal .custom-select .list li:hover {
  background: #F0F2F3;
}

.popup .modal .custom-select.open:after {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

@media (max-width: 768px) {
  .popup .modal {
    width: calc(100% - 40px);
    padding: 50px 30px;
  }
  .popup .modal .close {
    top: 12px;
    right: 12px;
  }
  .popup .modal .title-section {
    margin-left: 0;
  }
  .popup .modal__subtitle {
    font-size: 16px;
    line-height: 20px;
  }
  .popup .modal .custom-select {
    height: 42px;
  }
  .popup .modal .custom-select .list li {
    padding: 13px 14px;
  }
  .popup .modal__form {
    row-gap: 15px;
  }
  .popup .modal__input {
    padding: 7px 48px;
  }
}

.thanks {
  max-width: 462px;
  width: 100%;
  background: #005B8E;
  border-radius: 10px;
}

.thanks p {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

.popup-gallery .close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  opacity: .5;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.popup-gallery .close:hover {
  opacity: 1;
}
