/* ================= ARMIHELP — Светлый корпоративный ================= */
:root{
  --white:#FFFFFF;
  --tint:#F4F8FD;
  --chip:#EAF2FE;
  --chip-ink:#14315C;
  --navy:#14315C;
  --accent:#2563EB;
  --accent-hover:#1E4FC7;
  --ink:#0F1B2E;
  --muted:#5B6B82;
  --border:#E2E8F0;
  --radius-card:16px;
  --radius-btn:12px;
  --radius-chip:8px;
  --wrap:1120px;
  --shadow-feature:0 10px 30px rgba(20,49,92,.10);
  --shadow-card:0 2px 10px rgba(20,49,92,.04);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);background:var(--white);line-height:1.5;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
button{font-family:inherit;cursor:pointer}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px;width:100%}

/* ---------- typography helpers ---------- */
.eyebrow{
  font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:none;
  color:var(--accent);margin-bottom:14px;
}
.eyebrow--dark{color:#9DBDF0}
.eyebrow--onphoto{color:#DCE9FF}
.h2{
  font-size:clamp(29px,4.6vw,46px);font-weight:800;line-height:1.1;
  letter-spacing:-.018em;text-wrap:balance;hyphens:manual;color:var(--navy);
  max-width:17ch;
}
.h2--light{color:#fff;max-width:20ch}
.lead{
  font-size:clamp(17px,2.1vw,20px);color:var(--muted);margin-top:18px;
  max-width:58ch;text-wrap:balance;line-height:1.6;
}
.lead--light{color:#C7D6EE}
.lead--wide{max-width:64ch}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:var(--accent);color:#fff;border:1px solid var(--accent);
  border-radius:var(--radius-btn);font-weight:700;font-size:16px;
  padding:14px 24px;min-height:52px;transition:background .18s,transform .05s;
  text-align:center;line-height:1.25;
}
.btn:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.btn:active{transform:translateY(1px)}
.btn .ti{font-size:20px}
.btn--lg{padding:16px 30px;font-size:17px;min-height:56px}
.btn--sm{min-height:42px;padding:9px 16px;font-size:14px}
.btn--block{width:100%}
.btn--ghost{background:transparent;color:var(--navy);border-color:transparent}
.btn--ghost:hover{background:var(--chip);border-color:transparent}
.btn--outline{background:transparent;color:var(--accent);border-color:var(--accent)}
.btn--outline:hover{background:var(--accent);color:#fff}

.brand{font-weight:800;letter-spacing:.08em;font-size:15px;color:var(--navy)}
.brand--footer{color:#fff;display:block;margin-bottom:12px}

/* ================= HERO (сплит: текст｜фото) ================= */
.hero{background:#fff;color:var(--ink);overflow:hidden}
.topbar{display:flex;align-items:center;justify-content:space-between;padding-top:20px;padding-bottom:20px}
.topbar .brand{color:var(--navy)}
.topbar .btn--ghost{color:var(--navy);border-color:var(--border);background:#fff}
.topbar .btn--ghost:hover{background:var(--tint)}
.hero__grid{
  display:grid;grid-template-columns:1.12fr 0.88fr;gap:56px;align-items:center;
  padding:44px 20px 84px;
}
.hero__text{min-width:0}
.hero__h1{margin:0;letter-spacing:-.02em}
.hero__h1-money{
  display:block;font-size:clamp(38px,5.6vw,64px);font-weight:800;
  color:var(--navy);line-height:1.02;
}
.hero__h1-rest{
  display:block;font-size:clamp(21px,3vw,32px);font-weight:700;
  color:var(--ink);line-height:1.14;margin-top:10px;text-wrap:balance;
}
.hero__sub{font-size:clamp(16px,1.5vw,20px);color:var(--muted);margin-top:22px;max-width:46ch;line-height:1.55;text-wrap:balance}
.hero .btn--lg{margin-top:32px}
.hero__note{font-size:14.5px;color:var(--muted);margin-top:15px;max-width:42ch}
.hero__trust{
  display:inline-flex;align-items:center;gap:9px;margin-top:26px;
  font-size:14px;font-weight:600;color:var(--chip-ink);
  background:var(--chip);border:1px solid #D3E3FB;
  padding:10px 16px;border-radius:100px;
}
.hero__trust .ti{color:#1E9E5A;font-size:19px}
.hero__media{min-width:0}
.hero__img{
  width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:20px;
  box-shadow:0 24px 60px rgba(20,49,92,.18);background:var(--tint);display:block;
}
.hero__img--empty{display:flex;align-items:center;justify-content:center;color:#AEC1DA;font-size:56px}

/* ================= SECTIONS ================= */
.section{padding:84px 0}
.section--tint{background:var(--tint)}
.section__cta{margin-top:44px}
.section .eyebrow{margin-bottom:14px}
.section .h2 + .lead,.section .lead{margin-bottom:0}
.section .lead{margin-bottom:42px}
.h2{margin-top:0}

/* full-bleed dark bands — интенциональные полосы с воздухом */
.band{
  position:relative;background:var(--navy);color:#fff;padding:88px 0;
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  width:100vw;
}
.band .wrap{max-width:var(--wrap)}
.band .eyebrow{margin-bottom:14px}
.band .lead--light{margin-bottom:44px}
.band__cta{margin-top:48px}

/* ================= GRID + CARDS ================= */
.grid{display:grid;gap:18px;margin-top:14px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);
  padding:26px 24px;box-shadow:var(--shadow-card);
}
.card__num{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:11px;background:var(--chip);color:var(--chip-ink);
  font-weight:800;font-size:17px;margin-bottom:16px;
}
.card__title{font-size:19px;font-weight:700;color:var(--navy);margin-bottom:8px;line-height:1.25}
.card__text{font-size:15px;color:var(--muted);line-height:1.55}
.card--dark{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.card--dark .card__num{background:var(--accent);color:#fff}
.card--dark .card__title{color:#fff}
.card--dark .card__text{color:#C7D6EE}
.card__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;background:var(--chip);color:var(--accent);
  font-size:28px;margin-bottom:16px;
}
.card--avatar .card__icon{font-size:26px}

/* ================= SPLIT (экран 3) ================= */
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:8px}
.split__col{border-radius:var(--radius-card);padding:28px 26px;border:1px solid var(--border)}
.split__col--net{background:var(--chip)}
.split__col--you{background:#fff}
.split__title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;color:var(--navy);margin-bottom:18px}
.split__title .ti{font-size:22px;color:var(--accent)}
.ticklist li{display:flex;align-items:flex-start;gap:11px;padding:9px 0;font-size:16px;color:var(--ink);border-top:1px solid rgba(20,49,92,.08)}
.ticklist li:first-child{border-top:0}
.ticklist .ti{color:var(--accent);font-size:20px;flex:none;margin-top:1px}
.split__col--net .ticklist li{border-color:rgba(20,49,92,.10)}

/* ================= BENTO ================= */
.bento{display:grid;gap:16px;margin-top:14px}
.bento--8{grid-template-columns:repeat(4,1fr)}
.bento--team{grid-template-columns:repeat(3,1fr)}
.bento__cell{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);
  padding:24px 22px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;
}
.section--tint .bento__cell{background:#fff}
.bento__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:50px;height:50px;border-radius:14px;background:var(--chip);color:var(--accent);
  font-size:27px;margin-bottom:15px;
}
.bento__title{font-size:18px;font-weight:700;color:var(--navy);margin-bottom:7px;line-height:1.25}
.bento__text{font-size:14.5px;color:var(--muted);line-height:1.55}
/* .bento__cell.bento__cell--feature — двойной класс поднимает специфичность (0,2,0),
   иначе `.section--tint .bento__cell{background:#fff}` перебивал navy-фон фичер-карточки
   и белый текст/иконка становились невидимы на белом. */
.bento__cell.bento__cell--feature{
  grid-column:span 2;grid-row:span 2;background:var(--navy);border-color:var(--navy);
  box-shadow:var(--shadow-feature);justify-content:center;
}
.section--tint .bento__cell.bento__cell--feature{background:var(--navy)}
.bento__cell--feature .bento__icon{width:60px;height:60px;font-size:34px;background:rgba(255,255,255,.12);color:#fff}
.bento__cell--feature .bento__title{color:#fff;font-size:23px}
.bento__cell--feature .bento__text{color:#C7D6EE;font-size:16px}
.bento--8 .bento__cell--feature{grid-row:span 2}

/* ================= ROADMAP (экран 6) ================= */
.roadmap{position:relative;margin-top:10px;display:flex;flex-direction:column;gap:6px}
.roadmap__item{position:relative;display:flex;gap:20px;padding:0 0 26px 0}
.roadmap__item:last-child{padding-bottom:0}
.roadmap__item::before{
  content:'';position:absolute;left:19px;top:40px;bottom:0;width:2px;
  background:rgba(255,255,255,.18);
}
.roadmap__item:last-child::before{display:none}
.roadmap__dot{
  flex:none;width:40px;height:40px;border-radius:50%;background:var(--accent);
  color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;
  font-size:17px;z-index:1;
}
.roadmap__body{padding-top:2px}
.roadmap__when{font-size:13px;font-weight:700;color:#9DBDF0;text-transform:uppercase;letter-spacing:.03em}
.roadmap__title{font-size:19px;font-weight:700;color:#fff;margin:3px 0 6px}
.roadmap__text{font-size:15px;color:#C7D6EE;line-height:1.55;max-width:60ch}

/* ================= FACTS (экран 7) ================= */
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:14px}
.fact{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);
  padding:28px 26px;box-shadow:var(--shadow-card);
}
.fact__big{display:block;font-size:clamp(28px,4vw,38px);font-weight:800;color:var(--accent);line-height:1.05;letter-spacing:-.01em}
.fact__text{display:block;font-size:15px;color:var(--muted);margin-top:8px}

/* ================= COMPARE (экран 9) ================= */
.ctable-wrap{overflow-x:auto;margin-top:14px;border-radius:var(--radius-card);border:1px solid var(--border);background:#fff}
.ctable{width:100%;border-collapse:collapse;min-width:720px}
.ctable th,.ctable td{padding:15px 16px;text-align:left;font-size:14.5px;border-bottom:1px solid var(--border);vertical-align:middle}
.ctable thead th{font-weight:700;color:var(--navy);font-size:14px;background:var(--tint)}
.ctable__rowlabel{font-weight:700;color:var(--ink);background:var(--tint);white-space:nowrap}
.ctable td{color:var(--muted)}
.ctable__hl{background:var(--chip)!important;color:var(--navy)!important;font-weight:700}
.ctable thead .ctable__hl{background:var(--accent)!important;color:#fff!important}
.ctable tbody tr:last-child th,.ctable tbody tr:last-child td{border-bottom:0}
.cstack{display:none;flex-direction:column;gap:14px;margin-top:14px}
.cstack__row{background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);padding:18px;box-shadow:var(--shadow-card)}
.cstack__label{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:12px}
.cstack__others{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.cstack__other{display:flex;justify-content:space-between;gap:14px;font-size:14px;color:var(--muted)}
.cstack__col{color:#8896a8;flex:none;max-width:48%}
.cstack__ours{
  display:flex;justify-content:space-between;gap:14px;align-items:center;
  background:var(--chip);border-radius:10px;padding:12px 14px;
  font-size:15px;font-weight:700;color:var(--navy);
}
.cstack__ours .cstack__col{color:var(--accent);display:inline-flex;align-items:center;gap:6px}
.cstack__ours .ti{font-size:17px}

/* ================= STEPS FLOW (экран 10) ================= */
.steps-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:14px;counter-reset:sf}
.steps-flow__item{
  background:var(--tint);border:1px solid var(--border);border-radius:var(--radius-card);
  padding:22px 20px;display:flex;flex-direction:column;gap:12px;
}
.section--tint .steps-flow__item{background:#fff}
.steps-flow__n{
  width:36px;height:36px;border-radius:10px;background:var(--accent);color:#fff;
  font-weight:800;display:flex;align-items:center;justify-content:center;font-size:16px;
}
.steps-flow__t{font-size:15px;font-weight:600;color:var(--ink);line-height:1.45}

/* ================= FINAL (экран 11) ================= */
.band--final{padding:60px 0}
.final{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.getlist{margin-top:24px;display:flex;flex-direction:column;gap:14px}
.getlist li{display:flex;align-items:flex-start;gap:12px;font-size:17px;color:#E7F0FF}
.getlist .ti{color:#8FE3B0;font-size:23px;flex:none}
.quizbox{background:#fff;border-radius:20px;padding:26px 24px;color:var(--ink);box-shadow:0 20px 50px rgba(0,0,0,.25)}

/* ================= FOOTER ================= */
.footer{background:#0C1A30;color:#93A4BD;padding:44px 0 120px}
.footer__inner{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.footer__legal p{font-size:14px;line-height:1.7;margin-top:2px}
.footer__links{display:flex;flex-direction:column;gap:10px}
.footer__links a{color:#B9C7DC;font-size:14px}
.footer__links a:hover{color:#fff}

/* ================= STICKY MOBILE BAR ================= */
.stickybar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:40;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.92);backdrop-filter:blur(10px);
  border-top:1px solid var(--border);box-shadow:0 -4px 20px rgba(20,49,92,.08);
}

/* ================= MODAL / QUIZ ================= */
.modal{position:fixed;inset:0;z-index:100;display:none}
.modal.is-open{display:block}
.modal__backdrop{position:absolute;inset:0;background:rgba(12,26,48,.55);backdrop-filter:blur(3px)}
.modal__dialog{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow-y:auto;
  background:#fff;border-radius:20px;padding:28px 26px;box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.modal__close{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:10px;border:0;background:var(--tint);color:var(--muted);display:flex;align-items:center;justify-content:center;font-size:20px}
.modal__close:hover{background:var(--chip);color:var(--navy)}
.modal__intent{
  display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:var(--accent);
  background:var(--chip);padding:7px 13px;border-radius:100px;margin-bottom:16px;
}

/* quiz internals (shared by modal + inline final) */
.quiz__progress{height:6px;border-radius:100px;background:var(--border);overflow:hidden;margin-bottom:22px}
.quiz__bar{display:block;height:100%;width:33%;background:var(--accent);border-radius:100px;transition:width .3s}
.quiz__q{font-size:21px;font-weight:700;color:var(--navy);margin-bottom:18px;line-height:1.25}
.quiz__opts{display:flex;flex-direction:column;gap:10px}
.quiz__opt{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;
  background:#fff;border:1.5px solid var(--border);border-radius:12px;padding:15px 16px;
  font-size:16px;font-weight:600;color:var(--ink);transition:border-color .15s,background .15s;
}
.quiz__opt:hover{border-color:var(--accent);background:var(--tint)}
.quiz__opt.is-sel{border-color:var(--accent);background:var(--chip)}
.quiz__opt .dot{width:20px;height:20px;border-radius:50%;border:2px solid var(--border);flex:none}
.quiz__opt.is-sel .dot{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px #fff}
.quiz__field{margin-bottom:14px}
.quiz__label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:7px}
.quiz__input{
  width:100%;border:1.5px solid var(--border);border-radius:12px;padding:14px 15px;
  font-size:16px;font-family:inherit;color:var(--ink);background:#fff;
}
.quiz__input:focus{outline:none;border-color:var(--accent)}
.quiz__channels{display:flex;gap:8px;margin-bottom:16px}
.quiz__chan{flex:1;text-align:center;border:1.5px solid var(--border);border-radius:10px;padding:11px 6px;font-size:14px;font-weight:600;color:var(--ink);background:#fff}
.quiz__chan.is-sel{border-color:var(--accent);background:var(--chip);color:var(--navy)}
.quiz__back{background:none;border:0;color:var(--muted);font-size:14px;font-weight:600;padding:8px 0;margin-top:4px;display:inline-flex;align-items:center;gap:5px}
.quiz__back:hover{color:var(--navy)}
.quiz__err{color:#D14343;font-size:14px;margin-bottom:10px;min-height:1px}
.quiz__success{text-align:center;padding:6px 0}
.quiz__success .ti{font-size:56px;color:#22A867;margin-bottom:10px}
.quiz__success h3{font-size:22px;font-weight:800;color:var(--navy);margin-bottom:10px}
.quiz__success p{font-size:15px;color:var(--muted);margin-bottom:20px;line-height:1.55}
/* inline final quiz uses navy question text on white box already */

/* ================= RESPONSIVE ================= */
@media (max-width:960px){
  .bento--8{grid-template-columns:repeat(2,1fr)}
  .bento--team{grid-template-columns:repeat(2,1fr)}
  .steps-flow{grid-template-columns:repeat(2,1fr)}
  .facts{grid-template-columns:repeat(2,1fr)}
  .final{grid-template-columns:1fr;gap:30px}
}
/* Мобильный герой: текст блоком НАД фото, фото — контейнерный блок на всю ширину */
@media (max-width:860px){
  .hero__grid{grid-template-columns:1fr;gap:30px;padding:32px 20px 64px}
  /* та же рамка кропа 4/5, что и на десктопе — кроп из админки одинаков на всех экранах */
  .hero__img{aspect-ratio:4/5;max-width:380px;margin-left:auto;margin-right:auto}
  .hero__text{max-width:640px}
}
@media (max-width:768px){
  .section{padding:56px 0}
  .band{padding:60px 0}
  .grid-3,.grid-4{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .ctable-wrap{display:none}
  .cstack{display:flex}
  .stickybar{display:block}
  .footer{padding-bottom:100px}
  .topbar .btn--sm{display:none}
}
@media (max-width:560px){
  .bento--8,.bento--team{grid-template-columns:1fr}
  .bento__cell.bento__cell--feature{grid-column:auto;grid-row:auto}
  .steps-flow{grid-template-columns:1fr}
  .facts{grid-template-columns:1fr}
  .hero__grid{padding:24px 20px 52px}
  .hero__img{aspect-ratio:4/5;max-width:340px}
  .grid-4{grid-template-columns:1fr}
}
@media (max-width:400px){
  .facts{grid-template-columns:1fr}
  .quiz__channels{flex-direction:column}
  .quiz__chan{padding:13px}
}
