/* ZooFeed — лендинг предзапуска.
   Блочная вёрстка: каждая секция — крупная плашка со скруглением.
   Палитра взята из маскота Зуфи: бирюза, коралл, жёлтый. */

:root{
  --turq:#128DA6;
  --turq-bright:#35BEDA;
  --turq-pale:#E3F5F9;
  --turq-deep:#0C6B7E;
  --coral:#E85C46;
  --coral-pale:#FDEDE9;
  --yellow:#FFC845;
  --yellow-pale:#FFF3D6;
  --ink:#0F2429;
  --body:#3C5A62;
  --muted:#6E8992;
  /* Затемнённый вариант --muted для мелкого текста: 4.9:1 на белом (WCAG AA). */
  --muted-dark:#5A757E;
  --ground:#F4F8F9;
  --white:#FFFFFF;
  --line:#E0EBEE;
  --r-block:28px;
  --r-tile:18px;
  --shadow-s:0 1px 2px rgba(15,36,41,.05);
  --shadow-m:0 18px 40px -26px rgba(15,36,41,.5);
  --shell:1180px;
  /* Высота липкой шапки: padding-block 12+12 + минимальная высота кнопки 44. */
  --head-h:68px;
}

*,*::before,*::after{box-sizing:border-box;}
/* Атрибут hidden должен побеждать любые display из классов. */
[hidden]{display:none !important;}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--head-h) + 12px);}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}
body{
  margin:0; background:var(--ground); color:var(--body);
  font-family:"PT Sans","Segoe UI",Helvetica,Arial,sans-serif;
  font-size:17px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block;}
h1,h2,h3,.eyebrow,.btn,.logo,.step-n,summary,label,.fact-n,.tariff-vol,.tariff-sum{
  font-family:Rubik,"PT Sans",Arial,sans-serif;
}
h1{font-size:clamp(31px,7vw,50px); line-height:1.06; font-weight:700; color:var(--ink);
   letter-spacing:-.025em; margin:0; text-wrap:balance;}
h2{font-size:clamp(25px,4.6vw,36px); line-height:1.12; font-weight:600; color:var(--ink);
   letter-spacing:-.02em; margin:0; text-wrap:balance;}
h3{font-size:18px; font-weight:600; color:var(--ink); margin:0;}
p{margin:0;}
a{color:var(--turq);}
a:hover{color:var(--coral);}
:focus-visible{outline:3px solid var(--turq-deep); outline-offset:2px; border-radius:6px;
  box-shadow:0 0 0 5px rgba(255,255,255,.9);}
/* На бирюзовом градиенте тёмная обводка сливается — там подсвечиваем белым. */
.block-turq :focus-visible{outline-color:var(--white); box-shadow:0 0 0 5px rgba(12,107,126,.55);}

.shell{width:100%; max-width:var(--shell); margin:0 auto; padding-inline:14px;}
main .shell{margin-bottom:14px;}
.eyebrow{font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
         color:var(--turq); margin-bottom:8px;}
.eyebrow-on-color{color:var(--turq-deep);}
.note{font-size:14px; color:var(--muted-dark);}
.note-box{background:var(--ground); border:1px solid var(--line); border-radius:var(--r-tile);
  padding:14px 16px; margin-top:16px; color:var(--body);}
