@charset "UTF-8";
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Base
# Swiper
# Buttons
# Header
# Footer
# Components
    -Hero Block
    -Testimonials
    -Areas of Education
    -Portal
    -Partners
    -Video
    -Reviews
    -Social
    -License
    -Form
    -News


--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --color-red: #eb5a54;
  --color-blue: #1d5099;
  --color-grey: #f6f8fb;
  --color-white: #ffffff;
  --color-dark-grey: #343434;
}

html {
  scrollbar-color: var(--color-blue) var(--color-grey);
  scrollbar-width: thin;
}

body {
  scrollbar-gutter: stable;
}

body.fixed {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.color-red {
  color: var(--color-red) !important;
}

.color-blue {
  color: var(--color-blue) !important;
}

.index-container p {
  font-family: 'Inter', Helvetica, sans-serif;
  font-size: 1.5625rem;
  color: var(--color-dark-grey);
}
.testimonials-digits-row li {
  font-family: 'Inter', Helvetica, sans-serif;
  font-size: 1.5625rem;
  color: var(--color-dark-grey);
}

.index-container h1 {
  font-family: 'Gilroy', Helvetica, sans-serif;
  color: var(--color-dark-grey);
}

.container {
  max-width: 1245px;
  margin: 0 auto;
  padding: 0 3%;
}

h2.second-title {
  font-size: 46px;
  color: var(--color-dark-grey);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 600;
}
@media (max-width: 550px) {
  h2.second-title {
    font-size: 32px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}

section[class*='-block'] {
  margin: 8.5vw 0 10vw;
}

.display-none {
  display: none !important;
}

/* br {
    display: block;
    margin-bottom: 2em;
} */
/* 
* {
    outline: red 1px solid;
} */
/*--------------------------------------------------------------
# Swiper Slider
--------------------------------------------------------------*/
/* @import "swiper"; */
/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.button {
  display: inline-block;
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-size: 1.25rem;
  color: var(--color-white);
  padding: 0.7em 3em;
  border-radius: 1.5em;
  /*  border: none; */
  cursor: pointer;
  border: transparent solid 1px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.button-red {
  background-color: var(--color-red);
}
.button-red:hover {
  background-color: transparent;
  color: var(--color-red);
  border: currentColor solid 1px;
}
.button-blue {
  background-color: var(--color-blue);
}
.button-blue:hover {
  background-color: transparent;
  color: var(--color-blue);
  border: currentColor solid 1px;
}

a.button {
  text-decoration: none;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.main-header {
  background-color: var(--color-grey);
  padding: 14px 0;
  position: fixed;
  z-index: 15;
  width: 100%;
  /* test test test*/
}

.main-menu {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 40px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.main-logo img {
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.main-logo:hover img {
  -webkit-filter: saturate(390%);
  filter: saturate(390%);
}

.menu__item a {
  font-size: 20px;
  text-decoration: none;
  color: var(--color-dark-grey);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.menu__item:hover a {
  color: var(--color-blue);
}

.main-navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 25px;
}
.main-navbar__phone {
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
  min-width: max-content;
}
.main-navbar__phone > a {
  font-size: 20px;
  text-decoration: none;
  color: var(--color-blue);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 600;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.main-navbar__phone:hover > a {
  color: var(--color-red);
}
.main-navbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  gap: 40px;
}
.main-navbar__enter {
  -ms-flex-negative: 1;
  flex-shrink: 1;
}
.main-navbar__enter > a {
  font-size: 16px;
  text-decoration: none;
  padding: 10px 19px;
}
.main-navbar__enter > a > span {
  margin-right: 11px;
  vertical-align: baseline;
}

.sub-navbar-wrapper {
  position: absolute;
  top: 65px;
  left: 35px;
  display: inline-block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 15px 20px;
  gap: 10px;
  background: #ffffff;
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
.sub-navbar-wrapper li {
  list-style: none;
}
.sub-navbar-wrapper li > a {
  color: var(--color-dark-grey);
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.sub-navbar-wrapper li > a:hover {
  color: var(--color-red);
}
.sub-navbar-wrapper.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.sub-navbar-wrapper > a {
  display: none;
  font-size: 20px;
  text-decoration: none;
  color: var(--color-blue);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 600;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  text-align: center;
  -ms-flex-negative: 1;
  flex-shrink: 1;
}
.sub-navbar-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 10px;
}
.sub-navbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 10px;
}

button.menu-button {
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  position: relative;
  width: 29px;
  height: 26px;
  margin-right: calc(1em + 5ch);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
button.menu-button:hover {
  color: var(--color-blue);
}
button.menu-button > span {
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
button.menu-button.active > span {
  background: transparent;
}
button.menu-button > span,
button.menu-button > span:before,
button.menu-button > span:after {
  display: block;
  width: 29px;
  height: 3px;
  background-color: var(--color-dark-grey);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
button.menu-button:not(.active):hover > span,
button.menu-button:hover > span:before,
button.menu-button:hover > span:after {
  background-color: var(--color-blue);
}
button.menu-button > span:before,
button.menu-button > span:after {
  position: absolute;
  content: '';
}
button.menu-button > span:before {
  top: -11px;
}
button.menu-button > span:after {
  top: 11px;
}
button.menu-button.active > span:before {
  -webkit-transform: translateY(11px) rotate(45deg);
  transform: translateY(11px) rotate(45deg);
}
button.menu-button.active > span:after {
  -webkit-transform: translateY(-11px) rotate(135deg);
  transform: translateY(-11px) rotate(135deg);
}
button.menu-button:before {
  content: 'Курсы';
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  position: absolute;
  left: 46px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.visually-impaired {
  -ms-flex-negative: 1;
  flex-shrink: 1;
}

button.visually-impaired-button {
  width: 24px;
  height: 24px;
  color: var(--color-dark-grey);
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
button.visually-impaired-button:hover {
  color: var(--color-red);
}

@media (max-width: 1155px) {
  .main-navbar {
    -ms-flex-negative: 1;
    flex-shrink: 1;
  }
  .main-navbar__list {
    /* display: flex; */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    /* padding: 15px 20px; */
    gap: 10px;
  }
  .main-logo {
    -ms-flex-negative: 1;
    flex-shrink: 1;
  }
  .sub-navbar-wrapper {
    left: 50%;
  }
  button.menu-button:before {
    content: 'Меню';
  }
}
@media (max-width: 795px) {
  .sub-navbar-wrapper {
    position: fixed;
    left: unset;
    top: 100px;
    right: 0;
    width: 100vw;
    z-index: 10000;
    height: calc(100vh - 100px);
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--color-grey);
    padding: 65px 8% 35px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px;
  }
  .sub-navbar-wrapper > a {
    display: block;
  }
  .sub-navbar-row {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .sub-navbar-row > * {
    -ms-flex-preferred-size: 49%;
    flex-basis: 49%;
  }
  .sub-navbar-row > ul.main-navbar__list {
    position: relative;
    gap: 20px;
  }
  .sub-navbar-row > ul.main-navbar__list::before {
    content: '';
    top: 0;
    right: 12px;
    width: 7.5px;
    height: 12.5px;
    position: absolute;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01LjE3MTkyIDYuOTk5OTlMMC4yMjE5MjQgMi4wNDk5OUwxLjYzNTkyIDAuNjM1OTg2TDcuOTk5OTIgNi45OTk5OUwxLjYzNTkyIDEzLjM2NEwwLjIyMTkyNCAxMS45NUw1LjE3MTkyIDYuOTk5OTlaIiBmaWxsPSIjMDkxMjFGIi8+Cjwvc3ZnPgo=');
  }
  .sub-navbar-row > ul.sub-navbar__list {
    gap: 15px;
  }
  .sub-navbar-row > ul.main-navbar__list > li > a {
    font-family: 'Gilroy', Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 0.9;
    color: var(--color-dark-grey);
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }
  .sub-navbar-row > ul.main-navbar__list > li > a:hover {
    color: var(--color-red);
  }
  .main-navbar__enter {
    /* display: none; */
    /*             flex-grow: 1;
                flex-shrink: 0; */
    width: 100%;
  }
  .main-navbar__enter > a {
    width: 100%;
    text-align: center;
  }
  .main-navbar__phone {
    margin-left: 0;
    -ms-grid-column-align: end;
    justify-self: end;
    text-align: right;
  }
  .main-navbar__phone > a > span {
    font-size: 26px;
  }
  .main-navbar__phone > a {
    font-size: 0;
    color: var(--color-red);
  }
  button.menu-button {
    margin-right: 0;
  }
  button.menu-button:before {
    content: '';
  }
  .main-menu {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    width: auto !important;
  }
}
@media (min-width: 796px) {
  .main-navbar__phone {
    margin-left: 25px;
  }
  .main-navbar__phone > a > span {
    font-size: 0;
  }
  .main-navbar__phone > a {
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer.main-footer {
  padding: 40px 0;
  color: var(--color-white);
  background-color: var(--color-dark-grey);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
footer.main-footer span {
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 200;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
footer.main-footer span > b {
  font-size: 20px;
}
footer.main-footer a {
  font-family: 'Montserrat', Helvetica, sans-serif;
  text-decoration: none;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 200;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
footer.main-footer a::before {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
footer.main-footer a:hover,
footer.main-footer a:hover::before {
  color: var(--color-red);
}
footer.main-footer img:hover {
  /* -webkit-filter: hue-rotate(120deg); */
  /* filter: hue-rotate(120deg); */
  -webkit-filter: saturate(390%);
  filter: saturate(390%);
}

.footer-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding-bottom: 40px;
  margin-bottom: 20px;
  border-bottom: #cbcbcb 1px solid;
}

.footer-contact-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
}

.footer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-title {
  font-size: 20px;
  text-decoration: none;
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
}
.footer-nav-link {
  list-style: none;
}

.footer-logo {
  padding-top: 2%;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
}

.footer-contact {
  -ms-flex-preferred-size: 32%;
  flex-basis: 32%;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
}

.footer-phones {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0.5em;
}

.footer-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.footer-copyright {
  -ms-flex-negative: 1;
  flex-shrink: 1;
  /* flex-basis: 25%; */
}

.footer-social {
  -ms-flex-item-align: end;
  align-self: flex-end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  gap: 16px;
}

.footer-soc-link > a::before {
  font-size: 22px;
  color: #979797;
}

@media (max-width: 1155px) {
  .footer-logo {
    padding-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 26px;
  }
  .footer-logo img {
    width: 180px;
    height: 180px;
  }
  .footer-social {
    -ms-flex-item-align: start;
    -ms-grid-row-align: start;
    align-self: start;
  }
  .footer-contact {
    padding-top: 5%;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  .footer-top {
    gap: 35px;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .footer-top > * {
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
  }
}
@media (max-width: 795px) {
  .main-footer > .container,
  .footer-top,
  .footer-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .footer-logo {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    gap: 13px;
  }
  .footer-logo img {
    max-width: 100%;
    max-height: 100%;
  }
  .footer-social {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
  .footer-social a:before {
    font-size: 30px;
  }
  .footer-bottom {
    text-align: center;
    gap: 13px;
  }
  .footer-bottom span + span {
    margin-top: 13px;
  }
  .footer-nav {
    -ms-flex-item-align: start;
    align-self: flex-start;
    width: 100%;
  }
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.main-header {
  background-color: var(--color-grey);
  padding: 14px 0;
  position: sticky;
  z-index: 10;
}

.main-menu {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 40px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.main-logo img {
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.main-logo:hover img {
  -webkit-filter: saturate(390%);
  filter: saturate(390%);
}

.menu__item a {
  font-size: 20px;
  text-decoration: none;
  color: var(--color-dark-grey);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.menu__item:hover a {
  color: var(--color-blue);
}

.main-navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 25px;
}
.main-navbar__phone {
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}
.main-navbar__phone > a {
  font-size: 20px;
  text-decoration: none;
  color: var(--color-blue);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 600;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.main-navbar__phone:hover > a {
  color: var(--color-red);
}
.main-navbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  gap: 40px;
}
.main-navbar__enter {
  -ms-flex-negative: 1;
  flex-shrink: 1;
}
.main-navbar__enter > a {
  font-size: 16px;
  text-decoration: none;
  padding: 10px 19px;
}
.main-navbar__enter > a > span {
  margin-right: 11px;
  vertical-align: baseline;
}

.sub-navbar-wrapper {
  position: absolute;
  top: 65px;
  left: 35px;
  display: inline-block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 15px 20px;
  gap: 10px;
  background: #ffffff;
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
.sub-navbar-wrapper li {
  list-style: none;
}
.sub-navbar-wrapper li > a {
  color: var(--color-dark-grey);
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.sub-navbar-wrapper li > a:hover {
  color: var(--color-red);
}
.sub-navbar-wrapper.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.sub-navbar-wrapper > a {
  display: none;
  font-size: 20px;
  text-decoration: none;
  color: var(--color-blue);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 600;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  text-align: center;
  -ms-flex-negative: 1;
  flex-shrink: 1;
}
.sub-navbar-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 10px;
}
.sub-navbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 10px;
}

button.menu-button {
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  position: relative;
  width: 29px;
  height: 26px;
  margin-right: calc(1em + 5ch);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
button.menu-button:hover {
  color: var(--color-blue);
}
button.menu-button > span {
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
button.menu-button.active > span {
  background: transparent;
}
button.menu-button > span,
button.menu-button > span:before,
button.menu-button > span:after {
  display: block;
  width: 29px;
  height: 3px;
  background-color: var(--color-dark-grey);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
button.menu-button:not(.active):hover > span,
button.menu-button:hover > span:before,
button.menu-button:hover > span:after {
  background-color: var(--color-blue);
}
button.menu-button > span:before,
button.menu-button > span:after {
  position: absolute;
  content: '';
}
button.menu-button > span:before {
  top: -11px;
}
button.menu-button > span:after {
  top: 11px;
}
button.menu-button.active > span:before {
  -webkit-transform: translateY(11px) rotate(45deg);
  transform: translateY(11px) rotate(45deg);
}
button.menu-button.active > span:after {
  -webkit-transform: translateY(-11px) rotate(135deg);
  transform: translateY(-11px) rotate(135deg);
}
button.menu-button:before {
  content: 'Курсы';
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  position: absolute;
  left: 46px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.visually-impaired {
  -ms-flex-negative: 1;
  flex-shrink: 1;
}

button.visually-impaired-button {
  width: 24px;
  height: 24px;
  color: var(--color-dark-grey);
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
button.visually-impaired-button:hover {
  color: var(--color-red);
}

@media (max-width: 1155px) {
  .main-navbar {
    -ms-flex-negative: 1;
    flex-shrink: 1;
  }
  .main-navbar__list {
    /* display: flex; */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    /* padding: 15px 20px; */
    gap: 10px;
  }
  .main-logo {
    -ms-flex-negative: 1;
    flex-shrink: 1;
  }
  .sub-navbar-wrapper {
    left: 50%;
  }
  button.menu-button:before {
    content: 'Меню';
  }
}
@media (max-width: 795px) {
  .sub-navbar-wrapper {
    position: fixed;
    left: unset;
    top: 100px;
    right: 0;
    width: 100vw;
    z-index: 10000;
    height: calc(100vh - 100px);
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--color-grey);
    padding: 65px 8% 35px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px;
  }
  .sub-navbar-wrapper > a {
    display: block;
  }
  .sub-navbar-row {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .sub-navbar-row > * {
    -ms-flex-preferred-size: 49%;
    flex-basis: 49%;
  }
  .sub-navbar-row > ul.main-navbar__list {
    position: relative;
    gap: 20px;
  }
  .sub-navbar-row > ul.main-navbar__list::before {
    content: '';
    top: 0;
    right: 12px;
    width: 7.5px;
    height: 12.5px;
    position: absolute;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDggMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01LjE3MTkyIDYuOTk5OTlMMC4yMjE5MjQgMi4wNDk5OUwxLjYzNTkyIDAuNjM1OTg2TDcuOTk5OTIgNi45OTk5OUwxLjYzNTkyIDEzLjM2NEwwLjIyMTkyNCAxMS45NUw1LjE3MTkyIDYuOTk5OTlaIiBmaWxsPSIjMDkxMjFGIi8+Cjwvc3ZnPgo=');
  }
  .sub-navbar-row > ul.sub-navbar__list {
    gap: 15px;
  }
  .sub-navbar-row > ul.main-navbar__list > li > a {
    font-family: 'Gilroy', Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 0.9;
    color: var(--color-dark-grey);
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }
  .sub-navbar-row > ul.main-navbar__list > li > a:hover {
    color: var(--color-red);
  }
  .main-navbar__enter {
    /* display: none; */
    /*             flex-grow: 1;
                flex-shrink: 0; */
    width: 100%;
  }
  .main-navbar__enter > a {
    width: 100%;
    text-align: center;
  }
  .main-navbar__phone {
    margin-left: 0;
    -ms-grid-column-align: end;
    justify-self: end;
    text-align: right;
  }
  .main-navbar__phone > a > span {
    font-size: 26px;
  }
  .main-navbar__phone > a {
    font-size: 0;
    color: var(--color-red);
  }
  button.menu-button {
    margin-right: 0;
  }
  button.menu-button:before {
    content: '';
  }
  .main-menu {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 1;
    flex-shrink: 1;
  }
}
@media (min-width: 796px) {
  .main-navbar__phone {
    margin-left: 25px;
  }
  .main-navbar__phone > a > span {
    font-size: 0;
  }
  .main-navbar__phone > a {
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Hero Block
--------------------------------------------------------------*/
.hero-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}
.hero-block-text {
  margin-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 25px;
  -ms-flex-preferred-size: 55%;
  flex-basis: 55%;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}
.hero-block-text > .button {
  margin-top: 15px;
}
.hero-block-text > p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 90%;
}
.hero-block-video {
  position: relative;
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
  width: 514px;
  /* height: 514px; */
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: bottom;
  object-position: bottom;
  aspect-ratio: 1/1;
  background-color: #eae8ea;
  border-radius: 50% 50% 0 0;
  /*         overflow: hidden; */
}
.hero-block-video video {
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-40%);
  transform: translateX(-40%);
  z-index: 1;
  max-height: 85%;
}
.hero-block-video::before {
  -webkit-animation: fadeIn 1.7s ease-out 1.7s 1 normal both;
  animation: fadeIn 1.7s ease-out 1.7s 1 normal both;
  content: '';
  display: block;
  width: 191px;
  height: 201px;
  z-index: 3;
  background-image: url('../img/index/hero-books.png');
  position: absolute;
  bottom: -5%;
  left: -14%;
  -webkit-transition: bottom 3s ease-in-out;
  transition: bottom 3s ease-in-out;
}
.hero-block-video.scrolled::before {
  bottom: -25%;
}

.hero-title {
  font-size: 56px;
  font-weight: 500;
  font-family: 'Gilroy', Helvetica, sans-serif;
}
.hero-title > strong {
  font-weight: 500;
  /*             color: var(--color-red); */
}

span.hero-video-container {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  aspect-ratio: 1/1;
  border-radius: 50% 50% 0 0;
}

@media (max-width: 1155px) {
  .hero-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
  }
  .hero-block-text {
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
  }
  .hero-block-video {
    /* float: left; */
    -ms-flex-item-align: end;
    align-self: flex-end;
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
    width: 397px;
    margin-right: 3%;
  }
}
@media (max-width: 550px) {
  .hero-block {
    max-width: 100%;
  }
  .hero-block-text {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    max-width: 99%;
  }
  .hero-block-text > p {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 98%;
    font-size: 15px;
  }
  .hero-block-video {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    width: clamp(293px, 95%, 397px);
    margin-right: 0;
  }
  .hero-block-video::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 88px;
    height: 91px;
    background-size: contain;
  }
  .hero-title {
    font-size: 36px;
  }
}
@-webkit-keyframes fadeIn {
  from {
    -webkit-transform: translateY(30%);
    transform: translateY(30%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    -webkit-transform: translateY(30%);
    transform: translateY(30%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials-block {
  margin: 8vw 0;
}
.testimonials-video {
  position: relative;
  -ms-flex-preferred-size: 36%;
  flex-basis: 36%;
  width: 395px;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: bottom;
  object-position: bottom;
  aspect-ratio: 1/1;
  /* background-color: #BB3718; */
  background: -webkit-gradient(linear, right top, left top, from(#bf3c18), to(#b93614));
  background: linear-gradient(270deg, #bf3c18 0%, #b93614 100%);
  border-radius: 50% 50% 0 0;
}
.testimonials-video video {
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-44.5%);
  transform: translateX(-44.5%);
  z-index: 1;
  max-height: 97%;
}
.testimonials-video-container {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  aspect-ratio: 1/1;
  border-radius: 50% 50% 0 0;
}
.testimonials-top {
  margin: 60px 0 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.testimonials-digits-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-preferred-size: 63%;
  flex-basis: 63%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 59px 3%;
}
.testimonials-digits-row > li {
  list-style: none;
  -ms-flex-preferred-size: 48%;
  flex-basis: 48%;
}
.testimonials-cards-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  /* flex-wrap: wrap; */
}
.testimonials-cards-row > li {
  -ms-flex-preferred-size: 32%;
  flex-basis: 32%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  list-style: none;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
}
.testimonials-cards-row > li > img {
  max-width: 100%;
}
.testimonials-cards-row > li > span {
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: normal;
  font-size: 14px;
}
.testimonials-card-title {
  margin-top: 5px;
  font-size: 24px;
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
}

.testimonials-cards-row.scrolled > li:first-child {
  -webkit-animation: fadeIn 1.7s ease 0.7s 1 normal both;
  animation: fadeIn 1.7s ease 0.7s 1 normal both;
}
.testimonials-cards-row.scrolled > li:nth-child(2) {
  -webkit-animation: fadeIn 1.7s ease-in 1.7s 1 normal both;
  animation: fadeIn 1.7s ease-in 1.7s 1 normal both;
}
.testimonials-cards-row.scrolled > li:last-child {
  -webkit-animation: fadeIn 1.7s ease-out 3.4s 1 normal both;
  animation: fadeIn 1.7s ease-out 3.4s 1 normal both;
}

.countdown {
  font-size: 56px;
  color: var(--color-blue);
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  display: inline-block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.countdown.countdown-more::before {
  content: '> ';
}
.countdown.countdown-plus:after {
  content: '+';
}
.countdown.countdown-branch:after {
  content: ' филиала';
  font-size: 0.625em;
}

@media (max-width: 1155px) {
  .testimonials-digits-row {
    -ms-flex-preferred-size: 35%;
    flex-basis: 35%;
    gap: 30px;
  }
  .testimonials-digits-row > li {
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
  }
  .testimonials-video {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
  }
}
@media (max-width: 550px) {
  .testimonials-top {
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    -webkit-box-pack: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch;
    gap: 32px;
  }
  .testimonials-digits-row {
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 25px 0;
  }
  .testimonials-digits-row > li {
    -ms-flex-preferred-size: 42%;
    flex-basis: 42%;
    max-width: 42%;
  }
  .testimonials-video {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    width: 295px;
  }
  .testimonials-cards-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 25px;
  }
  .testimonials-cards-row > li {
    -ms-flex-preferred-size: 90%;
    flex-basis: 90%;
  }
  .countdown {
    font-size: 40px;
  }
}
/*--------------------------------------------------------------
# Areas of Education
--------------------------------------------------------------*/
.areas-block-video {
  -ms-grid-row: 3;
  -ms-grid-row-span: 5;
  -ms-grid-column: 5;
  -ms-grid-column-span: 3;
  margin: 0 0 0 20%;
  grid-area: video;
  position: relative;
  /* flex-basis: 35%; */
  /* width: 395px; */
  max-width: 79%;
  -ms-grid-row-align: end;
  align-self: end;
  /* max-height: 90%; */
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: bottom;
  object-position: bottom;
  aspect-ratio: 1/1;
  background: linear-gradient(
    133deg,
    #438188 0%,
    #48848c 13.5%,
    #528c94 33.5%,
    #528d95 47%,
    #4c878f 67%,
    #40797f 80%,
    #3c7178 100%
  );
  border-radius: 50% 50% 0 0;
}
.areas-block-video video {
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-75%) scale(1.2);
  transform: translateX(-75%) scale(1.2);
  z-index: 1;
  max-height: 80%;
}

.areas-video-container {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  aspect-ratio: 1/1;
  border-radius: 50% 50% 0 0;
}
.areas-grid {
  margin: 55px 0;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(4, 1fr);
  -ms-grid-rows: 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-rows: repeat(4, 1fr);
  grid-template-areas: 'med ped boss fire' 'metr build video video' 'zet period video video' 'inf-bez inf-bez video video';
  row-gap: 20px;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}
.areas-grid > a {
  grid-area: var(--grid-name);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  padding: 30px;
  gap: 10px;
  height: 130px;
  text-decoration: none;
  color: var(--color-dark-grey);
  background: #ffffff;
  -webkit-box-shadow: 0px 8px 15px 5px #e2e6eb;
  box-shadow: 0px 8px 15px 5px #e2e6eb;
  border-radius: 20px;
  -webkit-transition: -webkit-box-shadow 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.areas-grid > a:hover {
  -webkit-box-shadow: 0px 2px 15px 5px #a8a9ab;
  box-shadow: 0px 2px 15px 5px #a8a9ab;
}
.areas-grid > a:last-of-type {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.areas-grid > a > span {
  font-size: 25px;
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
}
.areas-grid > a > small {
  font-family: 'Gilroy', Helvetica, sans-serif;
  color: #7c7c7c;
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 1155px) {
  .areas-grid {
    -ms-grid-columns: 1fr 24px 1fr 24px 1fr;
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
    grid-template-rows: repeat(5, 1fr);
    grid-template-areas: 'med ped boss' 'fire metr build' 'zet  video video' 'inf-bez video video' 'period video video';
    row-gap: 10px;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
  }
  .areas-grid > a {
    padding: 36px 32px;
  }
  .areas-grid > a:last-of-type {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
  }
  .areas-block-video {
    /* margin: 5% 0 0 8%; */
    max-height: 400px;
    -ms-flex-item-align: end;
    -ms-grid-row-align: end;
    align-self: end;
    margin: 2% 0 0 30%;
  }
  .areas-block-video {
    -ms-grid-row: 5;
    -ms-grid-row-span: 5;
    -ms-grid-column: 3;
    -ms-grid-column-span: 3;
  }
}
@media (max-width: 805px) {
  .areas-grid {
    margin: 25px 2%;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: minmax(85px, auto) 15px minmax(85px, auto) 15px minmax(85px, auto) 15px
      minmax(85px, auto) 15px minmax(85px, auto) 15px minmax(85px, auto) 15px minmax(85px, auto)
      15px minmax(85px, auto) 15px minmax(85px, auto) 15px minmax(85px, auto) 15px
      minmax(85px, auto);
    grid-template-rows: repeat(11, minmax(85px, auto));
    grid-template-areas: 'med' 'ped' 'fire' 'metr' 'zet ' 'video' 'video' 'boss' 'inf-bez' 'period' 'build';
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    row-gap: 15px;
    /* column-gap: 24px; */
  }
  .areas-grid > a {
    padding: 20px;
  }
  .areas-block-video {
    margin: 15px 0;
    max-width: 99%;
  }
  .areas-block-video {
    -ms-grid-row: 11;
    -ms-grid-row-span: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
  }
}
/*--------------------------------------------------------------
# Main Portal
--------------------------------------------------------------*/
.portal-column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
  max-height: 520px;
  max-width: 40%;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 40px 20px;
}
.portal-column > h2 {
  margin-top: 40px;
}
.portal-column > a {
  margin-top: 15px;
  text-decoration: none;
}
.portal-column > a > span {
  padding-right: 0.5em;
}
@media (max-width: 1155px) {
  .portal-column {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    max-height: 100%;
    max-width: 99%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 40px 20px;
  }
  .portal-column > h2 {
    -ms-flex-preferred-size: 70%;
    flex-basis: 70%;
    margin-top: 0px;
  }
  .portal-column > a {
    margin-top: 0px;
  }
  .portal-logo {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    text-align: right;
    max-width: 100%;
  }
  .portal-img {
    margin-top: 40px;
    max-width: 100%;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    text-align: center;
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
  }
  .portal-img img, .portal-img picture {
    max-width: 100%;
  }
}
@media (max-width: 550px) {
  .portal-column {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    max-width: 99%;
  }
  .portal-column > h2 {
    -ms-flex-preferred-size: 70%;
    flex-basis: 70%;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  .portal-column > a {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
    width: 100%;
    text-align: center;
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
  }
  .portal-logo {
    -ms-flex-preferred-size: 12%;
    flex-basis: 12%;
    -ms-flex-item-align: end;
    -ms-grid-row-align: end;
    align-self: end;
    margin: 0 5% -10% 0;
  }
  .portal-logo > img {
    max-width: clamp(70px, 120%, 80px);
  }
  .portal-img {
    margin: 20px 0;
  }
}
/*--------------------------------------------------------------
# Main Portal
--------------------------------------------------------------*/
.partners-slider img {
  -o-object-fit: contain;
  object-fit: contain;
  width: auto;
  height: 90px;
  -webkit-filter: grayscale(100%) brightness(120%);
  filter: grayscale(100%) brightness(120%);
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
  cursor: -webkit-grab;
  cursor: grab;
}
.partners-slider img:hover {
  -webkit-filter: grayscale(0) brightness(100%);
  filter: grayscale(0) brightness(100%);
}
.partners-slider img:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* @media (max-width: 550px) { 
    .partners-slider {
        & img {

            height: 150px;

        }
    }
}  */
/*--------------------------------------------------------------
# YouTube Video
--------------------------------------------------------------*/
.video-block {
  position: relative;
  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;
}
.video-block > iframe, .video-block > video {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 1.77/1;
}

.video-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 960px;
  height: 540px;
  background: url(../img/index/video-cover.png) #fff;
  background-size: cover;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  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;
  aspect-ratio: 1.77/1;
}
.video-cover-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1em;
}
.video-cover-row > button {
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
  cursor: pointer;
  background: none;
  outline: none;
  border: 0;
}
.video-cover-row > button:hover path {
  stroke: var(--color-red);
}
.video-cover-row > button path {
  -webkit-transition: stroke 0.3s ease;
  transition: stroke 0.3s ease;
}

h3.video-title {
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-white);
  text-transform: uppercase;
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
}

/*--------------------------------------------------------------
# Reviews
--------------------------------------------------------------*/
.reviews-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.reviews-slider {
  position: relative;
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
  background-color: #f6f8fb;
  border-radius: 30px;
  padding: 30px 70px 30px 40px;
  height: auto;
}
.reviews-slider img {
  -o-object-fit: contain;
  object-fit: contain;
  padding: 10%;
  max-width: 100%;
}
.reviews-slider a {
  cursor: pointer;
}
.reviews-slider .swiper-wrapper {
  margin-left: -2%;
}
.reviews-slider::before {
  content: '';
  display: block;
  width: 24%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  background-color: #f6f8fb;
}
.reviews-text {
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
}
.reviews-text > h2 + p {
  margin-top: 30px;
}
.reviews-pagination {
  position: absolute;
  left: 85%;
  bottom: 20px;
  z-index: 2;
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 400;
  color: #8f8f8f;
}

.swiper-arrows {
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 20px;
  background: var(--color-blue);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  border-radius: 0 30px 0 30px;
  z-index: 3;
}

.arrow-next,
.arrow-prev {
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
}

.arrow-next path,
.arrow-prev path {
  -webkit-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}

.arrow-next:hover path,
.arrow-prev:hover path {
  fill: var(--color-red);
}

.swiper-pagination-current {
  color: var(--color-blue);
  vertical-align: super;
  font-weight: 600;
}

.swiper-pagination-total {
  vertical-align: sub;
}

@media (max-width: 1155px) {
  .reviews-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 50px;
  }
  .reviews-slider {
    max-width: 70%;
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
    margin-left: 0%;
    height: 415px;
    padding-right: 24%;
  }
  .reviews-text {
    -ms-flex-preferred-size: 95%;
    flex-basis: 95%;
  }
}
@media (max-width: 550px) {
  .reviews-slider {
    max-width: 95%;
    -ms-flex-preferred-size: 99%;
    flex-basis: 99%;
    margin-left: 0%;
    height: 450px;
    padding-right: 0;
    padding-top: 20%;
  }
  .reviews-slider::before {
    display: none;
  }
  .reviews-pagination {
    top: 18px;
    left: 20px;
    bottom: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: 50px;
  }
}
/*--------------------------------------------------------------
# Social Media
--------------------------------------------------------------*/
.social-block {
  background-color: var(--color-blue);
  padding: 45px 60px;
  border-radius: 30px;
  position: relative;
}
.social-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  width: 55%;
  gap: 15px 24px;
}
.social-text > a > span {
  margin-right: 0.5em;
  vertical-align: text-top;
}
.social-text > a path {
  -webkit-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}
.social-text > a:hover path {
  fill: var(--color-red);
}
.social-title {
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  font-size: 30px;
  color: var(--color-white);
  margin-bottom: 35px;
}
.social-images {
  position: absolute;
  bottom: -5px;
  right: 0;
}
.social-images > img {
  max-width: 100%;
}
.social-images.scrolled .social-vk {
  -webkit-animation: fadeIn 1.7s ease 0.3s 1 normal both;
  animation: fadeIn 1.7s ease 0.3s 1 normal both;
}
.social-images.scrolled .social-tg {
  -webkit-animation: fadeIn 1.7s ease-in 1.3s 1 normal both;
  animation: fadeIn 1.7s ease-in 1.3s 1 normal both;
}
.social-vk {
  opacity: 0;
  position: absolute;
  top: 20%;
  left: -52%;
}
.social-tg {
  opacity: 0;
  position: absolute;
  top: 0;
  left: -22%;
}

@media (max-width: 1155px) {
  .social-vk {
    position: absolute;
    top: -3%;
    left: -15%;
    max-width: 40% !important;
  }
  .social-tg {
    position: absolute;
    left: 160px;
    top: -110px;
  }
}
@media (max-width: 750px) {
  .social-block {
    padding: 25px 20px;
  }
  .social-text {
    width: 99%;
    margin-bottom: 500px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .social-images {
    left: 5%;
  }
}
/*--------------------------------------------------------------
# License Block
--------------------------------------------------------------*/
.license-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  /* align-items: center; */
}
.license-text {
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 20px;
}
.license-text > a {
  margin-top: 25px;
}
.license-text > p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 90%;
}
.license-text > small {
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
}
.license-img {
  position: relative;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.license-img::before {
  content: '';
  width: 120px;
  height: 120px;
  display: block;
  background: url(../img/index/screpa.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -18%;
  right: -22%;
  -webkit-transition: top 3s ease;
  transition: top 3s ease;
}
.license-img.scrolled::before {
  top: -12%;
}
.license-img:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}
.license-image {
  max-width: 100%;
}

@media (max-width: 1155px) {
  .license-text {
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
  }
  .license-img {
    -ms-flex-preferred-size: 30%;
    flex-basis: 30%;
  }
}
@media (max-width: 750px) {
  .license-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 70px;
  }
  .license-text {
    -ms-flex-preferred-size: 98%;
    flex-basis: 98%;
  }
  .license-text > a {
    margin-top: 0px;
    padding: 20px;
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
    width: 100%;
    text-align: center;
  }
  .license-text > small {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    text-align: center;
  }
  .license-img {
    -ms-flex-preferred-size: 98%;
    flex-basis: 98%;
  }
}
/*--------------------------------------------------------------
# Contact Form Block
--------------------------------------------------------------*/
.contact-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #f6f8fb;
  border-radius: 30px;
  padding: 65px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.contact-text {
  -ms-flex-preferred-size: 47%;
  flex-basis: 47%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 15px;
}
.contact-text > strong > a {
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 500;
  font-size: 30px;
  margin-top: 20px;
  text-decoration: none;
  color: var(--color-dark-grey);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.contact-text > strong > a:hover {
  color: var(--color-blue);
}
.contact-form {
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 15px;
}
.contact-form > input {
  padding: 15px 30px;
  border-radius: 5px;
  border: 1px #c4c4c4 solid;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: var(--color-dark-grey);
  /*             input[type="tel"]:empty::before {
                  content: 'Телефон*';
              } */
}
.contact-form > input::-webkit-input-placeholder {
  color: #1b1b1b;
}
.contact-form > input::-moz-placeholder {
  color: #1b1b1b;
}
.contact-form > input:-ms-input-placeholder {
  color: #1b1b1b;
}
.contact-form > input::-ms-input-placeholder {
  color: #1b1b1b;
}
.contact-form > input::placeholder {
  color: #1b1b1b;
}
.contact-police-row > label {
  /* position: relative; */
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 200;
  font-size: 14px;
  color: #6e6f70;
}
.contact-police-row > label > a {
  color: #6e6f70;
  /* text-decoration: dotted; */
}
.contact-police-row > label::before {
  content: '';
  display: inline-block;
  height: 25px;
  width: 25px;
  border: 1px #343434 solid;
  border-radius: 5px;
  margin-right: 14px;
  vertical-align: bottom;
  /* transition: all .3s ease; */
  cursor: pointer;
}
.contact-police-row > [type='checkbox'] {
  display: none;
}
.contact-police-row > [type='checkbox']:checked + label::before {
  background: url(../img/index/Check.svg);
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1155px) {
  .contact-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 65px 50px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    gap: 35px;
    /* justify-content: space-between; */
  }
  .contact-text {
    max-width: 65%;
  }
}
@media (max-width: 550px) {
  .contact-block {
    padding: 25px 20px;
  }
  .contact-text {
    max-width: 95%;
  }
}
/*--------------------------------------------------------------
# News Block
--------------------------------------------------------------*/
.news-row {
  margin-top: 37px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
  width: 49%;
  height: 470px;
  gap: 25px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}
.news-row > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}
.news-row > li > h3 > a {
  font-family: 'Gilroy', Helvetica, sans-serif;
  font-weight: 400;
  text-decoration: none;
  color: var(--color-dark-grey);
  font-size: 25px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 5px;
}
.news-row > li > h3 > a:hover {
  color: var(--color-white);
  background-color: var(--color-red);
}
.news-row > li > time {
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.news-row > li:not(:first-of-type) {
  border-bottom: 1px solid #1b1b1d;
  padding-bottom: 10px;
}
.news-row > li:not(:first-of-type) > img {
  display: none;
}
.news-row > li:not(:first-of-type) > h3 {
  margin-bottom: 10px;
}
.news-row > li:first-of-type {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
}
.news-row > li:first-of-type > img {
  max-width: 100%;
  border-radius: 30px;
}
.news-row > a.button {
  margin-top: 32px;
}

@media (max-width: 1155px) {
  .news-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    width: 99%;
    height: auto;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  .news-row > li > h3 {
    font-size: 20px;
  }
  .news-row > li:first-of-type > img {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  .news-row > a.button {
    -ms-flex-item-align: start;
    align-self: flex-start;
  }
}
@media (max-width: 550px) {
  .news-row > a.button {
    text-align: center;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
  }
}

/* Safari video bug fix */

[class$='-block-video'] video {
  pointer-events: none;
}

[class$='-block-video'] video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}

[class$='-block-video'] video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}

[class$='-block-video'] video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}


.fancybox__content > .carousel__button.is-close {
  position: absolute;
}



a.header-email {
	font-size: 14px;	
}
@media (max-width: 800px) {
	.main-navbar__phone br {
		display: none;
	}
	a.header-email {
		font-size: 0px;
		padding: 0 20px;		
	}	
	
}
