
@font-face {
  font-family: 'Bups';
  src: url(https://sz.kz/picture?file=923) format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dela Gothic One';
  src: url(https://sz.kz/picture?file=924) format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@property --stage-bg {
  syntax: '<color>';
  inherits: true;
  initial-value: #369066;
}

:root {
  --stage-bg: #369066;
  --hero-bg: #349EDF;
  --orange: #ff6a00;
  --orange-shadow: #c24a00;
  --cream: #fff4d6;
  --ink: #1d2b4f;
  --gold: #ffc531;
  --card: rgb(255 255 255 / .14);
  --card-border: rgb(255 255 255 / .75);
  --font-title: 'Bups', 'Dela Gothic One', sans-serif;
  --w: 586px;
  --gutter: 16px;
  --logo-h: clamp(110px, 30vw, 170px);
  --logo-w: calc(var(--logo-h) * 1.55);
  --road-h: clamp(180px, 48vw, 340px);

  --fs-body: clamp(14px, 3.7vw, 20px);
  --fs-title: clamp(20px, 5.5vw, 34px);
  --font-display: 'Dela Gothic One', sans-serif;
  --font-body: 'Nunito', sans-serif;
    --decor-top: none;
  --decor-bottom: none;
  --decor-check: none;
  --decor-card: none;
  --decor-note: none;

  transition: --stage-bg 0ms ease;
  scroll-behavior: smooth;

    --icon-space: 16px; 
}

footer.footer {
  display: none;
}

@media (max-width: 1024px) {
  header.header {
    background: #fff !important;
  }
}

body {
  margin: 0;
  background-color: var(--stage-bg);
  font: 400 var(--fs-body)/1.45 var(--font-body);
  overflow-x: hidden;
}
main{
  
  color: #fff;
}
.relay {
  overflow: hidden;
}

.relay *,
.relay *::before,
.relay *::after {
  box-sizing: border-box;
}

.relay img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.btn {
  display: block;
  width: 280px;
  margin-inline: auto;
  padding: 16px 38px;
  border-radius: 53px;
  border: 2px solid #FFF1CC;
  background: #FE6600;
  color: #FFF1CC;
  font: 400 16px var(--font-display);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, filter .2s;
}

.btn:hover {
    color: rgb(255, 241, 204);      
    text-decoration: none;
    filter: brightness(1.08);
}

.link:active,
.link:hover {
    color: #fff;
    transform: translateY(2px);
  box-shadow: 0 2px 0 var(--orange-shadow), 0 4px 10px rgb(0 0 0 / .25);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--orange-shadow), 0 4px 10px rgb(0 0 0 / .25);
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn.is-disabled,
.btn:disabled {
  border: 2px solid #FFF1CC;
  background: linear-gradient(0deg, rgba(72, 10, 0, .22) 0%, rgba(72, 10, 0, .22) 100%), #FE6600;
  color: #E6AF94;
  pointer-events: none;
  cursor: default;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: auto;
}

.link:hover {
  text-decoration-thickness: 2px;
}

.link--caps {
  text-transform: uppercase;
}

.link::before {
  content: '';
  flex: none;
  width: 1.3em;
  height: 1.3em;
  background: url("https://static.sz.kz/landings/novogodnyaya-estafeta/raceicons.png") center / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}

.link--doc {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E");
}

.pill {
  display: flex;
  align-items: stretch;
  width: min(100%, var(--w));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  box-shadow: 0 4px 0 rgb(0 0 0 / .15);
}

.pill--stage {
  min-height: clamp(46px, 11vw, 72px);
}

.pill--stage>span:first-child {
  flex: 1;
  color: #515151;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  font-size: 32px;
  white-space: nowrap;
}

.pill__badge {
  display: flex;
  align-items: center;
  padding: 0 clamp(12px, 3vw, 24px);
  font: 800 10px var(--font-body);
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s, color .3s;
  color: #FDFAE4;
}

.pill--stage.is-swap {
  animation: pop .35s ease;
}

.pill__badge {
  background: #FE6600;
}

.pill__badge[data-state="soon"] {
  background: #D92A13;
}

.pill__badge[data-state="finished"] {
  background: #6EAC14;
}

.stage__decor {
  aspect-ratio: 1;
  background: center / contain no-repeat;
}

.stage__decor--top {
  background-image: var(--decor-top);
}

@keyframes pop {
  40% {
    transform: scale(1.04);
  }
}

.section-title {
  display: grid;
  place-items: center;
  width: min(100%, 330px);
  height: 64px;
  margin: 0 auto 24px;
  padding-bottom: 14px;
  background: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/title-bg.png") center / contain no-repeat;
  color: #30291D;
  font: 400 24px var(--font-display);
  text-transform: uppercase;
}

.hero {
  padding: clamp(28px, 8vw, 72px) var(--gutter) 0;
  text-align: center;
  background:
    linear-gradient(to bottom, transparent 60%, var(--stage-bg)),
    url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/hero-bg.png") center top / cover no-repeat,
    var(--hero-bg);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero > :not(.hero__snow) {
  position: relative;
  z-index: 1;
}

.hero__snow {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%; 
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}

.hero__title {
  margin: 0 auto;
  color: #fff;
  font: 400 51px var(--font-title);
  line-height: 0.9;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

/* заголовок картинкой (казахская версия) */
.hero__title--img {
  line-height: 0;
  text-shadow: none;
}

.hero__title--img img {
  width: 345px;      /* ширина заголовка на мобилке */
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero__title span {
  display: block;
}

.hero__title span:first-child {
  rotate: 4deg;
}

.hero__title span:last-child {
  rotate: 4deg;
  margin-top: .05em;
}

.hero__actions {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-top: clamp(16px, 4vw, 28px);
}

.hero__art-wrap {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
}

.hero__art {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
}

.hero__fund {
  position: absolute;
  z-index: 3;
 top: 3%;
    left: 55%;
    translate: -50% 0;
    width: 61%;          
  aspect-ratio: 330 / 150; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 7%;
  background: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/fund-bubble.png") center / contain no-repeat;
  text-align: center;
  pointer-events: none;
    rotate: 2deg; 
    gap: 5px;
}

.hero__fund-label {
  color: #515151;
  font: 400 clamp(11px, 3.056vw, 22px) var(--font-body);
  line-height: 80%;
}

.hero__fund-sum {
  color: #FE6600;
  font: 400 clamp(16px, calc(7.778vw - 12px), 32px) var(--font-display);
  white-space: nowrap;
  line-height: 80%;
}

.hero__fund-label,
.hero__fund-sum {
  rotate: 3deg;
}

.hero__ribbon {
  position: absolute;
  z-index: 2;
  top: 38%;
  left: 50%;
  width: 100vw;
  height: auto;
  aspect-ratio: 360 / 118;
  translate: -50% 0;
  overflow: visible;
  pointer-events: none;
  animation: ribbon-in 1.2s cubic-bezier(.22, 1, .36, 1) .3s both;
}

@keyframes ribbon-in {
  from { clip-path: inset(-50% 100% -50% -20%); }
  to   { clip-path: inset(-50% -20% -50% -20%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__ribbon { animation: none; }
}

.road {
  position: relative;
  height: var(--road-h);
  margin-top: clamp(12px, 4vw, 32px);
  overflow: hidden;
}

.road__track {
  position: absolute;
  top: 50%;
  left: 0;
  height: 100%;
  transform: translate(0, -50%);
  transition: transform 0ms ease;
  pointer-events: none;
  user-select: none;
}

.road .road__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  -webkit-user-drag: none;
}

.road-date {
  position: absolute;
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  color: #FFF;
  font-family: var(--font-display);
  white-space: nowrap;
}

.road-date b {
  font-size: 22px;
  font-weight: 400;
  line-height: 22px;
}

.road-date span {
  font-size: 10px;
  line-height: 12px;
}

@media (min-width: 720px) {
  .road-date b {
    font-size: 44px;
    line-height: 44px;
  }

  .road-date span {
    font-size: 20px;
    line-height: 24px;
  }
}

.road__swiper {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.road__swiper .swiper-slide {
  height: 100%;
}

.stages-section {
  scroll-margin-top: 72px;
}

.stage-head {
  padding: 51px 16px 30px;
}

.stages {
  position: relative;
  max-width: calc(var(--w) + 2 * var(--gutter));
  margin: 0 auto;
}

.stages__nav {
  position: absolute;
  z-index: 3;
  top: calc(var(--icon-space) + var(--logo-h) / 2);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s;
}

.stages__nav svg {
  width: 26px;
  height: 26px;
}

.stages__nav--prev {
  left: max(4px, calc(50% - var(--logo-w) / 2 - 60px));
}

.stages__nav--next {
  right: max(4px, calc(50% - var(--logo-w) / 2 - 60px));
}

.stages__nav.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.stages .stages__dots {
  position: absolute;
  z-index: 3;
  top: calc(var(--icon-space) + var(--logo-h) + 13px);
  bottom: auto;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  --swiper-pagination-bullet-horizontal-gap: 3px;
}

.stages__dots .swiper-pagination-bullet {
  width: 8px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  opacity: .45;
  transition: width .3s, opacity .3s;
}

.stages__dots .swiper-pagination-bullet-active {
  width: 15px;
  opacity: 1;
}

.stage {
  position: relative;
  padding: var(--icon-space) var(--gutter) 24px;
}

.stage__logo {
  height: var(--logo-h);
  display: grid;
  place-items: center;
}

.stage__logo img {
  height: 100%;
  width: auto;
  max-width: var(--logo-w);
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / .25));
}

.stage__logo {
  position: relative;
}

.stage__logo--soon img {
  opacity: .55;
}

.stage__logo--soon::before,
.stage__logo--finished::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  translate: -50% -35%;
    width: 44px;
    height: 44px;
  background: center / contain no-repeat;
}

.stage__logo--finished::before {
  background-image: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/icon-check.png");
}

.stage__logo--soon::before {
  background-image: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/icon-lock.png");
}

.stage__decor {
  position: absolute;
  z-index: 1;
  width: 80px;
  pointer-events: none;
}

.stage__decor--top {
  right: -17px;
  top: calc(var(--logo-h) * 0.9);
}

.stages-section {
  position: relative;
}

.stages__decor {
  position: absolute;
  z-index: 3;
  left: -28px;    
  bottom: -63px;  
  width: 81px;
  aspect-ratio: 1;
  background: var(--decor-bottom) center / contain no-repeat;
  rotate: 0;
  pointer-events: none;
}

.stage__body {
  position: relative;
  z-index: 2;
  max-width: var(--w);
  margin: 0 auto;
  padding-top: 60px;
}

.stage__note {
  margin: 0 0 22px !important;
}

.stage__body p {
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 12px;
}

.stage__title {
  margin: 0 0 16px;
  font: 900 16px var(--font-body);
}

.stage__fund span {
  color: var(--gold);
  font-weight: 700;
}

.stage__links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage .btn {
  margin-top: clamp(20px, 5vw, 32px);
}

.block {
  max-width: calc(var(--w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 76px 16px 0;
}

.block[hidden] {
  display: none;
}

.block__footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 18px;
}

.block__footer .link[hidden] {
  display: none;
}

.card {
  border: 2px solid var(--card-border);
  border-radius: clamp(16px, 4vw, 24px);
  background: var(--card);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  opacity: .8;
}

.rating {
  display: grid;
  gap: 8px;
  transition: opacity .2s;
}

.rating[aria-busy="true"] {
  opacity: .5;
}

.rating:empty::before {
  content: '';
  height: 240px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--card), rgb(255 255 255 / .3), var(--card)) 0 0 / 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.rating-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #30291D;
  background: #FDFAE4;
  color: #30291D;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.rating-item__place {
  font: 400 30px var(--font-display);
  color: #30291D;
}

.rating-item__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  column-gap: 8px;
  row-gap: 2px;
  text-align: left;
}

.rating-item__label {
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
  color: #30291D;
  opacity: 0.5;
}

.rating-item__value {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.rating-msg {
  margin: 0;
  padding: 16px;
  text-align: center;
}

.check {
  position: relative;
  padding: 32px 16px;
 border-radius: 22px;
border: 2px solid #30291D;
background: #F5F4EF;
  color: #30291D;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.check h3 {
  margin: 0 0 8px;
  font: 700 22px var(--font-body);
}

.check p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.check__form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 16px;
}

.check__field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.check__prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  color: #2b2b2b;
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
}

.check__input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 42px;
  border: 1.5px solid #2b2b2b;
  border-radius: 999px;
  background: transparent;
  color: #2b2b2b;
  font: 500 16px var(--font-body);
}

