:root {
  --bg-grey: #f2f2f0;
  --input-grey: #afafaf;
  --second-grey: #d9d9d9;
  --white: #ffffff;
  --blue: #0d263f;
  --second-blue: #142d48;
  --alternative-blue: #132e48;
  --second-red: #e72f44;
  --red: #e40136;
  --black: #000000;
  --second-black: #191919;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Cera Pro", "Roboto", sans-serif; 
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

@media screen and (max-width: 1324px) {
  .container {
    max-width: 100%;
    margin: initial;
    padding: 0 50px
  }
}

@media screen and (max-width: 484px) {
  .container {
    padding: 0 24px
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-bottom: 36px;
  padding-top: 45px;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
}

.header__mobile-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Burger icon */

.burger {
  position: relative;
  display: block;
  width: 13px;
  height: 10px;
  padding: 0;
  border: none;
  color: var(--black);
  background-color: transparent;
  cursor: pointer;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 13px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger::before {
  top: 0;
}

.burger::after {
  top: calc(100% - 2px);
}

.burger__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
  transition: transform 0.3s ease-in-out;
}

.burger--active::before {
  top: 50%;
  transform: rotate(45deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active::after {
  top: 50%;
  transform: rotate(-45deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active .burger__line {
  transform: scale(0);
  transition: transform 0.3s ease-in-out;
}

.burger:focus::after {
  opacity: 1;
}


/* Phone-call */

.phone-call {
  display: flex;
  gap: 24px;
}

.phone-call__icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-call__link {
  font-size: 19px;
  font-weight: 700;
  line-height: 25px;
  text-decoration: none;
  color: var(--black);
}

.phone-call__link:hover {
  opacity: 0.6;
}

.phone-call__free-call {
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
  color: var(--blue);
}

@media screen and (max-width: 846px) {
  .header__phone-call {
    display: none;
  }
}

/* Navigation */

.navigation {
  padding: 30px 30px;
  background-color: #f2f2f0;
  border-radius: 12px;
}

.navigation__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 60px;
  row-gap: 20px;
}

.navigation__item {
  text-align: center;
}

.navigation__link {
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: none;
  color: var(--black);
  cursor: pointer;
}

.navigation__link:hover,
.navigation__link:focus {
  opacity: 0.6;
}

.navigation--short {
  max-width: 713px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .navigation__list {
    justify-content: center;
  }
}

@media screen and (max-width: 846px) {
  .navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0;
  }

  .header__nav--active .navigation__list {
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
  }
}

/* Section Promo */

.main-content__promo {
  margin-bottom: 48px;
}

.promo {
  padding: 7% 0;
  background-color: #f2f2f0;
}

.promo__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo__text {
  max-width: 43%;
}

.promo__title {
  margin-bottom: 48px;
  font-size: 64px;
  line-height: 70px;
  text-transform: uppercase;
  color: #0d263f;
}

.promo__slogan {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 24px;
}

.promo__link {
  display: inline-block;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background-color: var(--second-red);
  border-radius: 8px;
}

.promo__link:hover,
.promo__link:focus {
  opacity: 0.7;
}

@media screen and (max-width: 1348px) {
  .promo__container {
    flex-direction: column;
  }

  .promo__picture {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .promo__title {
    font-size: 54px;
    line-height: 60px;
  }
}

@media screen and (max-width: 768px) {
  .promo__text {
    width: 100%;
    max-width: 100%;
    margin-bottom: 48px;
  }
}

@media screen and (max-width: 582px) {
  .promo__title {
    font-size: 32px;
    line-height: 38px;
  }
}

@media screen and (max-width: 484px) {
  .promo__title {
    font-size: 26px;
    line-height: 32px;
  }

  .promo__text {
    margin-bottom: 24px;
  }

  .promo__picture {
    height: 238px;
  }

  .promo__link:not(:last-child) {
    margin-bottom: 12px;
  }
}

/* Section Investments */

.main-content__investments {
  margin-bottom: 48px;
}

.investments {
  position: relative;
  padding: 7% 0;
  background-color: var(--blue);
  overflow: hidden;
}

.investments__slider-wrapper {
  display: flex;
}

.investments h3 {
  margin-bottom: 48px;
  font-size: 46px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  line-height: 1.3;
  color: var(--white);
}

.investments h3 span {
  color: var(--red);
}

.investments__list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.investments__item img {
  border-radius: 18px;
}

.investments__slider {
  position: relative;
  overflow: hidden;
}

.investments__slider-list {
  display: flex;
}

.investments__slider-item {
  width: 100%;
}

.investments__slider-btn {
  position: absolute;
  top: calc(50% - 33px);
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  -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;
}

.investments__slider-btn--prev {
  left: 0;
}

.investments__slider-btn--next {
  right: 0;
}

@media screen and (max-width: 1180px) {
  .investments__list {
    flex-direction: column;
  }

  .investments__item img {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .investments h3 {
    font-size: 36px;
    line-height: 42px;
  }
}

@media screen and (max-width: 582px) {
  .investments h3 {
    font-size: 24px;
    line-height: 30px;
  }
}

@media screen and (max-width: 768px) {

  /*.investments__item img {*/
  /*  height: 345px;*/
  /*}*/
}

/* Section Stats */

.main-content__stats {
  margin-bottom: 48px;
}

.stats__container {
  padding: 73px;
  background-color: var(--red);
  border-radius: 8px;
}

.stats__list {
  display: flex;
  gap: 1rem
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33%;
}

.stats__item-num {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 64px;
  font-weight: 700;
  line-height: 70px;
  color: #ffffff;
}

.stats__item-text {
  min-height: 48px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
}

@media screen and (max-width: 986px) {
  .stats__container {
    padding: 48px;
  }

  .stats__list {
    flex-direction: column;
    align-items: center;
  }

  .stats__item {
    width: 100%;
  }
}

@media screen and (max-width: 484px) {
  .stats__container {
    padding: 24px;
  }

  .stats__item-num  {
    font-size: 36px;
    line-height: 42px;
  }
}

/* Section Leader */
.main-content__leader {
  margin-bottom: 48px;
}

.leader {
  padding: 7% 0;
}

.leader__container {
  border-radius: 8px;
}

.leader img {
  width: 100%;
  border-radius: 8px;
}
/* Section Technologies */

.main-content__technologies {
  margin-bottom: 48px;
}

.technologies {
  padding: 7% 0;
  background-color: #f2f2f0;
}

.technologies__title {
  margin-bottom: 48px;
  font-size: 48px;
  line-height: 54px;
  text-align: center;
  text-transform: uppercase;
  color: #0d263f;
}

.technologies__list {
  display: flex;
  gap: 1rem;
}

.technologies__item {
  display: flex;
  flex-direction: column;
  min-width: 24%;
  border-radius: 8px;
  background-color: #ffffff;
}

.card-item__top {
  width: 100%;
  height: 180px;
  background-color: var(--red);
  border-radius: 8px;
}

.card-item__bottom {
  padding: 24px 32px 48px;
}

.card-item__heading {
  min-height: 52px;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 26px;
}

.card-item__text {
  margin-bottom: 16px;
}

.card-item__link {
  text-decoration: none;
  color: var(--second-red);
}

.card-item__link:hover,
.card-item__link:focus {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .technologies__list {
    flex-direction: column;
  }

  .technologies__title {
    font-size: 36px;
    line-height: 42px;
  }
}

@media screen and (max-width: 484px) {
  .technologies__title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 30px;
  }

  .technologies__item {
    min-height: initial;
  }
}

/* Section possibilities */

.main-content__possibilities {
  margin-bottom: 48px;
}

.possibilities__title {
  margin-bottom: 48px;
  font-size: 48px;
  line-height: 54px;
  text-transform: uppercase;
  text-align: center;
  color: #0d263f;
}

.possibilities__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.possibilities__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 360px;
  padding: 24px;
  border: 1px solid transparent;
  box-sizing: border-box;
  border-radius: 8px;
  -webkit-transition: border .3s;
  transition: border .3s;
  flex-grow: 1;
}

.possibilities__item:hover,
.possibilities__item:focus {
  border-color: var(--red);
}

@media screen and (max-width: 484px) {
  .possibilities__title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 30px;
  }
}


/* Section Stack */

.stack {
  padding: 7% 0;
  background-color: #f2f2f0;
}

.stack__title {
  margin-bottom: 48px;
  font-size: 48px;
  line-height: 54px;
  text-align: center;
  text-transform: uppercase;
  color: #0d263f;
}

.stack__list {
  display: flex;
  flex-wrap: wrap;
}

.stack__item {
  display: flex;
  align-items: flex-start;
  width: 45%;
  gap: 1rem;
  padding: 28px;
}

.stack__item-title {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 30px;
}

.stack__item-text {
  font-size: 18px;
  line-height: 24px;
}

@media screen and (max-width: 484px) {
  .stack__title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 30px;
  }

  .stack__item {
    width: 100%;
  }

  .stack__item-title {
    font-size: 18px;
    line-height: 24px;
  }
}


/* Section Prices */

.main-content__prices {
  margin-bottom: 48px;
}

.prices {
  padding: 7% 0;
  background-color: #ffffff;
}

.prices--second {
  padding: 0;
}

.prices__title {
  margin-bottom: 48px;
  font-size: 48px;
  line-height: 54px;
  text-align: center;
  text-transform: uppercase;
  color: #0d263f;
}

.prices__title sup {
  color: #e40136;
}

.prices__list {
  display: flex;
  gap: 2rem;
}

.prices__item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  padding: 40px 30px;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  box-sizing: border-box;
}

.prices__months {
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}

.prices__payments {
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.prices__num {
  font-size: 42px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

@media screen and (max-width: 1172px) {
  .prices__num {
    font-size: 32px;
    line-height: 38px;
  }
}

@media screen and (max-width: 1078px) {
  .prices__list {
    flex-direction: column;
  }
}

@media screen and (max-width: 484px) {
  .prices__title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 30px;
  }

  .prices__item {
    gap: 1rem;
    padding: 25px 15px;
  }

  .prices__num {
    font-size: 36px;
    line-height: 42px;
  }
}

/* Footer */

.footer {
  padding-top: 30px;
  padding-bottom: 60px;
  background-color: var(--blue);
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
}

.footer__navigation {
  display: flex;
  gap: 35px;
}

.footer__navigation-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__navigation-link {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s ease-in-out;
}

.footer__navigation-link:hover,
.footer__navigation-link:focus {
  opacity: 0.6;
}

.footer__col-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__phone {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  color: var(--white);
}

.footer__chio {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  color: var(--white);
}

.footer__skolkovo-slogan {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__skolkovo-res {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  color: var(--white);
}

.footer__skolkovo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  color: var(--white);
}

@media screen and (max-width: 1118px) {
  .footer__footer-logo {
    display: none;
  }
}

@media screen and (max-width: 978px) {
  .footer__skolkovo-slogan {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media screen and (max-width: 678px) {
  .footer__phone {
    font-size: 14px;
    line-height: 20px;
  }

  .footer__chio {
    font-size: 14px;
    line-height: 20px;
  }

  .footer__skolkovo-res {
    font-size: 14px;
    line-height: 20px;
  }

  .footer__skolkovo-text {
    align-items: flex-end;
    font-size: 24px;
    line-height: 30px;
  }

  .footer__navigation {
    flex-direction: column;
    gap: 10px;
  }

  .footer__navigation-list {
    gap: 11px;
  }

  .footer__navigation-link {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }
}

.footer__online-enrollment {
  position: fixed;
  right: 2rem;
  bottom: 3rem;
  z-index: 1000;
}

@media screen and (max-width: 484px) {
  .footer {
    padding-top: 28px;
    padding-bottom: 57px;
  }

  .footer__navigation {
    max-width: 105px;
  }

  .footer__skolkovo-text {
    font-size: 18px;
    line-height: 24px;
  }

  .footer__online-enrollment {
    position: fixed;
    right: 1rem;
  }
}

@media screen and (min-width: 846px) {
  .header__mobile-nav {
    display: none;
  }
}

@media screen and (max-width: 846px) {
  .header__find-city {
    display: none;
  }

  .header__nav {
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    overflow-y: auto;
    width: 60%;
    height: 100vh;
    padding-top: 50px;
    transform: translateX(-150%);
    transition: transform 0.3s ease-in-out;
  }

  .header__nav--active {
    transform: none;
  }
}

@media screen and (max-width: 484px) {
  .header {
    margin-bottom: 24px;
    padding-top: 32px;
  }
}

/* Socials */

.socials__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(27px, 30px));
  justify-content: end;
  gap: 15px;
}

/* Terminal Page */

.main-new-news__container {
  padding-top: 48px;
  padding-bottom: 48px;
}

.main-new-news__heading {
  padding: 50px 0;
  background-color: var(--blue);
}

.main-new-news__main-title {
  font-size: 46px;
  line-height: 52px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: end;
  letter-spacing: 1.3px;
  color: var(--white);
}

.main-new-news__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.main-new-news__item {
  display: flex;
  gap: 2rem;
}

.main-new-news__col-img {
  min-width: 345px;
  min-height: 120px;
  background-color: var(--red);
}

.main-new-news__col-img img {
  border-radius: 6px;
}

.main-new-news__col-text h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--blue);
}

