/* AIT Standard - общие стили внутренних страниц. Главная подключает этот файл только ради шапки и подвала. */
body { margin:0; background:#f6f6f3; color:#191919; font-family:"Inter","Noto Sans",system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
a { color:#0e4633; text-decoration:none; }
a:hover { color:#0a3527; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:2px solid #0e4633; outline-offset:2px; }
html { scroll-behavior:smooth; }
[id] { scroll-margin-top:84px; }
.tnum { font-variant-numeric:tabular-nums; }
.skip { position:absolute; left:-9999px; top:8px; z-index:50; background:#0e4633; color:#fff; padding:10px 14px; border-radius:10px; font-weight:700; }
.skip:focus { left:12px; color:#fff; }

/* ---------- шапка ---------- */
.hdr { position:sticky; top:0; z-index:30; background:rgba(246,246,243,0.94); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid #e9e8e3; }
.hdr-in { max-width:1160px; margin:0 auto; padding:12px 24px; display:flex; align-items:center; gap:20px; min-height:64px; }
.logo { display:flex; align-items:center; gap:11px; font-size:19px; font-weight:800; letter-spacing:-0.8px; color:#191919; flex-shrink:0; }
.logo:hover { color:#191919; }
.hdr-nav { display:flex; gap:20px; flex:1; font-size:13.5px; font-weight:500; }
.hdr-nav a { color:#6f6e69; transition:color .15s ease; white-space:nowrap; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color:#191919; }
.hdr-nav a[aria-current="page"] { font-weight:700; }
.hdr-act { display:flex; align-items:center; gap:6px; flex-shrink:0; margin-left:auto; }
.lang { display:flex; align-items:center; height:40px; padding:0 6px; font-size:12.5px; font-weight:700; letter-spacing:0.4px; color:#9a998f; }
.lang a { color:#6f6e69; padding:4px; border-radius:6px; }
.lang a:hover { color:#191919; }
.lang span[aria-current] { color:#191919; padding:4px; }
.lang i { font-style:normal; color:#d4d3cd; }
.btn { display:inline-flex; align-items:center; justify-content:center; height:40px; padding:0 16px; border-radius:10px; font-size:13.5px; font-weight:700; transition:background .15s ease, color .15s ease, border-color .15s ease; white-space:nowrap; }
.btn-primary { background:#0e4633; color:#fff; }
.btn-primary:hover { background:#0a3527; color:#fff; }
.btn-ghost { color:#6f6e69; font-weight:600; }
.btn-ghost:hover { color:#191919; }
.btn-outline { background:#fff; border:1px solid #d4d3cd; color:#191919; }
.btn-outline:hover { border-color:#0e4633; color:#191919; }
.btn-lg { height:auto; min-height:52px; padding:12px 24px; border-radius:12px; font-size:15px; white-space:normal; text-align:center; line-height:1.3; }
.btn-light { background:#fff; color:#0e4633; }
.btn-light:hover { background:#e8f1ec; color:#0a3527; }
.burger { display:none; width:42px; height:42px; border:1px solid #e0dfd9; background:#fff; border-radius:10px; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.burger span, .burger span::before, .burger span::after { display:block; width:18px; height:2px; background:#191919; border-radius:2px; position:relative; transition:transform .2s ease, background .2s ease; }
.burger span::before, .burger span::after { content:""; position:absolute; left:0; }
.burger span::before { top:-6px; }
.burger span::after { top:6px; }
.burger[aria-expanded="true"] span { background:transparent; }
.burger[aria-expanded="true"] span::before { transform:translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform:translateY(-6px) rotate(-45deg); }
.mnav { display:none; }
@media (max-width:1020px) {
  .hdr-nav, .hdr-act .btn-ghost { display:none; }
  .burger { display:inline-flex; }
  .mnav { border-top:1px solid #e9e8e3; background:#f6f6f3; padding:8px 24px 20px; }
  .mnav.open { display:block; }
  .mnav a { display:block; padding:13px 0; border-bottom:1px solid #e9e8e3; font-size:16px; font-weight:600; color:#191919; }
  .mnav a[aria-current="page"] { color:#0e4633; }
  .mnav .mnav-login { color:#6f6e69; border-bottom:0; }
}
/* на телефоне в шапке только логотип, язык и бургер - «Демо для центра» живёт в меню */
@media (max-width:560px) {
  .hdr-act .btn-primary { display:none; }
  .mnav .mnav-demo { display:flex; align-items:center; justify-content:center; margin:14px 0 4px; height:48px; padding:0; border:0; border-radius:12px; background:#0e4633; color:#fff; font-size:15px; font-weight:700; }
}
@media (max-width:420px) {
  .hdr-in { padding:10px 16px; gap:10px; }
  .logo span { font-size:17px; }
  .lang { padding:0 2px; }
}

/* ---------- подвал ---------- */
.ftr { margin-top:80px; border-top:1px solid #e9e8e3; background:#f1f0ec; }
.ftr-in { max-width:1160px; margin:0 auto; padding:44px 24px 28px; }
.ftr-grid { display:grid; grid-template-columns:1.2fr repeat(4,1fr); gap:28px; }
.ftr-grid h2 { margin:0 0 12px; font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#9a998f; }
.ftr-grid ul { list-style:none; margin:0; padding:0; }
.ftr-grid li { margin:0 0 9px; }
.ftr-grid li a { font-size:13.5px; color:#6f6e69; }
.ftr-grid li a:hover { color:#191919; }
.ftr-about p { margin:12px 0 0; font-size:13px; line-height:1.6; color:#6f6e69; max-width:260px; }
.ftr-bottom { margin-top:32px; padding-top:18px; border-top:1px solid #e0dfd9; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; font-size:12.5px; color:#9a998f; }
.ftr-bottom a { color:#6f6e69; }
@media (max-width:900px) { .ftr-grid { grid-template-columns:1fr 1fr; } .ftr-about { grid-column:1 / -1; } }
@media (max-width:420px) { .ftr-in { padding:36px 16px 24px; } }

/* ---------- каркас страницы ---------- */
.wrap { max-width:1160px; margin:0 auto; padding:0 24px; }
@media (max-width:420px) { .wrap { padding:0 16px; } }
.crumbs { padding-top:28px; font-size:13px; color:#9a998f; }
.crumbs ol { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.crumbs li + li::before { content:"›"; margin-right:6px; color:#c9c8c1; }
.crumbs a { color:#6f6e69; }
.crumbs a:hover { color:#191919; }
.page-hero { padding:22px 0 8px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; height:28px; padding:0 12px; border-radius:99px; background:#e8f1ec; color:#0e4633; font-size:12px; font-weight:700; letter-spacing:0.2px; }
.page-hero h1 { margin:18px 0 0; font-size:clamp(30px,4.4vw,48px); line-height:1.08; letter-spacing:-1.5px; font-weight:800; max-width:900px; text-wrap:balance; overflow-wrap:break-word; }
.lead { margin:18px 0 0; max-width:760px; font-size:clamp(16px,1.6vw,18.5px); line-height:1.62; color:#45443f; text-wrap:pretty; }
.hero-cta { margin-top:26px; display:flex; flex-wrap:wrap; gap:12px; }
.meta { margin-top:18px; font-size:13px; color:#9a998f; }

.layout { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:56px; align-items:start; margin-top:36px; }
.layout.no-aside { grid-template-columns:minmax(0,1fr); }
@media (max-width:1020px) { .layout { grid-template-columns:minmax(0,1fr); gap:0; } .layout aside { order:-1; } }
.toc { position:sticky; top:88px; border:1px solid #e9e8e3; background:#fff; border-radius:16px; padding:18px 18px 12px; }
.toc h2 { margin:0 0 10px; font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#9a998f; }
.toc ol { margin:0; padding:0 0 0 18px; font-size:13.5px; line-height:1.45; color:#9a998f; }
.toc li { margin-bottom:8px; }
.toc a { color:#45443f; }
.toc a:hover { color:#0e4633; }
@media (max-width:1020px) { .toc { position:static; margin-bottom:28px; } }

/* текст */
.prose { font-size:16px; line-height:1.72; color:#2b2a27; max-width:780px; }
.prose > section { margin-top:44px; }
.prose > section:first-child { margin-top:0; }
.prose h2 { margin:0 0 14px; font-size:clamp(23px,2.6vw,30px); line-height:1.2; letter-spacing:-0.8px; font-weight:750; color:#191919; }
.prose h3 { margin:26px 0 8px; font-size:18px; line-height:1.3; font-weight:700; color:#191919; }
.prose p { margin:0 0 14px; }
.prose ul, .prose ol { margin:0 0 16px; padding-left:22px; }
.prose li { margin-bottom:7px; }
.prose a { text-decoration:underline; text-decoration-color:#b9cfc3; text-underline-offset:3px; }
.prose a:hover { text-decoration-color:#0e4633; }
.prose strong { font-weight:700; color:#191919; }
.prose .btn { text-decoration:none; }
.prose.wide { max-width:none; }

.tbl { width:100%; overflow-x:auto; margin:6px 0 18px; border:1px solid #e9e8e3; border-radius:14px; background:#fff; -webkit-overflow-scrolling:touch; }
.tbl table { width:100%; border-collapse:collapse; font-size:14.5px; line-height:1.5; min-width:520px; }
.tbl th, .tbl td { text-align:left; vertical-align:top; padding:12px 14px; border-bottom:1px solid #efeee9; }
.tbl thead th { background:#f6f6f3; font-size:12.5px; font-weight:700; letter-spacing:0.3px; color:#6f6e69; text-transform:uppercase; }
.tbl tbody th { font-weight:700; color:#191919; width:28%; }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom:0; }
.tbl .na { color:#9a998f; font-style:italic; }
.tbl .yes { color:#0e4633; font-weight:700; }

.note { margin:4px 0 18px; padding:14px 16px; border-radius:12px; background:#fff; border:1px solid #e9e8e3; font-size:13.5px; line-height:1.6; color:#6f6e69; }
.note strong { color:#191919; }
.note.warn { background:#fbf5e9; border-color:#efe0bf; color:#6b5424; }
.note.draft { background:#fbedea; border-color:#f1d0c9; color:#8c2b1d; font-weight:600; }
.src { margin:2px 0 22px; font-size:13px; line-height:1.6; color:#9a998f; }
.src a { color:#6f6e69; }

.callout { margin:8px 0 20px; padding:18px 20px; border-radius:16px; background:#e8f1ec; color:#123d2d; }
.callout p:last-child { margin-bottom:0; }
.summary { margin:0 0 30px; padding:20px 22px; border-radius:16px; background:#fff; border:1px solid #e9e8e3; }
.summary h2 { font-size:13px !important; letter-spacing:1px !important; text-transform:uppercase; color:#9a998f !important; margin:0 0 10px !important; }
.summary ul { margin:0; }

.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; margin:10px 0 22px; }
.card { display:block; border:1px solid #e9e8e3; background:#fff; border-radius:16px; padding:20px; color:#191919; }
a.card { text-decoration:none; transition:border-color .15s ease, transform .15s ease; }
a.card:hover { border-color:#0e4633; color:#191919; transform:translateY(-2px); }
.card h3 { margin:0 !important; font-size:16.5px !important; }
.card p { margin:8px 0 0 !important; font-size:14px; line-height:1.6; color:#6f6e69; }
.card .more { display:inline-block; margin-top:12px; font-size:13px; font-weight:700; color:#0e4633; }
.num { width:32px; height:32px; border-radius:10px; background:#e8f1ec; color:#0e4633; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; margin-bottom:12px; }
.num.red { background:#fbedea; color:#8c2b1d; }

.steps { counter-reset:s; list-style:none; padding:0 !important; margin:10px 0 22px; display:grid; gap:12px; }
.steps > li { counter-increment:s; position:relative; padding:16px 18px 16px 62px; border:1px solid #e9e8e3; background:#fff; border-radius:14px; margin:0; }
.steps > li::before { content:counter(s); position:absolute; left:16px; top:15px; width:32px; height:32px; border-radius:10px; background:#0e4633; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; }
.steps strong { display:block; }

.shot { margin:18px 0 26px; }
.shot img { display:block; max-width:100%; height:auto; }
.shot.desk img { border-radius:12px; border:1px solid #e0dfd9; box-shadow:0 22px 50px -28px rgba(14,70,51,.5); }
.shot.phone { max-width:280px; }
.shot.phone img { border-radius:28px; border:7px solid #141414; box-shadow:0 22px 50px -24px rgba(14,70,51,.55); }
.shot figcaption { margin-top:10px; font-size:13px; color:#9a998f; line-height:1.5; }
.phones { display:flex; flex-wrap:wrap; gap:22px; margin:18px 0 26px; }
.phones .shot { margin:0; flex:1 1 200px; max-width:260px; }

/* FAQ */
.faq details { border:1px solid #e9e8e3; background:#fff; border-radius:14px; padding:0 20px; }
.faq details + details { margin-top:10px; }
.faq summary { cursor:pointer; list-style:none; padding:17px 0; font-size:16px; font-weight:700; line-height:1.4; display:flex; justify-content:space-between; gap:16px; align-items:center; color:#191919; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; flex-shrink:0; width:26px; height:26px; border-radius:8px; background:#e8f1ec; color:#0e4633; display:flex; align-items:center; justify-content:center; font-weight:800; }
.faq details[open] summary::after { content:"-"; }
.faq details p { margin:0 0 18px; font-size:15px; line-height:1.65; color:#55544e; max-width:760px; }
.faq-group + .faq-group { margin-top:36px; }
.faq-group h2 { font-size:22px !important; }

/* CTA */
.cta { margin-top:56px; border-radius:22px; background:#0e4633; color:#fff; padding:clamp(26px,4vw,44px); display:flex; flex-wrap:wrap; gap:28px; align-items:center; }
.cta > div:first-child { flex:1 1 380px; min-width:0; }
.cta h2 { margin:0; font-size:clamp(22px,3vw,32px); line-height:1.18; letter-spacing:-0.8px; color:#fff; }
.cta p { margin:12px 0 0; font-size:15px; line-height:1.6; color:#cfded6; max-width:560px; }
.cta-actions { display:flex; flex-wrap:wrap; gap:10px; }
.cta .btn-outline { background:transparent; border-color:#4d7b67; color:#fff; }
.cta .btn-outline:hover { border-color:#fff; color:#fff; }
.cta-form { flex:1 1 320px; min-width:0; }
.cta-soft { margin-top:56px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cta-soft > div { border-radius:20px; padding:26px; min-width:0; }
.cta-soft .c1 { background:#0e4633; color:#cfded6; }
.cta-soft .c1 h2 { color:#fff; }
.cta-soft .c2 { background:#fff; border:1px solid #e9e8e3; color:#6f6e69; }
.cta-soft h2 { margin:0; font-size:20px; line-height:1.3; letter-spacing:-0.4px; }
.cta-soft p { margin:10px 0 18px; font-size:14.5px; line-height:1.6; }
@media (max-width:760px) { .cta-soft { grid-template-columns:1fr; } }

/* форма */
.form-card { background:#fff; border-radius:18px; padding:22px; color:#191919; border:1px solid #e9e8e3; }
.form-card .form-t { font-size:13px; font-weight:600; color:#6f6e69; }
.pilot-form { margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.field { height:50px; width:100%; border:1px solid #e0dfd9; border-radius:12px; padding:0 14px; font:inherit; font-size:14.5px; color:#191919; background:#fff; outline:none; transition:border-color .15s ease, box-shadow .15s ease; }
.field::placeholder { color:#9a998f; }
.field:focus { border-color:#0e4633; box-shadow:0 0 0 3px #e8f1ec; }
.field.invalid { border-color:#8c2b1d; box-shadow:0 0 0 3px #fbedea; }
.btn-submit { width:100%; height:52px; border:0; border-radius:12px; background:#0e4633; color:#fff; font-family:inherit; font-size:15px; font-weight:700; cursor:pointer; transition:background .15s ease; }
.btn-submit:hover { background:#0a3527; }
.btn-submit:disabled { opacity:.7; cursor:default; }
.form-err { margin-top:10px; padding:10px 12px; border-radius:10px; background:#fbedea; color:#8c2b1d; font-size:13px; line-height:1.5; }
.form-err a { color:#8c2b1d; text-decoration:underline; }
.form-ok { padding:18px 4px 6px; font-size:15px; line-height:1.55; color:#0e4633; font-weight:600; }
.form-legal { margin-top:12px; font-size:11.5px; line-height:1.5; color:#9a998f; }
.form-legal a { color:#6f6e69; text-decoration:underline; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

/* читайте также */
.related { margin-top:56px; }
.related h2 { margin:0 0 14px; font-size:13px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#9a998f; }
.related .cards { margin:0; }

/* интерактив: тест и калькулятор */
.tool { border:1px solid #e9e8e3; background:#fff; border-radius:20px; padding:clamp(18px,3vw,28px); margin:8px 0 26px; }
.tool-bar { display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center; justify-content:space-between; font-size:13.5px; color:#6f6e69; }
.tool-bar .timer { font-weight:800; color:#191919; font-size:16px; }
.progress { height:6px; border-radius:6px; background:#efeee9; overflow:hidden; margin:14px 0 20px; }
.progress > i { display:block; height:100%; width:0; background:#0e4633; transition:width .25s ease; }
.q-text { font-size:17px; line-height:1.55; font-weight:600; color:#191919; margin:0 0 16px; }
.opts { display:grid; gap:10px; }
.opt { display:flex; gap:12px; align-items:flex-start; width:100%; text-align:left; border:1px solid #e0dfd9; background:#fff; border-radius:12px; padding:13px 14px; font:inherit; font-size:15px; line-height:1.45; color:#191919; cursor:pointer; transition:border-color .15s ease, background .15s ease; }
.opt:hover { border-color:#0e4633; }
.opt[aria-pressed="true"] { border-color:#0e4633; background:#e8f1ec; }
.opt b { flex-shrink:0; width:24px; height:24px; border-radius:7px; background:#f1f0ec; display:flex; align-items:center; justify-content:center; font-size:12.5px; }
.tool-nav { margin-top:18px; display:flex; gap:10px; justify-content:space-between; flex-wrap:wrap; }
.tool button.btn { border:0; font-family:inherit; cursor:pointer; }
.tool button.btn-outline { border:1px solid #d4d3cd; }
.score { font-size:clamp(40px,7vw,64px); font-weight:800; letter-spacing:-2px; color:#0e4633; line-height:1; }
.rev { margin-top:14px; border-top:1px solid #efeee9; padding-top:14px; font-size:14.5px; line-height:1.6; }
.rev .ok { color:#0e4633; font-weight:700; }
.rev .bad { color:#8c2b1d; font-weight:700; }
.calc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.calc-grid label { display:block; font-size:13px; font-weight:600; color:#6f6e69; margin-bottom:6px; }
.calc-out { margin-top:20px; padding:20px; border-radius:16px; background:#e8f1ec; color:#123d2d; }
.calc-out .big { font-size:28px; font-weight:800; letter-spacing:-0.8px; }

/* 404 */
.nf { padding:80px 0 20px; text-align:center; }
.nf .code { font-size:clamp(72px,14vw,140px); font-weight:800; letter-spacing:-4px; color:#e0dfd9; line-height:1; }