.check__input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.check .btn {
  width: auto;
  flex: none;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
}

.check__result {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  list-style: disc;
}

.check__result[hidden] {
  display: none;
}

.check__result b {
  font-weight: 500;
  color: inherit;
}

.check__msg {
  min-height: 1.4em;
  margin-top: 8px !important;
  font-size: 12px;
  font-weight: 700;
}

.block {
  position: relative;
  display: block;
}

[data-check]::before,
.check::after {
  content: '';
  position: absolute;
  aspect-ratio: 1;
  pointer-events: none;
}

[data-check]::before {
  background: var(--decor-check) center / contain no-repeat;
  left: -16px;
    top: -5px;
    width: 83px;
}

.check::after {
  background: var(--decor-card) center / contain no-repeat;
  right: -29px;
    bottom: -39px;
    width: 85px;
}

.prizes[hidden] {
  display: none;
}

.prizes__lead {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  text-transform: uppercase;
}

.prizes__lead b {
  font-weight: 500;
  white-space: nowrap;
}

.prizes__list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 2px solid #30291D;
  border-radius: 20px;
  background: #FDFAE4;
  color: #30291D;
}

.prizes__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 12px;
}

.prizes__list li + li {
  border-top: 1px solid #30291D;
}

main .prizes__list > li:first-child {
    padding-top: 20px !important;
}

