/*
Theme Name: АйТи-Бухобслуживание
Theme URI: https://buhbezzabot.ru
Author: АйТи-Консалтинг
Description: Тема сайта бухгалтерского обслуживания buhbezzabot.ru. Графитовая монохромная база, изумрудный акцент, Unbounded + Golos Text.
Version: 0.1.0
Requires PHP: 8.1
Text Domain: aiti-buh
*/

:root {
  --bg: #F2F3F1; --ink: #16191C; --dark: #16191C; --darker: #0E1113;
  --gold: #12A05F; --gold-deep: #0B7C48;          /* имена переменных прежние: акцент сменил цвет */
  --muted: #5B6268; --sand: #E8F2EA; --mint: #DDEFE4; --cream: #F6F1E6; --sky: #E4EDF5; --surface: #FFFFFF;
  --line: rgba(22,25,28,0.14); --line-light: rgba(255,255,255,0.16);
  --disp: 'Unbounded', 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --text: 'Golos Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 16px; --shadow: 0 1px 2px rgba(22,25,28,0.06);
  --shadow-dark: 0 2px 4px rgba(14,17,19,0.20);
  --pad: clamp(20px, 8.3vw, 120px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, .disp { font-family: var(--disp); font-weight: 600; letter-spacing: -0.03em; margin: 0; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 62px); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(25px, 2.7vw, 38px); line-height: 1.14; }
h3 { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; font-family: var(--text); }
.eyebrow--light { color: var(--gold); }
.rule { width: 48px; height: 3px; background: var(--gold); }
.hair { height: 1px; background: var(--line); }
.container { padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-bottom: clamp(64px, 11vw, 160px); }
.section--top { padding-top: clamp(64px, 11vw, 160px); }
.stack { display: flex; flex-direction: column; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; } .grid-12 > * { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
.card--dark { background: var(--dark); color: #F4F5F4; border: 1px solid var(--dark); box-shadow: none; }
.card--sand { background: var(--sand); border: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border-radius: var(--r); font-weight: 600; font-size: 15px; letter-spacing: 0; cursor: pointer; border: 0; font-family: var(--text); transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-deep); color: #fff; } .btn--gold:hover { background: #12A05F; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: #262B31; color: #fff; }
.btn--line { border: 1px solid rgba(22,25,28,0.28); color: var(--ink); background: transparent; } .btn--line:hover { border-color: var(--ink); }
.btn--line-light { border: 1px solid rgba(255,255,255,0.4); color: #fff; background: transparent; } .btn--line-light:hover { border-color: #fff; }
.btn--sm { height: 46px; padding: 0 24px; font-size: 14px; }
.link-up { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--gold-deep); font-weight: 600; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
.dot-list { display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.dot-list > div { display: flex; gap: 14px; } .dot-list > div::before { content: ""; width: 10px; height: 2px; background: var(--gold); margin-top: 12px; flex-shrink: 0; }

/* Шапка */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; padding: 0 var(--pad); border-bottom: 1px solid rgba(20,32,27,0.1); }
.site-header--dark { border-bottom: 0; color: var(--bg); }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__name { font-family: var(--disp); font-size: 26px; font-weight: 600; letter-spacing: 0.01em; }
.brand__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.brand__city { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.site-header--dark .brand__city { color: rgba(255,255,255,0.6); }
.nav { display: flex; gap: 40px; font-size: 14px; letter-spacing: 0.02em; }
.nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav .current-menu-item > a { color: var(--gold-deep); }
.site-header--dark .nav a { color: rgba(255,255,255,0.78); } .site-header--dark .nav .current-menu-item > a { color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 28px; }
.header-phone { font-size: 15px; letter-spacing: 0; font-family: var(--text); white-space: nowrap; font-weight: 500; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }

/* Первый экран */
.hero { background: var(--dark); color: var(--bg); position: relative; overflow: hidden; }
.hero__glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(18,160,95,0.16) 0%, rgba(18,160,95,0) 62%); pointer-events: none; }
.hero__body { position: relative; padding: clamp(56px, 8vw, 120px) var(--pad) 0; }
.hero__text { display: flex; flex-direction: column; gap: 36px; padding-bottom: clamp(56px, 9vw, 140px); }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.hero__facts { display: flex; gap: 48px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-light); margin-top: 20px; }
.hero__facts .disp { font-size: clamp(28px, 2.8vw, 40px); line-height: 1; }
.hero__facts small { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; }
.hero__media { position: relative; }
.hero__photo { position: absolute; inset: 0 0 auto 0; height: 640px; width: 100%; object-fit: cover; border-radius: 6px; }
.hero__badge { position: absolute; left: -40px; bottom: 40px; width: 300px; padding: 26px 28px; background: rgba(255,255,255,0.96); color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); display: flex; flex-direction: column; gap: 10px; }
.hero__badge .disp { font-size: 44px; line-height: 1; }

/* Секции главной */
.manifest { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.18; text-wrap: pretty; }
.numbered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numbered > div { padding: 56px 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.numbered > div:first-child { padding-left: 0; } .numbered > div:last-child { padding-right: 0; border-right: 0; }
.numbered .num { font-family: var(--disp); font-size: 20px; color: var(--gold-deep); }
.photo-spread { align-items: center; }
.photo-spread__img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--r); }
.photo-spread__tag { position: absolute; right: -32px; bottom: -32px; width: 260px; padding: 24px 26px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.photo-spread__tag .disp { font-size: 44px; line-height: 1; }
.avatars { display: flex; align-items: center; gap: 14px; }
.avatars img, .avatars span.ph { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.avatars img + img, .avatars span.ph + span.ph { margin-left: -24px; }
.ph { background: repeating-linear-gradient(135deg, #EFEBE2 0 10px, #E6E1D6 10px 20px); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center; padding: 8px; }
.price-cards .card, .price-cards .card--dark { padding: 44px 40px; display: flex; flex-direction: column; gap: 20px; }
.price-cards .card--dark { transform: translateY(-16px); }
.price-cards .disp { font-size: clamp(40px, 3.9vw, 56px); line-height: 1; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; height: 420px; color: var(--bg); }
.tile--short { height: 300px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,31,25,0) 40%, rgba(15,31,25,0.85) 100%); }
.tile__text { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.tile__text .disp { font-size: 34px; } .tile__text small { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.tile--solid { background: var(--dark); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; } .tile--solid::after { display: none; }
.tile--sand { background: var(--sand); color: var(--ink); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; } .tile--sand::after { display: none; }
.steps { margin: 0 var(--pad); padding: clamp(40px, 6.6vw, 96px); background: var(--dark); color: var(--bg); border-radius: 6px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; position: relative; overflow: hidden; }
.steps__glow { position: absolute; right: -200px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(18,160,95,0.18) 0%, rgba(18,160,95,0) 65%); pointer-events: none; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.steps__list > div { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(18,160,95,0.5); padding-top: 24px; }
.steps__list .num { font-family: var(--disp); font-size: 22px; color: var(--gold); }
.steps__list b { font-weight: 500; font-size: 18px; } .steps__list p { font-size: 15px; color: rgba(255,255,255,0.7); }
.quote-mark { font-family: var(--disp); font-size: 120px; line-height: 0.5; color: var(--gold); height: 40px; }
.review { display: flex; flex-direction: column; gap: 18px; }
.review__text { font-family: var(--disp); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; font-style: italic; }
.rating { display: flex; align-items: baseline; gap: 12px; } .rating .disp { font-size: 64px; line-height: 1; }
.lead-form { padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.lead-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.lead-form p { margin: 0; } .lead-form .wpcf7-form-control-wrap { display: block; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email] { width: 100%; min-width: 0; height: 52px; border: 0; border-bottom: 1px solid rgba(20,32,27,0.25); background: transparent; font-family: var(--text); font-size: 16px; color: var(--ink); outline: none; }
.lead-form input:focus { border-bottom-color: var(--gold-deep); }
.lead-form .btn { width: 100%; margin-top: 12px; }
.lead-form small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 12px; color: #9E3B3B; } .wpcf7-response-output { font-size: 14px; border: 0 !important; padding: 0 !important; margin: 8px 0 0 !important; color: var(--gold-deep); }
.site-footer { padding: 48px var(--pad) 56px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.site-footer .brand__name { font-size: 22px; color: var(--ink); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; } .footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

/* Тарифы и калькулятор */
.calc-steps > div { padding: 40px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.calc-steps > div:last-child { border-bottom: 1px solid var(--line); }
.calc-steps .step-title { display: flex; align-items: baseline; gap: 16px; } .calc-steps .step-title .num { font-family: var(--disp); font-size: 22px; color: var(--gold-deep); } .calc-steps .step-title .disp { font-size: 30px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(20,32,27,0.22); background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; cursor: pointer; user-select: none; font-family: var(--text); transition: background .12s ease; }
.pill:hover { background: rgba(20,32,27,0.05); }
.pill.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.calc-result { position: sticky; top: 24px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.calc-result .price { display: flex; align-items: baseline; gap: 10px; } .calc-result .price .disp { font-size: 64px; line-height: 1; }
.calc-result .checks { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.85); }
.calc-result .checks div { display: flex; gap: 10px; align-items: flex-start; } .calc-result .checks svg { flex-shrink: 0; margin-top: 2px; }
.calc-result .btn { width: 100%; }

/* Страницы услуг и статей */
.page-hero { padding: 48px var(--pad) clamp(56px, 8vw, 120px); }
.crumbs { padding: 40px var(--pad) 0; font-size: 13px; color: var(--muted); display: flex; gap: 10px; letter-spacing: 0.04em; }
.arch-photo { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; }
.price-list { padding: 36px 40px; display: flex; flex-direction: column; gap: 12px; }
.price-list__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(20,32,27,0.1); } .price-list__row:last-of-type { border-bottom: 0; }
.price-list__row .disp { font-size: 26px; }
.faq { display: flex; flex-direction: column; } .faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.faq__q { font-family: var(--disp); font-size: clamp(20px, 2vw, 26px); font-weight: 500; margin: 0; line-height: 1.25; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--gold-deep); font-family: var(--text); } .faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 0 28px; color: var(--muted); max-width: 760px; }
.cta-band { margin: 0 var(--pad); padding: clamp(40px, 5vw, 72px) clamp(24px, 6.6vw, 96px); border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band--dark { background: var(--dark); color: var(--bg); } .cta-band--sand { background: var(--sand); }
.cta-band .disp { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.entry-content { max-width: 760px; font-size: 18px; line-height: 1.75; }
.entry-content h2 { margin: 48px 0 16px; } .entry-content h3 { margin: 32px 0 12px; } .entry-content p { margin: 0 0 20px; } .entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 22px; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 15px; } .entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.author-box { padding: 28px 32px; display: flex; gap: 20px; align-items: center; margin-top: 48px; }

/* Мобильные */
@media (max-width: 1100px) {
  .grid-12 { grid-template-columns: 1fr; gap: 32px; } .grid-12 > [class*="span-"] { grid-column: auto; }
  .mosaic { grid-template-columns: 1fr; } .mosaic .tile, .mosaic .tile--short { grid-column: auto !important; }
  .numbered { grid-template-columns: 1fr; } .numbered > div { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; } .steps__list { grid-template-columns: 1fr; }
  .mosaic .tile { height: 300px; }
  .hero__media { min-height: 0; margin-top: 8px; } .hero__photo { position: static; height: 360px; border-radius: 6px; } .hero__badge { position: static; width: 100%; margin-top: 16px; }
  .photo-spread__tag { position: static; width: 100%; margin-top: 16px; }
  .price-cards .card--dark { transform: none; }
  .calc-result { position: static; }
}
@media (max-width: 760px) {
  .site-header { height: 64px; position: relative; } .brand__name { font-size: 20px; } .brand__city, .header-phone, .header-right .btn { display: none; } .nav { display: none; } .burger { display: block; } .header-right { gap: 8px; }
  .site-header.is-open .nav { display: flex; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); color: var(--ink); padding: 24px var(--pad); flex-direction: column; gap: 18px; z-index: 20; border-bottom: 1px solid var(--line); } .site-header.is-open .nav ul { flex-direction: column; gap: 18px; }
  .hero__text { gap: 22px; } .hero__facts { gap: 24px; } .hero__body { padding-top: 40px; } h1 br { display: none; }
  .photo-spread .span-5 { padding-left: 0 !important; } .grid-12 .span-8[style*="padding-left"] { padding-left: 0 !important; }
  .btn { width: 100%; }
  .lead-form { padding: 28px 22px; }
  .site-footer { flex-direction: column; }
}

/* Егор — чат-консультант */
.egor { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: var(--text); }
.egor__bubble { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--dark); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 16px 40px rgba(15,31,25,0.35); position: relative; transition: transform .15s ease; }
.egor__bubble:hover { transform: translateY(-2px); }
.egor__bubble-dot { position: absolute; top: 10px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--dark); }
.egor.is-open .egor__bubble { display: none; }
.egor__win[hidden] { display: none !important; }
.egor__win { width: 400px; max-width: calc(100vw - 32px); height: 640px; max-height: calc(100vh - 48px); background: var(--bg); border-radius: 6px; box-shadow: 0 30px 70px rgba(15,31,25,0.3); display: flex; flex-direction: column; overflow: hidden; }
.egor__head { background: var(--dark); color: var(--bg); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.egor__who { display: flex; align-items: center; gap: 12px; }
.egor__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--disp); font-size: 20px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.egor__who b { font-weight: 500; font-size: 15px; display: block; }
.egor__who small { font-size: 12px; color: rgba(255,255,255,0.6); }
.egor__close { background: transparent; border: 0; color: rgba(255,255,255,0.8); font-size: 30px; line-height: 1; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.egor__close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.egor__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.egor__msg { max-width: 85%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.egor__msg--bot { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 1px 0 rgba(20,32,27,0.05), 0 8px 24px rgba(20,32,27,0.05); align-self: flex-start; }
.egor__msg--user { background: var(--dark); color: var(--bg); border-bottom-right-radius: 4px; align-self: flex-end; }
.egor__msg--wait { color: var(--muted); font-style: italic; }
.egor__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.egor__input { flex: 1; min-width: 0; border: 0; outline: none; font-family: var(--text); font-size: 14px; color: var(--ink); background: transparent; }
.egor__send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.egor__note { font-size: 11px; color: var(--muted); padding: 8px 14px 12px; background: #fff; line-height: 1.45; }
/* Низ окна: согласие и правовой текст занимают одну строку, подробности по клику */
.egor__bar { display: flex; align-items: center; justify-content: flex-end; padding: 6px 14px 0; background: #fff; }
.egor__more { border: 0; background: transparent; padding: 0; font-family: var(--text); font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.egor__more:hover { color: var(--ink); }
.egor__legal { font-size: 11px; color: var(--muted); line-height: 1.45; padding: 0 14px 10px; background: #fff; max-height: 40vh; overflow-y: auto; }
.egor__legal[hidden] { display: none !important; }
.egor__legal p { margin: 6px 0 0; }
.egor__form { border-top: 0; }
@media (max-width: 760px) {
  .egor { right: 14px; bottom: 14px; }
  .egor__win { width: calc(100vw - 28px); height: calc(100vh - 92px); height: calc(100dvh - 92px); }
  .egor__bubble { width: 54px; height: 54px; }
}

/* Уведомление о cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; background: var(--dark); color: var(--bg); border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 20px 50px rgba(15,31,25,0.3); max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
.cookie[hidden] { display: none !important; }
.cookie__text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 560px; }
.cookie__text a { color: var(--gold); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn--dark { background: var(--gold); color: var(--ink); }
.cookie .btn--line { border-color: rgba(255,255,255,0.4); color: var(--bg); }
@media (max-width: 760px) { .cookie { left: 10px; right: 10px; bottom: 10px; padding: 16px; } .cookie .btn { width: auto; flex: 1; } }


/* Подзаголовок-ключ внутри H1 и текст отзыва — добавлено 23.09.2026 */
.h1-key{display:block;margin-top:18px;font-family:inherit;font-size:clamp(15px,1.5vw,20px);font-weight:400;letter-spacing:0.01em;line-height:1.45;color:rgba(255,255,255,0.62)}
.site-header:not(.site-header--dark) ~ main .h1-key,
body:not(.home) .h1-key{color:var(--muted)}
.review__text{font-size:17px;line-height:1.75;color:var(--ink);margin:0 0 10px}
.price-table{width:100%;border-collapse:collapse;font-size:15px}
.price-table caption{text-align:left;padding-bottom:14px;color:var(--muted);font-size:14px}
.price-table th,.price-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.price-table th:first-child,.price-table td:first-child{text-align:left;white-space:normal;min-width:210px}
.price-table thead th{font-weight:500;color:var(--muted);font-size:13px;letter-spacing:0.04em;text-transform:uppercase}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.doc-text{max-width:820px;font-size:16px;line-height:1.8}
.doc-text h2{font-size:clamp(24px,2.4vw,34px);margin:44px 0 16px}
.doc-text h3{font-size:19px;margin:28px 0 10px}
.doc-text p,.doc-text li{margin:0 0 14px}
.doc-text ul,.doc-text ol{padding-left:22px}
.page-date{font-size:14px;color:var(--muted)}


/* Правки по аудиту 23.09.2026: мобильное меню, цифры, согласие, липкая полоса */
@media (max-width: 760px) {
  .site-header.is-open .nav a,
  .site-header--dark.is-open .nav a { color: var(--ink) !important; }
  .site-header.is-open .nav li { border-bottom: 1px solid var(--line); }
  .site-header.is-open .nav a { display: block; padding: 13px 0; min-height: 44px; font-size: 17px; }
  .header-phone { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-size: 0; border: 1px solid currentColor; }
  .header-phone::before { content: "°E"; font-size: 19px; line-height: 1; }
  .site-footer a { display: inline-block; padding: 11px 0; min-height: 44px; }
  .site-footer li { line-height: 1.2; }
  body { padding-bottom: 68px; }
  .egor { bottom: 76px; }
  .calc-result { position: sticky; bottom: 76px; }
}
.disp, .price, .price-table, .hero__facts, .num { font-variant-numeric: lining-nums tabular-nums; }
.consent { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 16px; }
.consent__row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent__row input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--dark); }
.consent__row a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--bg); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; font-size: 15px; text-decoration: none; }
  .mobile-bar .is-call { background: var(--dark); color: var(--bg); }
  .mobile-bar .is-lead { border: 1px solid var(--dark); color: var(--ink); }
}

.egor__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }


/* Пересборка облика 23.09.2026: шапка компактнее, заголовок в две строки */
.site-header { height: 84px; }
.header-right { flex-shrink: 0; }
.header-right .btn--sm { height: 44px; padding: 0 18px; font-size: 14px; }
.nav ul { gap: 26px; }
.hero h1 { font-size: clamp(30px, 3.9vw, 56px); }
.hero__lead { max-width: 560px; }
.h1-key { margin-top: 14px; font-size: clamp(15px, 1.35vw, 19px); font-weight: 500; letter-spacing: -0.01em; }

/* Правка после смены шрифта: бренд текстовым гротеском, декор не вылезает */
.brand__name { font-family: var(--text); font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.hero, .steps, .site-header { overflow-x: clip; }
.hero h1 { font-size: clamp(27px, 3.4vw, 48px); }
@media (max-width: 760px) {
  .brand__name { font-size: 15px; }
  .site-header { gap: 10px; }
  .hero h1 { font-size: clamp(24px, 7vw, 32px); }
  .hero__glow, .steps__glow { display: none; }
}

/* Мелкие правки после смены облика */
.hero__facts { gap: 20px; }
.hero__facts small { display: block; max-width: 100%; }
@media (max-width: 760px) {
  .hero__facts { grid-template-columns: 1fr; display: grid; gap: 16px; }
  .hero__facts small { font-size: 13px; line-height: 1.5; }
  .hero__facts .disp { font-size: 30px; }
}

/* Форма: заглавными только названия полей, текст согласия обычным регистром */
.lead-form .consent__row, .lead-form .consent__row span, .lead-form small { text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.55; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email] { border-bottom-color: rgba(22,25,28,0.25); }
/* Заголовки внутренних страниц компактнее шапки главной */
.page-hero h1 { font-size: clamp(26px, 3.1vw, 44px); }
.doc-text h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 40px 0 14px; }
.doc-text { max-width: 760px; }

/* ======== Новые семейства компоновки (пересборка скелета 23.09.2026) ======== */

/* Полоса проверяемых цифр */
.factbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 var(--pad); }
.factbar__item { padding: 26px 28px 26px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.factbar__item:last-child { border-right: 0; }
.factbar__item:not(:first-child) { padding-left: 28px; }
.factbar__item b { font-family: var(--disp); font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.factbar__item span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Заголовок секции с пояснением справа */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.split-head p { font-size: 16px; line-height: 1.7; max-width: 520px; }

/* Таблица-витрина цен */
.price-table--lead th[scope="row"] { font-weight: 500; font-size: 15.5px; }
.price-table--lead td { font-variant-numeric: lining-nums tabular-nums; font-size: 16px; }
.price-table--lead thead th:not(:first-child) { text-align: right; }

/* Заявление во всю ширину */
.claim { background: var(--dark); color: #fff; padding: clamp(56px, 8vw, 110px) var(--pad); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.claim p { font-family: var(--disp); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(22px, 2.9vw, 40px); line-height: 1.18; margin: 0; }
.claim span { font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,0.72); }

/* Два перечня рядом */
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.two-lists h3 { font-size: 17px; font-family: var(--text); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.line-list { list-style: none; margin: 0; padding: 0; }
.line-list li { padding: 13px 0 13px 22px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; position: relative; }
.line-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--gold); }
.line-list li:last-child { border-bottom: 1px solid var(--line); }
.line-list--muted li { color: var(--muted); }
.line-list--muted li::before { background: var(--muted); }

/* Лента перехода по дням */
.timeline-wrap { background: var(--dark); color: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.timeline-wrap h2 { color: #fff; margin-bottom: 40px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 32px; }
.timeline__step { padding: 24px 26px 0 0; border-top: 2px solid var(--gold); position: relative; }
.timeline__step + .timeline__step { padding-left: 26px; }
.timeline__step em { display: block; font-style: normal; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.timeline__step b { display: block; font-family: var(--disp); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 10px; }
.timeline__step p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; }
.link-up--light { color: var(--gold); }

/* Газетные колонки */
.newspaper { column-count: 3; column-gap: 46px; column-rule: 1px solid var(--line); font-size: 15.5px; line-height: 1.75; }
.newspaper p { margin: 0 0 16px; break-inside: avoid; }
.newspaper p:first-child { font-size: 17.5px; line-height: 1.6; }
.newspaper b { font-weight: 600; }

/* Крупная цитата и пара мелких */
.bigquote { margin: 0 0 40px; border-top: 2px solid var(--ink); padding-top: 28px; }
.bigquote blockquote { margin: 0 0 16px; font-family: var(--disp); font-weight: 500; letter-spacing: -0.03em; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.22; max-width: 15ch; max-width: 22ch; }
.bigquote figcaption { font-size: 14px; color: var(--muted); }
.quote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.quote-pair p { font-size: 15.5px; line-height: 1.7; margin: 0 0 10px; }
.quote-pair span { font-size: 13.5px; color: var(--muted); }

/* Вопросы в две колонки */
.faq-cols .faq { display: block; columns: 2; column-gap: 56px; }
.faq-cols details { display: inline-block; width: 100%; }
.faq-cols details { break-inside: avoid; }

@media (max-width: 1100px) {
  .factbar { grid-template-columns: repeat(2, 1fr); }
  .factbar__item:nth-child(2) { border-right: 0; }
  .newspaper { column-count: 2; }
}
@media (max-width: 760px) {
  .factbar { grid-template-columns: 1fr; margin: 0; padding: 0 var(--pad); }
  .factbar__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0 !important; }
  .factbar__item:last-child { border-bottom: 0; }
  .split-head, .two-lists, .quote-pair, .claim { grid-template-columns: 1fr; gap: 20px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline__step { padding: 20px 0 0 !important; }
  .timeline__step + .timeline__step { border-top: 1px solid rgba(255,255,255,0.18); }
  .newspaper { column-count: 1; }
  .faq-cols .faq { columns: 1; }
}

/* ======== Приёмы по разбору Kimi: документ-артефакт, ведомость, маргиналия ======== */

/* Колонка-сноска рядом с основным текстом */
.with-margin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 64px); align-items: start; }
.margin-note { border-left: 2px solid var(--gold); padding-left: 18px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.margin-note b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 8px; }
.margin-note p { margin: 0 0 8px; }
.margin-note em { font-style: normal; color: var(--ink); font-weight: 600; }

/* Образец акта: лист на тёмном фоне */
.paper-wrap { background: var(--dark); padding: clamp(56px, 8vw, 110px) 0; }
.paper { background: #fff; color: var(--ink); max-width: 760px; margin: 0 auto; padding: clamp(26px, 3.4vw, 46px); border-radius: 2px; }
.paper__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.paper__head span:first-child { font-weight: 700; font-family: var(--disp); letter-spacing: -0.01em; text-transform: none; font-size: 20px; }
.paper__head span:last-child { color: var(--muted); align-self: center; }
.paper__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); margin: 20px 0 24px; }
.paper__meta div { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.paper__meta em { font-style: normal; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.paper__meta b { font-size: 14.5px; font-weight: 600; }
.paper__list { list-style: none; counter-reset: p; margin: 0; padding: 0; }
.paper__list li { counter-increment: p; display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px dotted rgba(22,25,28,0.28); font-size: 15px; }
.paper__list li::before { content: counter(p) "."; color: var(--muted); width: 22px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.paper__list span { flex: 1; }
.paper__list i { font-style: normal; color: var(--gold-deep); font-size: 13.5px; white-space: nowrap; align-self: center; }
.paper__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.paper__sign { display: flex; flex-direction: column; gap: 4px; min-width: 220px; }
.paper__sign em { font-style: normal; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.paper__sign span { border-top: 1px solid var(--ink); padding-top: 6px; font-size: 13.5px; color: var(--muted); }
.paper__stamp { width: 124px; height: 124px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; line-height: 1.35; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.06em; padding: 14px; transform: rotate(-8deg); }
.paper__note { max-width: 760px; margin: 26px auto 0; color: rgba(255,255,255,0.72); font-size: 15px; line-height: 1.7; }
.paper__note .link-up { color: var(--gold); display: inline-block; margin-left: 6px; }

/* Ведомость находок */
.ledger { border-top: 2px solid var(--ink); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ledger__what b { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.ledger__what span { display: block; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 70ch; }
.ledger__sum { text-align: right; font-size: 15px; font-weight: 600; color: var(--gold-deep); font-variant-numeric: lining-nums tabular-nums; }

@media (max-width: 860px) {
  .with-margin { grid-template-columns: 1fr; }
  .paper__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger__row { grid-template-columns: 1fr; gap: 8px; }
  .ledger__sum { text-align: left; }
  .paper__stamp { width: 96px; height: 96px; font-size: 10px; }
}

/* ======== Приёмы по разбору Codex: источник цены, календарь ролей, цепочка ответственности ======== */

/* Строка источника под первым экраном */
.sourceline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.sourceline div { background: var(--bg); padding: 16px var(--pad) 16px 0; display: flex; flex-direction: column; gap: 5px; }
.sourceline div:first-child { padding-left: var(--pad); }
.sourceline div:not(:first-child) { padding-left: 24px; }
.sourceline em { font-style: normal; font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.sourceline b { font-size: 14.5px; font-weight: 500; line-height: 1.45; }

/* Календарь передачи */
.timeline-lead { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.7; max-width: 680px; margin: -18px 0 34px; }
.gantt { display: grid; gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); margin-bottom: 28px; }
.gantt__head, .gantt__row { display: grid; grid-template-columns: 130px repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.14); }
.gantt__head span { background: var(--dark); padding: 12px 14px; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.gantt__role { background: var(--dark); padding: 16px 14px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 600; }
.gantt__cell { background: var(--dark); padding: 16px 14px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.62); }
.gantt__cell.is-on { color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.gantt__row--out .gantt__cell { color: var(--gold); }

/* Цепочка ответственности */
.chain { list-style: none; counter-reset: c; margin: 8px 0 0; padding: 0; }
.chain li { counter-increment: c; position: relative; padding: 0 0 26px 54px; }
.chain li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--gold-deep); background: var(--bg); font-variant-numeric: tabular-nums; }
.chain li::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 1px; background: var(--line); }
.chain li:last-child { padding-bottom: 0; }
.chain li:last-child::after { display: none; }
.chain b { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 5px; }
.chain span { display: block; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 72ch; }

@media (max-width: 900px) {
  .sourceline { grid-template-columns: 1fr; }
  .sourceline div { padding: 14px var(--pad) !important; }
  .gantt__head { display: none; }
  .gantt__row { grid-template-columns: 1fr; }
  .gantt__role { background: rgba(255,255,255,0.06); }
}

/* ======== Отказ от стоковых фото: расчёт в первом экране и указатель практики ======== */
.herocalc { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.herocalc__title { font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.herocalc label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.herocalc select { appearance: none; -webkit-appearance: none; width: 100%; height: 46px; padding: 0 34px 0 12px; border: 1px solid rgba(255,255,255,0.22); border-radius: 4px; background: rgba(0,0,0,0.25) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2312A05F' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; color: #fff; font-family: var(--text); font-size: 15px; text-transform: none; letter-spacing: 0; }
.herocalc select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.herocalc__out { display: flex; align-items: baseline; gap: 10px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.16); margin-top: 4px; }
.herocalc__out b { font-family: var(--disp); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.herocalc__out span { font-size: 14px; color: rgba(255,255,255,0.6); }
.herocalc small { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.55); }
.herocalc .btn { width: 100%; }

.practice { margin: 8px 0 0; border-top: 2px solid var(--ink); }
.practice > div { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 190px); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.practice > div:nth-child(even) { grid-template-columns: minmax(0, 340px) minmax(0, 1fr) minmax(0, 150px); }
.practice dt { font-family: var(--disp); font-weight: 600; font-size: clamp(18px, 1.7vw, 23px); letter-spacing: -0.02em; }
.practice dt a { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.practice dt a:hover { color: var(--gold-deep); }
.practice dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.practice__price { text-align: right; color: var(--gold-deep) !important; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

@media (max-width: 900px) {
  .practice > div, .practice > div:nth-child(even) { grid-template-columns: 1fr; gap: 8px; }
  .practice__price { text-align: left; }
}

/* ======== Живость без стоковой мозаики: фото рядом со смыслом ======== */

.hero__photo { position: static !important; height: 240px; width: 100%; object-fit: cover; border-radius: var(--r); }

/* Плитки отраслей: фотография сверху, смысл снизу */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.case:hover { border-color: var(--gold); transform: translateY(-2px); color: inherit; }
.case img { width: 100%; height: 190px; object-fit: cover; }
.case__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.case__name { font-family: var(--disp); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.case__body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.case__price { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--gold-deep); font-variant-numeric: lining-nums tabular-nums; }
.case--wide { grid-column: span 2; flex-direction: row; }
.case--wide img { width: 46%; height: auto; min-height: 240px; }
.case--wide .case__body { justify-content: center; padding: 26px 28px; }
.case--wide .case__name { font-size: 26px; }
.case--flat { background: var(--sand); }
.case--accent { background: var(--dark); border-color: var(--dark); }
.case--accent .case__name, .case--accent .case__body p { color: #fff; }
.case--accent .case__body p { color: rgba(255,255,255,0.72); }
.case--accent .case__price { color: var(--gold); }
.case--flat .case__body, .case--accent .case__body { padding: 24px 26px; }

/* Полоса крупных цифр */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.numbers div { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--sand); border-radius: var(--r); }
.numbers b { font-family: var(--disp); font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 0.9; letter-spacing: -0.04em; color: var(--gold-deep); font-variant-numeric: lining-nums tabular-nums; }
.numbers span { font-size: 14px; line-height: 1.55; color: var(--muted); }

@media (max-width: 1000px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--wide { grid-column: span 2; }
  .numbers { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cases { grid-template-columns: 1fr; }
  .case--wide, .case--wide img { flex-direction: column; width: 100%; }
  .case--wide img { min-height: 0; height: 190px; }
  .hero__photo { height: 190px; }
}

/* ======== Подача для быстрого чтения: короткие блоки, якоря, врезки ======== */
.doc-text p, .entry-content p { max-width: 62ch; }
.doc-text p b:first-child, .entry-content p b:first-child { color: var(--ink); }

/* Первая строка блока крупнее: суть до деталей */
.lead-line { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; font-weight: 500; color: var(--ink); max-width: 30ch; }

/* Врезка с ключевой мыслью */
.pull { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin: 22px 0; font-family: var(--disp); font-weight: 600; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.3; letter-spacing: -0.02em; max-width: 26ch; }

/* Цифра внутри текста */
.stat { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; background: var(--sand); border-radius: var(--r); margin: 18px 0; }
.stat b { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1; letter-spacing: -0.03em; color: var(--gold-deep); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.stat span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Плашка с предупреждением или выводом */
.note-box { border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--r); padding: 18px 22px; margin: 20px 0; font-size: 15px; line-height: 1.65; }
.note-box b { display: block; margin-bottom: 5px; }

/* Шаги-плитки внутри текста */
.mini-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 20px 0; }
.mini-steps div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.mini-steps em { font-style: normal; display: block; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 7px; }
.mini-steps span { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Свёрнутые детали внутри текста */
.doc-text details, .entry-content details { border-top: 1px solid var(--line); padding: 14px 0; }
.doc-text details:last-of-type, .entry-content details:last-of-type { border-bottom: 1px solid var(--line); }
.doc-text summary, .entry-content summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc-text summary::-webkit-details-marker, .entry-content summary::-webkit-details-marker { display: none; }
.doc-text summary::after, .entry-content summary::after { content: "+"; color: var(--gold-deep); font-size: 20px; line-height: 1; }
.doc-text details[open] summary::after, .entry-content details[open] summary::after { content: "–"; }

/* ======== Теплее: живой первый экран, цветные подложки, мягкая форма ======== */
.hero { position: relative; }
.hero__body { align-items: center; }
.hero__media { position: relative; display: block; }
.hero__photo { position: static !important; width: 100%; height: clamp(320px, 34vw, 480px); object-fit: cover; border-radius: 20px; }

/* Факт плашкой поверх фотографии */
.photo-fact { position: absolute; left: -22px; bottom: 26px; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(10,14,12,0.28); max-width: 250px; display: flex; flex-direction: column; gap: 3px; }
.photo-fact b { font-family: var(--disp); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.photo-fact span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.photo-fact--top { top: 22px; bottom: auto; left: auto; right: -18px; }

/* Расчёт цены под фотографией, не вместо него */
.herocalc { background: rgba(255,255,255,0.07); border-radius: 18px; }
.herocalc select { border-radius: 10px; }

/* Цветные подложки для карточек-фактов */
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tri > div { border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.tri b { font-family: var(--disp); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.tri span { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.tri > div:nth-child(1) { background: var(--mint); }
.tri > div:nth-child(2) { background: var(--cream); }
.tri > div:nth-child(3) { background: var(--sky); }

/* Мягкие карточки вместо жёстких границ */
.card { border-radius: 18px; }
.case { border-radius: 18px; }
.case img { border-radius: 0; }
.numbers div { border-radius: 18px; background: var(--mint); }
.stat { border-radius: 18px; background: var(--mint); }
.note-box { border-radius: 18px; background: var(--cream); border: 0; border-left: 3px solid var(--gold); }
.mini-steps div { border-radius: 18px; }
.paper { border-radius: 14px; }
.btn { border-radius: 12px; }
.herocalc .btn, .lead-form .btn { border-radius: 12px; }

@media (max-width: 900px) {
  .tri { grid-template-columns: 1fr; }
  .photo-fact { left: 12px; bottom: 12px; }
  .photo-fact--top { display: none; }
}

.herocalc--light { background: var(--dark); border: 0; }
.herocalc--light .herocalc__title { color: var(--gold); }
.herocalc--light label { color: rgba(255,255,255,0.62); }

/* Плашки держатся за фотографию, а не за колонку */
.hero__media { position: relative; display: block; line-height: 0; }
.hero__media .photo-fact { line-height: 1.4; }
.photo-fact { bottom: 18px; left: -18px; }
@media (max-width: 1100px) { .photo-fact { left: 10px; } .photo-fact--top { right: 10px; } }

/* Итоговые правила плашек на фотографии: перебивают все предыдущие */
.hero__media { position: relative; display: block; line-height: 0; }
.hero__photo { display: block; width: 100%; height: clamp(320px, 32vw, 440px); object-fit: cover; border-radius: 20px; }
.photo-fact { position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 16px;
  padding: 13px 16px; box-shadow: 0 16px 36px rgba(10,14,12,0.3); width: max-content; max-width: 230px;
  display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.photo-fact { left: -18px; bottom: 18px; top: auto; right: auto; }
.photo-fact--top { top: 18px; right: -14px; bottom: auto; left: auto; }
.photo-fact b { font-family: var(--disp); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; line-height: 1; }
.photo-fact span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 1100px) { .photo-fact { left: 10px; bottom: 10px; } .photo-fact--top { right: 10px; top: 10px; } }
@media (max-width: 700px) { .photo-fact--top { display: none; } .photo-fact { max-width: 190px; padding: 10px 12px; } }

/* ======== Фирменные иллюстрации ======== */
.illu { display: block; width: 100%; height: auto; }
.case__illu { display: block; background: var(--surface); }
.case__illu .illu { max-height: 210px; }
.case--wide .case__illu { width: 46%; display: flex; align-items: center; }
.case--flat .case__illu { background: transparent; }
.illu-side { width: min(420px, 100%); margin: 8px 0 18px; }
.illu-inline { width: min(320px, 100%); margin: 16px 0; }
@media (max-width: 700px) { .case--wide .case__illu { width: 100%; } }

/* Иллюстрация в широкой плитке занимает свою половину целиком */
.case--wide .case__illu { width: 46%; display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--surface); }
.case--wide .case__illu .illu { max-height: none; width: 100%; }
.case__illu { display: flex; align-items: center; justify-content: center; padding: 14px 16px 0; }
.case__illu .illu { max-height: 190px; }
.case--flat .case__illu, .case--accent .case__illu { padding: 18px 20px 0; }

/* ======== Текстовая страница: колонка текста и боковая колонка ======== */
.doc-text { max-width: none; }
.doc-text p, .entry-content p { max-width: 68ch; }
.page-illu { background: var(--surface); border-radius: 18px; padding: 20px; }
.page-illu .illu { max-height: 240px; margin: 0 auto; }

.side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.side b { display: block; font-family: var(--disp); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 8px; }
.side p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.side__toc { background: var(--surface); border-radius: 18px; padding: 20px 22px; }
.side__toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.side__toc li { counter-increment: t; border-top: 1px solid var(--line); }
.side__toc li:first-child { border-top: 0; }
.side__toc a { display: flex; gap: 10px; padding: 9px 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.side__toc a::before { content: counter(t); color: var(--gold-deep); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.side__toc a:hover { color: var(--ink); }
.side__cta { background: var(--mint); border-radius: 18px; padding: 20px 22px; }
.side__contact { background: var(--cream); border-radius: 18px; padding: 20px 22px; }
.side__phone { display: block; font-family: var(--disp); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }

@media (max-width: 1000px) {
  .side { position: static; }
  .page-illu { display: none; }
}

/* Абзацы не слипаются: глобально p без отступов, поэтому задаём промежуток соседям */
.container p + p, .doc-text p + p, .entry-content p + p, .stack p + p { margin-top: 14px; }
.hero p + p, .claim p + span { margin-top: 0; }
/* Длинный текст не жмётся к левому краю: колонка шире и с воздухом справа */
.textblock { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.textblock .illu { max-height: 280px; }
.textblock__aside { background: var(--surface); border-radius: 18px; padding: 22px; }
@media (max-width: 900px) { .textblock { grid-template-columns: 1fr; } .textblock__aside { display: none; } }

/* Заголовок не липнет к тексту */
h2 + p, h3 + p, .textblock h2 + p { margin-top: 16px; }
.doc-text h2, .entry-content h2 { margin-top: 38px; }
.doc-text h2:first-child, .entry-content h2:first-child { margin-top: 0; }


/* ============================================================
   Облик 30.09.2026: по лендингу «Бухгалтерия без забот».
   Белый фон, графит вместо чёрного, красный акцент, Inter.
   Блок стоит последним и перекрывает всё выше.
   ============================================================ */
:root {
  --bg: #FFFFFF; --ink: #0A0A0A; --dark: #1E1F23; --darker: #232428;
  --gold: #E60000; --gold-deep: #C40000;
  --muted: #6B6F76; --sand: #FFF1F1; --mint: #EEF4FF; --cream: #F4F4F6; --sky: #EEF4FF; --surface: #FFFFFF;
  --line: rgba(10,10,10,0.10); --line-light: rgba(255,255,255,0.12);
  --disp: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --text: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 24px;
}
body { background: #FFFFFF; color: var(--ink); }
h1, h2, h3, .disp { font-weight: 800; letter-spacing: -0.03em; }
h1 { font-weight: 900; }
a:hover { color: var(--gold); }
.card { border-radius: 24px; }
.card--dark { background: var(--dark); border-color: var(--dark); }
.btn { border-radius: 999px; height: 50px; padding: 0 28px; font-weight: 700; }
.btn--gold { background: var(--gold); color: #fff; } .btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: var(--gold); color: #fff; }
.btn--line { border-color: rgba(10,10,10,0.18); } .btn--line:hover { border-color: rgba(10,10,10,0.5); }
.pill { border-radius: 999px; }
.rule { background: var(--gold); }
.eyebrow--light { color: #ff4d4d; }
.link-up { color: var(--gold-deep); }

/* Шапка: белая, липкая, как на лендинге */
.site-header, .site-header--dark { position: sticky; top: 0; z-index: 40; height: 64px; background: rgba(255,255,255,0.92) !important; backdrop-filter: blur(8px); color: var(--ink); border-bottom: 1px solid rgba(10,10,10,0.06); }
.brand { align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.brand__name { font-family: var(--text); font-weight: 800; letter-spacing: -0.02em; font-size: 18px; color: var(--ink); }
.brand__dot, .brand__city { display: none; }
.nav { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.nav a { color: rgba(10,10,10,0.8); } .nav a:hover, .nav .current-menu-item > a { color: var(--gold); }
.site-header--dark .nav a { color: rgba(10,10,10,0.8); } .site-header--dark .nav .current-menu-item > a { color: var(--gold); }
.header-right { gap: 12px; }
.header-right .btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.header-right .btn--gold { background: var(--ink); color: #fff; } .header-right .btn--gold:hover { background: var(--gold); }
.header-phone { display: none; }
.burger { color: var(--ink); }
@media (max-width: 760px) {
  .site-header.is-open .nav { top: 64px; background: #fff; }
  .header-phone { display: none !important; }
}

/* Первые экраны внутренних страниц: графит и красное свечение */
.hero { background: var(--dark); color: #fff; }
.hero__glow { background: radial-gradient(circle, rgba(230,0,0,0.22) 0%, rgba(230,0,0,0) 62%); }
.hero__lead { color: rgba(255,255,255,0.72); }
.page-hero h1 { font-weight: 900; }
.crumbs { color: var(--muted); }

/* Калькулятор и тарифы */
.herocalc select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23E60000' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); border-radius: 12px; }
.herocalc__title { color: #ff4d4d; }
.pill.is-on { background: var(--gold); border-color: var(--gold); color: #fff; }
.calc-result { border-radius: 24px; }
.cta-band { border-radius: 24px; }
.cta-band--dark { background: var(--dark); color: #fff; }
.arch-photo, .hero__photo { border-radius: 20px; }
.faq summary::after { color: var(--gold); }

/* Формы */
.lead-form { border-radius: 24px; background: #FAFAFA; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email] { border: 1px solid rgba(10,10,10,0.1); border-radius: 12px; background: #fff; padding: 0 14px; }
.lead-form input:focus { border-color: var(--gold); }
.lead-form label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.lead-form .btn { background: var(--gold); color: #fff; } .lead-form .btn:hover { background: var(--gold-deep); }
.consent__row input { accent-color: var(--gold); }

/* Подвал: графит */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.6); border-top: 0; padding: 56px var(--pad) 64px; }
.site-footer .brand__name { color: #fff; font-size: 18px; }
.site-footer a { color: #fff; font-weight: 600; } .site-footer a:hover { color: #ff4d4d; }
.site-footer .footer-cols ul { gap: 10px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 420px; font-size: 14px; line-height: 1.6; }
.footer-brand .brand { color: #fff; }
.footer-brand a { font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }

/* Мобильная панель и виджет Егора */
.mobile-bar { background: #fff; }
.mobile-bar .is-call { background: var(--ink); color: #fff; border-radius: 999px; }
.mobile-bar .is-lead { border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; }
.egor__bubble { background: var(--gold); color: #fff; box-shadow: 0 16px 40px rgba(230,0,0,0.3); }
.egor__bubble-dot { background: #fff; box-shadow: 0 0 0 3px var(--gold); }
.egor__win { border-radius: 20px; }
.egor__ava { background: var(--gold); color: #fff; }
.egor__send { background: var(--gold); color: #fff; }
.egor__msg--user { background: var(--ink); color: #fff; }
.cookie { border-radius: 20px; }
.cookie .btn--dark { background: var(--gold); color: #fff; }
.cookie__text a { color: #ff4d4d; }
.footer-brand .brand { text-decoration: none; }
.footer-brand .brand .brand__name { text-decoration: none; }
/* Телефон: цены в одну строку, сетки в один столбец */
.price-list__row .disp { white-space: nowrap; }
@media (max-width: 760px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .price-list { padding: 24px 20px; } .price-list__row .disp { font-size: 20px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 36px) !important; }
}
.steps { border-radius: 24px; }
.steps__glow { background: radial-gradient(circle, rgba(230,0,0,0.22) 0%, rgba(230,0,0,0) 65%); }
.steps__list > div { border-top-color: rgba(230,0,0,0.5); }
@media (max-width: 760px) {
  .numbered, .steps__list, .cases, .sourceline { grid-template-columns: 1fr !important; }
  .numbered > div { padding-bottom: 20px; }
}

/* ============================================================
   01.10.2026: внутренние страницы по образцу главной.
   Общий центрированный контейнер 88rem, первый экран серой полосой
   с заголовком по центру, текстовые блоки карточками в две колонки.
   ============================================================ */
:root { --pad: max(32px, calc((100vw - 1344px) / 2)); }
@media (max-width: 760px) { :root { --pad: 20px; } }
.section { padding-bottom: clamp(56px, 7vw, 112px); }
.section--top { padding-top: clamp(56px, 7vw, 112px); }
.crumbs { background: #F4F4F6; padding-top: 28px; justify-content: center; }
.page-hero { background: #F4F4F6; padding-top: 32px; padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero + .section, .page-hero + section { padding-top: clamp(48px, 6vw, 96px); }
.page-hero.stack { max-width: none !important; align-items: center; text-align: center; }
.page-hero.stack > * { margin-left: auto; margin-right: auto; }
.page-hero.stack > h1 { max-width: 1100px; font-size: clamp(34px, 4.6vw, 68px) !important; }
.page-hero.stack > p { max-width: 800px !important; }
.page-hero.grid-12 { align-items: center !important; }
.page-hero.grid-12 h1 { font-size: clamp(32px, 4vw, 60px) !important; }

/* Текстовые блоки «заголовок + абзацы»: карточка в две колонки на всю ширину */
.container.section.stack > .stack[id] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: clamp(32px, 5vw, 88px); row-gap: 0; padding: clamp(28px, 3.2vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: #FAFAFA; }
.container.section.stack > .stack[id] > h2 { grid-column: 1; grid-row: 1 / span 12; align-self: start; font-size: clamp(24px, 2.4vw, 36px); }
.container.section.stack > .stack[id] > .hair { display: none; }
.container.section.stack > .stack[id] > *:not(h2) { grid-column: 2; max-width: none !important; margin: 0 0 14px; }
.container.section.stack > .card { max-width: none !important; text-align: center; background: var(--dark); color: #fff; border-color: var(--dark); }
.container.section.stack > .card a { color: #ff6b6b; text-decoration: underline; text-underline-offset: 3px; }
.container.section > .entry-content, .container.section > .doc-text { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .container.section.stack > .stack[id] { grid-template-columns: 1fr; }
  .container.section.stack > .stack[id] > h2 { grid-row: auto; margin-bottom: 14px; }
  .container.section.stack > .stack[id] > *:not(h2) { grid-column: 1; }
}

/* Текстовые блоки с узкой колонкой (inline max-width:820px) тоже карточкой в две колонки */
.container.section .stack[style*="max-width:820px"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: clamp(32px, 5vw, 88px); row-gap: 0; padding: clamp(28px, 3.2vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: #FAFAFA; max-width: none !important; }
.container.section .stack[style*="max-width:820px"] > h2 { grid-column: 1; grid-row: 1 / span 12; align-self: start; font-size: clamp(24px, 2.4vw, 36px); }
.container.section .stack[style*="max-width:820px"] > .hair { display: none; }
.container.section .stack[style*="max-width:820px"] > *:not(h2) { grid-column: 2; max-width: none !important; margin: 0 0 14px; }
@media (max-width: 900px) {
  .container.section .stack[style*="max-width:820px"] { grid-template-columns: 1fr; }
  .container.section .stack[style*="max-width:820px"] > h2 { grid-row: auto; margin-bottom: 14px; }
  .container.section .stack[style*="max-width:820px"] > *:not(h2) { grid-column: 1; }
}
/* Юридические тексты: колонка по центру */
.container.section > .doc-text { max-width: 880px; margin-left: auto; margin-right: auto; }
/* Одинокие зелёные иллюстрации старого облика убраны */
section.container.section:has(> .illu-side:only-child) { display: none; }
/* inline gap у .stack сильнее таблицы стилей: без !important в карточках остаётся пустой хвост */
.container.section.stack > .stack[id], .container.section .stack[style*="max-width:820px"] { row-gap: 0 !important; }


/* ============================================================
   01.10.2026: шапка в два ряда по образцу itcons99.ru.
   Верхний ряд светлый: логотип, телефон, почта, мобильный, «Заказать звонок».
   Нижний ряд графитовый и липкий: меню прописными, поиск, «Скачать прайс-лист».
   ============================================================ */
.site-header.site-header--two { display: contents; }
.hdr-top { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 18px var(--pad); background: linear-gradient(180deg, #F0F0F2 0%, #FFFFFF 100%); color: var(--ink); }
.hdr-top .brand { flex-shrink: 0; }
.hdr-top .brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.hdr-top .brand__name { font-size: 20px; }
.brand__sub { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-top: 3px; }
.hdr-contacts { display: flex; gap: clamp(20px, 2.6vw, 44px); margin-left: auto; }
.hdr-contact { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.hdr-contact span { font-size: 13px; color: var(--muted); }
.hdr-contact a { font-size: 17px; font-weight: 600; color: var(--ink); }
.hdr-contact a:hover { color: var(--gold); }
.hdr-top .hdr-call { flex-shrink: 0; height: 46px; padding: 0 24px; border-radius: 10px; }
.hdr-phone-m { display: none; }
.site-header--two .burger { display: none; color: var(--ink); }
.hdr-nav { position: sticky; top: 0; z-index: 40; background: var(--dark); }
.hdr-nav__in { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); padding: 12px var(--pad); }
.hdr-nav .nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.hdr-nav .nav ul { gap: 28px; }
.site-header--two .hdr-nav .nav a { color: #fff; }
.site-header--two .hdr-nav .nav a:hover, .site-header--two .hdr-nav .nav .current-menu-item > a { color: #ff6b6b; }
.hdr-search { margin-left: auto; display: flex; align-items: center; background: #fff; border-radius: 10px; height: 44px; width: clamp(200px, 22vw, 330px); padding: 0 6px 0 16px; }
.hdr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--text); font-size: 15px; color: var(--ink); }
.hdr-search button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hdr-search button:hover { color: var(--gold); }
.hdr-nav .btn { height: 44px; padding: 0 22px; border-radius: 10px; flex-shrink: 0; }
@media (max-width: 1180px) {
  .hdr-contact:nth-child(2) { display: none; }
  .hdr-search { width: 180px; }
  .hdr-nav .nav, .hdr-nav .nav ul { gap: 18px; }
}
@media (max-width: 900px) {
  .hdr-top { padding: 12px 20px; gap: 10px; position: sticky; top: 0; z-index: 41; background: #fff; border-bottom: 1px solid rgba(10,10,10,0.06); }
  .hdr-top .brand__mark { width: 34px; height: 34px; }
  .hdr-top .brand__name { font-size: 16px; }
  .brand__sub { font-size: 10px; }
  .hdr-contacts, .hdr-top .hdr-call { display: none; }
  .hdr-phone-m { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(10,10,10,0.15); color: var(--ink); margin-left: auto; }
  .site-header--two .burger { display: block; }
  .hdr-nav { display: none; position: fixed; left: 0; right: 0; top: 60px; z-index: 40; max-height: calc(100vh - 60px); overflow-y: auto; }
  .site-header--two.is-open .hdr-nav { display: block; }
  .hdr-nav__in { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 20px 22px; }
  .site-header--two .hdr-nav .nav, .site-header--two.is-open .hdr-nav .nav { display: flex; position: static; flex-direction: column; align-items: stretch; gap: 0; background: transparent; padding: 0; border: 0; }
  .hdr-nav .nav ul { flex-direction: column; gap: 0; }
  .site-header--two .hdr-nav .nav a, .site-header--two.is-open .hdr-nav .nav a { color: #fff !important; display: block; padding: 12px 0; min-height: 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-header--two.is-open .nav li { border-bottom: 0; }
  .hdr-search { width: 100%; margin-left: 0; }
  .hdr-nav .btn { width: 100%; }
}

/* Знак «1С:Франчайзинг» в шапке (обязателен для франчайзи) */
.brand__1c { height: 44px; width: auto; flex-shrink: 0; display: block; }
.hdr-top { gap: clamp(16px, 2.4vw, 40px); }
.hdr-top .brand__1c + .brand { margin-left: -4px; }
@media (max-width: 900px) { .brand__1c { height: 30px; } .hdr-top .brand__sub { display: none; } }
@media (max-width: 420px) { .hdr-top .brand__name { font-size: 14px; } .hdr-top .brand__mark { width: 30px; height: 30px; } }

/* Карточки команды с фото */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-card__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; margin-bottom: 8px; }
.team-card__name { font-size: 28px; }
.team-card p { font-size: 14px; line-height: 1.65; }
.team-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-more > div { padding: 28px 32px; border: 1px solid var(--line); border-radius: 24px; background: #FAFAFA; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid, .team-more { grid-template-columns: 1fr; } }

/* Уведомление о cookie: узкая полоса слева внизу с одной кнопкой, не закрывает заголовок, кнопку расчёта и чат */
.cookie { left: 16px; right: auto; bottom: 16px; margin: 0; max-width: min(620px, calc(100vw - 400px)); padding: 8px 8px 8px 18px; gap: 14px; flex-wrap: nowrap; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.22); }
.cookie__text { font-size: 13px; line-height: 1.45; max-width: none; }
.cookie__actions { flex-shrink: 0; }
.cookie .btn { white-space: nowrap; padding: 0 16px; height: 36px; min-height: 0; font-size: 13px; }
@media (min-width: 1200px) { .cookie { max-width: none; } .cookie__text { white-space: nowrap; } }
@media (max-width: 760px) {
  .cookie { left: 10px; right: 84px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 10px 10px 10px 14px; gap: 10px; }
  .cookie__text { font-size: 12px; line-height: 1.4; }
  .cookie .btn { width: auto; flex: 0 0 auto; padding: 0 12px; }
}

/* ============================================================
   05.10.2026: правки по итогам проверки сайта
   ============================================================ */
/* Якоря не уезжают под липкую шапку */
html { scroll-padding-top: 88px; }
@media (max-width: 900px) { html { scroll-padding-top: 76px; } }

/* Согласие в форме: галка слева от текста, обычным начертанием */
.lead-form .consent__row { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }

/* Тёмная карточка-врезка: текст и надзаголовок светлые, серое на графите не читалось */
.container.section.stack > .card .muted { color: rgba(255,255,255,0.8); }
.container.section.stack > .card .eyebrow { color: rgba(255,255,255,0.6); }

/* Подпись проверяющего под статьёй стоит по той же оси, что и текст */
.container.section > .author-box { margin-left: auto; margin-right: auto; }
.author-box a { text-decoration: underline; text-underline-offset: 3px; }

/* Схема проезда картинкой */
.map-static { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.map-static__img { display: block; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map-static__img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.map-static figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.map-static__src { font-size: 12px; color: var(--muted); margin-left: auto; }
.map-static__src a { text-decoration: underline; }
@media (max-width: 760px) {
  .map-static__img img { aspect-ratio: 4 / 3; }
  .map-static figcaption .btn { flex: 1 1 auto; }
  .map-static__src { margin-left: 0; width: 100%; }
}

/* Телефон: чат третьей кнопкой нижней полосы, плавающий кружок больше не закрывает содержимое */
.mobile-bar .is-chat { display: none; }
@media (max-width: 760px) {
  .mobile-bar { grid-template-columns: 1fr 1fr 48px; }
  .mobile-bar a { font-size: 14px; }
  .mobile-bar .is-chat { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 999px; background: var(--gold); color: #fff; cursor: pointer; padding: 0; }
  .egor .egor__bubble { display: none; }
  .cookie { right: 10px; }
}

/* Телефон, тарифы: цена видна, пока выбирают параметры */
.calc-mini { display: none; }
@media (max-width: 760px) {
  .calc-mini { position: fixed; left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--dark); color: #fff; font-size: 13px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.22); }
  .calc-mini b { font-size: 17px; font-weight: 800; white-space: nowrap; }
  .calc-mini__go { margin-left: auto; color: rgba(255,255,255,0.7); white-space: nowrap; }
  .calc-mini[hidden] { display: none; }
}

/* ============================================================
   06.10.2026: мелочи из проверки сайта
   ============================================================ */
/* Таблицы тарифов помещаются в контейнер на широком экране, лишняя полоса прокрутки убрана */
.table-scroll { overflow-y: hidden; }
@media (min-width: 1200px) {
  .price-table th, .price-table td { padding-left: 8px; padding-right: 8px; }
  .price-table th:first-child, .price-table td:first-child { padding-left: 0; }
}
/* Цена в перечне услуг не вылезает за край: колонка по ширине текста */
@media (min-width: 901px) {
  .practice > div { grid-template-columns: minmax(0, 300px) minmax(0, 1fr) max-content; }
  .practice > div:nth-child(even) { grid-template-columns: minmax(0, 340px) minmax(0, 1fr) max-content; }
  /* Сетка из шести карточек: первая в каждом ряду без левого отступа, последняя без правой линии */
  .numbered > div:nth-child(3n+1) { padding-left: 0; }
  .numbered > div:nth-child(3n) { padding-right: 0; border-right: 0; }
}
/* Юридические тексты: абзацы на всю ширину колонки, как списки под ними */
.container.section > .doc-text p { max-width: none; }
/* «Полезное» с одной статьёй: карточка по центру, а не в трети ширины */
.grid-3:has(> a.card:only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }
/* Прайс разовых работ: название группы слева, строки справа */
.price-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(32px, 5vw, 88px); row-gap: 0; align-items: start; }
.price-group > .hair { display: none; }
.price-group > h2 { position: sticky; top: 96px; }
@media (max-width: 900px) {
  .price-group { grid-template-columns: 1fr; row-gap: 12px; }
  .price-group > h2 { position: static; }
}
/* Тёмная врезка: строки не длиннее удобной для чтения */
.container.section.stack > .card > * { max-width: 900px; margin-left: auto; margin-right: auto; }
/* Реквизиты: длинные значения переносятся, таблица не шире экрана */
.price-table--wrap th, .price-table--wrap td { white-space: normal; overflow-wrap: anywhere; }
.price-table--wrap th:first-child, .price-table--wrap td:first-child { min-width: 0; width: 38%; }
/* Телефон: строки меню одной высоты */
@media (max-width: 900px) {
  .site-header--two .hdr-nav .nav li { padding: 0; margin: 0; min-height: 0; border: 0; }
  /* правило для ширины до 1180 задаёт списку шаг 18px: в колонке он даёт неровные строки */
  .site-header--two .hdr-nav .nav ul { gap: 0 !important; }
}
/* Первый экран главной на невысоком экране: плашки выше, чтобы не ложились на текст */
@media (min-width: 1024px) and (max-height: 800px) { .landing .pp-hint { top: 24% !important; } }

/* Прайс разовых работ: цена и единица в своих столбцах, цифры стоят ровно друг под другом */
.price-list__val { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; flex-shrink: 0; }
.price-list__unit { flex: 0 0 124px; font-size: 13px; text-align: left; white-space: nowrap; }
@media (max-width: 760px) {
  .price-list__val { flex-direction: column; align-items: flex-end; gap: 2px; }
  .price-list__unit { flex: 0 0 auto; text-align: right; }
}

/* Шапка: логотип группы «АйТи-Консалтинг» рядом со знаком 1С и название юрлица под брендом сайта.
   Чем уже окно, тем меньше в верхнем ряду: сначала уходит хвост подписи, потом почта, режим работы, все контакты.
   Пороги 1310 и 1130 подобраны 12.10.2026 под блоки «Телефон», «Почта», «Режим работы»: между брендом и контактами не меньше 40 px. */
.brand__group { height: 40px; width: auto; flex-shrink: 0; display: block; }
.brand__co { color: var(--ink); }
/* хвост «партнёр сети…» в верхний ряд не помещается ни на одной ширине: он остаётся в подвале */
.brand__net { display: none; }
@media (max-width: 1500px) { .brand__group { height: 34px; } }
@media (max-width: 1310px) { .hdr-contact:nth-child(2) { display: none; } }
@media (max-width: 1230px) { .brand__group { height: 30px; } }
@media (max-width: 1130px) { .hdr-contact:nth-child(3) { display: none; } }
@media (max-width: 1000px) { .hdr-contacts { display: none; } .hdr-top .hdr-call { margin-left: auto; } }
@media (max-width: 970px) and (min-width: 901px) { .brand__group { height: 26px; } .hdr-top { gap: 12px; } }
@media (max-width: 900px) {
  .brand__group { display: none; }
  .hdr-top .brand__sub { display: block; font-size: 10px; margin-top: 2px; }
}
@media (max-width: 380px) { .hdr-top { gap: 8px; padding-left: 12px; padding-right: 12px; } }
/* Нижний ряд шапки на узком настольном окне: поиск и шаг меню меньше, иначе ряд шире окна */
@media (max-width: 990px) and (min-width: 901px) { .hdr-search { width: 140px; } .hdr-nav .nav, .hdr-nav .nav ul { gap: 14px; } }
/* Самые узкие телефоны: значок звонка убираем, звонок есть в нижней полосе */
@media (max-width: 355px) { .hdr-phone-m { display: none; } .site-header--two .burger { margin-left: auto; } .hdr-top .brand__name { font-size: 12.5px; } .brand__1c { height: 26px; } .hdr-top .brand__mark { width: 26px; height: 26px; } }
/* Верхний ряд с двумя логотипами: шаги между блоками меньше, чтобы ряд не вылезал за колонку сайта */
@media (min-width: 901px) {
  .hdr-top { gap: clamp(14px, 1.9vw, 28px); }
  .hdr-contacts { gap: clamp(16px, 1.9vw, 28px); }
  .brand__group { height: 36px; }
}
@media (min-width: 901px) and (max-width: 1500px) { .brand__group { height: 32px; } }
@media (min-width: 901px) and (max-width: 1230px) { .brand__group { height: 28px; } }
@media (min-width: 901px) and (max-width: 970px) { .brand__group { height: 26px; } }
/* Телефон: значки и поля чуть меньше, чтобы меню не прижималось к краю экрана */
@media (max-width: 430px) {
  .hdr-top { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .hdr-phone-m { width: 36px; height: 36px; }
  .site-header--two .burger { width: 40px; }
}
@media (max-width: 380px) { .hdr-top { padding-left: 12px; padding-right: 12px; } .hdr-top .brand__name { font-size: 13.5px; } }
/* Шапка, 06.10.2026: логотип «АйТи Консалтинг», за ним знак сети «1С:БухОбслуживание». Знак «1С:Франчайзинг» снят по слову владельца */
.brand__bo { height: 52px; width: auto; flex-shrink: 0; display: block; }
@media (min-width: 901px) and (max-width: 1500px) { .brand__bo { height: 46px; } }
@media (min-width: 901px) and (max-width: 1230px) { .brand__bo { height: 42px; } }
@media (min-width: 901px) and (max-width: 970px) { .brand__bo { height: 36px; } }
@media (max-width: 900px) { .brand__bo { height: 31px; } }
@media (max-width: 370px) { .brand__bo { height: 27px; } }

/* Нижний ряд шапки на небольшом окне, 12.10.2026.
   До 1180 px подсказка в поиске не помещалась в поле. На 901–920 px кнопка «Тарифы и цены» вылезала за край,
   на 1015–1035 px пункт меню переносился на вторую строку. Ряд ужат, подсказка на самых узких окнах скрыта:
   остаются поле и лупа, подпись для чтения с экрана стоит в aria-label. */
@media (max-width: 1180px) and (min-width: 901px) { .hdr-search { padding-left: 12px; } .hdr-search input { font-size: 14px; } }
@media (max-width: 1060px) and (min-width: 901px) {
  .hdr-nav__in { gap: 12px; }
  .hdr-nav .nav, .hdr-nav .nav ul { gap: 12px; }
  .hdr-nav .nav { font-size: 13px; letter-spacing: 0; }
  .hdr-nav .nav a { white-space: nowrap; }
  .hdr-nav .btn { padding: 0 14px; }
  .hdr-search { width: 140px; }
  .hdr-search input::placeholder { color: transparent; }
}
