/* landing:v4 — стартовая страница FEEL BOX. Файл ставит landing_setup.py, вручную его не правьте. */
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-text.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #162036; --text: #1e2a44; --text2: #47536b; --muted: #5b6780; --paper: #f3f5fa; --tint: #f7f9fd;
  --line: #e2e7f0; --line2: #c9d2e3;
  --accent: #2b4de6; --accent-d: #1f3bc0; --accent-soft: #e8ecfd; --accent-on-dark: #a9b8ff;
  --ok: #0b6b49; --ok-bg: #e1f4ea; --warn: #7a4f00; --warn-bg: #fff0cc;
  --on-dark: #b9c3da; --err-on-dark: #ffb4b4; --ok-on-dark: #9be7c4;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.lp { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
:where(.lp) :is(h1, h2, h3, p, ul, dl, dd, dt, figure) { margin: 0; padding: 0; }
:where(.lp) ul { list-style: none; }
:where(.lp) a { color: inherit; text-decoration: none; }
.lp :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }

/* предпросмотр для сотрудников */
.pv { background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.pv .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 9px; padding-bottom: 9px; }
.pv a { font-weight: 700; text-decoration: underline; }

/* шапка */
.top { display: flex; align-items: center; gap: 40px; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.logo i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; }
.logo svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 30px; margin-left: 8px; font-size: 15px; font-weight: 500; color: var(--text2); }
.nav a:hover { color: var(--accent); }
.sp { flex: 1; }
.acts { display: flex; align-items: center; gap: 10px; }
.plink { display: inline-flex; align-items: center; height: 42px; padding: 0 10px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.plink:hover { color: var(--ink); text-decoration: underline; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 12px; border: 1.5px solid transparent; font: 600 16px/1 var(--font); cursor: pointer; white-space: nowrap; text-align: center; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); }
.btn-ghost { background: #fff; border-color: var(--line2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* заголовки и текст */
.h1 { font-size: 58px; line-height: 1.04; font-weight: 800; letter-spacing: -.032em; color: var(--ink); text-wrap: balance; }
.h2 { font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.024em; color: var(--ink); text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.lead { font-size: 19px; line-height: 1.55; color: var(--text2); max-width: 34em; }

/* блоки страницы */
.sec { padding: 96px 0; }
.sec-paper { background: var(--paper); }
.sec-h { margin-bottom: 44px; max-width: 46rem; }
.sec-h .lead { margin-top: 14px; }
.hero { padding: 56px 0 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 72px; align-items: center; }
.hero .h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sub { margin-top: 22px; font-size: 15px; color: var(--muted); }
.sub a { color: var(--accent); font-weight: 600; }

/* пример личного кабинета */
.cabfig figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.cab { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px rgba(22, 32, 54, .13); overflow: hidden; font-size: 15px; }
.cab-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 16px; }
.cab-h span { font-weight: 500; font-size: 13px; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.cab-p { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cab-p b { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.cab-p small { display: block; font-size: 13px; color: var(--muted); margin: 2px 0 12px; }
.szs { display: flex; gap: 8px; flex-wrap: wrap; }
.sz { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; line-height: 1.15; }
.sz em { font-style: normal; font-size: 12px; color: var(--muted); }
.sz strong { font-size: 17px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sz.low { background: var(--warn-bg); border-color: #f2d58a; }
.sz.low strong { color: var(--warn); }
.sz.zero { background: var(--paper); }
.sz.zero strong { color: var(--muted); }
.cab-i { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.cab-i .t { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; line-height: 1.3; }
.cab-i .t small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.cab-i .s { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.no { background: var(--warn-bg); color: var(--warn); }
.cab-c { padding: 16px 22px 20px; background: var(--tint); display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; }
.msg.in { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--text); }
.msg.out { align-self: flex-end; background: var(--accent); color: #fff; border-top-right-radius: 4px; }

/* прайс: меню с точками */
.menu { column-count: 2; column-gap: 72px; }
.cat { break-inside: avoid; page-break-inside: avoid; margin-bottom: 40px; }
.cat.cat-long { break-inside: auto; page-break-inside: auto; }
.cat h3 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); break-after: avoid; }
.row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; }
.row .n { min-width: 0; color: var(--text); overflow-wrap: anywhere; }
.row .d { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line2); transform: translateY(-4px); }
.row .p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.note { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--line2); color: var(--muted); font-size: 15px; }
.empty { padding: 28px; border: 1px dashed var(--line2); border-radius: 16px; color: var(--text2); background: #fff; }

/* как начать */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step .no { font-weight: 800; font-size: 15px; color: var(--accent); margin-bottom: 10px; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--text2); }

/* что в кабинете */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { padding: 4px 32px 4px 28px; border-left: 1px solid var(--line2); }
.feat:first-child { padding-left: 0; border-left: 0; }
.feat svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feat p { margin-top: 8px; font-size: 15.5px; color: var(--text2); }

/* о нас */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.about .h2 { margin-bottom: 4px; }
.about .lead { margin-top: 20px; }
.facts { border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { color: var(--ink); font-weight: 500; }
.facts dd a { color: var(--accent); font-weight: 600; }
.facts dd a:hover { text-decoration: underline; }
.facts dd span { display: block; }

/* заявка и контакты */
.band { background: var(--ink); color: #fff; padding: 88px 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.band-grid.solo { grid-template-columns: minmax(0, 680px); justify-content: center; }
.band .h2 { color: #fff; margin-bottom: 12px; }
.band .lead { color: var(--on-dark); margin-bottom: 28px; }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 24px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.kinds legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kind { position: relative; display: block; cursor: pointer; }
.kind input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kind span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.25; text-align: center; color: var(--on-dark); }
.kind input:checked + span { background: #fff; color: var(--ink); }
.kind input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.fld { display: block; margin-bottom: 16px; }
.fld > span { display: block; margin-bottom: 7px; font-size: 14px; color: var(--on-dark); }
.inp { display: block; width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07); color: #fff; font: 400 16px var(--font); }
.inp::placeholder { color: #aab5cc; }
.inp:focus { border-color: #fff; outline: 0; background: rgba(255, 255, 255, .11); }
.inp[aria-invalid="true"] { border-color: var(--err-on-dark); }
textarea.inp { height: 104px; padding-top: 14px; padding-bottom: 14px; resize: vertical; line-height: 1.45; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.agree input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.agree a { color: #fff; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 1.5em; color: var(--on-dark); }
.form-msg.err { color: var(--err-on-dark); }
.form-msg:empty { display: none; }
.done { padding: 28px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 18px; background: rgba(255, 255, 255, .07); }
.done .h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.done p { color: var(--ok-on-dark); }
.contacts { border: 1px solid rgba(255, 255, 255, .2); border-radius: 22px; padding: 40px; }
.contacts .h3 { color: #fff; font-size: 26px; margin-bottom: 22px; }
.contacts dl > div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.contacts dt { font-size: 14px; color: var(--on-dark); margin-bottom: 2px; }
.contacts dd { font-size: 19px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.contacts dd a:hover { text-decoration: underline; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot a:hover { color: var(--accent); }

/* планшет */
@media (max-width: 1040px) {
  .h1 { font-size: 48px; }
  .h2 { font-size: 34px; }
  .hero { padding-bottom: 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .cabfig { max-width: 580px; }
  .menu { column-gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .feat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .about, .band-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .band-grid.solo { grid-template-columns: minmax(0, 1fr); }
}

/* узкий компьютер и планшет: ссылки на разделы страницы уходят, чтобы шапка не переполнялась */
@media (max-width: 980px) {
  .nav { display: none; }
}

/* телефон */
@media (max-width: 760px) {
  body.lp { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .top { height: 64px; gap: 12px; }
  .acts .btn-primary { display: none; }
  .logo { font-size: 19px; }
  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .lead { font-size: 17px; }
  .sec { padding: 56px 0; }
  .sec-h { margin-bottom: 28px; }
  .hero { padding: 20px 0 52px; }
  .hero .lead { margin-bottom: 26px; }
  .hero-grid { gap: 40px; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; }
  .cab-h, .cab-p, .cab-i, .cab-c { padding-left: 16px; padding-right: 16px; }
  .menu { column-count: 1; }
  .cat { margin-bottom: 28px; }
  .note { flex-direction: column; align-items: stretch; gap: 16px; }
  .note .btn { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .facts > div { grid-template-columns: 104px minmax(0, 1fr); }
  .band { padding: 56px 0; }
  .band .btn { width: 100%; }
  .contacts { padding: 28px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 560px) {
  .plink { padding: 0 8px; }
  .feats { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feat, .feat:nth-child(odd) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line2); }
  .feat:first-child { border-top: 0; padding-top: 0; }
  .feat svg { margin-bottom: 12px; }
}

@media (max-width: 420px) {
  .kind span { font-size: 14px; padding: 8px 6px; }
  .top { gap: 8px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo i { width: 32px; height: 32px; }
  .plink { padding: 0 6px; font-size: 14px; }
  .acts { gap: 6px; }
  .acts .btn-sm { padding: 0 14px; }
}
@media (max-width: 350px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo { font-size: 15px; gap: 6px; }
  .logo i { width: 28px; height: 28px; }
  .plink { padding: 0 4px; font-size: 13px; }
  .acts .btn-sm { padding: 0 10px; font-size: 14px; }
}

@media print {
  .top, .cta, .band form, .skip, .pv { display: none !important; }
  .sec, .band { padding: 24px 0; }
}
