/* =========================================================
   XFIT Pointz — ЖК Левел Лесной
   ========================================================= */

:root{
  --green:#2fb44a;
  --green-dark:#279a3e;
  --ink:#111315;
  --gray:#6b7280;
  --gray-2:#9aa1a9;
  --line:#e6e8ea;
  --bg:#ffffff;
  --bg-soft:#f6f7f8;
  --radius:10px;
  --container:1440px;
  --pad:56px;
  --header-h:100px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Manrope','Segoe UI',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,ul{margin:0}
ul{padding:0;list-style:none}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--pad);
}
.accent{color:var(--green)}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  height:53px;
  padding:0 26px;
  border:0;
  border-radius:8px;
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
  white-space:nowrap;
}
.btn--green{background:var(--green);color:#fff;position:relative;overflow:hidden}
.btn--green:hover{background:var(--green-dark)}
.btn--green::before{
  content:'';
  position:absolute;
  top:0;left:-60%;
  width:45%;height:100%;
  background:linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.65) 50%, rgba(255,255,255,0) 100%);
  transform:skewX(-20deg);
  animation:btn-shine 3.4s ease-in-out infinite;
  pointer-events:none;
}
@keyframes btn-shine{
  0%{left:-60%}
  38%{left:130%}
  100%{left:130%}
}
.btn--ghost{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 1px 2px rgba(16,24,40,.04)}
.btn--ghost:hover{border-color:#c9cdd2}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#2a2e33}
.btn--lg{height:clamp(52px,6.6vh,66px);padding:0 34px;font-size:17px;border-radius:9px}
.btn svg{flex:none}

/* ---------- Хедер ---------- */
.header{
  position:absolute;
  inset:0 0 auto 0;
  z-index:20;
  height:var(--header-h);
}
.header__inner{
  height:100%;
  padding:0 var(--pad);
  display:flex;
  align-items:center;
  gap:40px;
}
.logo{display:flex;align-items:center}
.logo svg{display:block;height:32px;width:auto}

.nav{
  display:flex;
  align-items:center;
  gap:38px;
  margin-left:44px;
  font-size:16px;
  font-weight:600;
  color:#2b2f33;
}
.nav a{transition:color .18s ease}
.nav a:hover{color:var(--green)}
.header__cta{margin-left:auto}

.burger{display:none;margin-left:auto;width:44px;height:44px;background:none;border:0;padding:10px;cursor:pointer}
.burger span{display:block;height:2px;background:var(--ink);border-radius:2px;margin:5px 0}

/* ---------- БЛОК 1 · Первый экран ---------- */
.hero{
  position:relative;
  min-height:100vh;
  padding-top:var(--header-h);
  overflow:hidden;
  background:#fff;
}
.hero__media{
  position:absolute;
  top:var(--header-h);
  right:0;
  bottom:0;
  left:50%;
}
.hero__media::before{
  content:'';
  position:absolute;
  inset:0;
  background:#f2f3f4 url('images/hero.jpg') center right/cover no-repeat;
}
/* растворение фото в белый фон слева */
.hero__media::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,
    #fff 0%,
    rgba(255,255,255,.92) 14%,
    rgba(255,255,255,.55) 30%,
    rgba(255,255,255,0) 52%);
}

/* Плашка с акцией и таймером поверх фото */
.promo{
  position:absolute;
  z-index:2;
  top:auto;
  bottom:9%;
  left:7%;
  transform:rotate(-2.5deg);
  min-width:290px;
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  color:var(--ink);
  border-radius:20px;
  padding:22px 28px;
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 24px 48px rgba(17,19,21,.18),0 2px 8px rgba(17,19,21,.06);
}
.promo__label{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13px;
  font-weight:800;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--green-dark);
  margin-bottom:13px;
}
.promo__label i{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none;animation:promo-pulse 1.6s ease-in-out infinite}
.promo__price{font-size:20px;font-weight:700;line-height:1.35;margin-bottom:16px;color:var(--ink)}
.promo__price b{color:var(--green-dark);font-size:25px;font-weight:800}
.promo__timer{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:16px;
  color:var(--gray);
  padding-top:15px;
  border-top:1px solid rgba(17,19,21,.1);
}
.promo__timer svg{width:19px;height:19px;color:var(--green-dark);flex:none}
.promo__timer b{color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:.4px;font-size:17px}
@keyframes promo-pulse{0%,100%{opacity:1}50%{opacity:.25}}
.hero__inner{
  position:relative;
  z-index:2;
  padding:0 var(--pad);
  min-height:calc(100vh - var(--header-h));
  display:flex;
  align-items:center;
}
.hero__content{width:100%;max-width:min(680px,calc(50vw - var(--pad)));padding:24px 0 32px}

