.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999999999999;
  padding: 16px 0;
  background: #171717;
  border-bottom: 1px solid #fff;
}

.header-logo {
  display: none;
}

.page-nav {
  display: none;
}

.menu-btn {
  display: block;
  margin-left: auto;

  svg {
    fill: none;
    stroke: white;
  }
}

.list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.link {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 188%;
  color: #fff;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.active-link {
  text-decoration: underline;
}

.link:hover,
.link:focus {
  text-decoration: underline;
}

.header-subscribe {
  display: none;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 6px 0;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    display: block;
    width: 101px;
    transition: transform 0.3s ease;
  }

  .header-logo:hover {
    transform: scale(0.9);
  }

  .header-subscribe {
    display: block;
    width: fit-content;
    border: 2px solid #fff;
    border-radius: 6px;
    padding: 12px 44px;

    font-family: var(--font-family);
    font-weight: 900;
    font-size: 18px;
    line-height: 167%;
    color: #fff;

    transition:
      color 0.3s ease,
      background-color 0.3s ease;
  }

  .header-subscribe:hover,
  .header-subscribe:focus {
    background: rgba(255, 255, 255, 0.2);
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 0;
  width: 100%;
  padding: 40px;
  padding-top: 120px;
  z-index: 88888888;
  background: #171717;
  transform: translateY(-100%);
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 999999;
  bottom: 20px;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(22px);
  background: rgba(41, 41, 41, 0.8);
  transition: transform 0.4s ease;
}

.popup-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;

  span {
    font-weight: 400;
  }

  a:hover {
    text-decoration: underline;
  }
}

.popup-btn {
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: #fff;

  border: 2px solid #fff;
  border-radius: 6px;
  padding: 12px 36px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.popup-btn:hover {
  background-color: #fff;
  color: #171717;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 30px 48px;
  }

  .popup-text {
    font-size: 16px;
    margin: 0;
    text-align: start;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
  }

  .popup-wrap {
    gap: 38px;
    flex-shrink: 0;
  }
  .popup-btn {
    padding: 16px 48px;
  }
}

/* *************  PAGE 1  ******* */

/* hero  */

.hero {
  padding-top: 140px;
  padding-bottom: 336px;
  background-image: url(../images/hero.png);
  background-position: center;
  background-size: cover;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 52px;
  line-height: 115%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 2px;
}

.hero-text {
  width: 509px;
  margin: 0 auto;
  max-width: 100%;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 22px;
  line-height: 136%;
  text-align: center;
  color: #fff;
  margin-bottom: 52px;
}

.page-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 22px 44px;
  transition: background-color 0.3s ease;

  font-family: var(--font-family);
  font-weight: 900;
  font-size: 22px;
  line-height: 136%;
  color: #fff;
}

.page-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media screen and (min-width: 1436px) {
  .hero {
    padding-top: 200px;
  }
}

/* about  */

.main-about-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 42px;
}

.main-about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
}

.main-about-list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  li {
    border: 1px solid #fff;
    border-radius: 6px;
    padding: 16px 26px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 163%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1436px) {
  .main-about-wrap {
    flex-direction: row;
    align-items: center;
    margin-bottom: 62px;
  }

  .about-img {
    flex-shrink: 0;
  }

  #main-about {
    .title {
      text-align: start;
    }
  }

  .main-about-list {
    flex-direction: row;
    gap: 22px;

    li {
      width: calc((100% - 44px) / 3);
      border-radius: 6px;
      padding: 16px 26px;
    }
  }
}

/* top list  */

.top-item {
  border: 1px solid #171717;
  border-radius: 6px;
  padding: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.top-item:hover {
  border-color: blue;
}

.top-img {
  width: 100%;
  margin-bottom: 10px;
}

.top-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  text-align: center;
  color: #171717;
  margin-bottom: 10px;
}

.top-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-align: center;
  color: #171717;
}

.btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

.swiper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background-color: #171717;
  transition: background-color 0.3s ease;

  svg {
    fill: none;
    stroke: #fff;
  }
}

