.hero-main__body {
  gap: 40px;
}

.hero__intro {
  position: relative;
  display: flex;
  padding-top: 70px;
  padding-bottom: 35px;
  z-index: 1;
  background: linear-gradient(203deg, #fffcec 0%, #f1f8fc 100%);
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.hero__intro::before,
.hero__intro::after {
  content: '';
  position: absolute;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero__intro::before {
  width: 100px;
  height: 120px;
  left: -50px;
  top: 130px;
  background-image: url(../icons/percent-left.webp);
}

.hero__intro::after {
  width: 74px;
  height: 88px;
  top: 50px;
  right: -30px;
  background-image: url(../icons/percent-right.webp);
}

.hero-main__title-wrap {
  max-width: 1230px;
  margin: 0 auto;
  text-align: center;
}

.promo-code__badge {
  margin: 0;
  padding: 8px 12px;
  border-radius: 30px;
  background-color: rgba(55, 126, 240, 0.16);
  color: var(--color-blue);
  font-size: 12px;
  font-family: var(--font-medium);
  line-height: 1;
  letter-spacing: -0.2px;
  margin-bottom: 15px;
  display: inline-block;
}

.hero-main__title {
  text-wrap: balance;
  span {
    color: var(--color-blue);
  }
}

.hero-main__text {
  font-family: var(--font-regular);
  margin-top: 15px;
  text-align: center;
  color: #828181;
  text-wrap: balance;

  span {
    font-family: var(--font-regular);
    color: #000;
  }
}

.promo-code {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.promo-code__grid {
  display: grid;
  gap: 10px;
}

.promo-code__item {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 24px 84px #DAE6ED;
}

.promo-code__wrap {
  padding: 15px 20px;
}

.promo-code__item-inner {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}

.promo-code__price {
   font-family: var(--font-semibold);
   color: var(--color-blue);
   line-height: 1;
   font-size: 30px;
   text-align: center;
   padding: 15px 0;
   border-bottom: 1px solid #E7E7E7;
}

.promo-code__text {
  font-size: 14px;
  color: #828181;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 25px;
}

.promo-code__code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 10px;
  border: 2px dashed #c3c3c3;
  border-radius: 60px;
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  font-size: 20px;
  font-family: var(--font-medium);
  line-height: 1;
  letter-spacing: -0.3px;
  text-align: center;
}

.promo-code__copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 65px;
  min-height: 50px;
  border: none;
  border-radius: 32px;
  background-color: #000;
  color: #ffffff;
  transition: 0.25s ease;
  cursor: pointer;

  svg {
    width: 20px;
    height: 20px;
  }
}

.promo-code__copy-btn:hover {
  background-color: #484b50;
}

.promo-code__copy-btn.is-copied {
  background-color: var(--color-green);
  pointer-events:none;
  cursor: default;
}

.promo-code__copy-btn.is-copied svg path {
  stroke: #fff;
}

.promo-code__link {
  text-wrap: nowrap;
  width: 100%;
}

.promo-code__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}

.promo-code__timer-label {
  max-width: 140px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.14px;
}

.promo-code__timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 7px;
  background-color: #FFD000;
}

.promo-code__timer-icon {
  width: 13px;
  height: 17px;
}

.promo-code__timer-value {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.16px;
  margin-top: 2px;
}

.promo-terms {
  margin-top: 40px;
}

.promo-terms__grid {
  display: grid;
  gap: 8px;
  grid-auto-rows: minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}

.promo-terms__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}

.promo-terms__title {
  margin: 0;
  color: #141c21;
  font-family: var(--font-semibold);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.48px;
}

.promo-terms__or {
  font-size: 17px;
}

.promo-terms__text {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-regular);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.14px;
}

.apply-promocode {
  margin-top: 120px;
	counter-reset: num;
}

.apply-promocode-title {
  margin-bottom: 80px;
}

.apply-promocode__slider {
  max-width: 1150px;
  margin: 0 auto;
}

.apply-promocode__wrapper:not([id]) {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: 1fr;
	grid-auto-rows: 0;
	column-gap: 20px;
}

.apply-promocode-item {
	counter-increment: num;
}

.apply-promocode__img {
	position: relative;
	display: flex;
	padding: 100px 80px 0;
	border-radius: 20px;
	background-color: #f7f7f7;
}

.apply-promocode__img img {
	width: 100%;
	aspect-ratio: 768/1214;
	object-fit: cover;
	object-position: 50% 0;
}

.apply-promocode__img::before {
	content: "Шаг " counter(num);
	position: absolute;
	display: block;
	top: 20px;
	left: 20px;
	padding: 10px 15px;
	font-family: var(--font-medium);
	font-size: 16px;
	line-height: 1;
	color: #434343;
	background-color: #fff;
	border-radius: 50px;
	border: 1px solid rgba(199, 197, 197, 0.37);
}

.apply-promocode__title {
	margin-top: 40px;
  margin-bottom: 40px;
	font-family: var(--font-semibold);
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #000;
  text-wrap: balance;
}