main ol > li::before {
    display: none;
}

.prizes__list span {
  font-size: 14px;
  font-weight: 400;
}

.prizes__list b {
  font: 400 24px/28px var(--font-display);
  white-space: nowrap;
}

.prizes .btn {
  margin-top: 24px;
}

.footnote {
  position: relative;
  max-width: var(--w);
  margin: 24px auto 0;
  padding: 0 48px;
  color: rgb(255 255 255 / .8);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  text-align: center;
}

.footnote::after {
  content: '';
  position: absolute;
 right: -17px;
    bottom: -74px;
    width: 83px;
    height: 83px;
    background: var(--decor-note) center / contain no-repeat;
    pointer-events: none;
}

.faq {
  padding-top: 72px;
}

.faq__list {
  display: grid;
  gap: 8px;
}

.faq__item {
  overflow: hidden;
  border: 2px solid #30291D;
  border-radius: 10px;
  background: #FDFAE4;
  color: #30291D;
}

.faq__q {
  margin: 0;
}

.faq__btn {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 0;
  background: none;
  color: inherit;
  font: 700 16px var(--font-body);
  text-align: left;
  cursor: pointer;
}

.faq__btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -4px;
}

.faq__icon {
  --mouth-y: 70%; 
  --mustache-x: 72%;
    --mustache-w: 58%;
    --mustache-y: 72%;
    --tongue-x: 61%;  
  --tongue-y: 76%; 
  --tongue-w: 30%;
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  background: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/santa-face.png") center / contain no-repeat;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: center / contain no-repeat;
  transform-origin: 50% var(--mouth-y);
}