.eyebrow{
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:2.4px;
  text-transform:uppercase;
  color:var(--gray);
  margin-bottom:18px;
}
.eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none}

.hero__title{
  font-size:66px;
  font-weight:800;
  line-height:1.17;
  letter-spacing:-2px;
  margin-bottom:18px;
}
.hero__text{
  font-size:20.5px;
  line-height:1.5;
  color:var(--gray);
  margin-bottom:28px;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:36px}

.hero__stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:520px;
}
.stat{padding:0 26px}
.stat:first-child{padding-left:0}
.stat + .stat{border-left:1px solid var(--line)}
.stat__icon{width:28px;height:28px;color:var(--green);margin-bottom:14px}
.stat__num{font-size:28px;font-weight:800;letter-spacing:-1px;line-height:1;margin-bottom:8px}
.stat__label{font-size:12.5px;line-height:1.35;color:var(--gray)}

/* Бейджи рейтингов на картах */
.hero__ratings{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.rating{
  display:flex;align-items:center;gap:12px;
  padding:9px 18px 9px 9px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 2px 10px rgba(16,24,40,.06);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.rating:hover{border-color:#c9cdd2;transform:translateY(-2px);box-shadow:0 8px 20px rgba(16,24,40,.1)}
.rating__logo{
  display:grid;place-items:center;
  width:38px;height:38px;
  border-radius:10px;
  color:#fff;
  font-style:normal;font-weight:800;
}
.rating__logo--ya{background:#FC3F1D;font-size:18px}
.rating__logo--gis{background:#19AA1E;font-size:11px;letter-spacing:.3px}
.rating__body{display:grid;gap:2px;line-height:1.15}
.rating__body b{display:flex;align-items:center;gap:5px;font-size:15px;font-weight:800}
.rating__body b svg{width:14px;height:14px;color:#FFB020;flex:none}
.rating__body > span{font-size:12px;color:var(--gray)}

/* ---------- Секции ---------- */
.section{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:clamp(28px,4vh,64px) 0;
}
.section--about{background:#fff}
/* контент секции «О клубе» — колонка на весь экран, видео занимает остаток высоты */
.section--about .container{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:calc(100vh - 2*clamp(28px,4vh,64px));
}
.section__head{max-width:760px;margin-bottom:clamp(16px,2.8vh,44px)}
.section__head--center{margin:0 auto clamp(16px,2.8vh,44px);text-align:center}
.section__head--center .eyebrow{justify-content:center}
.section__title{
  font-size:clamp(28px,4.2vh,44px);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-1.4px;
  margin-bottom:clamp(10px,1.8vh,20px);
}
.section__lead{font-size:clamp(15px,1.9vh,18px);line-height:1.55;color:var(--gray)}

/* Преимущества */
.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(12px,1.8vh,20px);
  margin-bottom:clamp(16px,2.8vh,40px);
}
.feature{
  padding:clamp(14px,2.2vh,26px) clamp(18px,1.8vw,28px);
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--bg-soft);
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.feature:hover{border-color:#cfe6d4;transform:translateY(-3px);box-shadow:0 12px 30px rgba(16,24,40,.06)}
.feature__icon{
  width:clamp(36px,4.6vh,48px);height:clamp(36px,4.6vh,48px);
  display:grid;place-items:center;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--green);
  margin-bottom:clamp(8px,1.5vh,16px);
}
.feature__icon svg{width:clamp(20px,2.4vh,26px);height:clamp(20px,2.4vh,26px)}
.feature h3{font-size:clamp(16px,1.9vh,19px);font-weight:700;letter-spacing:-.4px;margin-bottom:clamp(6px,1vh,12px)}
.feature p{font-size:clamp(13px,1.5vh,14.5px);line-height:1.55;color:var(--gray)}

/* Видео-тур по клубу */
.promo-video{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  background:#000;
  box-shadow:0 24px 56px rgba(17,19,21,.16);
  line-height:0;
  flex:1 1 auto;
  min-height:190px;
  width:min(50%,720px);
  margin:0 auto;
  cursor:pointer;
}
.promo-video video{display:block;width:100%;height:100%;object-fit:cover}

/* Подсказка «Смотреть на весь экран» */
.promo-video__hint{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  display:flex;align-items:center;gap:10px;
  padding:12px 20px;
  border-radius:999px;
  background:rgba(17,19,21,.55);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  font-size:14px;font-weight:700;line-height:1;
  white-space:nowrap;
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none;
}
.promo-video__hint svg{width:18px;height:18px;flex:none}
.promo-video:hover .promo-video__hint,
.promo-video:focus-visible .promo-video__hint{opacity:1}
@media (hover:none){.promo-video__hint{opacity:1}}

/* Кнопка выхода из полноэкранного режима */
.promo-video__close{
  position:absolute;
  right:20px;top:20px;
  width:46px;height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(17,19,21,.55);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;
  display:none;
  place-items:center;
  cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.promo-video__close:hover{background:rgba(17,19,21,.75);transform:scale(1.06)}
.promo-video__close svg{width:20px;height:20px}

/* Полноэкранный режим */
.promo-video:fullscreen{width:100%;max-width:none;margin:0;border-radius:0;cursor:default}
.promo-video:fullscreen video{object-fit:contain}
.promo-video:fullscreen .promo-video__close{display:grid}
.promo-video:fullscreen .promo-video__hint{display:none}
.promo-video:-webkit-full-screen{width:100%;max-width:none;margin:0;border-radius:0;cursor:default}
.promo-video:-webkit-full-screen video{object-fit:contain}
.promo-video:-webkit-full-screen .promo-video__close{display:grid}
.promo-video:-webkit-full-screen .promo-video__hint{display:none}
.promo-video__mute{
  position:absolute;
  right:20px;bottom:20px;
  width:46px;height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(17,19,21,.55);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;
  display:grid;place-items:center;
  cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.promo-video__mute:hover{background:rgba(17,19,21,.75);transform:scale(1.06)}
.promo-video__mute svg{width:20px;height:20px}
.promo-video__mute .icon-unmuted{display:none}
.promo-video__mute[aria-pressed="true"] .icon-muted{display:none}
.promo-video__mute[aria-pressed="true"] .icon-unmuted{display:block}

/* ---------- БЛОК 3 · Пробная неделя ---------- */
.section--prices{background:var(--ink);color:#fff}
.eyebrow--light{color:var(--gray-2)}
.section__title--light{color:#fff}
.section__lead--light{color:#a8aeb5}

/* Форма */
.lead{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:0;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  color:var(--ink);
}

/* Левая колонка — фото тренера с текстом поверх */
.lead__media{position:relative;min-height:400px}
.lead__media img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:left center;
}
.lead__media-content{
  position:absolute;z-index:1;
  left:clamp(16px,2vw,28px);
  right:clamp(16px,2vw,28px);
  bottom:clamp(16px,2.5vh,28px);
  padding:clamp(18px,2.8vh,32px) clamp(18px,2vw,32px);
  border-radius:16px;
  background:rgba(17,19,21,.72);
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  backdrop-filter:blur(12px) saturate(140%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.lead__media-content h3{color:#fff;font-size:clamp(24px,3.4vh,34px);font-weight:800;letter-spacing:-1.2px;margin-bottom:clamp(10px,1.6vh,16px)}
.lead__media-content p{font-size:clamp(14px,1.7vh,16px);line-height:1.55;color:rgba(255,255,255,.82);margin-bottom:clamp(14px,2.4vh,24px)}
.lead__bullets{display:grid;gap:clamp(8px,1.4vh,14px)}
.lead__bullets li{
  position:relative;
  padding-left:30px;
  font-size:15px;
  line-height:1.5;
  color:#fff;
}
.lead__bullets li::before{
  content:'';
  position:absolute;left:0;top:2px;
  width:18px;height:18px;border-radius:50%;
  background:rgba(47,180,74,.35);
}
.lead__bullets li::after{
  content:'';
  position:absolute;left:5.5px;top:6.5px;
  width:7px;height:3.5px;
  border-left:2px solid var(--green);
  border-bottom:2px solid var(--green);
  transform:rotate(-45deg);
}

.lead__form{
  display:grid;
  gap:clamp(12px,1.8vh,18px);
  align-content:center;
  padding:clamp(26px,4.5vh,52px) clamp(26px,3vw,52px);
}
.field{display:grid;gap:clamp(5px,.8vh,8px)}
.field span{font-size:13.5px;font-weight:700;color:#3a3f45}
.field input,.field select{
  height:clamp(46px,5.8vh,56px);
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:9px;
  font-family:inherit;
  font-size:16px;
  color:var(--ink);
  background:#fff;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.field input:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(47,180,74,.14)}
.field input.is-error{border-color:#e03131;box-shadow:0 0 0 3px rgba(224,49,49,.12)}
.lead__submit{width:100%;margin-top:4px}
.lead__policy{font-size:12.5px;line-height:1.5;color:var(--gray)}
.lead__policy a{text-decoration:underline}
.lead__ok{font-size:15px;font-weight:700;color:var(--green)}

/* ---------- Футер ---------- */
.footer{background:#fff;padding:64px 0 32px;border-top:1px solid var(--line)}
.footer__inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:40px}
.logo--footer{margin-bottom:18px}
.footer__addr{font-size:15px;line-height:1.6;color:var(--gray)}
.footer__col{display:grid;gap:8px;align-content:start}
.footer__col span{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--gray)}
.footer__col b{font-size:16px;font-weight:700}
.footer__col a{font-size:15px;color:var(--gray)}
.footer__col a b{color:var(--ink)}
.footer__bottom{
  display:flex;justify-content:space-between;gap:20px;
  padding-top:26px;
  border-top:1px solid var(--line);
  font-size:13px;color:var(--gray-2);
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width:1440px){
  .hero__title{font-size:4.58vw}
  .hero__text{font-size:1.42vw}
}
@media (max-width:1280px){
  :root{--pad:36px}
  .nav{gap:26px;margin-left:24px;font-size:15px}
  .features{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1024px){
  .nav,.header__cta{display:none}
  .burger{display:block}
  .header--open .nav{
    display:flex;
    position:absolute;top:var(--header-h);left:0;right:0;
    flex-direction:column;align-items:flex-start;gap:0;
    margin:0;padding:8px var(--pad) 20px;
    background:#fff;border-bottom:1px solid var(--line);
  }
  .header--open .nav a{padding:14px 0;width:100%}
  .hero__media{left:34%}
  .hero__media::before{opacity:.55}
  .hero__title{font-size:56px;letter-spacing:-1.6px}
  .hero__text{font-size:18px}
  .hero__text br{display:none}
  .hero__content{max-width:620px}
  .lead{grid-template-columns:1fr}
  .lead__media{min-height:340px}
  .section__title{font-size:38px}
}
/* Компактный первый экран для невысоких окон браузера (панели закладок, зум, ноутбуки) */
@media (min-width:761px) and (max-height:820px){
  .hero__content{padding:16px 0 20px}
  .eyebrow{margin-bottom:10px}
  .hero__title{font-size:44px !important;letter-spacing:-1.4px;margin-bottom:12px}
  .hero__text{font-size:16px !important;margin-bottom:18px}
  .hero__text br{display:none}
  .hero__actions{margin-bottom:20px}
  .hero__actions .btn--lg{height:52px;font-size:15px}
  .stat__icon{width:22px;height:22px;margin-bottom:8px}
  .stat__num{font-size:22px;margin-bottom:4px}
  .stat__label{font-size:11.5px}
  .hero__ratings{margin-top:16px}
}
@media (max-width:760px){
  :root{--pad:20px;--header-h:76px}
  .header{display:none}
  .hero{min-height:auto}
  .hero__media{
    left:0;top:auto;height:46vh;position:relative;
    margin-top:0;
  }
  .hero__media::before{
    opacity:1;
    background-position:right center;
  }
  .hero__media::after{
    background:linear-gradient(180deg,rgba(255,255,255,0) 45%,#fff 100%);
  }
  .promo{
    top:auto;bottom:12px;left:12px;transform:none;
    min-width:0;max-width:250px;
    padding:16px 18px;border-radius:14px;
  }
  .promo__label{font-size:11px;margin-bottom:8px}
  .promo__price{font-size:15px;margin-bottom:10px}
  .promo__price b{font-size:18px}
  .promo__timer{font-size:13px;gap:8px;padding-top:10px}
  .promo__timer svg{width:15px;height:15px}
  .promo__timer b{font-size:14px}
  .hero{padding-top:0}
  .hero__inner{min-height:auto}
  .hero__content{padding:32px 0 48px;max-width:none}
  .hero__title{font-size:38px;letter-spacing:-1.2px;margin-bottom:18px}
  .hero__title br{display:none}
  .hero__text{font-size:16px;margin-bottom:28px}
  .hero__actions{margin-bottom:40px}
  .hero__actions .btn{width:100%}
  .hero__stats{grid-template-columns:repeat(2,1fr);gap:26px 0;max-width:none}
  .stat{padding:0 18px}
  .stat:nth-child(odd){padding-left:0}
  .stat:nth-child(3){border-left:0}
  .section{min-height:auto;display:block;padding:72px 0}
  .section--about .container{display:block;min-height:0}
  .promo-video{min-height:0;width:100%}
  .promo-video video{height:auto;aspect-ratio:16/9}
  .section__title{font-size:30px;letter-spacing:-1px}
  .section__lead{font-size:16px}
  .features{grid-template-columns:1fr;margin-bottom:64px}
  .lead__media{min-height:400px}
  .lead__media-content h3{font-size:24px}
  .lead__form{padding:24px 20px 28px}
  .footer__inner{grid-template-columns:1fr;gap:28px}
  .footer__bottom{flex-direction:column;gap:8px}
}