/* Внутри цветных блоков плашка должна оставаться белой, иначе сливается с фоном. */
.block-pale .note-box,.block-yellow .note-box,.block-turq .note-box{background:var(--white);}
.center{text-align:center;}
.skip{position:absolute; left:-9999px; top:0; background:#fff; padding:10px 14px; z-index:100;}
.skip:focus{left:8px; top:8px;}

/* ——— кнопки ——— */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:54px; padding:0 26px; border:0; border-radius:16px;
  font-size:17px; font-weight:500; cursor:pointer; text-decoration:none;
  transition:transform .12s ease, background-color .12s ease;
}
.btn-primary{background:var(--coral); color:#fff;}
.btn-primary:hover{background:#d24d38; color:#fff; transform:translateY(-1px);}
.btn-primary:active{transform:translateY(0);}
.btn-sm{min-height:44px; padding:0 18px; font-size:15px; border-radius:12px;}
.btn-wide{width:100%;}
.link-arrow{font-size:16px; text-decoration:none; border-bottom:1.5px solid currentColor; padding-bottom:2px;}

/* ——— шапка ——— */
.site-head{position:sticky; top:0; z-index:40; background:rgba(244,248,249,.92);
           backdrop-filter:blur(10px);}
.head-in{display:flex; align-items:center; gap:16px; padding-block:12px;}
.logo{font-weight:700; font-size:24px; letter-spacing:-.025em; color:var(--turq); text-decoration:none;}
.logo .b{color:var(--coral);}
.nav{display:none; gap:22px; margin-left:auto; font-size:15px;}
.nav a{color:var(--body); text-decoration:none;}
.nav a:hover{color:var(--coral);}
.head-in .btn{margin-left:auto;}
@media (min-width:900px){
  .nav{display:flex;}
  .head-in .btn{margin-left:0;}
}

/* ——— блок-плашка ——— */
.block{
  background:var(--white); border-radius:var(--r-block);
  padding:26px 20px; box-shadow:var(--shadow-s);
  display:flex; flex-direction:column; gap:18px;
}
.block-pale{background:var(--turq-pale);}
.block-turq{background:linear-gradient(135deg,#35BEDA 0%,#1391AC 100%);}
.block-yellow{background:var(--yellow-pale);}
.block-turq h2,.block-turq h3,.block-turq p{color:#fff;}
.block-turq .tile h3,.block-turq .tile p{color:inherit;}
.block-turq .tile{background:rgba(255,255,255,.96);}
.block-turq .tile h3{color:var(--ink);}
.block-turq .tile p{color:var(--body);}
.block-head{display:flex; align-items:center; justify-content:space-between; gap:18px;}
.block-head h2{flex:1 1 auto; min-width:0; overflow-wrap:break-word;
               -webkit-hyphens:auto; hyphens:auto;}
.mascot-inline{width:64px; flex:0 0 auto;}
@media (min-width:420px){.mascot-inline{width:84px;}}
@media (min-width:720px){
  .block{padding:38px 34px; gap:22px;}
  .mascot-inline{width:130px;}
}

/* ——— реплика Зуфи ——— */
.says{position:relative; background:var(--turq-pale); border-radius:var(--r-tile);
      padding:14px 18px; color:var(--ink); font-size:17px;}
.says::before{content:""; position:absolute; left:24px; bottom:-7px; width:16px; height:16px;
              background:inherit; transform:rotate(45deg); border-radius:0 0 4px 0;}
.says-who{display:block; margin-top:6px; font-size:13px; color:var(--turq); font-weight:700;}
.says-on-color{background:rgba(255,255,255,.96);}
.says-on-color p{color:var(--ink);}
.says-on-yellow{background:var(--white);}
.block-pale .says{background:var(--white);}

/* ——— первый экран ——— */
.hero-wrap{display:flex; flex-direction:column; gap:14px;}
.hero{flex-direction:column; gap:20px; background:var(--white);}
.hero-text{display:flex; flex-direction:column; gap:16px;}
.hero-img{width:min(74%,290px); align-self:center;}
.cta-row{display:flex; flex-wrap:wrap; align-items:center; gap:18px;}
@media (min-width:860px){
  .hero{flex-direction:row; align-items:center; gap:44px; padding:46px 40px;}
  .hero-text{flex:1 1 auto; max-width:640px;}
  .hero-img{width:min(38%,370px); align-self:auto;}
}

/* ——— плашки с фактами ——— */
.facts{list-style:none; margin:0; padding:0; display:grid; gap:14px;}
@media (min-width:700px){.facts{grid-template-columns:repeat(3,1fr);}}
.fact{gap:6px; padding:22px 20px;}
.fact-n{font-size:clamp(26px,5vw,34px); font-weight:700; letter-spacing:-.02em; line-height:1.05;}
.fact-t{font-size:15px;}
.fact-turq{background:var(--turq-pale);} .fact-turq .fact-n{color:var(--turq-deep);}
.fact-yellow{background:var(--yellow-pale);} .fact-yellow .fact-n{color:#A8740A;}
.fact-coral{background:var(--coral-pale);} .fact-coral .fact-n{color:var(--coral);}

/* ——— тайлы ——— */
.tiles,.bento,.steps{list-style:none; margin:0; padding:0; display:grid; gap:12px;}
@media (min-width:640px){
  .tiles{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);}
  .bento{grid-template-columns:repeat(2,1fr);}
}
@media (min-width:1000px){
  .steps{grid-template-columns:repeat(4,1fr);}
  .bento{grid-template-columns:repeat(3,1fr);}
}
.tile{background:var(--white); border-radius:var(--r-tile); padding:20px; display:flex;
      flex-direction:column; gap:8px;}
.block .tile{box-shadow:none;}
.block-pale .tile,.block-yellow .tile{background:var(--white);}
.tile p{font-size:15px;}
.tile-lg{grid-column:1 / -1;}
@media (min-width:1000px){.tile-lg{grid-column:span 1;}}
.tile-turq{background:var(--turq-pale) !important;}
.tile-yellow{background:var(--yellow-pale) !important;}
.step-n{width:38px; height:38px; border-radius:12px; background:var(--turq); color:#fff;
        font-size:18px; font-weight:600; display:grid; place-items:center;}
.block-turq .step-n{background:var(--turq-deep);}

/* ——— тарифы ——— */
.tariffs{display:grid; gap:12px;}
@media (min-width:640px){.tariffs{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1000px){.tariffs{grid-template-columns:repeat(3,1fr);}}
.tariff{background:var(--white); border-radius:var(--r-tile); padding:22px 20px;
        display:flex; flex-direction:column; gap:8px; position:relative;}
.tariff.hi{background:var(--white); box-shadow:var(--shadow-m); outline:2px solid var(--turq-bright);}
.tariff-badge{position:absolute; top:-10px; left:20px; background:var(--turq); color:#fff;
              font-family:Rubik,sans-serif; font-size:12px; font-weight:500;
              padding:4px 12px; border-radius:999px;}
.tariff-vol{font-size:19px; font-weight:600; color:var(--ink);}
.tariff-sum{font-size:32px; font-weight:700; color:var(--turq-deep);
            font-variant-numeric:tabular-nums; line-height:1.05;}
.tariff-per{font-size:15px; color:var(--muted); font-variant-numeric:tabular-nums;}
.tariff-term{font-size:14px; color:var(--turq); font-weight:700;}
.tariff-cap{font-size:15px; flex:1 1 auto;}
.tariff .btn{margin-top:6px; background:var(--turq-pale); color:var(--turq-deep); min-height:48px;}
.tariff .btn:hover{background:var(--turq); color:#fff;}

/* ——— FAQ ——— */
.faq-list{display:grid; gap:10px;}
details{background:var(--white); border-radius:var(--r-tile); padding:2px 18px; border:1px solid var(--line);}
summary{cursor:pointer; padding:15px 0; font-size:17px; font-weight:500; color:var(--ink);
        list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px;}
summary::-webkit-details-marker{display:none;}
summary::after{content:"+"; color:var(--turq); font-size:24px; line-height:1;}
details[open] summary::after{content:"–";}
details p{padding-bottom:16px; font-size:16px;}

/* ——— финал ——— */
.final{flex-direction:column; align-items:center; text-align:center; gap:18px;}
.final-body{display:flex; flex-direction:column; gap:18px; align-items:center;}
.mascot-final{width:min(60%,190px);}
.final .says::before{left:50%; margin-left:-8px;}
@media (min-width:820px){
  .final{flex-direction:row; text-align:left; gap:36px;}
  .final-body{align-items:flex-start;}
  .mascot-final{width:min(30%,240px);}
  .final .says::before{left:24px; margin-left:0;}
}

/* ——— подвал ——— */
.site-foot{padding-block:24px 96px;}
.foot-in{display:flex; flex-direction:column; gap:14px;}
.foot-logo{font-size:20px;}
.foot-col{display:grid; gap:6px;}
@media (min-width:820px){
  .site-foot{padding-bottom:28px;}
  .foot-in{flex-direction:row; justify-content:space-between; align-items:flex-start;}
}

/* ——— закреплённая кнопка ——— */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:35;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(244,248,249,.96); backdrop-filter:blur(10px); border-top:1px solid var(--line);
}
.sticky-cta .btn{width:100%;}
@media (min-width:820px){.sticky-cta{display:none;}}

/* ——— форма ——— */
.modal{border:0; padding:0; width:min(580px,calc(100% - 20px)); max-height:92vh; max-height:92dvh;
       border-radius:24px; background:var(--white); color:var(--body);
       box-shadow:0 30px 70px -30px rgba(15,36,41,.6);}
.modal::backdrop{background:rgba(15,36,41,.55);}
.modal-in{padding:24px 20px 26px; display:flex; flex-direction:column; gap:14px; position:relative;}
.modal-close{position:absolute; top:12px; right:12px; width:42px; height:42px; border:0; border-radius:14px;
             background:var(--ground); color:var(--ink); font-size:24px; line-height:1; cursor:pointer;}
.modal-close:hover{background:var(--coral-pale); color:var(--coral);}
.modal-head{display:flex; align-items:center; gap:14px; padding-right:48px;}
.modal-head img{width:76px; flex:0 0 auto;}
.modal-head h2{font-size:22px;}
.modal-tariff{font-size:15px; color:var(--turq-deep); margin-top:4px; font-weight:700;}
.fields{display:grid; grid-template-columns:1fr; gap:12px;}
@media (min-width:520px){.fields{grid-template-columns:1fr 1fr;} .field-wide{grid-column:1 / -1;}}
.field{display:flex; flex-direction:column; gap:5px; margin:0;}
.field label{font-size:14px; font-weight:500; color:var(--ink);}
.req{color:var(--coral);}
input[type=text],input[type=tel],input[type=email],textarea{
  width:100%; font:inherit; font-size:16px; color:var(--ink);
  padding:13px 14px; border:1.5px solid var(--muted); border-radius:14px; background:var(--white);
}
textarea{resize:vertical; min-height:76px;}
input:focus,textarea:focus{border-color:var(--turq-bright); outline:none; box-shadow:0 0 0 3px rgba(53,190,218,.25);}
.invalid input,.invalid textarea{border-color:var(--coral); background:#FFFBFA;}
.err{font-size:13px; color:var(--coral);}
.err:empty{display:none;}
.check{display:flex; align-items:flex-start; gap:10px; margin:0; font-size:15px;}
.check input{width:22px; height:22px; margin-top:2px; accent-color:var(--turq); flex:0 0 auto;}
.check label{font-size:15px; font-weight:400; color:var(--body); line-height:1.4;}
.success{text-align:center; align-items:center; padding-block:34px;}
.success img{width:160px;}
.success h2{font-size:26px;}
button[disabled]{opacity:.7; cursor:progress;}

/* ——— скрытое антиспам-поле ——— */
.trap{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;}

/* ——— юридические страницы ——— */
.doc{max-width:820px; margin:0 auto; padding-block:8px 40px;}
.doc .block{gap:16px;}
.doc h1{font-size:clamp(26px,5vw,38px); margin-bottom:4px;}
.doc h2{font-size:clamp(20px,3.4vw,25px); margin-top:14px;}
.doc h3{font-size:17px; margin-top:10px;}
.doc p,.doc li{font-size:16px;}
.doc ul,.doc ol{margin:0; padding-left:22px; display:grid; gap:7px;}
.doc ul li::marker,.doc ol li::marker{color:var(--turq-bright);}
.doc .meta{font-size:14px; color:var(--muted);}
.doc-nav{display:flex; flex-wrap:wrap; gap:14px; font-size:15px; padding-block:6px 16px;}
.doc-req{background:var(--turq-pale); border-radius:var(--r-tile); padding:16px 18px; display:grid; gap:4px; font-size:15px;}
.doc-req dt{font-weight:700; color:var(--ink);}
.doc-req dd{margin:0 0 6px;}

/* ---------- поле выбора в форме ---------- */
select{
  width:100%; font:inherit; font-size:16px; color:var(--ink);
  padding:13px 14px; border:1.5px solid var(--muted); border-radius:14px; background:var(--white);
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E8992' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; padding-right:40px;
  text-overflow:ellipsis;
}
/* В режиме высокой контрастности фоновая картинка не рисуется — стрелку убираем,
   чтобы не оставалось пустого места справа. */
@media (forced-colors:active){
  select{background-image:none; padding-right:14px; border:1.5px solid ButtonText;}
}
select:focus{border-color:var(--turq-bright); outline:none; box-shadow:0 0 0 3px rgba(53,190,218,.25);}

/* ---------- пример диалога с помощником ---------- */
.chat-demo{
  background:var(--ground); border:1.5px solid var(--line); border-radius:var(--r-tile);
  padding:16px; display:grid; gap:10px; margin-top:4px;
}
.chat-head{
  margin:0; font-size:13px; font-weight:500; color:var(--turq-deep);
  display:flex; align-items:center; gap:8px;
}
.chat-dot{
  width:8px; height:8px; border-radius:50%; background:var(--turq-bright);
  box-shadow:0 0 0 3px rgba(53,190,218,.25); flex:0 0 auto;
}
.chat-msg{
  margin:0; max-width:min(100%,460px); padding:12px 14px; border-radius:16px;
  font-size:15px; line-height:1.45;
}
.chat-you{
  background:var(--turq-deep); color:var(--white);
  border-bottom-right-radius:6px; justify-self:end;
}
.chat-bot{
  background:var(--white); color:var(--body); border:1px solid var(--line);
  border-bottom-left-radius:6px; justify-self:start;
  display:flex; flex-direction:column; gap:6px;
}
.chat-src{font-size:12px; color:var(--muted-dark);}
.chat-foot{margin:0; font-size:12px; color:var(--muted-dark); text-align:center; padding-top:2px;}

/* ---------- плашка готовности на карточках дорожной карты ---------- */
.chip{
  align-self:flex-start; font-size:12px; font-weight:600; letter-spacing:.2px;
  padding:4px 10px; border-radius:999px; margin-bottom:2px;
}
.chip-dev{background:var(--turq-pale); color:var(--turq-deep);}
.chip-plan{background:var(--yellow-pale); color:#8A5F00;}

/* ---------- гарантии под тарифами ---------- */
.guarantees{margin-top:4px;}
.guarantees .tile{padding:16px 18px;}
.guarantees h3{font-size:16px;}
.guarantees p{font-size:15px;}
@media (min-width:1000px){.guarantees{grid-template-columns:repeat(3,1fr);}}

/* ---------- запуск, места, дисконт ---------- */
.launch-line,.spots{
  margin:0; font-size:16px; font-weight:600; color:var(--ink);
  background:rgba(255,255,255,.7); border-radius:var(--r-tile); padding:12px 16px;
}
.spots{margin-top:4px;}
.discount-value{font-size:22px; font-weight:700; color:var(--coral); margin:0;}

/* ---------- кто делает проект ---------- */
.founder{display:flex; flex-direction:column; gap:16px;}
.founder-photo{
  width:96px; height:96px; border-radius:50%; object-fit:cover;
  border:3px solid var(--white); box-shadow:var(--shadow-s); flex:0 0 auto;
}
.founder-body{display:grid; gap:10px;}
.founder-body p{margin:0;}
.founder-name{font-size:18px; font-weight:700; color:var(--ink);}
.founder-role{font-weight:400; color:var(--muted-dark); font-size:16px;}
@media (min-width:720px){
  .founder{flex-direction:row; align-items:flex-start; gap:24px;}
  .founder-photo{width:132px; height:132px;}
}

/* Текст только для скринридеров: подписи говорящих в примере диалога. */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
}


/* Обратный билет с бизнес-лендинга к владельческой части. Отличается от
   якорей страницы: это уход на другой раздел, а не прокрутка. */
.nav-owner { border-left: 1px solid #d9e3e6; padding-left: 14px; margin-left: 4px; color: #16707f; }
