.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 30px;
  background: #fff;
}

.cor__header__ex__title {
  display: block;
  width: 136px;
  margin: 0 auto;
  margin-bottom: 27px;
}

.cor__page__nav__ex__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 49px;
}

.cor__page__nav__ex__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: #545151;
  transition: color 0.3s ease;
}

.cor__page__nav__ex__link:hover,
.page-cor__hero__ex__link:focus {
  color: #1eb097;
}

.active-link {
  /* color: #c7fdcc; */
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 40px 0;
  }

  .cor__header__ex__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cor__header__ex__title {
    width: 136px;
    margin: 0;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 108px;
  left: 0;
  width: 100%;
  border-radius: 12px;
  padding: 80px 40px;
  z-index: 8;
  background-color: var(--style);
  transform: translateX(100%);
  transition: transform 2s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 42px;
}

.madal-hand {
  position: absolute;
  bottom: -20px;
  right: -15px;
  transform-origin: 100% 100%;
  animation: handWaveModal 3.2s ease-in-out infinite;
  will-change: transform;
  z-index: -1;
}

.modal-star-1 {
  top: 40px;
  left: 50%;
  position: absolute;
  width: 80px;
  z-index: -1;
}

.modal-star-2 {
  top: 40%;
  right: 30px;
  position: absolute;
  width: 60px;
  z-index: -1;
}

@keyframes handWaveModal {
  0% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(-10deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cor__who__ex__left {
    animation: none;
  }
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  border-radius: 20px;
  padding: 30px;
  left: 50%;
  border: 2px solid #c3fff5;
  transform: translateX(-50%);
  background: #fff;
  transition: transform 0.4s ease;
}

.cor__popup__ex__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 143%;
  color: #161616;
  margin-bottom: 14px;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #6e7191;
  }
}

.cor__popup__ex__btn {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 143%;
  color: #161616;

  border: 1px solid #c3fff5;
  border-radius: 8px;
  padding: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cor__popup__ex__btn:hover {
  background: #c3fff5;
}

.cor__popup__ex__wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 20px 88px;
  }

  .cor__popup__ex__text {
    font-size: 14px;

    margin: 0;
  }

  .cor__popup__ex__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
  }

  .cor__popup__ex__wrap {
    flex-shrink: 0;
  }
}

/* hero  */

.page-cor__hero__ex__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 50px;
  color: #fffefe;
  margin-bottom: 28px;
}

.page-cor__hero__ex__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 26px;
  text-align: justify;
  color: #545151;
  margin-bottom: 42px;
}

.page-cor__hero__ex__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  text-align: justify;
  color: #545151;
  padding: 13px;
  border-radius: 50px;
  display: flex;
  width: 270px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;

  svg {
    fill: #545151;
    transition: fill 0.3s ease;
  }
}

.page-cor__hero__ex__link:hover {
  color: #fff;
  background-color: #545151;
  svg {
    fill: #fff;
  }
}

.page-cor__hero__ex__link-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media screen and (min-width: 1436px) {
  .page-cor__hero__ex__title {
    font-size: 128px;
    margin-bottom: 28px;
  }

  .page-cor__hero__ex__text {
    max-width: 939px;
    font-size: 26px;
    margin-bottom: 42px;
  }

  .page-cor__hero__ex__link-cover {
    flex-direction: row;
    gap: 42px;
  }
}

/* step */

.step__pp__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  text-align: center;
  color: #545151;
  margin-bottom: 22px;
}

.step__pp__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 22px;

  li {
    border-radius: 50px;
    padding: 61px 31px;
    background: #dbf1de;
    transition: background-image 1s ease;
    cursor: pointer;
    background-position: center;
    background-size: cover;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    color: #545151;
    margin-bottom: 200px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #545151;
  }

  .step__pp__1:hover,
  .step__pp__1:focus {
    background-image: url(../img/step/card-1.png);
  }

  .step__pp__2:hover,
  .step__pp__2:focus {
    background-image: url(../img/step/card-2.png);
  }

  .step__pp__3:hover,
  .step__pp__3:focus {
    background-image: url(../img/step/card-3.png);
  }
}