.main-new-news__col-text p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 22px;
  color: var(--blue);
}

@media screen and (max-width: 684px) {
  .main-new-news__heading {
    padding: 25px 0;
  }

  .main-new-news__link {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .main-new-news__item {
    flex-direction: column;
  }
}

@media screen and (max-width: 484px) {
  .main-new-news__container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .main-new-news__col-img img {
    width: 100%;
  }

  .main-new-news__main-title {
    font-size: 24px;
    line-height: 30px;
  }

  .main-new-news__list {
    gap: 24px;
  }

  .main-new-news__col-text h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .main-new-news__col-text p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media screen and (max-width: 396px) {
  .main-new-news__col-img {
    min-width: initial;
    width: 100%;
  }
}

.main-article__heading {
  padding-bottom: 120px;
  background-color: var(--blue);
}

.main-article__main-title {
  padding: 50px 0;
  font-size: 46px;
  line-height: 52px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: end;
  letter-spacing: 1.3px;
  color: var(--white);
}

.main-article__content {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 0;
}

.main-article__content h3 {
  margin-bottom: 33px;
  font-size: 24px;
  line-height: 30px;
  color: var(--blue);
}

.main-article__content p {
  margin-bottom: 33px;
  font-size: 18px;
  line-height: 24px;
  color: var(--blue);
}

.main-article__content a {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  margin-bottom: 33px;
  padding: 10px 28px;
  font-size: 24px;
  line-height: 30px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  background-color: var(--red);
}

.main-article__content img {
  display: block;
  margin-bottom: 33px;
}

@media screen and (max-width: 1164px) {
  .main-article__heading picture img {
    width: 100%;
  }

  .main-article__content img {
    width: 100%;
  }
}

@media screen and (max-width: 484px) {
  .main-article__heading {
    padding-bottom: 60px;
  }

  .main-article__main-title {
    padding: 25px 0;
    font-size: 24px;
    line-height: 30px;
  }

  .main-article__content {
    padding: 48px 0;
  }

  .main-article__content h3 {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 24px;
  }

  .main-article__content p {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 20px;
  }

  .main-article__content a {
    margin-bottom: 18px;
    padding: 12px 22px;
    font-size: 18px;
    line-height: 24px;
  }
}