.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999999999999;
  padding: 20px 0;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: #fff;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.header-title {
  width: 123px;
}

.list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #000;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.link:hover,
.link:focus {
  color: #f25305;
}

.active-link {
  color: #f25305;
}

.header-subscribe {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 8px;
  background: #1c73ff;

  font-family: var(--third-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 129%;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  text-transform: capitalize;
  transition: background-color 0.3s ease;
}

.header-subscribe:hover {
  background-color: #f25305;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 10px 0;
  }

  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .header-title {
    width: 123px;
  }

  .header-subscribe {
    padding: 10px 70px;
    width: fit-content;
  }

  .list {
    gap: 80px;
  }
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 999999;
  bottom: 20px;
  border-radius: 10px;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #f25305;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #000;
  text-align: center;
  margin-bottom: 32px;

  span {
    font-weight: 400;
  }

  a {
    text-decoration: underline;
  }
}

.popup-btn {
  font-family: var(--font3);
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: #fff;

  background-color: #1c73ff;
  border-radius: 6px;
  padding: 12px 36px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background-color: #f25305;
}

.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;
  }
}

/* hero  */

.hero {
  padding-top: 248px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 1200;
  font-size: 54px;
  color: #000;
  margin-bottom: 36px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  color: #000;
  margin-bottom: 32px;
}

.page-link {
  font-weight: 400;
  font-size: 17px;
  line-height: 129%;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  text-transform: capitalize;

  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 8px;
  background: #1c73ff;
  transition: background-color 0.3s ease;
}

.page-link:hover {
  background-color: #f25305;
}

.hero-img {
  width: 100%;
  margin-top: 24px;
}

@media screen and (min-width: 1436px) {
  .hero {
    padding-top: 128px;
  }

  .hero-container {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .hero-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 80px;
    margin-bottom: 36px;
  }

  .hero-text {
    font-size: 40px;
    margin-bottom: 32px;
  }

  .page-link {
    font-size: 17px;
    padding: 10px 70px;
    width: fit-content;
  }
}

/* text  */

.text-cont {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 110%;
  color: #000;
}

/* principles  */

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border-radius: 25px;
    background: #455a64;
    padding: 80px 60px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #f25305;
    margin-bottom: 16px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .principles-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .principles-list {
    li {
      width: calc((100% - 48px) / 3);
    }
  }
}

/* what  */

.what-slide {
  border-radius: 25px;
  background: rgba(69, 90, 100, 0.5);
  padding: 90px 50px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
    text-align: center;
    color: #1c73ff;
    margin-bottom: 16px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #000;
  }
}

.robot {
  margin-top: 46px;
}

@media screen and (min-width: 1436px) {
  .what-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 39px;
  }

  .robot {
    margin: 0;
    flex-shrink: 0;
  }
}

/* disclaimer */

.disclaimer-text {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 110%;
  color: #1c73ff;
}

@media screen and (min-width: 1436px) {
  .disclaimer-text {
    font-size: 64px;
  }
}

/* subscribe  */

#consultation-form {
  display: flex;
  flex-direction: column;
  gap: 24px;

  input,
  textarea {
    padding: 12px;
    resize: none;
    outline: none;
    border: none;
    width: 100%;

    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);

    font-family: var(--third-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 129%;
    letter-spacing: -0.02em;
    text-align: center;
    color: #000;
    transition: background-color 0.3s ease;
  }

  button {
    margin: 0;
  }

  input::placeholder,
  textarea::placeholder {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 129%;
    letter-spacing: -0.02em;
    text-align: center;
    color: rgba(60, 60, 67, 0.6);
  }
}

.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: 768px) {
  #consultation-form {
    flex-direction: row;
  }
}

@media screen and (min-width: 1436px) {
  #consultation-form {
    width: 742px;
  }
}

/* page 2  */

/* all articles   */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
}

.news-item {
  border-radius: 25px;
  padding: 33px 17px;
  background: #455a64;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.news-item:hover,
.news-item:focus {
  border-color: #f25305;
}

.thumb {
  display: block;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-img {
  width: 100%;
  margin-bottom: 33px;
}

.article-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 110%;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.article-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #9d9d9d;
  margin-bottom: 16px;
}

.article-date {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-align: center;
  color: #f25305;
}

.load-btn {
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .news-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .news-item {
    width: calc((100% - 13px) / 2);
  }
}

@media screen and (min-width: 1436px) {
  .news-item {
    width: calc((100% - 39px) / 4);
  }
}

/* page 3  */

/* mission  */

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 46px;
}

.mission-item {
  h2 {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 60px;
    line-height: 150%;
    color: #f25305;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 110%;
    color: #000;
  }
}

.mission-text {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  line-height: 125%;
  color: #000;
  margin-bottom: 40px;
}

.mission-team {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;

  img {
    width: calc((100% - 20px) / 2);
  }
}

@media screen and (min-width: 1436px) {
  .mission-list {
    align-items: flex-start;
    flex-direction: row;
    gap: 32px;
  }

  .mission-item {
    width: calc((100% - 32px) / 2);
  }

  .mission-text {
    font-size: 32px;
  }

  .mission-team {
    gap: 32px;

    img {
      width: calc((100% - 96px) / 4);
    }
  }
}

/* page 4  */

/* contact */

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.contact-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 28px;
  color: #1c73ff;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  padding-left: 20px;
  list-style: disc;
  flex-direction: column;
  margin-bottom: 26px;

  li {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    color: #000;
  }

  a {
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: #f25305;
  }
}

.mail-list {
  display: flex;
  flex-direction: column;
  gap: 26px;

  li {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  svg {
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: #000;
  }

  a {
    color: #1c73ff;
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: #f25305;
  }
}

/* важно: у контейнера карты должна быть высота */
.map-frame {
  border-radius: 6px;
  overflow: hidden;
  height: 302px;
  width: 100%;
}

.leaflet-container {
  background: #fff;
}
.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 32px;

  li {
    width: 56px;
  }
}

.contact-desc {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  color: #000;
}

@media screen and (min-width: 1436px) {
  .contact-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .map-frame {
    width: 682px;
    height: 302px;
    margin: 0;
    flex-shrink: 0;
  }

  .contact-title {
    font-size: 40px;
  }

  .social-list {
    justify-content: flex-start;
  }
}

/* footer */

.footer {
  padding: 34px 0;
  box-shadow: 0 -4px 4px 0 rgba(0, 0, 0, 0.15);
}

.footer-logo {
  display: block;
  width: 123px;
  margin: 0 auto;
  margin-bottom: 12px;
}

.footer-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  color: #1c73ff;
  margin-bottom: 24px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 24px;
  margin-bottom: 12px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: #000;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #f25305;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #000;
  text-align: center;
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 25px 0;
  }

  .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-title {
    text-align: start;
    margin: 0;
  }

  .footer-list {
    flex-direction: row;
  }

  .footer-text {
    text-align: end;
  }
}

/* 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: #f25305;
  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 #1c73ff;
  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, border-color 0.3s ease;

  svg {
    fill: none;
    stroke: #1c73ff;
    transition: stroke 0.3s ease;
  }
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  opacity: 1;
  border-color: #f25305;

  svg {
    stroke: #f25305;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateX(-50%) translateY(0);
}

.click {
  background-image: url(../img/minus.png);
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
