/* =====================================================
   HOME — Головна сторінка
   ===================================================== */

body.home {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5f7fc;

  @media (min-width: 1020px) {
    background: url('../images/white.png') center/cover no-repeat;
    flex-direction: row;
  }
}

.main-front-page__decor {
  width: 375px;
  /* height: 210px; */

  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);

  z-index: 0;

  @media (min-width: 1020px) {
    display: none;
  }
}

.main-front-page {
  width: 100%;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;

  @media (min-width: 1020px) {
    justify-content: space-between;

    padding-bottom: 20px;
  }
}

.front-page-title-section {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  row-gap: 8px;

  position: relative;
  z-index: 1;

  @media (min-width: 1020px) {
    row-gap: 16px;
    margin-top: 0px;
  }

  @media (min-width: 1920px) {
    row-gap: 32px;
  }
}

.front-page-title {
  font-size: clamp(20px, 11.3px + 2.33vw, 56px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 100%;
}

.front-page-subtitle {
  font-size: clamp(12px, 7.15px + 1.29vw, 32px);
  color: var(--color-secondary);
  line-height: 100%;
}

.front-page-links-section {
  margin-top: 182px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;

  position: relative;
  z-index: 1;

  @media (min-width: 768px) and (max-width: 1019px) {
    margin-top: 220px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  @media (min-width: 1020px) {
    margin-top: 0;
    flex-direction: row;
  }
}

.front-page-link-card {
  width: 343px;
  height: 162px;
  border-radius: 24px;
  border: 2px solid #d3dff7;
  background: #fcfdff;
  padding: 20px 18px 18px;

  display: flex;
  flex-direction: column;
  gap: 8px;

  @media (min-width: 1020px) {
    width: 400px;
    height: auto;
    gap: 12px;
  }

  @media (min-width: 1400px) {
    width: 420px;
    height: auto;
  }

  @media (min-width: 1920px) {
    width: 452px;
    height: 284px;

    padding: 24px 18px;
    border-radius: 48px;
  }
}

.front-page-link-card_blue {
  border-color: #d3dff7;
  order: 2;

  @media (min-width: 1020px) {
    order: 1;
  }
}

.front-page-link-card_yellow {
  border-color: #f9f1e5;
  order: 3;
}

.front-page-link-card__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  @media (min-width: 1020px) {
    gap: 22px;
  }

  @media (min-width: 1920px) {
    min-height: 182px;
    gap: 26px;
  }
}

.front-page-link-card__title {
  font-size: clamp(16px, 13.09px + 0.78vw, 28px);
  font-weight: 700;
  color: var(--color-dark);
}

.front-page-link-card__subtitle {
  font-size: clamp(13px, 12.27px + 0.19vw, 16px);
  color: var(--color-dark);
}

.front-page-link-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;

  @media (min-width: 1020px) {
    gap: 16px;
  }
}

.front-page-link-card__img {
  width: 84px;
  height: 84px;

  @media (min-width: 1020px) {
    width: 100px;
    height: 100px;
  }

  @media (min-width: 1400px) {
    width: 120px;
    height: 120px;
  }

  @media (min-width: 1920px) {
    width: 182px;
    height: 182px;
  }
}

.front-page-link-card__title-line {
  display: none;

  @media (min-width: 1020px) {
    display: block;
    width: 189.5px;
    height: 0px;
    border: 1px solid #d3dff7;
  }
}

.front-page-link-card__link {
  font-weight: 600;
  font-size: clamp(14px, 12.54px + 0.39vw, 20px);
  height: 48px;
  padding: 8px 32px;
  gap: 4px;
  border-radius: 16px;
  min-width: 212px;
  margin: 0 auto;
}

.front-page-link-card__central-img {
  width: 200px;
  height: 200px;

  flex: 1;

  @media (min-width: 1020px) {
    width: 380px;
    height: auto;
  }

  @media (min-width: 1920px) {
    height: 568px;
    width: auto;
  }
}

.front-page-central-card {
  display: none;
  position: relative;
  order: 1;
  flex: 1;

  @media (min-width: 1020px) {
    order: 2;
    display: flex;
    position: relative;
  }
}

.front-page-central-card__content {
  display: none;

  opacity: 1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);

  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);

  @media (min-width: 1020px) {
    display: flex;
    height: 60px;
    width: 320px;
  }

  @media (min-width: 1920px) {
    height: 80px;
    width: 456px;
    bottom: 28px;
  }
}

.front-page-central-card__title {
  font-weight: 500;
  font-size: clamp(16px, 14.06px + 0.52vw, 24px);
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;

  color: #d0d0d0;
}

.front-page-trust-section {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 70px;
  margin-top: 18px;

  @media (min-width: 1020px) {
    height: 120px;
    height: 90px;
    justify-content: space-between;
    margin-top: 0px;
  }

  @media (min-width: 1920px) {
    height: 133px;
    gap: 120px;
  }
}

.front-page-trust-section__icon {
  width: 32px;
  height: 32px;

  @media (min-width: 1020px) {
    width: 56px;
    height: 56px;
  }

  @media (min-width: 1920px) {
    width: 72px;
    height: 72px;
  }
}

.front-page-trust-section__item {
  width: 113px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  row-gap: 3px;

  @media (min-width: 1020px) {
    width: 162px;
    row-gap: 4px;
  }
}

.front-page-trust-section__content {
  display: flex;
  height: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  /* @media (min-width: 1020px) {
    height: 40px;
  } */

  @media (min-width: 1920px) {
    height: 54px;
  }
}

.front-page-trust-section__title {
  font-weight: 700;
  font-size: clamp(13px, 9.36px + 0.97vw, 28px);
  color: var(--color-dark);
  line-height: 100%;
}

.front-page-trust-section__text {
  font-weight: 700;
  font-size: clamp(12px, 11.03px + 0.26vw, 16px);
  color: var(--color-dark);
  line-height: 100%;
}

/* -------------------------------------------------------
   Адаптив
   ------------------------------------------------------- */
/* @media (max-width: 768px) {
  .front-page-links-section {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 16px;
  }

  .front-page-link-card {
    width: 100%;
  }

  .front-page-central-card {
    order: -1;
  }

  .front-page-trust-section {
    gap: 24px;
    height: auto;
    padding: 16px 0;
  }
} */
