/* header */

.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  border: 1px solid var(--body);
  border-radius: 100px;
  padding: 16px;
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 134px;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(0.95);
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  fill: none;
  stroke: #2f3437;
  transition: stroke 0.3s ease;
}

.svg:hover {
  stroke: #2ec4b6;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.navigation-item {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  text-align: right;
  color: #2f3437;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navigation-item:hover,
.navigation-item:focus {
  color: #2ec4b6;
}

.modal {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  border: 1px solid var(--body);
  border-radius: 40px;
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.6);
  padding: 16px 32px;
  padding-top: 72px;
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-end;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .header {
    top: 24px;
    padding: 24px 40px;
  }

  .header-logo {
    width: 228px;
  }

  .navigation-item {
    font-size: 24px;
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 148px;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  text-align: center;
  color: #2f3437;
  margin-bottom: 40px;
}

.hero-wrapper {
  margin: 0 auto;
  margin-bottom: 40px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  color: #2f3437;

  border-radius: 100px;
  width: 190px;
  padding: 4px 12px;
  background: #e6f5f3;
  border: 1px solid #2ec4b6;

  span {
    color: #dab600;
  }
}

.home-text1 {
  position: absolute;
  top: 14px;
  right: 0;
}

.home-text2 {
  position: absolute;
  bottom: 14px;
  left: 0;
}

.home-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: var(--body);

  display: block;
  margin: 0 auto;
  width: 343px;
  max-width: 100%;
  text-align: center;
  border-radius: 40px;
  padding: 12px 24px;
  background: #ffd60a;
  border: 2px solid #ffd60a;
  transition: background-color 0.4s ease;
}

.home-link:hover {
  background: none;
}

.home-image {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .home-text {
    font-size: 24px;
    width: 350px;
    padding: 16px;
  }
  .home-text1 {
    top: 28px;
  }

  .home-text2 {
    bottom: 32px;
  }
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 192px;
  }

  .home-title {
    font-size: 56px;
    margin-bottom: 40px;
  }

  .home-text {
    width: 596px;
    border: none;
    padding: 16px;
  }

  .home-text1 {
    top: 70px;
  }

  .home-text2 {
    bottom: 80px;
    transform: translateX(-20px);
  }

  .home-link {
    font-size: 24px;
  }
}

/* concept */

.concept-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.boy {
  width: 123px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.concept-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;

  li {
    width: calc(100% / 2);
    border-radius: 100px;
    padding: 4px 12px;
    background: #d1efec;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: #2f3437;
    position: relative;
    z-index: 1;
  }

  .item1 {
    width: 214px;
  }

  .item3 {
    z-index: 0;
    margin-bottom: 30px;
    transform: translateX(10px);
  }
}

.item2 {
  align-self: flex-end;
}

@media screen and (min-width: 768px) {
  .concept-list {
    width: 500px;
    margin: 0 auto;
    gap: 20px 100px;

    .item1 {
      width: calc(100% / 2);
    }
  }

  .boy {
    width: 143px;
  }
}

@media screen and (min-width: 1437px) {
  .concept-list {
    width: 1076px;
    margin: 0 auto;
    gap: 88px 244px;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 90px 0;

    li {
      width: 416px;
      padding: 16px 24px;
      font-size: 20px;
    }

    .item1 {
      width: 416px;
      transform: translateX(-100px);
    }

    .item3 {
      transform: translateX(60px);
    }
  }

  .boy {
    width: auto;
  }
}

/* services */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;

  li {
    border: 1px solid #2f3437;
    border-radius: 30px;
    padding: 16px 24px;
    background: rgba(46, 196, 182, 0.05);

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #2f3437;
  }
}

.services-link {
  margin: 0;
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .services-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .services-list {
    gap: 24px;

    li {
      width: calc((100% - 48px) / 3);
      font-size: 24px;
      border-radius: 30px;
      padding: 24px;
    }
  }
}

/* workflow */

.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;

  li {
    border: 1px solid #2ec4b6;
    border-radius: 30px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 8px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2f3437;
  }

  span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 32px;
    line-height: 130%;
    text-align: center;
    color: rgba(46, 196, 182, 0.4);
  }
}

.workflow-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: #2f3437;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    color: #2f3437;
  }

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1437px) {
  .workflow-list {
    gap: 24px;
    flex-direction: row;
    margin-bottom: 24px;

    li {
      width: calc((100% - 48px) / 3);
      border: 1px solid #2ec4b6;
      border-radius: 30px;
      padding: 24px;
      font-size: 24px;
      gap: 16px;
    }

    span {
      font-size: 40px;
      flex-shrink: 0;
    }
  }

  .workflow-text {
    font-size: 24px;

    a {
      font-size: 24px;
    }
  }
}

