@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/FontsFree-Net-SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/FontsFree-Net-SFProDisplay-BoldItalic.woff2")
    format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Compact Text";
  src: url("../fonts/FontsFree-Net-SFCompactText-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --main-dark: #212a34;
  --main-light: #6e7884;
  --white: #fff;
  --background-light: #f0f2f7;
  --background-grey: #e0e3e9;
  --light-grey: #bfc8cf;
  --accent-color: #356197;

  --font-family: "Montserrat", sans-serif;
  --second-family: "SF Pro Display", sans-serif;
  --third-family: "SF Compact Text", sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: #f0f2f7;
}

/*  low section */

.low-container {
  max-width: 1260px;
  padding: 0 60px;
  margin: 0 auto;
  margin-bottom: 60px;
  margin-top: 43px;
}

.low-title {
  font-weight: 700;
  font-size: clamp(44px, 6.11vw, 88px);
  line-height: 110%;
  letter-spacing: 0em;
  text-align: center;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.low-descr {
  font-weight: 500;
  font-size: 22px;
  line-height: 110%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #1d1d1f;
  margin-bottom: 30px;
}

.low-img {
  width: 100%;
}

.low-img img {
  width: 100%;
  height: auto;
}

/*  About  */

.about-container {
  margin-bottom: 80px;
}

.about-title {
  display: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 110%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.about-img {
  width: 100%;
  margin-bottom: 20px;
}

.about-img img {
  width: 100%;
  height: auto;
}

.about-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-col-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 110%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.about-link {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: var(--accent-color);
}

.about-link::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  top: -15%;
  right: -32%;
  background: url("../icons/Union.svg") no-repeat;
  background-position: center;
  background-size: 9px 16px;
}

/*  How  */

.how-container {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--main-dark);
  border-radius: 60px;
  padding-top: 170px;
  padding-bottom: 43px;
  margin-bottom: 80px;
}

.how-content {
  max-width: 1035px;
  margin: 0 auto;
  padding: 0 70px;
}

.how-main-title {
  font-weight: 700;
  font-size: clamp(18px, 4.86vw, 70px);
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  margin-bottom: 106px;
}

.how-cols {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.how-col {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.how-col:not(:last-child) {
  margin-bottom: 106px;
}

.how-col:last-child {
  margin-bottom: 120px;
}

.how-img {
  max-width: 100px;
  height: auto;
  margin-bottom: 21px;
}

.how-title {
  font-weight: 700;
  font-size: clamp(18px, 4.86vw, 70px);
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #f5f5f7;
}

.how-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 20px;
  width: 354px;
  height: 44px;
  margin: 0 auto;
}

.how-btn::after {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  top: 19%;
  right: 27%;
  background: url("../icons/pin-1.svg") center no-repeat;
  background-size: 24px 24px;
}

/*  No  */

.no-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px;
  margin-bottom: 80px;
}

.no-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: var(--white);
  padding-bottom: 50px;
  border-radius: 20px;
  margin-bottom: 24px;
  padding-inline: 15px;
}

.no-wrap::before {
  position: absolute;
  content: "";
  max-width: 492px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("../img/no-1.png") center/cover no-repeat;
}

.no-wrap::after {
  position: absolute;
  content: "";
  max-width: 499px;
  max-height: 303px;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: url("../img/no-2.png") center/cover no-repeat;
}

.no-title {
  margin-top: 137px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: clamp(22px, 3.13vw, 45px);
  line-height: 100%;
  letter-spacing: 0em;
  color: #1d1d1f;
}

.no-descr {
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #1d1d1f;
  margin-bottom: 38px;
}

.no-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 20px;
  padding: 7px 20px;
  width: 169px;
  height: 38px;
}

.no-cards {
  display: flex;
  column-gap: 24px;
}

.no-card {
  background-color: var(--white);
  padding: 25px 44px;
  width: 100%;
  border-radius: 20px;
  max-width: 402px;
}

.no-card-title {
  font-weight: 700;
  font-size: clamp(18px, 1.67vw, 24px);
  line-height: 110%;
  letter-spacing: 0.01em;
  color: #1d1d1f;
  margin-bottom: 13px;
}