.apply-promocode__text {
  font-size: 18px;
  color: var(--color-text);
  text-wrap: balance;
}

.apply-promocode__text a {
  color: #3486F3;
}

.apply-promocode__title a {
	display: block;
	color: var(--color-blue);
	transition: color 0.25s ease;
}

.apply-promocode__title a::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-left: 8px;
	mask: var(--icon-arrow) center no-repeat;
	-webkit-mask: var(--icon-arrow) center no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	background-color: var(--color-blue);
	transition: background-color 0.25s ease;
}

.apply-promocode__title a:hover {
	color: var(--color-blue-hover);
}

.apply-promocode__title a:hover::after {
	background-color: var(--color-blue-hover);
}

.apply-promocode-order {
	margin-top: 80px;
	text-align: center;
}

@media (max-width: 1639.98px) {
	.apply-promocode {
		margin-top: 120px;
	}

	.apply-promocode__title {
		font-size: 18px;
	}

	.apply-promocode__img {
		padding: 90px 80px 0;
	}

	.apply-promocode-order {
		margin-top: 60px;
	}
}

@media (max-width: 1279.98px) {
	.apply-promocode {
		margin-top: 100px;
	}

  .apply-promocode__slider {
    max-width: 900px;
  }

  .apply-promocode__img {
    padding: 85px 45px 0;
	}

  .apply-promocode-title {
    margin-bottom: 60px;
  }

  .apply-promocode__text {
    font-size: 16px;
  }

  .apply-promocode__wrapper:not([id]) {
		grid-template-columns: repeat(4, 1fr);
	}

	.apply-promocode-order {
		margin-top: 50px;
	}
}

@media (max-width: 1023.98px) {
	.apply-promocode {
		margin-top: 80px;
	}

  .apply-promocode-title {
    margin-bottom: 40px;
  }

  .apply-promocode__img {
    padding: 85px 45px 0;
	}

	.apply-promocode__wrapper:not([id]) {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767.98px) {
	.apply-promocode {
		margin-top: 65px;
	}

  .apply-promocode-title {
    margin-bottom: 30px;
  }

  .apply-promocode__text {
    font-size: 14px;
  }

	.apply-promocode__wrapper:not([id]) {
		grid-template-columns: 1fr 1fr;
	}

	.apply-promocode__img {
		border-radius: 10px;
    padding: 75px 50px 0;
	}

	.apply-promocode__title {
		margin-top: 30px;
    margin-bottom: 30px;
	}

	.apply-promocode-order {
		margin-top: 40px;
	}

	.apply-promocode-order__btn {
		width: 100%;
	}
}

@media (max-width: 575.98px) {
	.apply-promocode-title br {
		display: none;
	}

	.apply-promocode {
		margin-top: 40px;
	}

	.apply-promocode__wrapper:not([id]) {
		grid-template-columns: 1fr;
	}

	.apply-promocode__wrapper:not([id]) .apply-promocode {
		width: 80%;
	}

	.apply-promocode__title {
		margin-top: 20px;
    margin-bottom: 20px;
		font-size: 16px;
	}

	.apply-promocode__img {
		padding: 65px 50px 0;
	}

	.apply-promocode__img::before {
		top: 15px;
		left: 15px;
		padding: 6px 10px;
		font-size: 14px;
	}

	.apply-promocode-order {
		margin-top: 30px;
	}
}

.promo-cta {
  margin-top: 60px;
}

.promo-cta__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.promo-cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.promo-cta__title {
  margin: 0;
  color: #000;
  font-family: var(--font-semibold);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.56px;

  span {
    color: var(--color-blue);
  }
}

.promo-cta__text {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-regular);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.15px;
}

.promo-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.promo-cta__btn {
  width: 100%;
}

