.thanks-main {
  --thanks-bg-image: url('../img/thanks/consultation-bg.png');

  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-top) + var(--header-height-desktop) + 40px) 0 80px;
  overflow: hidden;
  background-color: #e5e0df;
  background-image: var(--thanks-bg-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.thanks-main .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.thanks-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 640px;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 60px 48px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.thanks-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(252, 0, 8, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.thanks-card__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.thanks-card__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thanks-card__title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  margin: 0;
}

.thanks-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.thanks-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  min-width: 220px;
  padding: 0 48px;
  background: #fc0008;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.32px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 10px 0 rgba(115, 26, 26, 0.1);
  transition: opacity var(--transition);
}

.thanks-card__btn:hover {
  opacity: 0.85;
}

.thanks-card__btn svg {
  display: block;
  flex-shrink: 0;
}


@media (max-width: 1023px) {
  .thanks-main {
    padding-top: calc(var(--header-height-mobile) + 40px);
    padding-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .thanks-main {
    padding-top: calc(var(--header-height-mobile) + 24px);
    padding-bottom: 48px;
    min-height: 80vh;
  }

  .thanks-card {
    padding: 40px 24px;
    border-radius: 16px;
    gap: 20px;
  }

  .thanks-card__title {
    font-size: 24px;
  }

  .thanks-card__desc {
    font-size: 14px;
  }

  .thanks-card__btn {
    width: 100%;
    padding: 0 24px;
  }
}