.swiper-btn:hover {
  background-color: #777070;
}

.top-left {
  transform: rotate(-90deg);
}

.top-right {
  transform: rotate(90deg);
}

/* disclaimer  */

#disclaimer {
  background-color: #000;
}

.disclaimer-img {
  width: 100px;
  margin-bottom: 22px;
}

.disclaimer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: #fff;
}

@media screen and (min-width: 1436px) {
  .disclaimer-text {
    font-size: 28px;
  }
}

/* subscribe  */

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.subscribe-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 119%;
  color: #171717;
}

#consultation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;

  input,
  textarea {
    border: 1px solid #171717;
    border-radius: 6px;
    padding: 12px;
    resize: none;
    outline: none;
    width: 100%;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #505050;
    transition: background-color 0.3s ease;
  }

  button {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #fff;

    display: block;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid #171717;
    border-radius: 6px;
    padding: 12px 24px;
    background: #171717;

    transition:
      color 0.3s ease,
      background-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  input::placeholder,
  textarea::placeholder {
    font-family: var(--font3);
    font-weight: 300;
    font-size: 14px;
    line-height: 186%;
    color: #141414;
  }

  button:hover {
    background-color: #777070;
  }
}

.modal-form {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222221;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-form.show {
  opacity: 1;
}

@media screen and (min-width: 1436px) {
  .form-wrap {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .subscribe-text {
    width: 480px;
    font-size: 32px;
    flex-shrink: 0;
  }

  #consultation-form {
    flex-direction: row;
    width: 100%;

    input {
      width: 100%;
    }

    button {
      flex-shrink: 0;
    }
  }
}

/* ************ PAGE 2  ***************** */

/* articles-hero */

.articles-hero {
  padding-top: 140px;
  padding-bottom: 70px;
  background: linear-gradient(180deg, #171717 0%, #7d7d7d 100%);
}

.articles-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 38px;
  line-height: 121%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
}

.articles-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 22px;
  line-height: 136%;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1436px) {
  .articles-hero {
    padding-top: 200px;
  }

  .articles-title {
    font-size: 38px;
  }

  .articles-text {
    font-size: 22px;
    width: 500px;
    margin: 0 auto;
  }
}

/* all-articleas  */

#articleas {
  background-color: #fff;
}

#all-articleas {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.all-item {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 22px;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.all-item:hover {
  box-shadow: 0 2px 14px 0 rgba(116, 110, 110, 0.726);
}

.all-img {
  width: 100%;
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}

.all-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  text-transform: capitalize;
  color: #171717;
  padding: 0 22px;
}

.all-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-transform: capitalize;
  color: #171717;
  padding: 0 22px;
  margin-bottom: 22px;
}

.all-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.all-date {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 13px;
  line-height: 165%;
  color: #2a2a2a;
  opacity: 0.7;
  text-align: end;
  padding: 0 22px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-top: 12px;
  border-top: 1px solid #4d4b4b82;

  div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    line-height: 165%;
    color: #2a2a2a;
    opacity: 0.7;
  }
}

.load-more {
  display: block;
  width: fit-content;
  margin: 0 auto;
  margin-top: 42px;
  border-radius: 6px;
  padding: 12px 24px;
  background: #171717;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.load-more:hover {
  background-color: #777070;
}

@media screen and (min-width: 768px) {
  #all-articleas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .all-item {
    width: calc((100% - 22px) / 2);
  }
}

@media screen and (min-width: 1436px) {
  #all-articleas {
    gap: 32px;
  }
  .all-item {
    width: calc((100% - 64px) / 3);
  }

  .load-more {
    margin-top: 62px;
  }
}

/********** PAGE 3 ************** */

/* about  */

.about {
  padding-top: 150px;
  padding-bottom: 200px;
  background: linear-gradient(180deg, #171717 0%, #7d7d7d 100%);
}

.about-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 38px;
  line-height: 121%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1436px) {
  .about {
    padding-top: 200px;
    padding-bottom: 120px;
  }
  .about-title {
    font-size: 52px;
  }
}