@media (min-width: 576px) {
  .hero__intro {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .promo-code__badge {
    font-size: 14px;
  }

  .promo-code__code,
  .promo-code__copy-btn {
    min-height: 56px;
  }

  .promo-cta__title {
    font-size: 34px;
    letter-spacing: -0.68px;
  }

  .promo-cta__actions {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: auto;
  }

  .promo-cta__btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .hero__intro {
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .hero__intro::before {
    left: -30px;
    top: 250px;
  }

  .hero__intro::after {
    width: 84px;
    height: 88px;
    top: 80px;
    right: -30px;
  }

  .promo-code__badge {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .hero-main__title {
    text-wrap: auto;
  }

  .hero-main__text {
    font-family: var(--font-medium);
    margin-top: 30px;

    span {
      font-family: var(--font-medium);
    }
  }

  .promo-code__wrap {
    padding: 20px 30px;
  }

  .promo-code__code {
    font-size: 30px;
  }

  .promo-code__code,
  .promo-code__copy-btn {
    min-height: 60px;
  }

  .promo-code__copy-btn {
    width: 88px;

    svg {
      width: 24px;
      height: 24px;
    }
  }

  .promo-code__timer-label {
    font-size: 14px;
  }

  .promo-code__timer-value {
    font-size: 16px;
  }

  .promo-terms {
    margin-top: 50px;
  }

  .promo-terms__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .promo-cta__body {
    gap: 40px;
  }

  .promo-cta__head {
    gap: 24px;
  }

  .promo-cta__title {
    font-size: 44px;
    letter-spacing: -0.88px;
  }

  .promo-cta__text {
    font-size: 18px;
    letter-spacing: -0.18px;
  }
}

@media (min-width: 1024px) {
  .hero__intro {
    padding-top: 120px;
    padding-bottom: 90px;
  }

  .hero__intro::before {
    left: 0;
    top: 230px;
  }

  .hero__intro::after {
    width: 100px;
    height: 100px;
    top: 110px;
    right: 0;
  }

  .promo-code__badge {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .promo-code__item {
    box-shadow: none;
  }

  .promo-code__grid {
    gap: 15px;
  }

  .promo-code__item-inner {
    gap: 12px;
    margin-bottom: 0;
  }

  .promo-code__item-wrap {
    display: flex;
    gap: 40px;
    width: 100%;
    max-height: 68px;
  }

  .promo-code__price {
    font-size: 35px;
  }

  .promo-code__text {
    text-align: left;
    font-size: 16px;
  }

  .promo-code__code {
    min-width: 424px;
    min-height: 68px;
  }

  .promo-code__link {
    max-height: 68px;
  }

  .promo-code__copy-btn {
    min-height: 68px;
  }

  .promo-code__timer {
    justify-content: start;
    margin-top: 20px;
    font-size: 14px;
  }

  .promo-terms {
    margin-top: 60px;
  }

  .promo-terms__grid {
    gap: 15px;
  }

  .promo-terms__item {
    gap: 16px;
    padding: 24px 30px;
    border-radius: 20px;
  }

  .promo-terms__title {
    font-size: 34px;
    letter-spacing: -0.68px;
  }

  .promo-terms__or {
    font-size: 24px;
  }

  .promo-terms__text {
    font-size: 16px;
    letter-spacing: -0.16px;
  }

  .promo-cta {
    margin-top: 70px;
  }

  .promo-cta__body {
    gap: 60px;
  }

  .promo-cta__title {
    font-size: 52px;
    letter-spacing: -1.04px;
  }

  .promo-cta__text {
    font-size: 22px;
    letter-spacing: -0.22px;
  }

  .promo-cta__actions {
    gap: 18px;
  }
}

@media (min-width: 1280px) {
  .hero__intro::before {
    width: 142px;
    height: 170px;
  }

  .hero__intro::after {
    width: 140px;
    height: 164px;
  }

  .promo-code__item {
    display: grid;
    grid-template-columns: 225px 1fr;
    border-radius: 30px;
  }

  .promo-code__grid {
    gap: 20px;
  }

  .hero-main__body {
    gap: 80px
  }

  .promo-code__price {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-semibold);
    font-size: 40px;
    border-bottom: none;
    padding: 0;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      right: 0;
      width: 1px;
      height: 100px;
      background: #E7E7E7;
    }
  }

  .promo-code__copy-btn {
    border-radius: 40px;
  }

  .promo-code__code {
    min-height: 68px;
  }

  .promo-code__text {
    font-size: 20px;
  }

  .promo-terms__grid {
    gap: 20px;
  }

  .promo-terms {
    margin-top: 70px;
  }

  .promo-terms__item {
    padding: 24px 34px;
  }

  .promo-terms__title {
    font-size: 44px;
    letter-spacing: -0.88px;
  }

  .promo-terms__or {
    font-size: 30px;
  }

  .promo-terms__text {
    font-size: 18px;
    letter-spacing: -0.18px;
  }

  .promo-cta {
    margin-top: 100px;
  }

  .promo-cta__body {
    gap: 70px;
  }

  .promo-cta__head {
    gap: 40px;
  }

  .promo-cta__title {
    font-size: 60px;
    letter-spacing: -1.2px;
  }

  .promo-cta__text {
    font-size: 24px;
    letter-spacing: -0.24px;
  }
}

@media (min-width: 1640px) {
  .hero__intro {
    padding-top: 150px;
    padding-bottom: 180px;
  }

  .hero__intro::before {
    width: 210px;
    height: 235px;
  }

  .promo-code__item {
    grid-template-columns: 255px 1fr;
  }

  .promo-code__wrap {
    padding: 30px 40px;
  }

  .promo-code__price {
    &::before {
      right: 11px;
    }
  }

  .promo-code__badge {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .hero-main__text {
    text-wrap: auto;
  }

  .promo-terms {
    margin-top: 80px;
  }

  .promo-cta {
    margin-top: 140px;
  }
}

/* Футер без QR-кода: было 4 колонки (1.5fr 1fr auto auto), QR удалён из HTML */
@media (min-width: 1280px) {
  .footer-top__body {
    grid-template-columns: 1.5fr 1fr auto;
  }
}