.faq__icon::before {
  background-image: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/santa-tongue.png");
  background-size: var(--tongue-w) auto;
  background-position: var(--tongue-x) var(--tongue-y);
  transform-origin: var(--tongue-x) var(--mustache-y); 
  scale: 1 0;
  transition: scale .2s ease-in;
}

.faq__icon::after {
  background-image: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/img/santa-mustache.png");
  background-size: var(--mustache-w) auto;
  background-position: var(--mustache-x) var(--mustache-y);
  transform-origin: var(--mustache-x) var(--mustache-y);
}

.is-open .faq__icon {
  animation: santa-bob .5s ease-out;
}

.is-open .faq__icon::before {
  scale: 1 1;
  transition: scale .4s cubic-bezier(.34, 1.8, .64, 1) .1s;
  animation: santa-tongue 1.6s ease-in-out .5s infinite;
}

@media (hover: hover) {
  .faq__item:not(.is-open) .faq__btn:hover .faq__icon::after {
    animation: santa-mustache 1.4s ease-in-out;
  }
}

.is-open .faq__icon::after {
  animation: santa-mustache 1.4s ease-in-out .15s infinite;
}

@keyframes santa-bob {
  0%   { translate: 0 0;    rotate: 0deg; }
  30%  { translate: 0 -4px; rotate: -12deg; }
  60%  { translate: 0 0;    rotate: 8deg; }
  80%  { rotate: -3deg; }
  100% { translate: 0 0;    rotate: 0deg; }
}

