@font-face { font-family: "Gilroy"; src: url("https://fitstars-landing-prod.storage.yandexcloud.net/landings/81/v1/fonts/Gilroy-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("https://fitstars-landing-prod.storage.yandexcloud.net/landings/81/v1/fonts/Gilroy-Semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("https://fitstars-landing-prod.storage.yandexcloud.net/landings/81/v1/fonts/Gilroy-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("https://fitstars-landing-prod.storage.yandexcloud.net/landings/81/v1/fonts/Gilroy-Extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --dark: #181d31;
  --pink: #ef16b0;
  --gray: #7a8096;
  --shadow: 0 4px 28px 4px rgba(147, 151, 173, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--dark); font-family: "Gilroy", Arial, sans-serif; font-weight: 500; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding-left: 1.4em; }
li { padding-left: 0.1em; }
.pink { color: var(--pink); }
.link { color: var(--pink); text-decoration: none; }
.link:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 30px; text-decoration: none; font-weight: 600; line-height: 1.2;
  transition: color .2s ease-in-out, background-color .2s ease-in-out;
}

/* ---------- Hero ---------- */
.hero {
  background-image: radial-gradient(circle farthest-side at 80% 50%, rgba(235,170,228,1) 21%, rgba(225,97,204,1) 63%, rgba(24,29,49,1) 100%);
  color: #fff; overflow: hidden;
}
.hero__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero__top { display: grid; grid-template-columns: 1fr 568px; align-items: start; }
.hero__text { padding-top: 120px; position: relative; z-index: 1; }
.hero__title { font-size: 60px; line-height: 1; font-weight: 800; width: 650px; max-width: none; }
.hero__sub { margin-top: 16px; font-size: 32px; line-height: 1.2; font-weight: 600; max-width: 541px; }
.hero__note { margin-top: 24px; font-size: 18px; line-height: 1.3; font-weight: 600; opacity: .7; max-width: 489px; }
.hero__btn { margin-top: 40px; width: 210px; height: 61px; background: #fff; color: var(--dark); font-size: 18px; }
.hero__btn:hover { color: var(--pink); }
.hero__img { margin: 49px 0 0 -20px; width: 568px; height: 568px; object-fit: cover; }
.hero__panel {
  position: relative; margin: -5px -20px 0; min-height: 125px; border-radius: 30px;
  display: flex; align-items: center; justify-content: center; padding: 20px 60px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  background: rgba(255,255,255,.2);
}
.hero__panel p { font-size: 24px; line-height: 28px; font-weight: 700; text-align: center; max-width: 1123px; }
.hero__caption { margin: 17px auto 0; padding-bottom: 60px; max-width: 665px; text-align: center; font-size: 18px; line-height: 1.3; font-weight: 600; opacity: .7; }

/* ---------- Gifts ---------- */
.gifts { padding: 70px 0 100px; }
.section-title { text-align: center; font-weight: 800; font-size: 40px; line-height: 1.15; color: var(--dark); }
.gifts__grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 29px; }
.gift-card { background: #fff; border-radius: 40px; box-shadow: var(--shadow); padding: 32px 32px 40px; min-height: 590px; }
.gift-card--accent { border: 2px solid #ffcedd; }
.gift-card__title { font-size: 24px; line-height: 30px; font-weight: 600; max-width: 456px; }
.gift-card__title strong { font-weight: 700; }
.gift-card ul { margin-top: 22px; font-size: 20px; line-height: 26px; font-weight: 500; }
.gift-card a { color: var(--pink); text-decoration: none; }

/* ---------- Forest ---------- */
.forest { padding-bottom: 64px; }
.forest__box {
  position: relative; overflow: hidden; border-radius: 40px; background: #1a8544; color: #fff;
  min-height: 407px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center;
}
.forest__shape { position: absolute; top: 0; right: 0; width: 72.6%; height: 100%; object-fit: cover; border-radius: 40px; pointer-events: none; }
.forest__text { position: relative; padding: 75px 40px 74px; }
.forest__title { font-size: 46px; line-height: 1.1; font-weight: 800; max-width: 641px; }
.forest__descr { margin-top: 20px; font-size: 24px; line-height: 1.2; font-weight: 600; max-width: 462px; }
.forest__btn { margin-top: 40px; width: 321px; height: 60px; background: #fff; color: #1a8544; font-size: 20px; }
.forest__badges { position: relative; height: 407px; }
.forest__logo {
  position: absolute; top: 112px; left: -14px; width: 310px; height: 100px; border-radius: 14px; background: #fff;
  box-shadow: 0 14px 28px rgba(0,66,22,.2); transform: rotate(-8deg);
  display: flex; align-items: center; justify-content: center;
}
.forest__logo img { width: 260px; height: auto; }
.forest__tag {
  position: absolute; top: 220px; left: 110px; width: 210px; height: 72px; border-radius: 14px; background: #eaffd1;
  box-shadow: 0 14px 28px rgba(0,66,22,.2); transform: rotate(10deg);
  display: flex; align-items: center; justify-content: center;
  color: #3fae6a; font-size: 25px; line-height: 1.2; font-weight: 700;
}

/* ---------- Slider ---------- */
.slider { position: relative; }
.slider__track {
  display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 calc(50% - 580px); scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 1160px; scroll-snap-align: center; }
.slider__slide img { width: 1160px; height: 660px; object-fit: cover; border-radius: 20px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; padding: 26px 0 26px; }
.slider__dots a { width: 8px; height: 8px; border-radius: 50%; background: #c4c4c4; }
.slider__dots a:first-child { background: var(--pink); }
.slider--mobile { display: none; }

.spacer { height: 100px; }

/* ---------- Certificate ---------- */
.cert__grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 40px; align-items: start; padding-bottom: 100px; }
.cert__text { padding-top: 60px; }
.cert__title { font-size: 28px; line-height: 34px; font-weight: 700; color: #081d31; max-width: 545px; }
.cert__descr { margin-top: 24px; font-size: 20px; line-height: 26px; font-weight: 600; color: #081d31; max-width: 467px; }
.cert__img { width: 500px; height: 593px; object-fit: cover; border-radius: 40px; }

/* ---------- Rules cards ---------- */
.rules-title { padding: 50px 20px 58px; }
.rules-title .section-title { max-width: 775px; margin: 0 auto; line-height: 1.2; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px 40px; padding-bottom: 30px; }
.cards--mobile { display: none; }
.card {
  background: #fff; border-radius: 40px; box-shadow: 0 0 20px rgba(0,0,0,.08);
  padding: 18px 20px 24px; min-height: 208px; font-size: 18px; line-height: 1.2; font-weight: 600; color: #000;
}
.card--16 { font-size: 16px; }
.card--14 { font-size: 14px; }
.card u { color: var(--pink); }

.notice { margin-top: 0; background: #ffecfa; border-radius: 30px; min-height: 144px; display: flex; align-items: center; justify-content: center; padding: 26px 20px; }
.notice p { max-width: 874px; text-align: center; font-size: 20px; line-height: 23px; font-weight: 600; }

.dates { padding: 22px 20px 23px; text-align: center; color: var(--gray); font-size: 16px; line-height: 21px; font-weight: 600; }
.dates--mobile { display: none; }

/* ---------- Steps ---------- */
.steps { padding-top: 100px; }
.steps__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { background: #fff; border-radius: 40px; box-shadow: var(--shadow); min-height: 256px; padding: 24px 24px 24px; }
.step img { width: 56px; height: 56px; }
.step p { margin-top: 48px; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--dark); max-width: 316px; }
.cta { display: flex; justify-content: center; padding: 40px 20px 113px; }
.cta__btn { width: 440px; max-width: 100%; height: 62px; background: var(--pink); color: #fff; font-size: 20px; }
.cta__btn:hover { background: #d10f99; }

/* ---------- Legal ---------- */
.legal { padding-bottom: 40px; }
.legal__box { position: relative; background: #f6f8fa; border-radius: 40px; padding: 33px 60px 54px; }
.legal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.legal__title { font-size: 20px; line-height: 26px; font-weight: 700; max-width: 864px; }
.legal__logo { width: 137px; height: 27px; flex: none; }
.legal__list { margin-top: 22px; font-size: 16px; line-height: 22px; font-weight: 500; }
.legal__list a { color: var(--pink); text-decoration: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .hero__top { grid-template-columns: 1fr 490px; }
  .hero__title { font-size: 52px; width: 467px; }
  .hero__sub { font-size: 24px; }
  .hero__note { font-size: 16px; }
  .hero__img { width: 490px; height: 490px; margin-top: 72px; }
  .hero__panel { margin: 0; }
  .hero__panel p { font-size: 20px; line-height: 1.2; }
  .slider__track { padding: 0 20px; }
  .slider__slide { flex-basis: calc(100vw - 40px); }
  .slider__slide img { width: 100%; height: auto; aspect-ratio: 1160 / 660; }
  .cert__grid { grid-template-columns: minmax(0, 1fr) 420px; }
  .cert__img { width: 420px; height: auto; aspect-ratio: 500 / 593; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .forest__box { grid-template-columns: minmax(0, 1fr) 380px; }
  .forest__title { font-size: 36px; }
  .forest__descr { font-size: 20px; }
}
@media (max-width: 979px) {
  .cards--desktop { display: none; }
  .cards--mobile { display: grid; }
}

/* ---------- Mobile ---------- */
@media (max-width: 959px) {
  .wrap { padding: 0 12px; }
  .hero { background-image: radial-gradient(circle farthest-side at 50% 60%, rgba(235,170,228,1) 8%, rgba(225,97,204,1) 39%, rgba(24,29,49,1) 100%); }
  .hero__inner { padding: 0 18px; max-width: 600px; }
  .hero__top { display: flex; flex-direction: column; align-items: center; }
  .hero__text { padding-top: 47px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__title { font-size: 35px; line-height: 1; width: auto; max-width: 300px; }
  .hero__sub { margin-top: 19px; font-size: 18.7px; line-height: 22px; max-width: 328px; }
  .hero__note { margin-top: 19px; font-size: 14px; line-height: 18.7px; opacity: .75; max-width: 327px; }
  .hero__btn { margin-top: 28px; width: 100%; height: 56px; font-size: 18.7px; }
  .hero__img { margin: 19px 0 0; width: 340px; height: 340px; max-width: 100%; }
  .hero__panel { margin: -6px 0 0; min-height: 152px; border-radius: 20px; padding: 20px 17px; background: rgba(255,255,255,.24); }
  .hero__panel p { font-size: 16.4px; line-height: 21px; max-width: 306px; }
  .hero__caption { margin-top: 14px; font-size: 14px; line-height: 18.7px; opacity: 1; max-width: 314px; padding-bottom: 66px; }

  .gifts { padding: 53px 0 50px; }
  .section-title { font-size: 28px; line-height: 1.2; }
  .gifts__grid { margin-top: 37px; grid-template-columns: 1fr; gap: 12px; }
  .gift-card { min-height: 0; padding: 38px 20px 42px; }
  .gift-card--year { background: rgba(255,255,255,.6); }
  .gift-card__title { font-size: 18.7px; line-height: 24.6px; max-width: 300px; }
  .gift-card ul { margin-top: 14px; font-size: 16.4px; line-height: 21px; }

  .forest { padding-bottom: 14px; }
  .forest__box { display: flex; flex-direction: column-reverse; min-height: 437px; }
  .forest__shape { width: 100%; }
  .forest__badges { height: 150px; width: 100%; }
  .forest__logo { top: 37px; left: 36px; width: 192px; height: 61px; transform: rotate(-8deg); }
  .forest__logo img { width: 160px; }
  .forest__tag { top: 84px; left: 146px; width: 171px; height: 55px; font-size: 21px; line-height: 26px; transform: rotate(10deg); }
  .forest__text { padding: 16px 10px 37px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .forest__title { font-size: 28px; line-height: 30.4px; max-width: 225px; }
  .forest__descr { margin-top: 19px; font-size: 18.7px; line-height: 22px; max-width: 332px; }
  .forest__btn { margin-top: 28px; width: 270px; height: 59px; font-size: 16.4px; }

  .slider--desktop { display: none; }
  .slider--mobile { display: block; }
  .slider--mobile .slider__track { padding: 0 12px; gap: 12px; }
  .slider--mobile .slider__slide { flex-basis: calc(100vw - 24px); max-width: 576px; }
  .slider--mobile .slider__slide img { width: 100%; height: 281px; aspect-ratio: auto; object-fit: cover; border-radius: 20px; }
  .slider--mobile .slider__dots { padding: 20px 0 0; }

  .spacer { height: 75px; }

  .cert__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 70px; }
  .cert__media { order: -1; }
  .cert__img { width: 100%; height: 400px; aspect-ratio: auto; }
  .cert__text { padding-top: 25px; }
  .cert__title { font-size: 18.7px; line-height: 22.2px; }
  .cert__descr { margin-top: 29px; font-size: 16.4px; line-height: 21px; }

  .rules-title { padding: 0 11px 46px; }
  .cards { grid-template-columns: 1fr; gap: 18px; padding: 0 8px 15px; }
  .card { border-radius: 20px; padding: 18px 20px 22px; min-height: 0; font-size: 14px; }

  .notice { border-radius: 20px; min-height: 227px; padding: 19px 17px; margin: 0 6px; }
  .notice p { font-size: 16.4px; line-height: 21px; }
  .dates--desktop { display: none; }
  .dates--mobile { display: block; text-align: left; font-size: 16.4px; line-height: 21px; padding: 19px 6px 23px 18px; }

  .steps { padding-top: 75px; }
  .steps .section-title { max-width: 260px; margin: 0 auto; }
  .steps__grid { margin-top: 28px; grid-template-columns: 1fr; gap: 19px; }
  .step { border-radius: 20px; min-height: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 33px 30px 30px; }
  .step img { width: 47px; height: 47px; }
  .step p { margin-top: 14px; font-size: 16.4px; line-height: 21px; max-width: 300px; }
  .cta { padding: 28px 12px 74px; }
  .cta__btn { width: 100%; height: 59px; font-size: 16.4px; }

  .legal__box { border-radius: 30px; padding: 38px 16px 37px 20px; }
  .legal__head { flex-direction: column-reverse; align-items: center; gap: 28px; }
  .legal__logo { width: 163px; height: 32px; }
  .legal__title { font-size: 18.7px; line-height: 22.2px; text-align: center; }
  .legal__list { margin-top: 29px; font-size: 16.4px; line-height: 23.4px; }
}

/* Ширина текстов шагов — как в оригинале, чтобы переносы совпадали */
.step:nth-child(1) p { max-width: 316px; }
.step:nth-child(2) p { max-width: 296px; }
.step:nth-child(3) p { max-width: 303px; }
@media (max-width: 959px) {
  .step:nth-child(1) p { max-width: 299px; }
  .step:nth-child(2) p { max-width: 236px; }
  .step:nth-child(3) p { max-width: 251px; }
}