/* plans */

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border: 1px solid #ffd60a;
    border-radius: 30px;
    padding: 16px;
    background: rgba(46, 196, 182, 0.2);
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #2f3437;
    margin-bottom: 8px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #1d958a;
    margin-bottom: 16px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    text-align: right;
    color: var(--body);
  }
}

@media screen and (min-width: 768px) {
  .plans-list {
    flex-direction: row;
    flex-wrap: wrap;
    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .plans-list {
    gap: 24px;

    li {
      width: calc((100% - 48px) / 3);
      border-radius: 30px;
      padding: 24px;
    }

    h5 {
      font-size: 24px;
      margin-bottom: 16px;
    }

    p {
      font-size: 16px;
      margin-bottom: 24px;
    }

    span {
      font-size: 32px;
    }
  }
}

/* case */

.case-list {
  li {
    border: 1px solid #2ec4b6;
    background: rgba(46, 196, 182, 0.05);
  }
  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    color: #2f3437;
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    /* line-height: 150%; */
    color: #2f3437;
  }
}

@media screen and (min-width: 768px) {
  .case-list {
    flex-direction: column;

    li {
      width: 100%;
    }
  }
}

@media screen and (min-width: 1437px) {
  .case-list {
    flex-direction: row;

    li {
      width: calc((100% - 48px) / 3);
    }

    p {
      font-size: 24px;
    }

    span {
      font-size: 16px;
    }
  }
}

/* trust */

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border: 1px solid #2ec4b6;
    border-radius: 30px;
    padding: 16px 32px;
    position: relative;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #2f3437;
  }

  img {
    width: 32px;
    position: absolute;
    top: -16px;
    right: 0;
  }
}

@media screen and (min-width: 768px) {
  .trust-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .trust-list {
    gap: 52px 24px;

    li {
      width: calc((100% - 48px) / 3);
      font-size: 24px;
    }
  }
}

/* blog  */

.testimonials-slide {
  border: 1px solid #2ec4b6;
  border-radius: 30px;
  padding: 64px;
  padding-left: 16px;
  position: relative;

  font-family: var(--font-family);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: #2f3437;

  img {
    width: 40px;
    position: absolute;
    bottom: 16px;
    right: 16px;
  }
}

.testimonials-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-color: #2ec4b6;
}

.swiper-btn {
  display: none;
}

@media screen and (min-width: 768px) {
  .testimonials-slide {
    width: 340px;
  }
}

@media screen and (min-width: 1437px) {
  .testimonials-slide {
    width: 416px;
    padding: 80px;
    padding-left: 24px;
    font-size: 20px;
  }

  img {
    right: 24px;
    bottom: 24px;
  }

  .testimonials-pagination {
    display: none;
  }

  .swiper-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    opacity: 0.7;
    border-radius: 50%;
    border: 2px solid var(--body);
    background-color: rgba(46, 196, 182, 0.2);
    transition: opacity 0.3s ease;

    svg {
      fill: none;
      stroke: var(--body);
    }
  }

  .swiper-btn:hover,
  .swiper-btn:focus {
    opacity: 1;
  }

  .testimonials-left {
    position: absolute;
    top: 65%;
    left: 46px;
    z-index: 1;
    transform: rotate(-90deg);
  }

  .testimonials-right {
    position: absolute;
    top: 65%;
    right: 46px;
    z-index: 1;
    transform: rotate(90deg);
  }
}

/* footer */

.footer {
  padding: 32px 0;
}

.footer-mail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;

  p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    color: #2f3437;
  }

  a,
  span {
    font-weight: 400;
  }

  a:hover {
    text-decoration: underline;
  }
}

.footer-social {
  p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #2f3437;
    margin-bottom: 4px;
  }

  div {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
  }

  a {
    width: 44px;
    transition: transform 0.35s ease;
  }

  a:hover {
    transform: scale(1.1);
  }
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;

  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;

  text-align: center;
  color: #2f3437;

  a:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 150%;
  text-align: center;
  color: var(--white);
}

@media screen and (min-width: 1437px) {
  .footer-content {
    display: flex;
    align-items: flex-start;
    gap: 88px;
    margin-bottom: 32px;
  }

  .footer-mail {
    margin: 0;

    p {
      font-size: 24px;
    }
  }

  .footer-social {
    margin: 0;

    p {
      font-size: 24px;
    }
  }

  .footer-list {
    font-size: 16px;
    gap: 12px;
    margin-bottom: 16px;
  }

  .footer-description {
    font-size: 16px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(60px);
  background: #fff;
  border: 1px solid var(--body);

  transition: transform 0.5s ease;
}

.popup-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4a90e2;
  }
}

.popup-btn {
  border: 2px solid #ffd60a;
  border-radius: 50px;
  padding: 8px 12px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  color: var(--body);
  background: #ffd60a;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 20px 32px;
  }

  .popup-text {
    font-size: 18px;
  }

  .popup-btn {
    font-size: 18px;
  }

  .popup-wrap {
    flex-direction: row;
  }
}