@keyframes santa-tongue {
  0%, 100% { rotate: -6deg; }
  50%      { rotate: 6deg; }
}

@keyframes santa-mustache {
  0%, 85%, 100% { rotate: 0deg; }
  15%           { rotate: -7deg; }
  32%           { rotate: 6deg; }
  48%           { rotate: -4deg; }
  64%           { rotate: 2deg; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__icon,
  .faq__icon::before,
  .faq__icon::after {
    animation: none !important;
    transition: none !important;
  }
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  background: #FFD37A;
  transition: grid-template-rows .4s ease;
}

.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__inner {
  min-height: 0;
  overflow: hidden;
}

.faq__content {
  padding: 12px 16px 16px;
  font-size: 12px;
  line-height: 16px;
}

.faq__content h4 {
  margin: 16px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
}

.faq__content h4:first-child {
  margin-top: 0;
}

.faq__content p {
  margin: 0 0 8px;
}

.faq__content ul {
  margin: 0 0 8px;
  padding-left: 16px;
}

.faq__content li + li {
  margin-top: 4px;
}

.faq__content a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.signs {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / .55);
}

.signs__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.signs__item img {
  flex: none;
  width: 24px;
}

.signs__item b {
  display: block;
}

.signs__item small {
  font-size: 11px;
  line-height: 14px;
  opacity: .8;
}

.map {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border: 2px solid #30291D;
  border-radius: 10px;
  background: #e8eef7;
}

.finale {
  height: 100px;
  /* background: url("https://static.sz.kz/landings/novogodnyaya-estafeta-2026/finale.png") center bottom / contain no-repeat; */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .faq__panel,
  .faq__icon,
  .faq__icon::after,
  .btn {
    transition: none;
  }

  .pill--stage.is-swap,
  .rating:empty::before {
    animation: none;
  }
}

.stage__decor          { --d: 0s; }
.stages__decor         { --d: -2s; }
[data-check]::before   { --d: -3.5s; }
.check::after          { --d: -1.2s; }
.footnote::after       { --d: -5s; }

.swiper-slide[data-decor="leaves"] .stage__decor,
:root[data-decor="leaves"] .stages__decor,
:root[data-decor="leaves"] [data-check]::before,
:root[data-decor="leaves"] .check::after,
:root[data-decor="leaves"] .footnote::after {
  transform-origin: 20% 80%; 
  animation:
    decor-in  1.2s ease-out both,
        leaf-sway 5s ease-in-out var(--d) infinite,
    leaf-bob  6s ease-in-out var(--d) infinite;
}

@keyframes leaf-sway {
  0%, 100% { rotate: -7deg; }
  30%      { rotate: 6deg; }
  55%      { rotate: 10deg; }
  80%      { rotate: -2deg; }
}

@keyframes leaf-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

