/* Общие стили социальных проектов FitStars («Лес FitStars», «Комнаты здоровья»). Файл одинаковый в обеих страницах. */
@font-face{font-family:'Gilroy';src:url('https://fitstars-landing-prod.storage.yandexcloud.net/landings/83/v1/fonts/Gilroy-Regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Gilroy';src:url('https://fitstars-landing-prod.storage.yandexcloud.net/landings/83/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/83/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/83/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/83/v1/fonts/Gilroy-Extrabold.woff') format('woff');font-weight:800;font-style:normal;font-display:swap}

:root{
  --ink:#181d31;
  --pink:#ef16b0;
  --bg-0:#ffffff;
  --bg-1:#fbfbfb;
  --bg-2:#f5f5f5;
  --bg-3:#fcfcfc;
  --accent:#3fae6a;
  --accent-text:#3fae6a;
  --accent-soft:#eaffd1;
  --shadow-chip:0 20px 60px rgba(66,66,66,.1);
  --shadow-card:0 20px 40px rgba(66,66,66,.1);
  --gutter:20px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg-0);color:var(--ink);font-family:'Gilroy',Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul{margin:0}
strong{font-weight:700}

.wrap{position:relative;max-width:1200px;margin:0 auto;padding:0 var(--gutter)}
.sec{position:relative;overflow:hidden}
.bg-0{background:var(--bg-0)}
.bg-1{background:var(--bg-1)}
.bg-2{background:var(--bg-2)}
.bg-3{background:var(--bg-3)}
.accent{color:var(--accent-text)}
.decor{position:absolute;pointer-events:none;user-select:none;max-width:none}

/* Заголовки */
.h1{font-size:52px;line-height:1.1;font-weight:800;color:#fff}
.h2{font-size:48px;line-height:1.1;font-weight:700}
.h3{font-size:36px;line-height:1.3;font-weight:600}
.center{text-align:center}
.lead{font-size:24px;line-height:1.4;font-weight:500}
.muted{opacity:.5}

/* Кнопки-пилюли */
.btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;height:60px;padding:0 24px;border-radius:30px;font-size:16px;line-height:1.55;font-weight:600;text-transform:uppercase;text-align:center;transition:opacity .2s ease-in-out,transform .2s ease-in-out;cursor:pointer;border:0;font-family:inherit}
.btn:hover{opacity:.9}
.btn--pink{background:var(--pink);color:#fff}
.btn--white{background:#fff;color:var(--accent-text)}
.btn--accent{background:var(--accent);color:#fff}

/* Шапка героя */
.hero{position:relative;overflow:hidden;color:#fff}
.hero__top{display:flex;justify-content:space-between;align-items:flex-start}
.hero__logo{display:block;width:332px}
.hero__logo img{width:332px;height:auto}
.tag{display:inline-flex;align-items:center;justify-content:center;height:60px;padding:0 24px;border-radius:10px;background:#fff;color:var(--accent-text);font-size:20px;line-height:1.55;font-weight:700;white-space:nowrap}

/* Плашки-контакты */
.chip{display:flex;align-items:center;gap:20px;height:80px;padding:0 20px;background:#fff;border:1px solid #f8f8f8;border-radius:20px;box-shadow:var(--shadow-chip);font-size:24px;line-height:1.4;font-weight:500;color:var(--ink);transition:transform .2s ease-in-out}
.chip:hover{transform:translateY(-2px)}
.chip img{width:40px;height:40px;flex:none}

/* Блок руководителя проекта */
.person{padding:0 0 100px}
.person__grid{display:grid;grid-template-columns:546px 1fr;gap:54px;align-items:start}
.person__photo{width:546px;height:650px;border-radius:20px;overflow:hidden}
.person__photo img{width:100%;height:100%;object-fit:cover}
.person__body{padding-top:100px}
.person__name{font-size:48px;line-height:1.1;font-weight:700}
.person__role{margin-top:32px;font-size:28px;line-height:1.4;font-weight:500;max-width:512px}
.person__ask{margin-top:64px;font-size:18px;line-height:1.4}
.person__chips{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}
.person__chips .chip--tg{width:355px}
.person__chips .chip--mail{width:430px}

/* Подвал */
.footer{background:#fff;padding:48px 0 54px}
.footer__grid{display:grid;grid-template-columns:1fr auto;grid-template-areas:"logo social" "links copy";row-gap:68px;align-items:start}
.footer__logo{grid-area:logo;justify-self:start}
.footer__logo img{width:190px;height:39px}
.footer__social{grid-area:social;justify-self:end;display:flex;gap:12px}
.footer__social a,.footer__social img{width:40px;height:40px;display:block}
.footer__links{grid-area:links;display:flex;gap:32px;color:#242424;font-size:14px;line-height:1.35}
.footer__links a:hover{opacity:.7}
.footer__copy{grid-area:copy;color:#b3b3b3;text-align:right;font-size:14px;line-height:1.35}
.disclaimer{background:#fff;padding:0 0 20px;font-size:12px;line-height:1.4}
.disclaimer p{max-width:560px;opacity:.5}

/* Попап-заявка без JS: открывается по якорю (:target) */
.popup{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.8);overflow-y:auto}
.popup:target{display:flex}
.popup__close-bg{position:absolute;inset:0}
.popup__box{position:relative;width:100%;max-width:560px;margin:auto;padding:40px;background:#fff;border-radius:5px;color:#000;text-align:center}
.popup__close{position:absolute;top:-36px;right:-36px;width:30px;height:30px;color:#fff;font-size:34px;line-height:30px;text-align:center}
.popup__title{font-size:26px;line-height:1.23;font-weight:600;color:var(--ink)}
.popup__descr{margin-top:12px;font-size:20px;line-height:1.55;color:var(--ink)}
.popup__form{display:flex;flex-direction:column;gap:20px;margin-top:30px}
.popup__input{width:100%;height:60px;padding:0 20px;border:1px solid #d8d8d8;border-radius:5px;background:#fff;color:#000;font-family:inherit;font-size:16px}
.popup__submit{height:60px;border:0;border-radius:5px;background:var(--accent);color:#fff;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer}
.popup__note{margin-top:4px;font-size:13px;line-height:1.55;color:#000;opacity:.7}
.popup__note a{text-decoration:underline}

@media (max-width:1199px){
  .h1{font-size:44px}
  .h2{font-size:40px}
  .person__grid{grid-template-columns:440px 1fr;gap:40px}
  .person__photo{width:440px;height:524px}
  .person__body{padding-top:40px}
  .person__chips .chip--mail{width:auto}
  .footer__links{gap:20px}
}
@media (max-width:959px){
  .person__grid{grid-template-columns:1fr}
  .person__body{padding-top:0;order:-1}
  .person__photo{width:100%;max-width:620px;height:auto;aspect-ratio:546/650}
  .footer__grid{grid-template-columns:1fr;grid-template-areas:"logo" "links" "social" "copy";row-gap:40px}
  .footer__social{justify-self:start}
  .footer__links{flex-direction:column;gap:21px}
  .footer__copy{text-align:left}
}
@media (max-width:639px){
  :root{--gutter:clamp(18px,6.13vw,23px)}
  .h1{font-size:24px}
  .h2{font-size:22px;line-height:1.1}
  .h3{font-size:22px;line-height:1.2}
  .lead{font-size:16px;line-height:1.4}
  .btn{height:59px;font-size:14px}
  .hero__logo,.hero__logo img{width:195px}
  .tag{height:29px;padding:0 10px;border-radius:6px;font-size:12px}
  .chip{height:59px;gap:14px;padding:0 10px;border-radius:60px;font-size:14px}
  .chip img{width:38px;height:38px}
  .person{padding-bottom:84px}
  .person__grid{gap:46px}
  .person__name{font-size:22px}
  .person__role{margin-top:19px;font-size:18px;line-height:1.4}
  .person__ask{margin-top:28px;font-size:16px;max-width:240px}
  .person__chips{gap:14px;margin-top:18px}
  .person__chips .chip{width:100%;font-size:15px}
  .person__photo{max-width:none}
  .footer{padding:34px 0 31px}
  .footer__grid{row-gap:0}
  .footer__logo img{width:204px;height:42px}
  .footer__links{margin-top:40px;font-size:12px;line-height:1.4}
  .footer__social{gap:14px;margin-top:29px}
  .footer__social a,.footer__social img{width:47px;height:47px}
  .footer__copy{margin-top:38px;font-size:12px;line-height:1.4}
  .disclaimer{padding:0 0 23px}
  .disclaimer p{max-width:293px}
  .popup{padding:0}
  .popup__box{min-height:100%;border-radius:0;padding:60px 20px 30px}
  .popup__close{top:10px;right:14px;color:#000}
  .popup__title{font-size:20px}
  .popup__descr{font-size:14px}
}
a.popup__submit{display:flex;align-items:center;justify-content:center;text-decoration:none}
