/* /assets/css/slet.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&display=swap');


@font-face {
  font-family: 'TT-Firs-Neue-Light';
  src: url('/assets/fonts/TTFirsNeue-Light.woff2') format('woff2'),
  url('/assets/fonts/TTFirsNeue-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'TT-Firs-Neue-Regular';

  src: url('/assets/fonts/TTFirsNeue-Regular.woff2') format('woff2'),
  url('/assets/fonts/TTFirsNeue-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}



@font-face {
  font-family: 'TT-Firs-Neue-DemiBold';
  src: url('/assets/fonts/TTFirsNeue-DemiBold.woff2') format('woff2'),
  url('/assets/fonts/TTFirsNeue-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}



:root{
  --container: 1200px;
  --pad: 20px;

  --bg: #000;
  --white: #fff;

  /* лаймовый акцент (примерно как в макете) */
  --lime: #B7F44A;

  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --r-xl: 28px;

  /* ВАЖНО: меню строго 86px */
  --topbar-h: 86px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "TT-Firs-Neue-DemiBold", sans-serif;
  /*font-family: "TT-Firs-Neue-Regular", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;*/
  background: var(--bg);
  color: var(--white);
}

.container{
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

/* TOPBAR: черный фон, 86px, поверх hero */
.topbar{
  position: relative;   /* было fixed */
  width: 100%;
  height: var(--topbar-h);
  background: #000;
  z-index: 10;
}

.topbar__inner{
  height: var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.topbar__logo{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  text-decoration:none;
}

.topbar__logo img{
  width: 46px;
  height: 46px;
  object-fit: contain;
}

/* HERO (общие) */
.hero{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.hero__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.hero--top .hero__inner{
  min-height: calc(100svh - var(--topbar-h) - 28px - 24px);
  display: flex;
  flex-direction: column;

  /* горизонтальный центр как было */
  align-items: center;
  text-align: center;
}
/* 1 экран: фон bg-desktop-1, с отступом под фикс-меню */
/*.hero--top{
  padding: calc(var(--topbar-h) + 40px) 0 36px;
  min-height: 720px;
  background-image: url("/assets/img/bg-desktop-1.jpg");
}*/
.hero--top{
  /* высота экрана = видимая высота - меню */
  min-height: calc(100svh - var(--topbar-h));
  background-image: url("/assets/img/bg-desktop-1.webp");

  /* вертикальные отступы внутри экрана */
  padding: 28px 0 24px;
}


/* 2 экран: фон bg-desktop-2 */
.hero--video{
  /*padding: 0 0 70px;*/
  background-image: url("/assets/img/bg-desktop-2.webp2");
    min-height: calc(100svh - var(--topbar-h));

  display: flex;
  align-items: center;   /* вертикальный центр */
}

/* чтобы контейнер занимал всю ширину внутри flex */
.hero--video .container{
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
}

/* внутренний блок выравниваем по центру */
.hero--video .hero__inner{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* горизонтальный центр */
  text-align: center;
  padding: 24px 0;         /* безопасные отступы сверху/снизу */
}

.hero__inner--video{
  display:flex;
  justify-content:center;
}

/* Заголовок */
.hero__title{
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.06;
  font-size: 92px;
}
.hero--top .hero__title{
  /* центр по высоте */
  margin: auto 0 0;   /* верх авто -> заголовок уедет в центр */
}

.hero--top .countdown{
  margin-top: auto;   /* прижать вниз */
  margin-bottom: 50px;
}
.hero__line{ display:block; }
.line-2 {   font-size: 48px; }

/* Лайм-плашка */
.pill{
    display: inline-block;
    margin: 50px 0 50px;
    padding: 30px 80px;
    background: var(--lime);
    color: #000;
    border-radius: 999px;
    font-weight: 800;
    font-size: 60px;
    letter-spacing: .03em;
}

/* COUNTDOWN */
.countdown{
  margin: 6px 0 0;
  font-weight: 300;
}
.countdown__label{
  font-size: 28px;
  opacity: .95;
}
.countdown__label b{ font-weight: 800; }

/* VIDEO CARD */
.video-card{
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  width: min(980px, 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.video-card__img{
  display:block;
  width:100%;
  height:auto;
}

.play{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.play::before{
  content:"";
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display:block;
}
.play__tri{
  position:absolute;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #111;
  transform: translateX(4px);
}

.video-stage{
  width: min(980px, 100%);
}

.video-stage__player{
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-stage__video{
  display:block;
  width:100%;
  height:auto;
  background:#000;
}

/* Белый блок */
.soon{
  background: #fff;
  color: #000;
  padding: 150px 0;
  background-image: url("/assets/img/arrow-up-right.webp");
  background-repeat: no-repeat;
  background-position: 73% 32%;
  background-size: 40% ;
}

.soon__inner{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 260px;
}

.soon__arrow{
  position:absolute;
  inset: 0;
  /*background-image: url("/assets/img/arrow-up-right.webp");*/
  background-repeat: no-repeat;
  background-position: right;
  background-size: 339px, 352px ;
  pointer-events:none;
}

.soon__text{
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;     /* 2 строки */
  align-items: center;    /* первая строка слева */

  /*text-transform: uppercase;*/
  font-weight: 800;
  letter-spacing: .02em;
  gap: 12px;
}

.soon__title{
  font-size: 66px;
  line-height: 1;
}
.soon__title--accent{
  /*color: var(--lime);*/
  align-self: center;
  /*margin-right: -10%;*/
}
.soon__title--accent a {
  text-decoration: none;
  color: black;
  background: var(--lime);
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* FOOTER */
.footer{
  background:#000;
  padding: 30px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 100px;
  flex-wrap:wrap;
  text-align:center;
}
.footer__link{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13px;
}
.footer__link:hover{ color:#fff; }

/* MODAL */
/*.modal{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 200;
}
.modal.is-open{ display:flex; }

.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
}

.modal__box{
  position: relative;
  width: min(980px, 100%);
  border-radius: 18px;
  overflow:hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor:pointer;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}

.modal__frame{
  position: relative;
  padding-top: 56.25%;
}
.modal__frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}*/

/* RESPONSIVE */
@media (max-width: 980px){
  .hero--top{
    min-height: auto;
    padding: calc(var(--topbar-h) + 26px) 0 28px;
  }

  .topbar__logo img{ width: 48px; height: 48px; }

  .hero__title{ font-size: 38px; }
  .pill{ font-size: 16px; padding: 9px 14px; }
  .countdown__label{ font-size: 16px; }

  .soon__text{ flex-direction:column; align-items:center; gap: 10px; }
  .soon__title{ font-size: 40px; text-align:center; }
}

@media (max-width: 520px){
  :root{ --pad: 16px; }
  .pill {
    margin: 20px 0;
  }
  .hero--top{
    background-image: url("/assets/img/bg-mobile-1.webp");
    min-height: 440px;
    padding: 18px 0 24px;
  }
  .line-2 {
    font-size: 14px;
  }
  .hero--video{
    background-image: url("/assets/img/bg-mobile-2.webp2");
    padding: 5px 30px;
  }
  .countdown__label b {
    display: block;
  }
  .hero--video {
    min-height: 250px;
  }

  .topbar__logo img{ width: 42px; height: 42px; }

  .hero__title{ font-size: 30px; }

  .play::before{ width: 88px; height: 88px; }
  .play__tri{
    border-top-width: 15px;
    border-bottom-width: 15px;
    border-left-width: 24px;
  }

  .soon{ 
    padding: 40px 0;
    background-position: 135% 35%;
    background-size: 70%;
  }
  .soon__arrow{ background-size: min(420px, 95%); }
  .soon__title{ font-size: 34px; }

  .footer__inner{ flex-direction:column; gap: 10px; }
}


/* общий базовый класс для обеих секций */
/*.hero{
  background-repeat: no-repeat;
  background-position-y: top;     
  background-size: 100% auto;     
}

.hero--top{
  background-image: url("/assets/img/bg-desktop-1.webp");
  background-position-x: 50%;
}

.hero--video{
  background-image: url("/assets/img/bg-desktop-2.webp");
  background-position-x: 50%;
}*/

/* Privacy / Legal page */
.legal-page{
  background:#fff;
  color:#111;
  padding: 40px 0;
}
.legal-page *{
  color: inherit;
}


.legal__container{
  max-width: 900px;
}

.legal__h1{
  margin: 0 0 18px;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: .01em;
}

.legal__h2{
  margin: 26px 0 10px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
}

.legal__h3{
  margin: 18px 0 8px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}

.legal p{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
}

.legal-page a{
  color:#111;
  text-decoration: underline;
}

.legal__list{
  margin: 0 0 14px 18px;
  padding: 0;
}

.legal__list li{
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.6;
}

.legal__card{
  margin: 18px 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: rgba(0,0,0,.02);
}

.legal__card-title{
  font-weight: 800;
  margin-bottom: 10px;
}

@media (max-width: 520px){
  .legal__h1{ font-size: 30px; }
  .legal-page{ padding: 28px 0 44px; }
}


.sx-legal-cookie{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #666;
  font-size: 14px;
  line-height: 1.35;

  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.sx-legal-cookie a{ color:#583577; text-decoration: underline; }
.sx-legal-cookie .sx-trigger-allow-cookie{
  display:inline-block;
  margin-top: 8px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
}
.sx-legal-cookie .sx-trigger-allow-cookie:hover{
  background: rgba(255,255,255,.22);
}


.sp-timepad-reg {
  padding: 70px 0;
  background: #f7f4ef;
}

.sp-timepad-reg__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.sp-timepad-reg__label {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b6f47;
}

.sp-timepad-reg__title {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.15;
  color: #171717;
}

.sp-timepad-reg__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #555;
}

.sp-timepad-reg__widget {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

@media (max-width: 900px) {
  .sp-timepad-reg__container {
    grid-template-columns: 1fr;
  }

  .sp-timepad-reg__title {
    font-size: 30px;
  }

  .sp-timepad-reg__widget {
    padding: 16px;
    border-radius: 18px;
  }
}


/* Блок регистрации по макету */
.sp-timepad-test {
  background: #000000;
  padding: 183px 20px 90px;
}

.sp-timepad-test__wrap {
  max-width: 760px;
  margin: 0 auto;
  display: block;
}

.sp-timepad-test__head {
  max-width: 990px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  margin-bottom: 180px;
}

.sp-timepad-test__title {
  margin: 0 0 22px;
  color: #ffffff;
  letter-spacing: 0.01em;
  font-family: "TT-Firs-Neue-DemiBold", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 48px;
}

.sp-timepad-test__text {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.sp-timepad-test__widget {
  position: relative;
  width: 100%;
  max-width: 374px;
  margin: 0 auto;
  padding: 34px 34px 34px;
  background: #ffffff;
  border-radius: 0 0 9px 9px;
  box-sizing: border-box;
  overflow: visible;
}

/* Зеленая плашка "Заявка на участие" */
.sp-timepad-test__widget::before {
  content: "Заявка на участие";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b7f23b;
  color: #000000;
  border-radius: 10px 10px 0 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

/* Прячем текст загрузки, когда iframe уже подставлен */
.sp-timepad-test__widget > a[data-twf-placeholder] {
  display: none;
}

@media (max-width: 640px) {
  .sp-timepad-test {
    padding: 60px 16px 76px;
  }

  .sp-timepad-test__head {
    margin-bottom: 82px;
  }

  .sp-timepad-test__title {
    font-size: 17px;
  }

  .sp-timepad-test__text {
    font-size: 11px;
  }

  .sp-timepad-test__widget {
    max-width: 360px;
    padding: 30px 24px 30px;
  }
}
/* Ширина блока регистрации как у видео */
.sp-timepad-test__wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}

/* Заголовок оставляем компактным по центру */
.sp-timepad-test__head {
  text-align: center;
  color: #ffffff;
}

/* Сама белая карточка формы теперь широкая */
.sp-timepad-test__widget {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 42px 56px 46px;
  background: #ffffff;
  border-radius: 0 0 14px 14px;
  box-sizing: border-box;
  overflow: visible;
  border-radius: 15px;
}

/* Зеленая плашка тоже растягивается на ширину формы */
.sp-timepad-test__widget::before {
  content: "Заявка на участие";
  position: absolute;
  left: 3%;
  right: 0;
  top: -70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b7f23b;
  color: #000000;
  border-radius: 15px 15px 0 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  width: 94%;
}

/* iframe Timepad на всю ширину карточки */
.sp-timepad-test__widget iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

/* Адаптив */
@media (max-width: 900px) {
  .sp-timepad-test__wrap,
  .sp-timepad-test__widget {
    max-width: 100%;
  }

  .sp-timepad-test__widget {
    padding: 34px 28px 38px;
  }
}

@media (max-width: 640px) {
  .sp-timepad-test__widget {
    padding: 30px 18px 32px;
    border-radius: 0 0 10px 10px;
  }

  .sp-timepad-test__widget::before {
    top: -48px;
    height: 48px;
    border-radius: 10px 10px 0 0;
    font-size: 15px;
  }
}