.swiper-slide[data-decor="snow"] .stage__decor,
:root[data-decor="snow"] .stages__decor,
:root[data-decor="snow"] [data-check]::before,
:root[data-decor="snow"] .check::after,
:root[data-decor="snow"] .footnote::after {
  transform-origin: 50% 50%;
  animation:
    decor-in   1.2s ease-out both,
    snow-spin  30s linear var(--d) infinite,
    snow-float 7s ease-in-out var(--d) infinite,
    snow-glow  6s ease-in-out var(--d) infinite;
}

@keyframes snow-spin {
  to { rotate: 360deg; }
}

@keyframes snow-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -5px; }
}

@keyframes snow-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgb(255 255 255 / 0)); }
  50%      { filter: drop-shadow(0 0 6px rgb(255 255 255 / .7)); }
}

@keyframes decor-in {
  from { opacity: 0; scale: .8; }
  to   { opacity: 1; scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  [data-decor] .stage__decor,
  [data-decor] .stages__decor,
  [data-decor] [data-check]::before,
  [data-decor] .check::after,
  [data-decor] .footnote::after {
    animation: none;
  }
}

@media (min-width: 720px) {

  :root {
    --logo-h: 170px;
    --icon-space: 24px;
  }

  body {
    font-size: 16px;
  }

    .stages__decor {
    width: 110px;
    bottom: -80px;
  }

  .btn {
    width: 560px;
        padding: 32px 76px;
        font-size: 32px;
        border-radius: 106px;
        border: 4px solid #FFF1CC;
  }

  .link {
    font-size: 24px;
        gap: 10px;
  }

  .section-title {
    width: min(100%, 568px);
    height: auto;
    aspect-ratio: 330 / 64; 
    margin-bottom: 44px;
    padding-bottom: 20px;
    font-size: 38px;
  }
  .stages {
    max-width: calc(var(--w) + 2 * 200px);
  }

  .stage__decor {
    width: 150px;
    right: max(0px, calc(50% - var(--w) / 2 - 170px));
    top: calc(var(--logo-h) * 0.8);
  }

  .stages__decor {
    width: 160px;
    left: max(-30px, calc(50% - var(--w) / 2 - 189px));
        bottom: -347px;
  }

  .footnote::after {
    width: 160px;
        height: 160px;
        right: -136px;
        bottom: -244px;
  }
  .hero {
    padding-top: 72px;
  }

  .hero__title {
    font-size: 103px;
  }

    .hero__title--img img {
    width: 660px;    
  }

  .hero__art-wrap {
    width: min(100%, 660px);
    margin-inline: auto;
  }

  .hero__art {
    width: 100%;
    margin-top: 20px;
  }

  .hero__fund {
    gap: 10px;
}

    .hero__fund-label {
    font-size: 22px;
    line-height: 17px;
  }

  .hero__fund-sum {
    font-size: 32px;
        line-height: 25px;
  }

  .hero__ribbon {
    width: 100%;     
    max-width: none;
    top: 40%;       
  }

  .hero__actions {
    gap: 44px;
    margin-top: 28px;
  }

  .road {
    margin-top: 120px;
  }

  .road-date b {
    font-size: 44px;
    line-height: 44px;
  }

  .road-date span {
    font-size: 20px;
    line-height: 24px;
  }

  .stage-head {
    padding-block: 72px 40px;
  }

  .pill {
    min-height: 80px;
    border-radius: 65px;
        border: 3px solid #FFF;
  }

  .pill--stage > span:first-child {
    color: #30291D;
        text-align: center;
        font-size: 58px;
        font-weight: 400;
        line-height: 80%;
  }

  .pill__badge {
    padding: 0 24px;
    font-size: 18px;
  }

  .stages__nav svg {
    width: 32px;
    height: 32px;
  }

  .stage__logo--soon::before,
  .stage__logo--finished::before {
    width: 56px;
    height: 56px;
  }

  .stage__decor {
    width: 160px;
  }

  .stage__body {
    padding-top: 72px;
  }

  .stage__title {
    font-size: 26px;
        margin: 0 0 32px;
  }

  .stage__body p {
    font-size: 26px;
        margin: 0 0 22px;
  }

  .stage__fund{
    margin-bottom: 32px !important;
  }

  .stage .btn {
    margin-top: 56px;
        width: 484px;
        padding: 26px 64px;
  }

  .block {
    padding-top: 156px;
  }

  .note {
    font-size: 18px;
    line-height: 20px;
  }

  .rating-item {
    grid-template-columns: 56px 1fr;
        gap: 45px;
        padding: 20px;
        border-radius: 14px;
        border: 3px solid #30291D;
  }

  .rating {
    gap: 14px;
}

  .rating-item__place {
    font-size: 56px;
        line-height: 0;
  }

  .rating-item__label {
    font-size: 12px;
  }

  .rating-item__value {
    font-size: 22px;
  }

  .rating-msg {
    font-size: 16px;
  }

  .block__footer {
    margin-top: 32px;
}

  .check {
    padding: 40px 32px;
  }

  .check h3 {
    font-size: 38px;
    margin: 0 0 16px;
  }

  .check p {
    font-size: 26px;
        margin: 0 0 40px;
    
  }

  .check__prefix {
    left: 15px;
        font-size: 26px;
        top: 51%;
  }

  .check__input {
            height: 79px;
        padding-left: 50px;
        font-size: 26px;
  }

  .check__form {
    gap: 26px;
}

  .check .btn {
    padding: 18px 48px;
        font-size: 26px;
        height: 74px;
  }

  .check__result {
    font-size: 26px;
  }

  .check .check__msg {
    font-size: 26px;
  }

  [data-check]::before {
    left: -140px;
        width: 160px;
        top: 138px;
  }

  .check::after {
   right: -75px;
        bottom: -68px;
    width: 160px;
  }

  .prizes__lead {
   margin-bottom: 44px;
        font-size: 26px;
        line-height: 31px;
  }

  .prizes__list li {
    padding: 20px 24px;
  }

  .prizes__list span {
   font-size: 28px;
        font-weight: 500;
  }

  .prizes__list b {
            font-size: 44px;
        line-height: 48px;
  }

  .prizes .btn {
    margin-top: 44px;
    width: 484px;
        padding: 26px 64px;
        font-size: 28px;
  }

  .prizes__list {
    border: 3px solid #30291D;
    border-radius: 22px;
}

  .footnote {
    margin-top: 32px;
        font-size: 22px;
        line-height: 24px;
        color: rgba(253, 250, 228, 0.77);
  }

  .faq {
    padding-top: 156px;
  }

  .faq__list {
    gap: 12px;
  }

  .faq__btn {
    min-height: 76px;
    padding: 26px;
    font-size: 28px;
    line-height: 26px;
  }

  .faq__content {
    padding: 22px 26px 26px;
    font-size: 18px;
    line-height: 22px;
  }

  .faq__item {
    border-radius: 14px;
}

  .faq__content h4 {
    font-size: 24px;
    line-height: 26px;
  }

  .signs__item b {
    font-size: 16px;
  }

  .signs__item small {
    font-size: 14px;
    line-height: 18px;
  }

  .map {
    height: 520px;
  }

  .faq__icon {
    width: 44px;
    height: 44px;
  }

  .finale {
    height: 100px;
  }
}

@media (min-width: 480px) and (max-width: 719.98px) {

  .stages {
    max-width: none;
  }

  .stage__decor {
    width: clamp(100px, 18vw, 125px);
    right: max(4px, calc(50% - var(--w) / 2 - 60px));
    top: calc(var(--logo-h) * 0.8);
  }

  .stages__decor {
    width: clamp(100px, 18vw, 125px);
    left: -24px;
    bottom: -80px;
  }

  [data-check]::before {
    width: clamp(90px, 16vw, 115px);
    left: -16px;
    top: 0;
  }

  .check::after {
    width: clamp(90px, 16vw, 115px);
    right: -24px;
    bottom: -50px;
  }

  .footnote::after {
    width: clamp(90px, 16vw, 115px);
    height: clamp(90px, 16vw, 115px);
    right: -10px;
    bottom: -85px;
  }
}