/* mission */

#mission {
  background-color: #fff;
}

.mission-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 22px;
}

.mission-image {
  width: 100%;
}

.mission-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #171717;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mission-item {
  border: 1px solid #171717;
  border-radius: 6px;
  padding: 16px 26px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0);

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    color: #171717;
    margin-bottom: 10px;
  }
  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 163%;
    text-align: center;
    color: #171717;
  }

  ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: disc;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;

    li {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 16px;
      line-height: 163%;
      color: #171717;
      padding-left: 10px;
    }
  }
}

@media screen and (min-width: 1436px) {
  .mission-wrap {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-bottom: 62px;
  }

  .mission-image {
    width: auto;
    flex-shrink: 0;
  }

  .mission-text {
    font-size: 18px;
  }

  .mission-list {
    flex-direction: row;
    justify-content: center;
    gap: 22px;
  }

  .mission-item {
    border: 1px solid #171717;
    border-radius: 6px;
    padding: 16px 26px;
    width: 529px;

    p {
      font-size: 20px;
      margin-bottom: 10px;
    }

    span,
    li {
      font-size: 16px;
    }
  }
}

/********** PAGE 4 ************** */

/* contact */

.contact-hero {
  padding-top: 140px;
  padding-bottom: 180px;
  background-position: center;
  background-size: cover;
  background:
    url(../images/contact.png), linear-gradient(90deg, #171717 0%, #7d7d7d 100%);
}

.contact-hero-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 38px;
  line-height: 237%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1436px) {
  .contact-hero {
    padding-top: 200px;
    padding-bottom: 140px;
  }
  .contact-hero-title {
    font-size: 52px;
  }
}

/* contact */

#contact {
  background-color: #fff;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-flex {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-wrapper {
  border: 1px solid #171717;
  border-radius: 6px;
  padding: 16px 26px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0);
}

.contact-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  text-align: center;
  color: #171717;
  margin-bottom: 10px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 163%;
    color: #171717;
  }

  a:hover,
  a:focus {
    text-decoration: underline;
  }
}

.soc-list {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 10px;

  a {
    display: block;
    transition: transform 0.3s ease;
  }

  a:hover {
    transform: scale(1.2);
  }
}

/* важно: у контейнера карты должна быть высота */
.map-frame {
  overflow: hidden;
  height: 385px;
  width: 100%;
  border-radius: 8px;
}

.leaflet-container {
  background: #fff;
}

@media screen and (min-width: 1436px) {
  .contact-container {
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: center;
  }

  .map-frame {
    width: 600px;
    height: 385px;
    flex-shrink: 0;
  }

  .contact-wrapper {
    border-radius: 6px;
    padding: 16px 26px;
  }
}

/* footer */

.footer {
  padding: 26px 0;
  background: linear-gradient(270deg, #7d7d7d 0%, #171717 100%);
}

.footer-logo {
  display: block;
  width: 101px;
  margin: 0 auto;
  transition: transform 0.3s ease;
  margin-bottom: 14px;
}

.footer-logo:hover {
  transform: scale(0.9);
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 12px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;

  a:hover {
    text-decoration: underline;
  }
}

.footer-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  color: #fff;
  margin-bottom: 14px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  font-variant: small-caps;
  color: #fff;
  text-align: center;
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 26px 0;
  }

  .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 26px;
    margin-bottom: 8px;
  }

  .footer-title {
    font-size: 14px;
    margin: 0;
  }

  .footer-text {
    text-align: end;
    font-size: 14px;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 95, 147, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* display: none; */
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top-color: #1515c3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #020202;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999999999999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    box-sgadow 0.4s ease border-color 0.4s ease;

  svg {
    fill: none;
    stroke: #020202;
    transition: stroke 0.3s ease;
  }
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  opacity: 1;
  border-color: #000;
  box-shadow: 2px 2px 10px #000;

  svg {
    stroke: #000;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  background-image: url(../img/minus.png);
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