.step__pp__description {
  display: flex;
  flex-direction: column;
  gap: 22px;

  div {
    border-radius: 50px;
    padding: 61px 31px;
    background: #dbf1de;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #545151;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    color: #545151;
    margin-bottom: 24px;
  }
}

@media screen and (min-width: 1436px) {
  .step__pp__title {
    text-align: start;
  }
  .step__pp__list {
    gap: 59px;
    flex-direction: row;

    li {
      width: calc((100% - 118px) / 3);
    }
  }

  .step__pp__description {
    div {
      padding: 30px 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 159px;

      p {
        width: 406px;
        flex-shrink: 0;
        margin: 0;
      }
    }
  }
}

/* advantages */

.advantages {
  background-color: #fff;
  padding: 100px 15px;
  border-radius: 50px;

  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    color: #545151;
    margin-bottom: 26px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #545151;
  }
}

@media screen and (min-width: 1436px) {
  .advantages__pp__container {
    padding-top: 450px;
    position: relative;
  }

  .advantages {
    padding: 52px 66px;
    width: 562px;
    position: absolute;
    bottom: 0;
    right: 0;
  }
}

/* case  */

.case__pp__item {
  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 40px;
    color: #545151;
    margin-bottom: 10px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 40px;
    color: #c7fdcc;
    margin-bottom: 20px;
  }

  button {
    display: block;
    width: 56px;
    transition: transform 0.4s ease;
  }
}

.case__pp__preview {
  border-radius: 50px;
  padding: 18px 36px;
  background: #c3fff5;
  margin-top: 40px;
  position: relative;

  h6 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px;
  }

  div {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 32px;
    color: #000;
  }

  button {
    position: absolute;
    top: 20px;
    right: 20px;

    svg {
      fill: none;
      stroke: #161616;
    }
  }
}

@media screen and (min-width: 1436px) {
}

/* ***** page 2 **** */

/* services */

.services__pp__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 64px;
  color: #fffefe;
  margin-bottom: 56px;
}

.services__pp__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 26px;
  text-align: justify;
  color: #545151;
  margin-bottom: 42px;
}

.services__pp__content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.services__pp__wrap {
  h6 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    color: #545151;
    margin-bottom: 36px;
  }
}

.services__pp__list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: #545151;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #545151;
  }
}

.pagination {
  text-align: center;
  margin-top: 32px;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  opacity: 1;
  background: #c7fdcc;
}

.swiper-pagination-bullet-active {
  background: #c3fff5;
}

@media screen and (min-width: 1436px) {
  .services__pp__title {
    margin-bottom: 28px;
  }

  .services__pp__content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .services__pp__wrap {
    width: 400px;
  }
}

/* page 3  */

/* contact */

.contact__pp__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 26px;
  color: #545151;
  margin-bottom: 42px;
}

.contact__pp__list {
  margin-bottom: 42px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    color: #545151;
  }
}

#consultation-form {
  padding: 80px 9px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-radius: 50px;
  background-color: #fff;

  input,
  textarea {
    width: 100%;
    border: none;
    resize: none;
    outline: none;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #545151;
    border-bottom: 1px solid #545151;
    transition: background-color 0.3s ease;
  }

  button {
    margin: 0 auto;
    margin-top: 74px;
  }

  input::placeholder,
  textarea::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #545151;
  }
}

.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) {
  #consultation-form {
    width: 1200px;

    input,
    textarea {
      width: 500px;
      margin: 0 auto;
    }
  }
}

/* footer */

.footer {
  padding: 41px 0;
}

.cor__footer__ex__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 30px;
  color: #fff;

  a:hover {
    text-decoration: underline;
  }
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 39px;

  a {
    display: block;
    width: 41px;
    transition: transform 0.4s ease;
  }

  a:hover {
    transform: scale(1.2);
  }
}

.cor__footer__ex__text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: #545151;
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 40px 0;
  }

  .cor__footer__ex__list {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    font-size: 40px;
    margin-bottom: 39px;
  }
}

/* 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;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top-color: #1eb097;
  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: 2px solid #1eb097;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;

  svg {
    fill: none;
    stroke: #1eb097;
  }
}

#scrollTopBtn.show {
  opacity: 0.5;
  transform: translateY(0);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  opacity: 1;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateX(0);
}

.click {
  transform: rotate(180deg);
}

.cor__popup__ex__click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
