/* «ЕСЕП» — бухгалтерская и консалтинговая компания (демо-шаблон Webman).
   Характер по референсу: белый фон, глубокий синий и красный, шапка в две строки, шевроны «⌝» на фото здания,
   4 плитки разделов, преимущества с линейными иконками и разделителями, синяя секция цифр с кольцами. Шрифт Onest. */
:root {
  --navy: #0b2a6b; --navy-2: #081f52; --blue: #1446a8; --blue-l: #eef3fc; --red: #e8141c; --red-2: #c40f16; --red-d: #ff5a5f;
  --ink: #0b2a6b; --fg: #1c2436; --muted: #586176; --line: #dde2ea; --line-2: #c3cbd8; --line-ctl: #8592ab; --soft: #f2f4f7; --soft-2: #e8ecf2;
  --bg: #fff; --accent: #1446a8; --accent-ink: #fff; --bad: #d1121a;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-head: var(--font-body);
  --wrap: 1240px; --radius: 0px; --radius-btn: 999px; --gap: 12px; --hh: 104px;
  --step--1: 14px; --step-0: 16px; --step-1: 18px; --step-2: 22px; --step-3: clamp(26px, 2.6vw, 34px); --step-4: clamp(36px, 4.4vw, 60px);
}
/* знак тенге ₸ из латиницы-расширенной Onest (build объявляет этот файл с диапазоном обычной латиницы, поэтому — отдельно) */
@font-face { font-family: 'Onest'; font-weight: 300; font-display: swap; src: url(../fonts/onest-latin-ext-300-normal.woff2) format('woff2'); unicode-range: U+20B8; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url(../fonts/onest-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+20B8; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url(../fonts/onest-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+20B8; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url(../fonts/onest-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+20B8; }
@font-face { font-family: 'Onest'; font-weight: 700; font-display: swap; src: url(../fonts/onest-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+20B8; }

body { color: var(--fg); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { color: inherit; }
.muted { color: var(--muted); }
.lead-p { font-size: var(--step-1); }
.fine { font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.note { font-size: 14px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--red); }
.pnote { display: inline-block; margin: 6px 0 0; padding: 8px 12px; font-size: 13px; color: var(--ink); background: #fff; border-left: 3px solid var(--red); }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.kicker--light { color: var(--red-d); }
.tag { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.tag--on { position: absolute; left: 0; top: 0; margin: 0; padding: 7px 12px; background: var(--red); color: #fff; }

/* иконки */
.i-arrow { width: 32px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform .2s; }
.i-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform .2s; }
.i-calc { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.i-ok { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 2.2; flex: none; }

/* кнопки */
.btn { font-weight: 500; padding: 0 26px; }
.btn .i-arrow { width: 28px; height: 14px; stroke-width: 1.6; }
.btn svg:not(.i-arrow) { width: 20px; height: 20px; stroke-width: 1.6; }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { filter: none; background: var(--red-2); border-color: var(--red-2); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-ctl); }
.btn--line:hover { filter: none; background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn--glass:hover { filter: none; background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.more { display: inline; color: var(--blue); font-weight: 500; text-decoration: none; }
.more .i-arrow { display: inline-block; vertical-align: middle; margin: -2px 0 0 12px; }
.more:hover { color: var(--red); }
.more:hover .i-arrow { transform: translateX(4px); }

/* заголовки секций: первые слова — красным, остальное синим */
.h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; letter-spacing: -.015em; line-height: 1.12; color: var(--ink); margin-bottom: .9em; }
.h2 em { font-style: normal; font-weight: 600; color: var(--red); }
.h2--sm { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: .6em; }
.h2--inv { color: #fff; }
.h2--inv em { color: var(--red-d); }

/* секции */
.sec { padding: 96px 0; }
.sec--soft { background: var(--soft); }
.sec--top0 { padding-top: 24px; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 44px; }
.sec__head .h2 { margin: 0; }
.sec__aside { margin: 0; max-width: 36ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
.split--faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.faq summary { color: var(--ink); font-size: 18px; }
.faq summary::after { color: var(--red); font-weight: 300; }
.faq details > div { color: var(--fg); }
.faq details { border-color: var(--line-2); }

/* ——— шапка ——— */
.top { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.top.is-scrolled { box-shadow: 0 8px 28px rgba(11, 42, 107, .09); }
.top a { text-decoration: none; }
.top__in { width: min(var(--wrap), 100% - 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 40px 64px; column-gap: 44px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.top__in > .logo { grid-row: 1 / 3; align-self: center; }
.mark { width: 40px; height: 40px; flex: none; }
.logo__w { font-size: 25px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.logo__s { padding-left: 12px; border-left: 1px solid var(--line-2); font-size: 12px; line-height: 1.2; color: var(--muted); }
.util { grid-column: 2; display: flex; align-items: stretch; justify-content: flex-end; gap: 26px; font-size: 13px; }
.util__nav { display: flex; align-items: center; gap: 20px; }
.util__nav a { color: var(--fg); }
.util__nav a:hover, .util__nav a.is-on { color: var(--red); }
.util__tel { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); }
.util__tel a { color: var(--ink); font-weight: 600; font-size: 14px; }
.util__btn { display: inline-flex; align-items: center; gap: 12px; padding: 0 22px; border: 0; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; transition: background .2s; }
.util__btn:hover { background: var(--blue); }
.util__btn .i-arrow { width: 24px; height: 12px; }
.util__btn:hover .i-arrow { transform: translateX(3px); }
.mainnav { grid-column: 2; display: flex; align-items: stretch; gap: 30px; }
.dd { position: relative; display: flex; align-items: center; }
.dd__a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 100%; font-size: 15.5px; font-weight: 600; color: var(--ink); border-bottom: 3px solid transparent; padding-top: 3px; }
.dd.is-on .dd__a, .dd:hover .dd__a, .dd:focus-within .dd__a { border-color: var(--red); }
.dd:hover .i-chev, .dd:focus-within .i-chev { transform: rotate(180deg); }
.dd__menu { position: absolute; z-index: 5; top: 100%; left: -28px; width: 660px; display: grid; grid-template-columns: 250px 1fr; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 24px 60px rgba(11, 42, 107, .18); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.dd:nth-child(n+3) .dd__menu { left: auto; right: -28px; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu { visibility: visible; opacity: 1; transform: none; }
.dd__in { padding: 26px 26px 24px; background: var(--soft); display: flex; flex-direction: column; }
.dd__t { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
.dd__d { font-size: 14px; color: var(--muted); }
.dd__all { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--blue); }
.dd__list { list-style: none; margin: 0; padding: 18px 26px; display: grid; align-content: start; }
.dd__list a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg); }
.dd__list li:last-child a { border-bottom: 0; }
.dd__list a:hover, .dd__list a[aria-current] { color: var(--red); }
.mainnav__calc { white-space: nowrap; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; align-self: center; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.mainnav__calc .i-calc { color: var(--red); }
.mainnav__calc:hover, .mainnav__calc.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.mainnav__calc:hover .i-calc, .mainnav__calc.is-on .i-calc { color: #fff; }
.top__m { display: none; }

/* мобильное меню */
.mnav .logo__s { display: none; }
.mnav__calc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px; background: var(--soft); border-left: 3px solid var(--red); text-decoration: none; color: var(--ink); }
.mnav__calc .i-calc { width: 26px; height: 26px; color: var(--red); }
.mnav__calc span { display: grid; }
.mnav__calc small { color: var(--muted); font-size: 13px; }
.mnav__g { border-bottom: 1px solid var(--line); }
.mnav__g summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; }
.mnav__g summary::-webkit-details-marker { display: none; }
.mnav__g summary::after { content: '+'; color: var(--red); font-size: 24px; font-weight: 300; transition: transform .2s; }
.mnav__g[open] summary::after { transform: rotate(45deg); }
.mnav .mnav__g ul { padding-bottom: 12px; gap: 0; }
.mnav .mnav__g li a { padding: 8px 0 8px 14px; font-size: 16px; border-left: 2px solid var(--line); }
.mnav .mnav__g li a.mnav__all { color: var(--blue); font-weight: 500; }
.mnav .mnav__links { margin-top: 10px; }
.mnav .mnav__links li a { font-size: 17px; padding: 9px 0; color: var(--fg); }
.mnav .mnav__links a.is-on { color: var(--red); }
.mnav__tel { font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; }

/* ——— первый экран ——— */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 46vw, 700px); overflow: hidden; background: var(--navy); color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 26, 70, .86) 0%, rgba(7, 26, 70, .62) 36%, rgba(7, 26, 70, .12) 64%, rgba(7, 26, 70, 0) 80%); }
.hero__art { position: absolute; z-index: 2; right: 0; bottom: 0; height: 100%; width: auto; max-width: 52%; }
.hero__in { position: relative; z-index: 3; padding: 72px 0 80px; }
.hero__k { margin: 0 0 22px; font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.85); }
.hero__t { font-weight: 300; font-size: clamp(46px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 26px; }
.hero__s { max-width: 34em; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.92); margin-bottom: 34px; }
.hero__b { display: flex; flex-wrap: wrap; gap: 12px; }
.chv { transform-box: fill-box; animation: chvIn .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes chvIn { from { opacity: 0; transform: translate(-34px, 34px); } }

/* вступление */
.intro { padding: 104px 0 64px; }
.intro__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.h2--intro { font-size: clamp(30px, 2.9vw, 42px); margin: 0; }
.h2--intro em { display: block; }
.intro__txt p:first-child { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink); }
.intro__txt .muted { font-size: 16px; margin-top: 18px; }

/* плитки разделов */
.tiles-sec { padding-bottom: 24px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.tile { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 42px 44px; overflow: hidden; }
.tile a { text-decoration: none; color: inherit; }
.tile--soft { background: var(--soft); color: var(--ink); }
.tile--navy { background: var(--navy); color: #fff; }
.tile--blue { background: var(--blue); color: #fff; }
.tile__t { position: relative; z-index: 1; font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; margin-bottom: 26px; }
.tile__t a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.tile__list { position: relative; z-index: 1; list-style: none; padding: 0; display: grid; gap: 9px; max-width: 62%; font-size: 15.5px; }
.tile:nth-child(even) .tile__list { margin-top: auto; }
.tile__list a:hover { text-decoration: underline; }
.tile--soft .tile__list a { color: var(--fg); }
.tile--soft .tile__list a:hover { color: var(--red); }
.tile__art { position: absolute; right: 0; bottom: 0; width: 36%; max-width: 236px; height: auto; pointer-events: none; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile__art { transform: translate(-6px, -6px); }
.tile__go { position: absolute; z-index: 2; right: 30px; top: 34px; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; opacity: .9; transition: background .2s, color .2s, border-color .2s; }
.tile__go .i-arrow { width: 24px; height: 12px; }
.tile--soft .tile__go { color: var(--navy); border-color: var(--line-ctl); }
.tile__go:hover { background: var(--red); border-color: var(--red); color: #fff; opacity: 1; }

/* мини-калькулятор на главной */
.mini { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: var(--soft); }
.mini__in { padding: 48px 48px 52px; }
.mini__t { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; color: var(--ink); max-width: 20em; }
.mini__q { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 30px; }
.mq { border: 0; margin: 0; padding: 0; min-width: 0; }
.mq legend, .mq--range label { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.mq--range output { font-weight: 600; color: var(--ink); font-size: 16px; }
.mq--range .range { margin-top: 10px; }
.mini__out { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 48px 44px; background: var(--navy); color: #fff; }
.mini__out::after { content: ''; position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; border-top: 12px solid var(--red); border-right: 12px solid var(--red); }
.mini__k { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.mini__tier { margin: 4px 0 14px; font-size: 30px; font-weight: 600; }
.mini__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; }
.mini__price span { font-size: clamp(36px, 3.4vw, 50px); font-weight: 300; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini__price small { color: rgba(255,255,255,.75); font-size: 15px; }
.mini__vs { min-height: 3em; font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 22px; }
.mini__fine { margin: 12px 0 0; font-size: 12.5px; color: rgba(255,255,255,.65); }

/* переключатели-варианты (главная и калькулятор) */
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { position: relative; flex: 1 1 0; min-width: 0; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; height: 100%; padding: 8px 14px; border: 1px solid var(--line-ctl); background: #fff; font-size: 15px; line-height: 1.25; text-align: center; color: var(--fg); transition: background .15s, border-color .15s, color .15s; }
.opt:hover > span { border-color: var(--navy); }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt input:disabled + span { cursor: not-allowed; }
.seg--4 .opt { flex: 1 1 calc(25% - 6px); }
.seg--4 .opt > span { white-space: nowrap; padding-left: 6px; padding-right: 6px; }
.seg--cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg--cards.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg--cards .opt > span { position: relative; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; min-height: 82px; padding: 14px 40px 14px 18px; text-align: left; }
.seg--cards .opt b { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.seg--cards .opt small { font-size: 13px; color: var(--muted); }
.seg--cards .opt input:checked + span { background: var(--blue-l); border-color: var(--navy); color: var(--ink); box-shadow: inset 0 0 0 1px var(--navy); }
.seg--cards .opt input:checked + span::after { content: ''; position: absolute; top: 12px; right: 12px; width: 13px; height: 13px; border-top: 4px solid var(--red); border-right: 4px solid var(--red); }
.opt--chk > span::before { content: ''; width: 18px; height: 18px; flex: none; border: 1.5px solid var(--line-ctl); background: #fff; }
.opt--chk input:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4.5 10.5 3.5 3.5 7.5-8' fill='none' stroke='%23e8141c' stroke-width='2.6'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ползунок */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--red) var(--p), var(--line-2) var(--p)); }
.range::-moz-range-track { height: 4px; background: var(--line-2); }
.range::-moz-range-progress { height: 4px; background: var(--red); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 2px 8px rgba(11,42,107,.25); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.range:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* преимущества */
.adv { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.adv li { padding: 10px 40px 44px; border-left: 1px solid var(--line); }
.adv li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.adv li:nth-child(n+4) { border-top: 1px solid var(--line); padding-top: 44px; }
.adv__i { width: 58px; height: 58px; margin-bottom: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.adv h3 { font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 12px; max-width: 18em; }
.adv p { font-size: 15px; color: var(--muted); margin: 0; }

/* цифры */
.stats { position: relative; overflow: hidden; padding: 104px 0 96px; background: var(--navy); color: #fff; }
.stats__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stats .wrap { position: relative; }
.stats__h { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 56px; }
.stats__h .h2 { margin: 0; }
.stats__note { margin: 0; font-size: 13px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.85); }
.stats__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.stats__grid li { padding: 0 40px 44px; border-left: 1px solid rgba(255,255,255,.18); }
.stats__grid li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.stats__grid li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.18); padding-top: 44px; padding-bottom: 0; }
.stats__n { display: flex; align-items: flex-start; margin: 0 0 18px; font-size: clamp(56px, 6vw, 90px); font-weight: 300; line-height: .95; letter-spacing: -.035em; white-space: nowrap; }
.stats__v { display: inline-flex; align-items: flex-start; white-space: nowrap; }
.stats__p { font-size: .62em; margin-left: 2px; }
.stats__u { margin: .32em 0 0 14px; font-size: 20px; font-weight: 400; letter-spacing: 0; }
.stats__t { margin: 0; max-width: 26ch; font-size: 16px; color: rgba(255,255,255,.82); }

/* шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line-2); }
.steps li::before { content: ''; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--red); }
.steps__n { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--red); }
.steps h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }

/* тарифы — карточки */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tcard { position: relative; display: flex; flex-direction: column; padding: 38px 34px 34px; background: #fff; border: 1px solid var(--line); }
.tcard--hl { background: var(--navy); border-color: var(--navy); color: #fff; }
.tcard__badge { position: absolute; top: 0; right: 0; margin: 0; padding: 7px 14px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 500; }
.tcard__t { font-size: 30px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.tcard--hl .tcard__t { color: #fff; }
.tcard__who { min-height: 3.1em; font-size: 15px; color: var(--muted); }
.tcard--hl .tcard__who { color: rgba(255,255,255,.78); }
.tcard__p { margin: 10px 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 36px; font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.tcard__p small { font-size: 15px; letter-spacing: 0; color: var(--muted); }
.tcard--hl .tcard__p { color: #fff; border-color: rgba(255,255,255,.2); }
.tcard--hl .tcard__p small { color: rgba(255,255,255,.75); }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 11px; flex: 1; align-content: start; }
.checks li { display: flex; gap: 10px; font-size: 15px; }
.tcard--hl .i-ok { stroke: var(--red-d); }
.tcard--hl .btn--line { color: #fff; border-color: rgba(255,255,255,.6); }

/* кейсы — карточки */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ccard { display: flex; flex-direction: column; background: var(--soft); text-decoration: none; overflow: hidden; }
.ccard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ccard:hover img { transform: scale(1.04); }
.ccard__b { position: relative; display: grid; gap: 10px; padding: 24px 26px 30px; background: var(--soft); }
.ccard__t { font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ccard:hover .ccard__t { color: var(--red); }
.ccard__r { font-size: 14px; color: var(--muted); }

/* блок заявки */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding: 96px 0; }
.cta__t { font-size: clamp(32px, 3.4vw, 50px); font-weight: 300; letter-spacing: -.02em; margin-bottom: 20px; }
.cta__txt > p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 32em; }
.cta__c { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.cta__c li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.cta__c svg { width: 22px; height: 22px; fill: none; stroke: var(--red-d); stroke-width: 1.7; flex: none; }
.cta__c a { color: #fff; text-decoration: none; font-weight: 500; }
.cta__c a:hover { text-decoration: underline; }
.cta::before { content: ''; position: absolute; right: -160px; bottom: -160px; width: 520px; height: 520px; border: 70px solid rgba(255,255,255,.04); border-radius: 50%; }
.cta__form { position: relative; z-index: 1; align-self: start; padding: 36px 34px 30px; background: #fff; color: var(--fg); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.cta__form::before { content: ''; position: absolute; right: -18px; top: -18px; width: 72px; height: 72px; border-top: 18px solid var(--red); border-right: 18px solid var(--red); }
.field { color: var(--muted); }
.field input, .field textarea, .field select { border-color: var(--line-ctl); border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 2px rgba(20,70,168,.25); }
.agree input { accent-color: var(--red); }
.done { border-left: 3px solid var(--red); }
.calc-sum { padding: 14px 16px; background: var(--soft); border-left: 3px solid var(--red); font-size: 14px; color: var(--fg); }
.calc-sum p { margin: 0; }
.calc-sum__t { font-weight: 600; color: var(--ink); margin-bottom: 4px !important; }
.modal__box { border-top: 4px solid var(--red); }
.modal__t { font-weight: 500; color: var(--ink); }

/* подвал */
.foot { position: relative; overflow: hidden; background: var(--navy-2); color: rgba(255,255,255,.78); padding-top: 76px; font-size: 15px; }
.foot::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--red) 0 120px, var(--blue) 120px 260px, transparent 260px); }
.foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 60px; }
.foot__brand p { margin: 22px 0 26px; max-width: 30em; }
.logo--inv { color: #fff; }
.logo--inv .logo__s { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.3); }
.foot__h { margin: 0 0 16px; color: #fff; font-weight: 600; font-size: 16px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot__c li { display: flex; gap: 10px; align-items: flex-start; }
.foot__c svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--red-d); stroke-width: 1.7; flex: none; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.66); }

/* ——— шапка внутренних страниц ——— */
.phead { position: relative; overflow: hidden; background: var(--soft); }
.phead__in { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 40px; padding-bottom: 60px; }
.crumbs a:hover { color: var(--red); }
.page-title { font-weight: 300; color: var(--ink); letter-spacing: -.025em; margin: 14px 0 18px; }
.phead__lead { max-width: 44em; font-size: 19px; line-height: 1.5; margin: 0; }
.phead__lead a { color: var(--blue); }
.phead__art { width: 250px; height: auto; margin-top: 24px; }
.sart { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .2s, color .2s; }
.chips a b { font-size: 12.5px; font-weight: 700; color: var(--red); }
.chips a:hover { border-color: var(--navy); }

/* услуги */
.usec { padding: 12px 0; scroll-margin-top: calc(var(--hh) + 12px); }
.usec:first-of-type { padding-top: 64px; }
.usec__in { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: var(--gap); }
.upanel { position: relative; overflow: hidden; padding: 40px 38px 230px; }
.upanel--soft { background: var(--soft); color: var(--ink); }
.upanel--navy { background: var(--navy); color: #fff; }
.upanel--blue { background: var(--blue); color: #fff; }
.upanel__n { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--red); }
.upanel .upanel__n { color: var(--red); }
.upanel--navy .upanel__n, .upanel--blue .upanel__n { color: #fff; opacity: .75; }
.upanel__t { margin: 10px 0 16px; font-size: 30px; font-weight: 600; }
.upanel p { position: relative; z-index: 1; font-size: 15.5px; }
.upanel--soft p { color: var(--fg); }
.upanel .tile__art { width: 210px; }
.ucards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.ucard { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; border: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 16px); transition: border-color .2s, box-shadow .2s; }
.ucard:hover { border-color: var(--line-ctl); }
.ucard:target { border-color: var(--red); box-shadow: inset 4px 0 0 var(--red); }
.ucard:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ucard__t { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ucard__t a { text-decoration: none; }
.ucard__t a:hover { color: var(--red); }
.ucard p { margin: 0; font-size: 15px; color: var(--muted); }
.ucard .ucard__p { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--ink); }
.ucard__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 500; font-size: 15px; text-decoration: none; }
.ucard__go .i-arrow { width: 26px; height: 13px; }
.ucard__go:hover { color: var(--red); }
.ucard__go:hover .i-arrow { transform: translateX(4px); }
.band { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px 40px; padding: 44px 48px; background: var(--soft); border-left: 4px solid var(--red); }
.band__t { font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.band p { margin: 0; color: var(--muted); max-width: 40em; }
.band__b { display: flex; flex-wrap: wrap; gap: 12px; }

/* страница услуги */
.shero { background: var(--soft); }
.shero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: stretch; }
.shero__txt { padding-bottom: 72px; }
.shero__t { font-size: clamp(36px, 4.2vw, 58px); font-weight: 300; letter-spacing: -.025em; color: var(--ink); margin: 6px 0 20px; }
.shero__lead { font-size: 18px; line-height: 1.55; max-width: 38em; }
.shero__price { margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--line-2); }
.shero__price p { margin: 0; }
.shero__price b { font-size: 34px; font-weight: 400; letter-spacing: -.02em; color: var(--ink); }
.shero__price span { color: var(--muted); }
.shero__price .small { margin-top: 6px; }
.shero__b { display: flex; flex-wrap: wrap; gap: 12px; }
.shero__b .btn--line .i-calc { color: var(--red); }
.shero__b .btn--line:hover .i-calc { color: #fff; }
.shero__img { position: relative; margin: 36px 0 -56px; min-height: 440px; z-index: 1; }
.shero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shero__img::after { content: ''; position: absolute; right: -16px; top: -16px; width: 76px; height: 76px; border-top: 20px solid var(--red); border-right: 20px solid var(--red); }
.shero + .sec { padding-top: 120px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.incl li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.incl li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.incl .i-ok { margin-top: 2px; }
.ptable-w { min-width: 0; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ptable th, .ptable td { padding: 18px 16px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ptable thead th { padding-top: 0; padding-bottom: 12px; border-bottom: 2px solid var(--navy); font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ptable tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.ptable td { color: var(--muted); }
.ptable .ptable__p { padding-right: 0; text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); }
.ptable thead th:last-child { text-align: right; padding-right: 0; }
.need { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; }
.need li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; color: var(--ink); }
.need li span { flex: none; padding-top: 3px; font-size: 13.5px; font-weight: 700; color: var(--red); }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.rel__c { display: flex; flex-direction: column; background: var(--soft); text-decoration: none; overflow: hidden; }
.rel__c img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rel__c:hover img { transform: scale(1.04); }
.rel__b { position: relative; display: grid; gap: 6px; padding: 22px 24px 26px; background: var(--soft); }
.rel__k { font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--red); }
.rel__t { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rel__c:hover .rel__t { color: var(--red); }
.rel__p { font-size: 14.5px; color: var(--muted); }

/* ——— калькулятор ——— */
.phead--calc .phead__in { padding-bottom: 52px; }
.calc-sec { padding: 56px 0 96px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 56px; align-items: start; }
.q { min-width: 0; margin: 0; padding: 30px 0; border: 0; border-top: 1px solid var(--line); }
.q:first-child { padding-top: 0; border-top: 0; }
.q__t { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 16px; font-size: 20px; font-weight: 600; color: var(--ink); }
.q__n { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; }
.q__t + * { clear: both; }
.q__h { margin: -6px 0 16px 46px; font-size: 15px; color: var(--muted); }
.q > .seg, .q > .staff, .q > .sub { margin-left: 46px; }
.staff { display: flex; align-items: center; gap: 24px; }
.staff .range { flex: 1; }
.staff__n { display: flex; align-items: stretch; border: 1px solid var(--line-ctl); background: #fff; }
.staff__b { width: 46px; border: 0; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; }
.staff__b:hover { background: var(--soft); }
.staff__n input { width: 70px; height: 48px; padding: 0; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 19px; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.staff__n input::-webkit-outer-spin-button, .staff__n input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sub { margin-top: 18px; padding: 18px 20px 20px; background: var(--soft); transition: opacity .2s; }
.sub__t { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.sub .seg + .sub__t { margin-top: 18px; }
.sub.is-off { opacity: .45; }
.res { position: sticky; top: calc(var(--hh) + 20px); }
.res__card { position: relative; overflow: hidden; padding: 34px 32px 28px; background: var(--navy); color: #fff; }
.res__card::after { content: ''; position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; border-top: 10px solid var(--red); border-right: 10px solid var(--red); }
.res__k { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.res__tier { margin: 0 0 6px; font-size: 36px; font-weight: 600; line-height: 1.1; }
.res__alt { margin: 0 0 6px; font-size: 14px; color: #ffc2c4; }
.res__who { margin: 0 0 22px; font-size: 15px; color: rgba(255,255,255,.8); max-width: 26em; }
.res__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.res__price span { font-size: 46px; font-weight: 300; letter-spacing: -.025em; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res__price.is-range span { font-size: 31px; }
.res__price small { font-size: 15px; color: rgba(255,255,255,.75); }
.res__note { margin: -4px 0 16px; font-size: 14px; color: rgba(255,255,255,.82); }
.res__restore { margin: 0 0 16px; padding: 14px 16px; background: rgba(255,255,255,.08); border-left: 3px solid var(--red); }
.res__restore p { margin: 0; }
.res__rk { font-size: 13px; color: rgba(255,255,255,.78); }
.res__rp { font-size: 26px; font-weight: 400; margin: 2px 0 !important; }
.res__rt { font-size: 13px; color: rgba(255,255,255,.78); }
.res__lines { border-top: 1px solid rgba(255,255,255,.2); }
.res__lines summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.res__lines summary::-webkit-details-marker { display: none; }
.res__lines summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--red-d); transition: transform .2s; }
.res__lines[open] summary::after { transform: rotate(45deg); }
.res__lines ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; }
.res__lines li { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.84); }
.res__lines b { font-weight: 500; color: #fff; white-space: nowrap; }
.res__why { margin: 0 0 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.res__why p { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.res__why ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.res__why li { padding: 5px 10px; background: rgba(255,255,255,.1); font-size: 13.5px; }
.res__card .btn--lg { white-space: normal; text-align: center; padding: 10px 22px; font-size: 16px; }
.res__share { display: block; width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: none; color: #fff; font-size: 14px; transition: border-color .2s; }
.res__share:hover { border-color: #fff; }
.res__fine { margin: 14px 0 0; font-size: 12.5px; color: rgba(255,255,255,.68); }
.calc2__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.calc2__c { padding: 40px 40px 36px; background: #fff; }
.ilist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; }
.ilist li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.ilist li:last-child { border-bottom: 0; }
.ilist__i { flex: none; }
.ilist__i svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke-width: 2.2; }
.ilist .is-y svg { stroke: var(--red); }
.ilist .is-n { color: var(--muted); }
.ilist .is-n svg { stroke: #9aa3b5; stroke-width: 1.8; }
.vs { display: grid; gap: 22px; margin: 18px 0 8px; }
.vs__l { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font-size: 15px; }
.vs__l b { font-weight: 600; color: var(--ink); }
.vs__l span { font-weight: 600; color: var(--ink); white-space: nowrap; }
.vs__bar { display: flex; height: 20px; background: var(--soft); }
.vs__f { display: block; height: 100%; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.vs__f--us { background: var(--red); }
.vs__f--sal { background: var(--navy); }
.vs__f--place { background: #7f97c8; }
.vs__leg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.vs__li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vs__dot { display: inline-block; width: 10px; height: 10px; }
.vs__dot--sal { background: var(--navy); }
.vs__dot--place { background: #7f97c8; }
.vs__sum { margin: 4px 0 0; padding: 16px 18px; background: var(--blue-l); border-left: 3px solid var(--blue); font-size: 17px; color: var(--ink); }
.vs__sum b { font-weight: 600; white-space: nowrap; }
.ttable-hint { display: none; margin: -8px 0 12px; font-size: 13px; color: var(--muted); }
.ttable-w { position: relative; overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.ttable { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.ttable th, .ttable td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ttable tr:last-child th, .ttable tr:last-child td { border-bottom: 0; }
.ttable thead th { background: var(--soft); font-size: 13px; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.ttable__n { display: block; font-size: 21px; font-weight: 600; color: var(--ink); }
.ttable tbody th { width: 31%; font-weight: 500; color: var(--ink); background: #fff; }
.ttable td { text-align: center; color: var(--fg); transition: background .3s; }
.ttable td .i-ok { margin: 0 auto; }
.ttable tbody tr:first-child td { font-weight: 600; font-size: 16px; color: var(--ink); }
.ttable__no { color: #98a1b3; }
.ttable [data-col].is-on { background: var(--blue-l); }
.ttable thead th[data-col].is-on { background: var(--navy); color: #fff; }
.ttable thead th.is-on .ttable__n { color: #fff; }
.ttable thead th.is-on::after { content: 'подходит по расчёту'; display: block; margin-top: 4px; font-size: 12px; color: #ffc2c4; }
.ttable thead th[data-col], .ttable td { width: 23%; }
.cbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; box-shadow: 0 -10px 30px rgba(11,42,107,.25); }
.cbar p { display: grid; margin: 0; line-height: 1.2; }
.cbar small { font-size: 12px; color: rgba(255,255,255,.75); }
.cbar b { font-size: 19px; font-weight: 500; white-space: nowrap; }
.cbar .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ——— кейсы ——— */
.case { padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--hh); }
.case__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 60px; align-items: start; }
.case--r .case__img { order: 2; }
.case__img { position: relative; margin: 0; }
.case__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li { padding: 5px 11px; background: var(--soft); font-size: 13px; color: var(--ink); }
.case__t { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.01em; color: var(--ink); margin-bottom: 30px; }
.case__tsr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 32px; }
.case__tsr h3 { margin-bottom: 10px; padding-top: 14px; border-top: 2px solid var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.case__tsr p { margin: 0; font-size: 15px; }
.case__nums { list-style: none; margin: 0 0 26px; padding: 26px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--navy); color: #fff; }
.case__nums b { display: block; margin-bottom: 6px; font-size: 42px; font-weight: 300; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.case__nums small { margin-left: 6px; font-size: 15px; font-weight: 400; letter-spacing: 0; }
.case__nums span { font-size: 14px; color: rgba(255,255,255,.78); }

/* ——— о компании ——— */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.about__img { margin: 0; position: relative; }
.about__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__img::after { content: ''; position: absolute; right: -18px; top: -18px; width: 90px; height: 90px; border-top: 26px solid var(--red); border-right: 26px solid var(--red); }
.princ { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.princ li { display: flex; gap: 16px; }
.princ li > span { flex: none; width: 24px; padding-top: 3px; font-size: 14px; font-weight: 700; color: var(--red); }
.princ h3 { font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.princ p { margin: 0; font-size: 15px; color: var(--muted); }
.org { display: grid; justify-items: center; margin-top: 8px; }
.org__c { display: grid; gap: 4px; width: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--line); text-align: center; }
.org__c b { font-weight: 600; color: var(--ink); }
.org__c span { font-size: 14px; color: var(--muted); }
.org__c--you { max-width: 360px; border-color: var(--line-ctl); }
.org__c--main { max-width: 440px; background: var(--navy); border-color: var(--navy); }
.org__c--main b, .org__c--main span { color: #fff; }
.org__line { width: 2px; height: 34px; background: var(--red); }
.org__row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); width: 100%; margin-top: 34px; }
.org__row::before { content: ''; position: absolute; top: -17px; left: 12.5%; right: 12.5%; border-top: 2px solid var(--line-2); }
.org__row::after { content: ''; position: absolute; top: -34px; left: 50%; width: 2px; height: 17px; background: var(--line-2); }
.org__row .org__c { position: relative; }
.org__row .org__c::before { content: ''; position: absolute; top: -17px; left: 50%; width: 2px; height: 17px; background: var(--line-2); }
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.team h3 { margin: 18px 0 4px; font-size: 19px; font-weight: 600; color: var(--ink); }
.team p { margin: 0; font-size: 14.5px; color: var(--muted); }
.resp { position: relative; overflow: hidden; padding: 100px 0; background: var(--navy); color: #fff; }
.resp__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; }
.resp__h p { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.82); }
.resp__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.resp__list li { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.2); }
.resp__list h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 19px; font-weight: 600; }
.resp__list h3::before { content: ''; width: 11px; height: 11px; flex: none; border-top: 3px solid var(--red-d); border-right: 3px solid var(--red-d); }
.resp__list p { margin: 0; font-size: 15px; color: rgba(255,255,255,.8); }
.duo { display: grid; grid-template-columns: 1.333fr 1fr; gap: var(--gap); }
.duo figure { margin: 0; }
.duo img { width: 100%; object-fit: cover; }
.duo figure:first-child img { aspect-ratio: 16 / 9; }
.duo figure:last-child img { aspect-ratio: 4 / 3; }
.duo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ——— контакты ——— */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.clist { list-style: none; padding: 0; margin: 0; display: grid; }
.clist li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.clist li:first-child { padding-top: 0; }
.clist svg { width: 24px; height: 24px; margin-top: 2px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.7; }
.clist small { display: block; font-size: 13px; color: var(--muted); }
.clist a, .clist span { font-size: 19px; font-weight: 500; color: var(--ink); text-decoration: none; }
.clist a:hover { color: var(--red); }
.rekv { margin-top: 40px; }
.rekv dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; font-size: 15px; }
.rekv dt { color: var(--muted); }
.rekv dd { margin: 0; color: var(--ink); }
.map { margin: 0; }
.map__svg { width: 100%; height: auto; border: 1px solid var(--line); }
.map figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.lost__code { color: var(--navy); opacity: .14; margin-top: 20px; }

/* ——— планшет ——— */
@media (max-width: 1359px) {
  .hide-md, .util__tel { display: none; }
  .mainnav { gap: 26px; }
}
@media (max-width: 1239px) {
  :root { --hh: 64px; }
  .top__in { grid-template-rows: 64px; }
  .top__in > .logo { grid-row: 1; }
  .util, .mainnav { display: none; }
  .top__m { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
  .top__ph { display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); }
  .top__ph svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .burger { display: grid; align-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 0; background: var(--navy); }
  .burger span { display: block; height: 2px; background: #fff; }
  .burger span:nth-child(2) { width: 70%; justify-self: end; background: var(--red-d); }
}
@media (max-width: 1080px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .res { position: static; }
  .stats__grid li { padding-left: 28px; padding-right: 28px; }
  .tcards { grid-template-columns: 1fr; max-width: 640px; }
  .usec__in { grid-template-columns: 1fr; }
  .upanel { padding-bottom: 150px; }
  .upanel .tile__art { width: 150px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro__in, .split, .split--faq, .cta__in, .contacts, .about, .resp__in, .mini, .calc2__in, .shero__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tiles { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 1fr 1fr; }
  .adv li, .adv li:nth-child(3n+1) { padding: 32px 28px 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .adv li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid li, .stats__grid li:nth-child(3n+1), .stats__grid li:nth-child(n+4) { padding: 28px 20px 28px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .stats__grid li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .ccards, .rel { grid-template-columns: 1fr 1fr; }
  .case__in { grid-template-columns: 1fr; gap: 32px; }
  .case--r .case__img { order: 0; }
  .team { grid-template-columns: 1fr 1fr; }
  .phead__in { grid-template-columns: 1fr; }
  .phead__art { display: none; }
  .shero__txt { padding-bottom: 0; }
  .shero__img { min-height: 0; aspect-ratio: 16 / 10; margin: 0 0 -40px; }
  .shero__img::after { right: -8px; top: -8px; width: 56px; height: 56px; border-width: 14px; }
  .shero + .sec { padding-top: 96px; }
  .about__img { max-width: 520px; }
}

/* ——— телефон ——— */
@media (max-width: 760px) {
  :root { --gap: 10px; }
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .sec--top0 { padding-top: 12px; }
  .sec__head { margin-bottom: 28px; }
  .h2 { font-size: clamp(27px, 7.4vw, 34px); }
  .logo__w { font-size: 22px; }
  .logo__s { font-size: 11px; padding-left: 10px; }
  .mark { width: 36px; height: 36px; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 26, 70, .9) 0%, rgba(7, 26, 70, .72) 52%, rgba(7, 26, 70, .25) 80%, rgba(7, 26, 70, .1) 100%); }
  .hero__img { object-position: 70% 50%; }
  .hero__art { height: auto; width: 250px; max-width: none; right: -10px; bottom: 0; }
  .hero__in { padding: 44px 0 250px; }
  .hero__k { font-size: 13px; margin-bottom: 16px; }
  .hero__t { font-size: clamp(40px, 11.4vw, 52px); }
  .hero__s { font-size: 17px; }
  .hero__b .btn { flex: 1 1 100%; }
  .intro { padding: 64px 0 40px; }
  .tile { min-height: 0; padding: 30px 24px 150px; }
  .tile__list { max-width: 100%; }
  .tile:nth-child(even) .tile__list { margin-top: 0; }
  .tile__art { width: 150px; }
  .tile__t { padding-right: 56px; margin-bottom: 20px; }
  .tile__go { right: 20px; top: 26px; width: 46px; height: 46px; }
  .mini__in { padding: 30px 20px 32px; }
  .mini__q { grid-template-columns: 1fr; gap: 18px; }
  .mini__out { padding: 34px 20px 30px; }
  .adv { grid-template-columns: 1fr; }
  .adv li, .adv li:nth-child(3n+1), .adv li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .adv li:first-child { border-top: 0; padding-top: 8px; }
  .adv__i { width: 50px; height: 50px; margin-bottom: 16px; }
  .stats { padding: 72px 0 64px; }
  .stats__h { margin-bottom: 32px; }
  .stats__n { flex-wrap: wrap; font-size: 42px; }
  .stats__u { flex-basis: 100%; margin: 8px 0 0; font-size: 15px; }
  .stats__t { font-size: 14.5px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .ccards, .rel { grid-template-columns: 1fr; }
  .tcard { padding: 30px 22px 24px; }
  .cta__in { padding: 64px 0; }
  .cta__form { padding: 26px 18px 22px; }
  .cta__art { width: 170px; right: -40px; top: -40px; opacity: .8; }
  .cta__t { padding-right: 60px; }
  .foot { padding-top: 56px; }
  .foot__in { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 40px; }
  .foot__brand, .foot__in > div:last-child { grid-column: 1 / -1; }
  .foot__legal { flex-direction: column; }
  .page-title { font-size: clamp(34px, 9.4vw, 44px); }
  .phead__in { padding-bottom: 40px; }
  .phead__lead { font-size: 17px; }
  .chips a { padding: 9px 13px; font-size: 14px; }
  .usec:first-of-type { padding-top: 36px; }
  .upanel { padding: 30px 24px 130px; }
  .upanel__t { font-size: 25px; }
  .upanel .tile__art { width: 120px; }
  .ucards { grid-template-columns: 1fr; }
  .ucard { padding: 24px 20px 22px; }
  .band { padding: 30px 22px; }
  .band__t { font-size: 23px; }
  .band__b .btn { flex: 1 1 100%; }
  .shero__t { font-size: clamp(34px, 9vw, 44px); }
  .shero__lead { font-size: 17px; }
  .shero__b .btn { flex: 1 1 100%; }
  .incl { grid-template-columns: 1fr; }
  .incl li { font-size: 16px; padding: 15px 0; }
  .incl li:nth-child(2) { border-top: 0; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: auto; }
  .ptable tr { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .ptable tr:first-child { border-top: 2px solid var(--navy); }
  .ptable th, .ptable td { padding: 0; border: 0; }
  .ptable tbody th { width: auto; }
  .ptable td:not(.ptable__p) { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; }
  .ptable .ptable__p { grid-row: 1; grid-column: 2; max-width: 46vw; white-space: normal; }
  .need li { font-size: 16px; }
  .calc-sec { padding: 36px 0 64px; }
  .q { padding: 26px 0; }
  .q__t { font-size: 18px; align-items: flex-start; gap: 12px; }
  .q__n { width: 28px; height: 28px; font-size: 13px; }
  .q__h { margin-left: 0; margin-top: -4px; font-size: 14.5px; }
  .q > .seg, .q > .staff, .q > .sub { margin-left: 0; }
  .seg--cards, .seg--cards.seg--3 { grid-template-columns: 1fr; }
  .seg--cards .opt > span { min-height: 0; }
  .seg--4 .opt { flex: 1 1 calc(50% - 6px); }
  .staff { flex-wrap: wrap; gap: 14px; }
  .staff .range { flex: 1 1 100%; order: 2; }
  .sub { padding: 16px 14px; }
  .res__card { padding: 28px 22px 24px; }
  .res__card .btn--lg { font-size: 15px; }
  .ttable { min-width: 620px; font-size: 14px; }
  .ttable th, .ttable td { padding: 13px 12px; }
  .ttable tbody th, .ttable thead th:first-child { position: sticky; left: 0; z-index: 1; width: 132px; min-width: 132px; box-shadow: 1px 0 0 var(--line); }
  .ttable thead th:first-child { background: var(--soft); }
  .ttable__n { font-size: 17px; }
  .ttable-hint { display: block; }
  .res__price span { font-size: 40px; }
  .res__price.is-range span { font-size: 27px; }
  .calc2__c { padding: 28px 20px 26px; }
  .case { padding: 52px 0; }
  .case__tsr { grid-template-columns: 1fr; gap: 20px; }
  .case__nums { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .case__nums li { display: flex; align-items: baseline; gap: 14px; }
  .case__nums b { font-size: 34px; margin: 0; min-width: 120px; }
  .princ { grid-template-columns: 1fr; }
  .about__img::after { right: -8px; top: -8px; width: 60px; height: 60px; border-width: 18px; }
  .org__row { grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .org__row::before, .org__row::after, .org__row .org__c::before { display: none; }
  .team { gap: 18px 10px; }
  .team h3 { font-size: 17px; }
  .resp { padding: 64px 0; }
  .resp__list { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .clist a, .clist span { font-size: 17px; }
}
@media (min-width: 1081px) { .cbar { display: none !important; } }
@media (min-width: 1240px) { .mnav { display: none; } }
/* кнопка отправки в окне заявки (форма из core.js) — красная, как остальные призывы */
.lead .btn[type="submit"] { background: var(--red); border-color: var(--red); color: #fff; }
.lead .btn[type="submit"]:hover { filter: none; background: var(--red-2); border-color: var(--red-2); }