.no-card-descr {
  font-weight: 500;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

/*  News  */

.news {
  overflow: hidden;
}

.news-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px;
  margin-bottom: 95px;
}

.news-title {
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 100%;
  letter-spacing: 0em;
  color: #1d1d1f;
  margin-bottom: 40px;
}

.news-content {
  overflow: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  margin-right: calc(-9vw);
}

.news-cards {
  display: flex;
  column-gap: 20px;
  margin-bottom: 40px;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card {
  display: flex;
  flex-direction: column;
  max-width: 336px;
  min-width: 336px;
  width: 100%;
  background-color: var(--white);
  border-radius: 23px;
}

.news-img {
  max-width: 336px;
  width: 100%;
  border-radius: 23px 23px 0 0;
  aspect-ratio: 657/665;
  object-fit: cover;
}

.news-card-col {
  display: flex;
  flex-direction: column;
  padding: 20px 23px;
  height: 100%;
}

.news-card-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  margin-bottom: 15px;
}

.news-descr {
  font-weight: 500;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 40px;
}


.news-col-cont {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: auto;
}

.news-span {
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.news-button-content {
  display: flex;
  justify-content: end;
  column-gap: 15px;
}

.prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: var(--light-grey);
  border-radius: 20px;
}

.next {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  width: 36px;
  height: 36px;
  background: var(--main-light);
}

#prev {
  left: 0;
}

#next {
  right: 0;
}

@media (max-width: 1439px) {
  .low-container {
    margin-top: 0;
  }

  .low-title {
    font-size: clamp(30px, 6.11vw, 88px);
  }

  .low-descr {
    font-size: clamp(16px, 1.53vw, 22px);
  }

  .about-title {
    display: block;
  }

  .about-col-title {
    display: none;
  }

  .low-container {
    margin-bottom: 38px;
  }

  .about-container {
    margin-bottom: 38px;
  }

  .how-img {
    max-width: 58px;
  }

  .how-col:not(:last-child) {
    margin-bottom: 52px;
  }

  .how-col:last-child {
    margin-bottom: 20px;
  }

  .how-main-title {
    margin-bottom: 52px;
  }

  .how-container {
    padding-top: 50px;
    margin-bottom: 38px;
  }

  .how-content {
    margin-bottom: 30px;
  }

  .how-img {
    margin-bottom: 13px;
  }

  .no-cards {
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
  }

  .no-card {
    max-width: 376px;
  }

  .no-wrap {
    max-width: 376px;
    margin: 0 auto;
    margin-bottom: 15px;
    padding-bottom: 214px;
  }

  .no-wrap::before {
    max-width: 210px;
    background-size: contain;
    top: 30%;
  }

  .no-wrap::after {
    max-width: 210px;
    background-size: contain;
    top: 45%;
  }

  .no-container {
    margin-bottom: 38px;
  }

  .no-card {
    padding: 25px 30px;
  }

  .news-container {
    max-width: 1354px;
    padding: 0 47px;
    margin-bottom: 71px;
  }

  .news-button-content {
    display: none;
  }

  .news-content {
    margin-right: calc(-9vw + 5vw);
  }
}

@media (max-width: 800px) {
  .low-container {
    padding: 0;
  }

  .low-img img {
    min-height: 295px;
  }

  .low-descr {
    font-size: clamp(16px, 1.53vw, 22px);
    max-width: 220px;
    margin-inline: auto;
  }

  .how-btn {
    width: 254px;
  }

  .how-btn::after {
    right: 18%;
  }

  .no-container {
    max-width: 1314px;
    padding: 0 27px;
  }

  .news-content {
    margin-right: calc(-9vw);
  }
}

@media (max-width: 430px) {
  .low-img img {
    min-height: auto;
  }

  .how-btn {
    width: 200px;
  }

  .how-btn::after {
    right: 10%;
  }

  .how-content {
    max-width: 925px;
    padding: 0 15px;
  }

  .no-wrap::before {
    max-width: 170px;
    background-size: contain;
    top: 30%;
  }

  .no-wrap::after {
    max-width: 170px;
    background-size: contain;
    top: 40%;
  }

  .news-card {
    min-width: 250px;
  }
}
