/* CCELEST — общие стили для всех страниц */
/* Шрифт Onest (лицензия OFL) лежит на сайте: внешние сервисы не нужны */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/onest-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/onest-math.woff2) format("woff2"); unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/onest-symbols.woff2) format("woff2"); unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF; }


:root {
  --accent: #508fff;
  --card-1: #202b39; --card-2: #46627d; --card-3: #82aac8; --card-light: #e2edfa;
  --grey-100: #e7e7e7; --grey-50: #f5f5f5; --grey-500: #737373; --grey-800: #222;
  --r-card: 4px; --r-small: 8px;
  --pad: 16px;
  /* тёмная тема по умолчанию */
  --bg: #000; --surface: #111; --text: #fff; --text-2: #b8b8b8; --border: #353535; --line: #fff;
}
.light, .page-light {
  --bg: #fff; --surface: #f5f5f5; --text: #000; --text-2: #737373; --border: #e7e7e7; --line: #000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "Onest", system-ui, sans-serif; font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
section, footer, .light { background: var(--bg); color: var(--text); }
img { display: block; max-width: 100%; }
:where(img[width][height]) { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { padding: 0 var(--pad) 8px; }
.pad { padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Типографика ---------- */
.display { font-weight: 300; font-size: 64px; line-height: 68px; letter-spacing: -1.28px; }
.h1 { font-weight: 300; font-size: 48px; line-height: 54px; letter-spacing: -0.72px; }
.h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.32px; font-weight: 400; }
.h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.12px; font-weight: 300; }
.quote { font-weight: 300; font-size: 36px; line-height: 44px; letter-spacing: -0.36px; }
.lead { font-size: 20px; line-height: 30px; }
.small { font-size: 14px; line-height: 20px; }
.caption { font-size: 12px; line-height: 16px; }
.muted { color: var(--text-2); }
.accent { color: var(--accent); }
.medium { font-weight: 500; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: var(--r-small); font: 500 15px/20px "Onest", sans-serif; cursor: pointer; border: 0; transition: opacity .2s, background .2s; white-space: nowrap; }
.btn:hover { opacity: .85; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: #000; }
.btn-soft { background: var(--grey-50); color: #000; }
.btn-black { background: #000; color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }

/* ---------- Шапка ---------- */
.header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; position: relative; z-index: 20; }
/* закреплённая шапка: main.js оставляет на странице пустое место и ставит класс .fx; --top — исходный отступ сверху */
.header.fx { position: fixed; top: var(--top, 0); left: var(--pad); right: var(--pad); z-index: 50; transition: top .2s; }
.header.fx.sc { top: 0; }
.header.fx::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--bg); opacity: 0; transition: opacity .2s; pointer-events: none; }
.header.fx.sc::before { opacity: 1; }
.logo img { width: 150px; height: auto; }
/* шапка по сетке: логотип | меню с начала 2-й колонки (как «Описание» на странице кейса) | RU/EN и «Связаться» у правого края */
.header { display: grid; grid-template-columns: calc((100% - 8px) / 3) 1fr auto; column-gap: 8px; align-items: center; }
.menu { display: contents; }
.nav-l, .nav-r { display: flex; align-items: center; }
.nav-l { gap: 32px; }
.nav-r { gap: 24px; justify-self: end; }
.nav-l > a, .nav-l .dd > a, .nav-r > a { font: 500 15px/20px "Onest"; display: flex; gap: 6px; align-items: center; transition: opacity .2s; }
.nav-l > a:hover, .nav-l .dd > a:hover { opacity: .6; }
.nav-r > a.cta { text-decoration: underline; text-underline-offset: 3px; }
.nav-r > a.cta:hover { opacity: .6; }
.menu .arrow { color: var(--grey-500); font-size: 14px; font-weight: 400; }
.lang { display: flex; gap: 12px; }
.lang span, .lang a { font: 500 15px/20px "Onest"; color: var(--grey-500); cursor: default; }
.lang .on { color: var(--text); }
.dd { position: relative; }
.dd-list { position: absolute; top: calc(100% + 18px); left: -8px; background: #fff; border-radius: 14px; padding: 6px; display: none; flex-direction: column; gap: 6px; min-width: 240px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.dd-list::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.dd:hover .dd-list, .dd:focus-within .dd-list { display: flex; }
.dd-list a { padding: 12px 16px; border-radius: var(--r-small); color: #000; font: 500 15px/20px "Onest"; background: var(--grey-100); }
.dd-list a:hover { background: #d6d6d6; }
.burger { display: none; background: none; color: inherit; border: 0; padding: 0; font: 500 15px/20px "Onest"; cursor: pointer; }

/* Мобильное меню */
/* как в макете «Мобильное меню — тёмное / белое»: цвет берётся от темы страницы */
.mnav { position: fixed; inset: 0; background: var(--bg); color: var(--text); z-index: 100; padding: 20px 24px 32px; display: none; flex-direction: column; overflow-y: auto; }
.menu-open .mnav { display: flex; }
.menu-open { overflow: hidden; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; height: 40px; flex: none; }
.mnav-logo img { width: 138px; height: auto; display: block; }
.mnav-logo .ll, .page-light .mnav-logo .ld { display: none; }
.page-light .mnav-logo .ll { display: block; }
.mnav-r { display: flex; align-items: center; gap: 16px; }
.mnav .lang { background: none; padding: 0; gap: 2px; }
.mnav .lang span, .lang a { padding: 8px 12px; border-radius: 8px; font: 500 12px/16px "Onest"; color: var(--text-2); }
.mnav .lang .on { background: var(--grey-100); color: #000; }
.page-dark .mnav .lang .on { background: #1c1c1c; color: #fff; }
.mnav-close { background: none; border: 0; padding: 4px; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.mnav-main { display: flex; flex-direction: column; gap: 10px; margin-top: 72px; }
.mnav-main .big { font-size: 18px; line-height: 28px; font-weight: 400; }
.mnav-sub { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 12px; }
.mnav-sub a { font-size: 18px; line-height: 28px; color: var(--text-2); }
.mnav-second a { font-size: 18px; line-height: 28px; }
.mnav-second { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; }
.mnav-cta { margin-top: 20px; width: 100%; padding: 16px 28px; }
.mnav-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ---------- Герой главной ---------- */
.hero { height: 880px; display: flex; flex-direction: column; padding-bottom: 24px; padding-top: 16px; }
.hero-text { padding: 96px 0 48px; display: flex; flex-direction: column; gap: 28px; }
.hero-title { font-size: 88px; line-height: 88px; letter-spacing: -3.52px; font-weight: 400; }
.hero-sub { max-width: 620px; }
.hero-media { flex: 1; min-height: 0; border-radius: var(--r-card); overflow: hidden; }
.hero-media img, .cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Герой страницы услуги ---------- */
.svc-hero { padding-top: 16px; padding-bottom: 24px; }
.svc-head { display: flex; gap: 8px; align-items: flex-end; padding: 96px 0 48px; }
.svc-head > * { flex: 1 1 0; min-width: 0; }
.svc-head .right { display: flex; flex-direction: column; gap: 8px; }
.anchors { display: flex; flex-wrap: wrap; gap: 8px; }
.anchors a { background: var(--grey-800); padding: 10px 14px; border-radius: var(--r-small); font-size: 14px; line-height: 20px; display: flex; gap: 8px; }
.anchors a span { color: var(--text-2); }
.anchors a:hover { background: #333; }
.svc-media { height: 480px; border-radius: var(--r-card); overflow: hidden; }

/* ---------- Общие сетки ---------- */
.row { display: flex; gap: 8px; }
.row > * { flex: 1 1 0; min-width: 0; }
.grid { display: flex; flex-direction: column; gap: 8px; }
.section { padding-top: 56px; display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- Клиенты ---------- */
/* Логотипы в одну строку. Помещаются — раскладываются по ширине; не помещаются —
   бегущая строка (класс .run ставит main.js, а без скрипта строка просто бежит) */
.clients { overflow: hidden; padding: 40px 0; }
.clients .track { display: flex; width: 100%; }
.clients .set { display: flex; align-items: center; justify-content: space-between; flex: none; width: 100%; gap: 48px; }
.clients .set + .set { display: none; }
.clients.run .track { width: max-content; animation: clients-run var(--dur, 30s) linear infinite; }
.clients.run .set { width: auto; justify-content: flex-start; padding-right: 48px; }
.clients.run .set + .set { display: flex; }
.clients.run:hover .track { animation-play-state: paused; }
@keyframes clients-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients.run .track { animation: none; } .clients.run { overflow-x: auto; } }
.clients img { flex: none; height: auto; }
.clients .butovo { width: 101.7px; }
.clients .tochka { width: 119.3px; }
.clients .lazurit { width: 150.5px; }
.clients .zum { width: 76.7px; }
.clients .rabbit { width: 144.6px; }
.clients .carville { width: 127px; }
.clients .omarov { width: 133.4px; }
.clients .mebelcort { width: 146.3px; }

/* ---------- Карточки услуг (главная) ---------- */
.service { height: 360px; padding: 24px; border-radius: var(--r-card); display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s; color: #fff; }
.service:hover { transform: translateY(-4px); }
.service.short { height: 220px; background: var(--card-light); color: #000; }
.service .top { display: flex; justify-content: space-between; align-items: center; }
.service .top .t { display: flex; gap: 16px; align-items: center; }
.service .icon { width: 48px; height: 48px; display: grid; place-items: center; }
.service .icon img { width: 40px; height: 40px; }
.service .body { display: flex; flex-direction: column; gap: 12px; }
.service p.small { opacity: .72; }

/* ---------- Отрасли ---------- */
.industries { height: 760px; border-radius: var(--r-card); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.industries > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industries > *:not(img) { position: relative; }
/* «барабан»: отрасли крутятся при прокрутке страницы; размер и прозрачность задаёт main.js (по умолчанию — средняя строка в центре) */
.industries { perspective: 700px; gap: 10px; }
.industries .ind { font-size: 40px; line-height: 50px; will-change: transform, opacity; transform-origin: center; }
.industries .ind:nth-of-type(n) { transition: none; }

/* ---------- Команда ---------- */
.team { padding: 56px 0; display: flex; flex-direction: column; gap: 64px; }
.member { display: flex; flex-direction: column; gap: 16px; }
.member .photo { height: 580px; border-radius: var(--r-card); overflow: hidden; }
.member .info { display: flex; flex-direction: column; gap: 2px; }
/* команда на десктопе: подпись | фото | имя и должность внизу справа от фото */
.team .row.scroll-x { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.team .row.scroll-x > .small { grid-column: 1; align-self: start; }
.team .member { display: contents; }
.team .member .photo { grid-column: 2; }
.team .member .info { grid-column: 3; }
.team .member .info { align-self: flex-end; gap: 6px; }
.team .member .info .lead { font-size: 32px; line-height: 40px; }

/* ---------- Карточки кейсов «витрина» ---------- */
.case { height: 640px; border-radius: var(--r-card); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 24px 48px; text-align: center; color: #fff; }
.case.wide { height: 720px; }
.case > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case:hover > img { transform: scale(1.03); }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,.7)); }
.case > *:not(img) { position: relative; z-index: 1; }
.case .caption { opacity: .8; }
.case .btn { margin-top: 4px; }

/* ---------- Карточки кейсов «минимал» ---------- */
.case-min { display: flex; flex-direction: column; gap: 12px; }
.case-min .img { height: 640px; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.case-min .img img { transition: transform .6s; }
.case-min:hover .img img { transform: scale(1.03); }
.case-min .img.empty { display: grid; place-items: center; color: var(--text-2); }

/* ---------- Форматы (услуги) ---------- */
.formats { padding: 48px var(--pad) 96px; display: flex; flex-direction: column; gap: 64px; }
.formats .item { border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.formats .item .small { opacity: .7; }
.strip { height: 179px; border-radius: var(--r-card); overflow: hidden; }

/* ---------- Таймлайн ---------- */
.timeline { padding: 64px var(--pad); display: flex; flex-direction: column; align-items: center; }
.timeline .tl-line { width: 1px; height: 204px; background: linear-gradient(var(--text-2), transparent); opacity: .4; }
.timeline.left { align-items: flex-start; }
.timeline.left .tl-line { margin-left: 0; }
.tl-weeks { width: 100%; display: flex; justify-content: space-between; padding-bottom: 8px; }
.tl-stages { width: 100%; display: flex; gap: 8px; min-height: 184px; align-items: flex-start; }
.stage { display: flex; flex-direction: column; gap: 8px; min-width: 0; cursor: default; }
.stage .pill { background: #fff; color: #000; padding: 12px 14px; border-radius: var(--r-small); display: flex; flex-direction: column; gap: 2px; white-space: nowrap; overflow: hidden; transition: background .2s, color .2s; }
.stage .pill b { font-weight: 500; font-size: 15px; line-height: 20px; }
.stage .pill span { font-size: 12px; line-height: 16px; opacity: .6; }
.stage .details { background: var(--grey-50); color: #000; border-radius: var(--r-small); padding: 16px; display: none; flex-direction: column; gap: 6px; }
.stage .details span { color: var(--grey-500); }
.stage.on .pill { background: var(--accent); color: #fff; }
.stage.on .details { display: flex; }
.tl-end { width: 1px; height: 40px; }

/* ---------- Стопка тарифов ---------- */
.pricing { padding: 96px var(--pad); display: flex; gap: 8px; }
.pricing .left { width: 464px; flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.pricing .left .top { display: flex; flex-direction: column; gap: 20px; }
.pricing .left p.body { max-width: 440px; }
.stack { flex: 1; min-width: 0; display: flex; height: 657px; }
.tier { border-radius: var(--r-card); display: flex; overflow: hidden; width: 64px; flex: none; margin-right: -12px; position: relative; }
/* раскрытая карточка всегда справа, корешки — слева по порядку */
.tier.on { flex: 1 1 auto; width: auto; margin-right: 0; order: 10; }
.tier .spine { width: 64px; flex: none; padding-top: 24px; display: flex; justify-content: center; align-items: flex-start; cursor: pointer; }
.tier .spine span { writing-mode: vertical-rl; font-size: 20px; line-height: 30px; white-space: pre; }
.tier.on .spine { display: none; }
.tier .card { display: none; flex-direction: column; padding: 32px; min-width: 0; flex: 1; }
.tier.on .card { display: flex; }
.tier.c-accent { background: var(--accent); color: #fff; }
.tier.c-blue { background: var(--card-2); color: #fff; }
.tier.c-grey { background: var(--grey-100); color: #000; }
.tier .card .desc { opacity: .85; max-width: 460px; margin-top: 12px; }
.tier .price { font-weight: 300; font-size: 48px; line-height: 52px; letter-spacing: -0.96px; margin-top: 40px; }
.tier .action { display: flex; gap: 16px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.tier .action .small { opacity: .85; }
.tier .divider { height: 1px; background: rgba(255,255,255,.3); margin: 32px 0; }
.tier.c-grey .divider { background: #000; }
.tier.c-grey .card .desc, .tier.c-grey .action .small, .tier.c-grey .inc-title { color: var(--grey-500); opacity: 1; }
.tier .inc-title { opacity: .85; margin-bottom: 16px; }
.tier .inc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 14px; line-height: 20px; list-style: none; }
.tier .inc li { display: flex; gap: 10px; }
.tier .inc li::before { content: "+"; opacity: .6; }
.tier.c-grey .inc li::before { color: var(--grey-500); opacity: 1; }
.tier .inc li { opacity: .9; }
.tier.c-grey .inc li { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { padding: 96px var(--pad); }
.faq-text { display: flex; flex-direction: column; gap: 24px; }
.faq-text .lead { max-width: 460px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--text); font: 500 20px/30px "Onest"; }
.faq-q .sign { font-weight: 300; font-size: 28px; line-height: 28px; }
.faq-a { display: none; padding-top: 12px; color: var(--text-2); }
.faq-item.open .faq-a { display: block; }

/* ---------- Форма аудита ---------- */
.audit { padding: 64px var(--pad); }
.audit.surface { background: var(--surface); }
.audit-text { display: flex; flex-direction: column; gap: 24px; }
.audit-text .lead { max-width: 460px; }
.form { background: var(--surface); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.audit.surface .form { padding: 40px 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-small); padding: 14px 16px; color: var(--text); font: 400 16px/24px "Onest"; outline: none; width: 100%; }
.field input:focus { border-color: var(--accent); }
.field input::placeholder { color: var(--text-2); }
.field textarea { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-small); padding: 14px 16px; color: var(--text); font: 400 16px/24px "Onest"; outline: none; width: 100%; min-height: 96px; resize: vertical; }
.field textarea:focus { border-color: var(--accent); }
.field textarea::placeholder { color: var(--text-2); }
.field[hidden] { display: none; }
.contact-options { display: flex; gap: 16px; flex-wrap: wrap; }
.form-err { color: #b42318; }
.choice { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.choice input { appearance: none; box-sizing: border-box; width: 20px; height: 20px; min-width: 20px; min-height: 20px; padding: 0; border: 1.5px solid var(--border); flex: 0 0 20px; align-self: center; cursor: pointer; margin: 0; }
.choice input[type=radio] { border-radius: 50%; }
.choice input[type=checkbox] { border-radius: 4px; }
.choice input:checked { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, transparent 4.5px); }
.choice input[type=checkbox]:checked { background: var(--accent); }
.radios { display: flex; flex-direction: column; gap: 12px; }
.form .btn { width: 100%; }
.form-ok { display: none; color: var(--accent); }

/* ---------- Полезное ---------- */
.article { display: flex; flex-direction: column; gap: 16px; }
.article .img { aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; }
.article .meta { display: flex; justify-content: space-between; align-items: center; }
.article .meta .time { display: flex; gap: 6px; align-items: center; color: var(--text-2); }
.article .arr { display: none; }

/* ---------- Футер ---------- */
.footer { padding: 64px var(--pad) 40px; display: flex; flex-direction: column; gap: 40px; min-height: 900px; }
.footer .divider { height: 1px; background: var(--border); }
.col { display: flex; flex-direction: column; gap: 12px; }
.col .label { margin-bottom: 8px; }
.clocks { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.clock { display: flex; flex-direction: column; gap: 8px; }
.clock .time { font-weight: 300; font-size: 44px; line-height: 48px; letter-spacing: -0.88px; }
.clock .colon { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.footer .big-logo { width: 100%; height: auto; margin-top: 24px; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--text-2); padding-bottom: 24px; }
.footer a:hover { color: var(--accent); }

/* ---------- Страница кейса ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-2); padding-bottom: 48px; }
.crumbs a:hover { color: var(--text); }
.crumbs .cur { color: var(--text); }
.c-intro { padding: 96px var(--pad) 48px; }
.c-intro .row > :last-child { flex-grow: 2; display: flex; flex-direction: column; gap: 48px; }
.c-meta { display: flex; gap: 8px; }
.c-meta > * { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; }
.c-meta .list { line-height: 22px; }
.c-meta .list a, .m-meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,.3); text-underline-offset: 3px; }
.c-meta .list a:hover, .m-meta a:hover { text-decoration-color: currentColor; }
/* заголовок кейса: в коде «Имя: описание», на экране описание мелко над именем */
.c-h1 { display: flex; flex-direction: column-reverse; gap: 12px; margin: 0; font: inherit; }
.c-h1 .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-img { border-radius: var(--r-card); overflow: hidden; }
.c-block { padding: 128px var(--pad) 0; }
.c-label { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.c-label .caption { color: var(--accent); }
.c-split { display: flex; gap: 8px; }
.c-split > .l { width: calc((100% - 16px) / 3); flex: none; }
.c-split > .r { flex: 1; min-width: 0; }
.c-split.bottom { align-items: flex-end; }
.c-fig { display: flex; flex-direction: column; gap: 10px; }
.c-gap { height: 56px; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); background: #000; color: #fff; border-bottom: 1px solid #fff; }
.navbar:hover { background: #111; }
.cta-tg { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; background: var(--accent); color: #fff; padding: 56px var(--pad); height: 360px; }
.cta-tg .arrow { width: 72px; height: 56px; border-radius: var(--r-small); background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 36px; font-weight: 300; flex: none; transition: transform .2s; }
.cta-tg:hover .arrow { transform: translateX(6px); }

/* ---------- Содержимое страниц кейсов (тексты, списки, галереи, цифры) ---------- */
.c-body { display: flex; flex-direction: column; gap: 24px; }
.c-body .lead, .kv .lead, .c-fact .lead { font-size: 16px; line-height: 24px; max-width: 860px; }
.c-list { list-style: none; display: flex; flex-direction: column; }
.c-list li { font-size: 16px; line-height: 24px; }
.c-list li::before { content: "— "; }
.kv { display: flex; flex-direction: column; gap: 8px; }
.kv .c-list { margin-top: 8px; }
.gal { display: flex; flex-direction: column; gap: 8px; }
.gal.in { margin-top: 24px; }
.gal-row { display: flex; gap: 8px; }
.g-img { border-radius: var(--r-card); overflow: hidden; background: var(--surface); min-width: 0; }
.g-img img { width: 100%; height: auto; }
.c-after { margin-top: 128px; }
.c-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.stat .num { font-weight: 300; font-size: 96px; line-height: 100px; letter-spacing: -2px; }
.stat .num span { font-size: 48px; line-height: 60px; margin-left: 4px; }
.c-label .lead { max-width: 360px; }

/* слайдер страниц брендбука */
.slider { display: flex; flex-direction: column; gap: 16px; }
.slider-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 78%; scroll-snap-align: start; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.slide img { width: 100%; height: auto; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.slider-btn:hover:not(:disabled) { background: var(--grey-100); }
.slider-btn:disabled { opacity: .35; cursor: default; }

/* утилиты: версия только для компьютера / только для телефона */
.hm { display: none; }
@media (min-width: 761px) { .only-m { display: none !important; } }

/* ---------- Светлая страница услуги (упаковка) ---------- */
.page-light .anchors a { background: var(--grey-50); color: #000; }
.page-light .anchors a:hover { background: var(--grey-100); }
.page-light .formats { background: var(--grey-50); }
.page-light .formats .item { border-top-color: #000; }
.page-light .stage .pill { background: #000; color: #fff; }
.page-light .stage.on .pill { background: var(--accent); }
.page-light .cases-wrap { background: var(--grey-50); }
.page-light .case-min .img.empty { background: #d9d9d9; }

/* ---------- Планшет ---------- */
@media (max-width: 1100px) {
  .header { display: flex; }
  .nav-l, .nav-r .lang { display: none; }
  .burger { display: block; }
  .header-r { display: flex; gap: 8px; align-items: center; }
  .hero-title { font-size: 64px; line-height: 66px; letter-spacing: -2px; }
  .pricing { flex-direction: column; gap: 40px; }
  .pricing .left { width: auto; }
  .tl-weeks { display: none; }
  .tl-stages { flex-wrap: wrap; min-height: 0; }
  .stage { flex: 1 1 30% !important; }
  .stage .details { display: flex; }
  .stage .pill { white-space: normal; }
}

/* ---------- «Причал» — вёрстка по кадру Figma ---------- */
.v2 { padding: 48px var(--pad); }
.v2-task { padding: 96px var(--pad) 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v2-client { padding: 0 var(--pad) 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v2-client .v2-half { grid-column: 2; }
.v2-half { display: flex; flex-direction: column; gap: 16px; }
.t14-block { display: flex; flex-direction: column; gap: 12px; }
.t14-block + .t14-block { margin-top: 20px; }
.t14 { font-size: 14px; line-height: 20px; }
.t14.t16 { font-size: 16px; line-height: 24px; }
.v2-trio { padding-bottom: 96px; display: grid; grid-template-columns: 700fr 346fr 346fr; gap: 8px; align-items: start; }
.v2-col { display: flex; flex-direction: column; gap: 20px; }
.ph { height: var(--h); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.sq { height: auto; aspect-ratio: 1; }
.v2-four.nb { padding-bottom: 0; }
.v2-client.c2 { padding: 48px var(--pad); }
.v2-conc { padding-top: 96px; padding-bottom: 0; }
.v2-wide2 { padding-top: 96px; padding-bottom: 0; }
.v2-vol { padding-top: 8px; padding-bottom: 0; }
.v2-reallabel { padding-top: 96px; padding-bottom: 0; }
.v2-four.v2-real { padding-top: 16px; padding-bottom: 96px; }
.v2-sol { padding-top: 96px; padding-bottom: 48px; }
.v2-wide { padding-top: 0; padding-bottom: 0; }
.v2-four { padding-top: 8px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.v2-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v2-car { min-height: 900px; display: flex; flex-direction: column; justify-content: center; }
.v2-car .slider { align-items: center; }
.v2-car .slider-track { width: 714px; max-width: 100%; }
.v2-car .slide { flex: 0 0 100%; height: auto; background: none; border: 0; }
.v2-car .slide img { width: 100%; height: auto; display: block; }
.v2-slider { padding-top: 48px; padding-bottom: 96px; }
.c-body.big .lead { font-size: 20px; line-height: 30px; max-width: none; }
.nav-pair { display: flex; flex-direction: column; gap: 4px; }
.nav-pair .navbar:last-child { background: var(--accent); border-bottom: 0; }
@media (min-width: 761px) {
  .nav-pair .navbar, .nav-pair .navbar:last-child, .nav-pair .navbar.dark { background: #f5f5f5; color: #000; border-bottom: 0; }
  .nav-pair .navbar:hover { background: #ececec; }
  .nav-pair + .cta-tg { background: #000; }
}

/* ---------- Телефон (макеты 390 px: Figma → «Макеты — мобильные») ---------- */
@media (max-width: 760px) {
  :root { --pad: 8px; }
  .only-d { display: none !important; }
  .m-hide { display: none; }

  /* типографика */
  .display { font-size: 32px; line-height: 36px; letter-spacing: -0.64px; }
  .h1 { font-size: 32px; line-height: 38px; letter-spacing: -0.5px; }
  .h2 { font-size: 24px; line-height: 30px; letter-spacing: -0.24px; }
  .h3 { font-size: 20px; line-height: 28px; }
  .lead { font-size: 18px; line-height: 28px; }
  .quote { font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }

  /* шапка: логотип, RU/EN и значок меню */
  .header { min-height: 76px; padding: 12px 0; }
  .logo img { width: 142px; }
  .menu { display: none; }
  .header { display: flex; }
  .hm { display: flex; align-items: center; gap: 14px; }
  .hm .lang { background: none; padding: 0; gap: 2px; }
  .hm .lang span, .lang a { padding: 8px 12px; border-radius: 8px; font: 500 12px/16px "Onest"; color: var(--grey-500); }
  .hm .lang .on { background: var(--grey-100); color: #000; }
  .page-dark .hm .lang .on { background: #1c1c1c; color: #fff; }
  .burger-i { background: none; border: 0; padding: 4px; color: #000; display: grid; place-items: center; cursor: pointer; }
  .page-dark .burger-i { color: #fff; }

  /* общие сетки: всё в одну колонку */
  .row, .svc-head, .c-split { flex-direction: column; align-items: stretch !important; }
  .row { gap: 24px; }
  .row > *, .svc-head > * { flex: none; }
  .grid .row, .case-row { gap: 8px; }
  .section { padding-top: 40px; }
  .section-head .btn { padding: 10px 18px; font-size: 14px; }

  /* горизонтальные ленты (команда, статьи, ещё проекты, похожие кейсы) */
  .scroll-x { flex-direction: row !important; overflow-x: auto; gap: 8px !important; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scrollbar-width: none; }
  .scroll-x::-webkit-scrollbar { display: none; }
  .row.scroll-x > * { flex: 0 0 280px; }

  /* ---- главная ---- */
  .hero { height: auto; padding-top: 0; padding-bottom: 16px; }
  /* высокий блок с заголовком: текст прижат к низу, картинка ниже (как в макете, 411 px) */
  .hero-text { padding: 48px 0 32px; gap: 16px; min-height: 411px; justify-content: flex-end; }
  .hero-title { font-size: 36px; line-height: 36px; letter-spacing: -1.44px; }
  .hero-sub { font-size: 18px; line-height: 28px; }
  .hero-media { height: 300px; flex: none; }
  .clients { padding: 32px 0; }
  .service { height: 240px; padding: 20px; }
  .service .h3 { font-size: 20px; line-height: 28px; }
  .service.short { height: 180px; gap: 0; }
  .industries { height: 560px; gap: 8px; }
  .industries .ind { font-size: 32px; line-height: 40px; }
  /* «5+ лет опыта»: заголовок, два абзаца и один участник справа (как в макете) */
  .team { padding: 40px 0 0; gap: 16px; }
  .team > .row { gap: 16px; }
  .team > .row .h1 { letter-spacing: -1.5px; }
  .team > .row p { font-size: 14px; line-height: 20px; }
  .team .row.scroll-x { display: flex; overflow: visible; margin-right: 0; padding-right: 0; justify-content: flex-end; }
  .team .row.scroll-x > .member { flex: 0 0 197px; gap: 11px; display: flex; }
  .team .member .info { align-self: auto; gap: 2px; }
  .member .photo { height: 246px; }
  .team .member .info .lead, .member .info .lead { font-size: 14px; line-height: 21px; }
  .member .info .small { font-size: 10px; line-height: 14px; }
  .case, .case.wide { height: 440px; padding: 0 16px 28px; gap: 8px; }
  .case .h2 { font-size: 22px; line-height: 28px; }
  .case .btn { display: none; }
  .more-m { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
  #cases .section { gap: 8px; }
  /* «Полезное»: список статей — плашка рубрики + стрелка, заголовок, время */
  .row.art { gap: 0; }
  .article { display: grid; grid-template-columns: 1fr 20px; column-gap: 12px; row-gap: 12px; align-items: start; padding: 20px 0 24px; border-top: 1px solid var(--border); }
  .article .img { display: none; }
  .article .meta { display: contents; }
  .article .meta .accent { grid-column: 1; grid-row: 1; justify-self: start; background: var(--grey-800); color: var(--text); font-weight: 500; padding: 4px 12px; border-radius: 2px; text-transform: lowercase; }
  .article .meta .accent::first-letter { text-transform: uppercase; }
  .article .arr { display: block; grid-column: 2; grid-row: 1; }
  .article .lead { grid-column: 1 / -1; grid-row: 2; font-size: 18px; line-height: 28px; }
  .article .meta .time { grid-column: 1 / -1; grid-row: 3; font-weight: 500; }
  .article .meta .time img { display: none; }

  /* карточки «минимал» (страницы услуг, ленты) */
  .case-min .img { height: auto; aspect-ratio: 1; position: relative; }
  .case-min .img img { position: absolute; inset: 0; }
  .case-min { gap: 12px; }

  /* ---- главная: порядок блоков как в мобильном макете ---- */
  .home-page { display: flex; flex-direction: column; }
  .home-page #services { order: 1; }
  .home-page .h-ind { order: 2; }
  .home-page #cases { order: 3; }
  .home-page #team { order: 4; }
  .home-page #blog { order: 5; }
  .home-page #audit { order: 6; }
  .home-page .footer { order: 7; }

  /* ---- страницы услуг: порядок блоков как в мобильном макете ---- */
  .svc-page { display: flex; flex-direction: column; }
  .svc-page #what { order: 1; }
  .svc-page .cases-wrap { order: 2; }
  .svc-page #process { order: 3; }
  .svc-page #price { order: 4; }
  .svc-page #faq { order: 5; }
  .svc-page #audit { order: 6; }
  .svc-page .footer { order: 7; }

  .svc-hero { padding-bottom: 24px; }
  .m-crumbs { margin-top: 263px; padding-bottom: 16px; }
  .svc-head { padding: 0 0 24px; gap: 16px; }
  .svc-head .right { gap: 16px; }
  .svc-head .h3 { font-size: 16px; line-height: 20px; }
  .anchors { gap: 6px; }
  .anchors a { padding: 6px 12px; font-size: 13px; line-height: 16px; gap: 6px; border-radius: 8px; }
  .svc-media { height: 240px; }

  .formats { padding: 40px var(--pad) 48px; gap: 0; }
  .page-light .formats { background: var(--bg); }
  .fmt-m { display: flex; flex-direction: column; gap: 24px; }
  .fmt-list { font-size: 32px; line-height: 34px; letter-spacing: -0.64px; }
  .fmt-list span { display: block; }
  .fmt-note { padding-left: 112px; display: flex; flex-direction: column; gap: 4px; }

  .cases-wrap .section { padding: 48px 0 40px !important; }
  .cases-wrap .grid, .cases-wrap .case-row { gap: 24px; }
  .page-light .cases-wrap { background: var(--bg); }

  /* процесс: список карточек, раскрывается по касанию */
  .timeline { padding: 48px var(--pad); align-items: flex-start; gap: 0; }
  .timeline .h1, .timeline .h2 { font-size: 24px; line-height: 30px; text-align: left !important; margin-top: 8px; }
  .tl-line, .tl-weeks, .tl-end, .timeline .hint { display: none; }
  .tl-stages { flex-direction: column; flex-wrap: nowrap; gap: 8px; min-height: 0; margin-top: 24px; }
  .stage { flex: none !important; width: 100%; cursor: pointer; }
  .stage .pill { white-space: normal; padding: 12px 16px; background: #111; color: #fff; }
  .page-light .stage .pill { background: var(--grey-50); color: #000; }
  .stage .details { display: none; background: #111; color: #fff; padding: 16px; }
  .page-light .stage .details { background: var(--grey-50); color: #000; }
  .stage .details span { color: var(--text-2); }
  .stage.on .details { display: flex; }
  .stage.on .pill, .page-dark .stage.on .pill, .page-light .stage.on .pill { background: var(--accent); color: #fff; }

  /* стоимость: корешки друг под другом, раскрытая карточка снизу */
  .pricing { flex-direction: column; gap: 32px; padding: 48px var(--pad); }
  .pricing .left { width: auto; gap: 16px; }
  .pricing .left .top { gap: 16px; }
  .pricing .left .h1 { font-size: 24px; line-height: 30px; }
  .stack { flex-direction: column; height: auto; }
  .tier, .tier.on { width: auto; margin: 0 0 -12px 0; flex-direction: column; }
  .tier.on { order: 10; margin-bottom: 0; }
  .tier .spine { width: auto; padding: 14px 20px 24px; justify-content: stretch; align-items: center; }
  .tier .spine span.t { writing-mode: horizontal-tb; display: flex; justify-content: space-between; width: 100%; font-size: 18px; line-height: 28px; }
  .tier .plus { font-weight: 400; }
  .tier .card { padding: 24px 20px 28px; }
  .tier .card .h2 { font-size: 26px; line-height: 32px; font-weight: 300; }
  .tier .price { font-size: 40px; line-height: 44px; margin-top: 24px; }
  .tier .action { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .tier .action .btn { width: 100%; }
  .tier .divider { margin: 24px 0; }
  .tier .inc { grid-template-columns: 1fr; }

  /* FAQ и форма */
  .faq, .audit { padding: 48px var(--pad); }
  .faq .row, .audit .row { gap: 32px; }
  .faq-text, .audit-text { gap: 16px; }
  .faq-text h2, .audit-text h2 { font-size: 32px; line-height: 38px; letter-spacing: -0.5px; }
  .faq-q { font-weight: 400; font-size: 17px; line-height: 24px; }
  .faq-item { padding: 20px 0; }
  .form { padding: 16px; gap: 20px; }
  .audit.surface .form { padding: 0; }

  /* подвал */
  .footer { min-height: 0; padding: 40px var(--pad) 24px; gap: 24px; }
  .footer .col.h2 { font-size: 22px; line-height: 28px; }
  .footer .divider { margin: 0; }
  .footer .big-logo { display: none; }
  .footer .m-logo { width: 190px; }
  .footer .foot-main { flex-direction: column-reverse; gap: 32px; }
  .footer .row.right { flex-direction: row; gap: 16px; }
  .footer .row.right > .col { flex: 1; }
  .footer .row.right .h3 { font-size: 18px; line-height: 26px; overflow-wrap: anywhere; }
  .footer .legal { flex-direction: column; gap: 6px; padding-bottom: 0; }
  .clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .clock .time { font-size: 36px; line-height: 40px; }

  /* ---- страницы кейсов ---- */
  .c-intro { padding: 212px var(--pad) 32px; }
  .crumbs { padding-bottom: 32px; }
  .m-intro .h2 { margin-bottom: 32px; }
  .m-meta { display: flex; flex-direction: column; gap: 6px; }
  .m-meta > div { display: flex; gap: 8px; font-size: 12px; line-height: 16px; }
  .m-meta > div > p:first-child { width: 110px; flex: none; }
  .c-img { height: auto !important; aspect-ratio: 374 / 358; }
  .c-img.r-wide { aspect-ratio: 374 / 220; }
  .c-img.r-hero { aspect-ratio: 374 / 240; }
  .c-img.r-ba { aspect-ratio: 374 / 300; }
  .m-desc { padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
  .m-desc .lead { font-size: 16px; line-height: 24px; }
  .m-desc .btn { width: 100%; }
  .c-facts { padding-top: 48px !important; padding-bottom: 0 !important; }
  .c-facts .row { gap: 20px; }
  .c-facts .col { gap: 20px !important; }
  .c-fact { gap: 6px !important; }
  .c-fact .lead, .c-body .lead, .kv .lead { font-size: 16px; line-height: 24px; }
  .c-label .lead { font-size: 20px; line-height: 30px; }
  .c-wide { padding-top: 32px; }
  .c-block { padding: 48px var(--pad) 0; }
  .c-split { gap: 16px; }
  .c-split > .l { width: auto; }
  .c-split > .l:empty { display: none; }
  .c-body { gap: 16px; }
  .c-list li { font-size: 16px; line-height: 24px; }
  .c-gap { height: 16px; }
  .c-after { margin-top: 16px; }
  .gal-row { flex-direction: column; }
  .g-img { flex: none !important; width: 100%; }
  .gal.in { margin-top: 8px; }
  .c-stats { grid-template-columns: 1fr; gap: 24px; }
  .stat .num { font-size: 64px; line-height: 68px; }
  .stat .num span { font-size: 32px; line-height: 40px; }
  .navbar { background: var(--accent); border-bottom: 1px solid rgba(255,255,255,.3); padding: 16px var(--pad); }
  .navbar:hover { background: var(--accent); }
  .navbar .h3 { font-size: 18px; line-height: 24px; }
  .cta-tg { height: 220px; padding: 24px var(--pad); }
  .cta-tg .display { max-width: 220px; font-weight: 300; }
  .slide { flex-basis: 88%; }
  .slider-nav { display: none; }
  .sim { padding-top: 40px !important; padding-bottom: 48px !important; }
  .sim > h2.h1 { font-size: 24px; line-height: 30px; margin-bottom: 16px !important; }
}

@media (max-width: 760px) {
  .v2 { padding: 48px var(--pad); }
  .v2-task { padding: 48px var(--pad); grid-template-columns: 1fr; }
  .v2-client { grid-template-columns: 1fr; padding: 24px var(--pad); }
  .v2-client .v2-half { grid-column: auto; }
  .v2-sol { padding-top: 48px; }
  .v2-conc, .v2-wide2, .v2-reallabel { padding-top: 48px; }
  .v2-four.v2-real { padding-bottom: 48px; }
  .v2-client.c2 { padding: 24px var(--pad); }
  .v2-trio, .v2-four, .v2-pair { grid-template-columns: 1fr; }
  .v2-four { padding-bottom: 48px; }
  .ph { height: auto; aspect-ratio: var(--ar); }
  .v2-car { min-height: 0; padding-top: 24px; padding-bottom: 48px; }
  .v2-car .slide { height: auto; flex-basis: 100%; }
  .v2-car .slide img { height: auto; }
  .v2-slider { padding-top: 24px; padding-bottom: 48px; }
  .c-body.big .lead { font-size: 16px; line-height: 24px; }
  .nav-pair .navbar:first-child { background: #000; }
}

/* «Причал» — мобильная разметка по кадру Figma */
@media (max-width: 760px) {
  .m2 { display: flex; flex-direction: column; }
  .m2-b { padding: 48px var(--pad) 0; display: flex; flex-direction: column; gap: 16px; }
  .m2-b.tight { padding-top: 8px; gap: 8px; }
  .m2-b .lead { font-size: 18px; line-height: 28px; }
  .m2-b.tight .lead { margin-bottom: 8px; }
  .mt { display: flex; flex-direction: column; gap: 6px; }
  .mt .small { font-size: 14px; line-height: 20px; }
  .mt p:last-child, .m2-b > p { font-size: 16px; line-height: 24px; }
  .mph { height: var(--h); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
  .mph img { width: 100%; height: 100%; object-fit: cover; }
  .tail { display: flex; flex-direction: column; }
  .tail .faq { order: 1; }
  .tail .cta-tg { order: 2; }
}

/* кейсы «Точка Красоты» и GIPERL: плотнее и крупнее, как в «Причале» (только десктоп) */
@media (min-width: 761px) {
  .c-up .c-facts { padding-top: 64px !important; padding-bottom: 64px !important; }
  .c-up .c-block { padding-top: 72px; }
  .c-up .c-fact .lead, .c-up .c-body .lead { font-size: 20px; line-height: 28px; }
}

@media (min-width: 761px) {
  .c-up .c-facts-up { padding-top: 96px !important; padding-bottom: 48px !important; }
  .c-facts-up .row { display: flex; gap: 8px; align-items: flex-start; }
  .c-facts-up .c-task, .c-facts-up .c-side { flex: 1 1 0; min-width: 0; }
  .c-facts-up .c-task { display: flex; flex-direction: column; gap: 16px; }
  .c-facts-up .lead-label { font-size: 20px; line-height: 30px; padding-top: 6px; }
  .c-facts-up .c-task .lead { font-size: 36px; line-height: 44px; letter-spacing: -1px; max-width: none; }
  .c-facts-up .c-side { display: flex; flex-direction: column; gap: 32px; padding-top: 44px; }
  .c-facts-up .c-fact { display: flex; flex-direction: column; gap: 12px; }
  .c-facts-up .c-side .lead, .c-facts-up .c-side li { font-size: 14px; line-height: 20px; max-width: none; }
}
@media (max-width: 760px) {
  .c-facts-up .lead-label { display: none; }
  .c-facts-up .c-side { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; }
}
@media (min-width: 761px) {
  .c-up .c-gap { height: 32px; }
  .c-up .g-img { max-height: 1056px; }
  .c-up .g-img img { height: 100%; max-height: 1056px; object-fit: cover; }
}

/* единая сетка текста в кейсах: слева номер и подпись, справа крупный заголовок и текст */
.c-num, .c-cap { font-size: 16px; line-height: 24px; }
.c-cap { color: var(--text-2, #737373); }
.c-h { font-size: 36px; line-height: 44px; letter-spacing: -1px; font-weight: 400; }
.c-text { display: flex; flex-direction: column; gap: 24px; }
.c-up .c-label { gap: 2px; }
@media (min-width: 761px) {
  .c-up .c-block { padding-top: 96px; }
  .c-up .c-body { gap: 24px; }
  .c-up .c-text .lead, .c-up .c-text .c-list li { font-size: 20px; line-height: 30px; max-width: none; }
  .c-up .c-gap { height: 64px; }
}
@media (max-width: 760px) {
  .c-h { font-size: 28px; line-height: 34px; letter-spacing: -0.5px; }
  .c-text .lead, .c-text .c-list li { font-size: 16px; line-height: 24px; }
}

/* «Причал» и «Бутово»: единые текстовые блоки */
.c-sec { padding-top: 96px; padding-bottom: 48px; }
.c-sec.nb { padding-bottom: 0; }
.c-sec .c-body { gap: 0; }
.c-sec .c-text { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.c-sec .c-grp { display: flex; flex-direction: column; }
.c-sec .c-text p { font-size: 20px; line-height: 30px; }
.c-sec .c-text .c-sub { font-size: 14px; line-height: 20px; color: var(--text-2, #737373); }
@media (max-width: 760px) {
  .c-sec { padding-top: 48px; padding-bottom: 24px; }
  .c-sec .c-text p { font-size: 16px; line-height: 24px; }
  .c-sec .c-text .c-sub { font-size: 13px; line-height: 18px; }
}

/* больше воздуха вокруг текстовых блоков, как в референсе */
@media (min-width: 761px) {
  .c-up .c-block { padding-top: 160px; }
  .c-up .c-gap { height: 96px; }
  .c-sec { padding-top: 160px; padding-bottom: 96px; }
  .c-sec.nb { padding-bottom: 0; }
  .c-sec .c-split + * { margin-top: 96px; }
}
@media (max-width: 760px) {
  .c-up .c-block { padding-top: 72px; }
  .c-sec { padding-top: 72px; }
}
/* поля у текста одинаковые: сверху = снизу */
@media (min-width: 761px) {
  .c-up .c-gap { height: 160px; }
  .c-sec { padding-bottom: 160px; }
  .c-sec.nb { padding-bottom: 0; }
  .c-sec .c-split + * { margin-top: 160px; }
}
@media (max-width: 760px) {
  .c-up .c-gap { height: 48px; }
  .c-sec { padding-bottom: 72px; }
  .c-sec.nb { padding-bottom: 0; }
}
@media (min-width: 761px) { .c-sec.nb + .v2 { padding-top: 160px; } }

/* единый ритм по вертикали в кейсах (десктоп): текстовый блок — 160 сверху и снизу, картинки друг к другу — 16 */
@media (min-width: 761px) {
  .c-sec, .c-block, .c-facts-up { padding-top: 160px !important; padding-bottom: 0 !important; }
  .v2:not(.c-sec) { padding-top: 16px; padding-bottom: 0; }
  .c-sec + .v2:not(.c-sec), .c-block + .v2:not(.c-sec), .c-facts-up + .v2:not(.c-sec) { padding-top: 160px; }
  .c-sec .c-split + * { margin-top: 160px; }
  .c-sec.nb + .v2 { padding-top: 160px; }
  .v2-trio, .v2-four, .v2-pair, .v2-wide, .v2-wide2, .v2-vol { padding-bottom: 0; }
}
@media (min-width: 761px) { .c-up .c-wide { padding-top: 160px; } }
.c-sec .v2-four { padding: 0 !important; } .c-sec .v2-four.v2-real { padding: 0 !important; }

/* единый мобильный стиль кейсов (Точка Красоты, GIPERL, Бутово Молл, Причал) — по макетам Figma, размеры с десктопа уменьшены */
@media (max-width: 760px) {
  .c-uni .c-num { display: none; }
  .c-uni .c-cap { font-size: 14px; line-height: 20px; color: var(--text-2, #737373); }
  .c-uni .c-h { font-size: 24px; line-height: 30px; letter-spacing: -1px; font-weight: 400; color: #000; }
  .c-uni .c-block, .c-uni.c-up .c-block { padding-top: 48px; padding-bottom: 0; }
  .c-uni .c-split { gap: 12px; }
  .c-uni .c-body { gap: 16px; }
  .c-uni .c-text { gap: 16px; }
  .c-uni .c-text .lead, .c-uni .c-text .c-list li, .c-uni .c-sec .c-text p { font-size: 16px; line-height: 24px; color: #000; }
  .c-uni .c-gap, .c-uni.c-up .c-gap { height: 24px; }
  .c-uni .c-sec { padding-top: 48px; padding-bottom: 0; }
  .c-uni .c-sec .c-split + * { margin-top: 24px; }
  .c-uni .c-sec .c-text { margin-top: 16px; gap: 16px; }
  .c-uni .c-sec .c-grp { gap: 6px; }
  .c-uni .c-sec .c-text .c-sub, .c-uni .mt .small { font-size: 14px; line-height: 20px; color: var(--text-2, #737373); }
  .c-uni .v2:not(.c-sec) { padding-top: 8px; padding-bottom: 0; }
  .c-uni .c-sec + .v2:not(.c-sec), .c-uni .c-block + .v2:not(.c-sec), .c-uni .c-block + .c-wide { padding-top: 32px; }
  .c-uni .v2-four, .c-uni .v2-pair, .c-uni .v2-trio, .c-uni .v2-wide, .c-uni .v2-car, .c-uni .v2-vol { padding-bottom: 0; }
  .c-uni .c-sec .v2-four, .c-uni .c-sec .v2-four.v2-real { padding: 0 !important; }
  .c-uni .m-desc { padding-top: 32px; }
  /* мобильные блоки «Причала» и «Вводные данные» */
  .c-uni .m2-b { padding: 48px var(--pad) 0; gap: 24px; }
  .c-uni .m2-b.facts { gap: 20px; }
  .c-uni .m2-b.tight { padding-top: 8px; gap: 8px; }
  .c-uni .m2-b.tight.first { padding-top: 32px; }
  .c-uni .m2 .m2-b:last-child { padding-bottom: 48px; }
  .c-uni .mt { gap: 6px; }
  .c-uni .mt p:last-child, .c-uni .m2-b > p { font-size: 16px; line-height: 24px; color: #000; }
  .c-uni .m-head { display: flex; flex-direction: column; gap: 12px; }
  .c-uni .stat .num { font-size: 64px; }
  /* низ страницы: FAQ → «Все проекты» → «Вернуться наверх» → Telegram */
  .c-uni .faq { margin-top: 48px; }
  .menu-soft .faq-text h2 { font-size: 24px; line-height: 30px; letter-spacing: -1px; }
  .c-uni .tail { display: flex; flex-direction: column; }
  .c-uni .tail .faq { order: 1; }
  .c-uni .tail .nav-pair { order: 2; flex-direction: column-reverse; }
  .c-uni .tail .cta-tg { order: 3; }
  .c-uni .navbar[href="#top"], .c-uni .nav-pair .navbar:first-child { background: #000; }
}

/* BLOOP и другие кейсы по новому шаблону: текстовая секция + фото подряд */
.v2.v2-txt { padding-top: 160px; padding-bottom: 0; }
.v2-txt-in { display: grid; grid-template-columns: 464fr 936fr; gap: 8px; }
.v2-txt .l p, .v2-txt .t-name { font-size: 16px; line-height: 24px; }
.v2-txt .small { font-size: 14px; line-height: 20px; }
.v2-txt .t-head { font-size: 36px; line-height: 44px; font-weight: 400; }
.v2-txt .t-body { font-size: 20px; line-height: 30px; }
.v2.v2-ph { padding-top: 160px; padding-bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.v2-ph .pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 760px) {
  .v2.v2-txt { padding-top: 48px; }
  .v2-txt-in { grid-template-columns: 1fr; gap: 16px; }
  .v2-txt .t-head { font-size: 24px; line-height: 32px; }
  .v2-txt .t-body { font-size: 16px; line-height: 24px; }
  .v2.v2-ph { padding-top: 24px; }
  .v2.v2-ph .ph, .v2.v2-ph .pair2 .ph { aspect-ratio: 1 / 1; }
  .v2-ph .pair2 { grid-template-columns: 1fr; }
}

/* Bloop: подписи в тексте 16/24 с пустой строкой сверху, отступ после последнего фото */
@media (min-width: 761px) {
  .v2-txt .r .small { font-size: 16px; line-height: 24px; margin-top: 24px; }
}
@media (max-width: 760px) {
  .v2-txt .r .small { margin-top: 16px; }
}
.v2.v2-ph + .nav-pair { margin-top: 126px; }

/* Mejev: фото-деталь (кроп части картинки) */
.ph.crop { position: relative; }
.ph.crop img { position: absolute; max-width: none; object-fit: fill; }
.only-m + .nav-pair { margin-top: 126px; }

@media (max-width: 760px) { .hero-m307 .c-img.r-hero { aspect-ratio: 374 / 307; } }

/* Прометей: макеты сайта не режем в квадрат на телефоне */
@media (max-width: 760px) { .v2.v2-ph.keep .ph { aspect-ratio: var(--ar); } }

/* Слайдер брендбука на всю ширину (GIPERL.RU): по одной странице, стрелки слева под ней */
.v2.v2-bb { padding-top: 160px; padding-bottom: 48px; }
.v2-bb .slider { align-items: flex-start; }
.v2-bb .slider-track { width: 100%; }
.v2-bb .slide { flex: 0 0 100%; background: none; border: 0; }
.v2-bb .slide img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .v2.v2-bb { padding-top: 24px; } .v2-bb .slider-nav { display: flex; } }

/* GIPERL (сайт): на десктопе рамка 4:3, картинка обрезается поровну сверху и снизу; на телефоне целиком */
@media (min-width: 761px) {
  .c-nocrop .g-img { max-height: none; aspect-ratio: 4 / 3; }
  .c-nocrop .g-img img { height: 100%; max-height: none; object-fit: cover; object-position: center; }
}

/* Картинки без обрезки: рамка по пропорциям файла */
.v2-ph .g-img.nat { flex: none; }
.v2-ph .g-img.nat img { display: block; width: 100%; height: auto; object-fit: initial; }

/* Причал: блок со слайдером брендбука на весь экран; слайд крупный, сверху и снизу белые поля (курсор выходит из «листания») */
@media (min-width: 761px) {
  .v2.v2-car { min-height: 100vh; min-height: 100svh; padding-top: 0; padding-bottom: 0; justify-content: center; }
  .v2-car .slider-track { width: min(100%, calc((100vh - 230px) * 1.632)); width: min(100%, calc((100svh - 230px) * 1.632)); }
  .v2-car .slide { flex: 0 0 100%; }
}

/* Стрелки слайдера без круга */
.slider-btn, .slider-btn:hover:not(:disabled) { background: transparent; }
.slider-btn:hover:not(:disabled) { opacity: .55; }

/* GIPERL (брендбук): слайдер как у Причала — на весь экран, крупный слайд, белые поля сверху и снизу, стрелки по центру */
@media (min-width: 761px) {
  .v2.v2-bb { min-height: 100vh; min-height: 100svh; padding-top: 0; padding-bottom: 0; display: flex; flex-direction: column; justify-content: center; }
  .v2-bb .slider { align-items: center; }
  .v2-bb .slider-track { width: min(100%, calc((100vh - 230px) * 1.632)); width: min(100%, calc((100svh - 230px) * 1.632)); }
}

/* =====================================================================
   Страница «Брендинг» по макету Figma «SEO / Брендинг (новое)»
   сетка из 3 столбцов: столбец 1 — подпись/заголовок, столбцы 2–3 — содержимое
   ===================================================================== */
:root { --ease-acc: cubic-bezier(.22, .8, .24, 1); }

/* шапка страницы: заголовок в 1-м столбце, текст и якоря во 2–3-м */
.svc-head.g3 { display: grid; grid-template-columns: calc((100% - 8px) / 3) 1fr; gap: 8px; align-items: end; }
.svc-head.g3 .right { gap: 20px; }

/* «Когда компании нужен брендинг» */
.seo-intro { padding: 96px var(--pad); display: grid; grid-template-columns: calc((100% - 8px) / 3) 1fr; gap: 8px; align-items: start; }
.sec-label { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.si-body { display: flex; flex-direction: column; gap: 36px; }
.si-text { max-width: 760px; }
.si-about { display: flex; flex-direction: column; gap: 48px; margin-top: 28px; }
.si-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-stats { padding: 96px var(--pad); display: grid; grid-template-columns: calc((100% - 8px) / 3) 1fr; column-gap: 8px; row-gap: 48px; }
.service-stats > * { grid-column: 2; }
.stat3 { display: flex; flex-direction: column; gap: 12px; }

/* «Что входит»: заголовок в 1-м столбце, 8 пунктов в 2 колонки на столбцах 2–3 */
.formats.fmt3 { padding: 96px var(--pad); }
.fmt-grid { display: grid; grid-template-columns: calc((100% - 8px) / 3) 1fr; gap: 8px; align-items: start; }
.fmt-items { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 8px; }

/* ---- аккордеоны: этапы и тарифы ---- */
.proc-sec { padding: 128px var(--pad); display: grid; grid-template-columns: calc((100% - 8px) / 3) 1fr; gap: 96px 8px; }
.proc-sec .sec-label { grid-column: 1 / -1; }
.proc-sec .proc { grid-column: 1 / -1; }
.sec-label .h2 { margin-top: 0; }
.price2 { padding: 96px var(--pad); display: flex; flex-direction: column; gap: 64px; }
.page-light .price2 { background: var(--surface); }
.pr-head { display: flex; flex-direction: column; gap: 20px; }
.pr-head p { max-width: 440px; }
.pr-head a { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }
.price2, .audit { scroll-margin-top: 100px; }

.acc-item { cursor: pointer; min-width: 0; overflow: hidden; border-top: 1px solid var(--border); padding-top: 20px; outline-offset: 4px; transition: flex-basis .6s var(--ease-acc), border-color .35s; }
.acc-item.on { border-top-color: var(--line); cursor: default; }
.ps-num { flex: none; font-weight: 300; font-size: 120px; line-height: 120px; letter-spacing: -2.4px; color: #b8b8b8; transition: color .4s; }
.acc-item.on .ps-num { color: var(--text); }
.ps-row { display: flex; gap: 24px; align-items: flex-start; }
.ps-main { display: contents; }
.ps-mh { display: none; }
.ps-info { display: none; flex: 1 1 0; min-width: 0; padding-top: 8px; }
.acc-item.on .ps-info { display: block; animation: acc-in .5s .2s var(--ease-acc) both; }
.ps-info-in { display: flex; flex-direction: column; gap: 12px; }
.ps-meta { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
@keyframes acc-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 1200px) {
  .proc, .pacc { display: flex; gap: 8px; align-items: flex-start; }
  .proc { min-height: 280px; }
  .pacc { min-height: 500px; }
  /* свёрнутые пункты сужаются на средних экранах, чтобы раскрытому хватало места (не меньше 456 px) */
  .proc { --cw: clamp(88px, calc((100vw - 32px - 56px - 456px) / 7), 128px); }
  .pacc { --cw: clamp(150px, calc((100vw - 32px - 16px - 700px) / 2), 228px); }
  .proc .ps-info { flex: none; width: 340px; }
  .proc .acc-item { flex: 0 0 var(--cw); }
  .proc .acc-item.on { flex-basis: calc(100% - 7 * var(--cw) - 56px); }
  .pacc .acc-item { flex: 0 0 var(--cw); }
  .pacc .acc-item.on { flex-basis: calc(100% - 2 * var(--cw) - 16px); }
  .pr-short { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
  .pr-item.on .pr-short { display: none; }
  .pr-info .ps-info-in { gap: 20px; }
}

/* тарифы: содержимое раскрытой карточки */
.pr-price { font-weight: 300; font-size: 40px; line-height: 48px; letter-spacing: -1px; }
.pr-action { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pr-div { height: 1px; background: var(--border); }
.pr-inc { display: flex; gap: 40px; font-size: 14px; line-height: 20px; }
.pr-inc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pr-inc li { display: flex; gap: 8px; }
.pr-inc li::before { content: "+"; color: var(--text-2); }
.pr-desc { max-width: 560px; }

/* форма: выбор услуги */
.field select { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-small); padding: 14px 16px; color: var(--text); font: 400 16px/24px "Onest"; outline: none; width: 100%; }
.field select:focus { border-color: var(--accent); }

/* планшет и телефон: аккордеоны вертикальные, раскрываются плавно по высоте */
@media (max-width: 1199px) {
  .service-stats { grid-template-columns: 1fr; }
  .service-stats > * { grid-column: 1; }
  .seo-intro, .fmt-grid { grid-template-columns: 1fr; gap: 24px; }
  .proc, .pacc { display: flex; flex-direction: column; gap: 0; }
  .acc-item { padding: 16px 0; transition: border-color .35s; }
  .ps-num { font-size: 48px; line-height: 52px; letter-spacing: -1px; width: 56px; }
  .ps-row { gap: 16px; }
  .ps-main { display: flex; flex-direction: column; flex: 1; min-width: 0; padding-top: 4px; }
  .ps-mh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .ps-mh b { font-weight: 400; font-size: 20px; line-height: 28px; }
  .ps-mh span { font-size: 12px; line-height: 16px; color: var(--text-2); white-space: nowrap; }
  .ps-info, .acc-item.on .ps-info { display: grid; grid-template-rows: 0fr; min-width: 0; padding-top: 0; animation: none; transition: grid-template-rows .45s var(--ease-acc); }
  .acc-item.on .ps-info { grid-template-rows: 1fr; }
  .ps-info-in { overflow: hidden; min-height: 0; padding-top: 0; transition: padding-top .45s var(--ease-acc); }
  .acc-item.on .ps-info-in { padding-top: 12px; }
  .ps-name { display: none; }
  .pr-short { display: none; }
  .pr-info .ps-info-in { gap: 16px; }
  .pr-price { font-size: 32px; line-height: 38px; }
  .pr-action .btn { width: 100%; }
  .pr-inc { flex-direction: column; gap: 4px; }
}
@media (max-width: 760px) {
  .seo-intro, .service-stats, .formats.fmt3, .proc-sec, .price2 { padding: 48px var(--pad); }
  .service-stats { gap: 24px; }
  .si-lead { font-size: 28px; line-height: 34px; letter-spacing: -0.4px; }
  .si-about { gap: 24px; margin-top: 8px; }
  .si-stats { grid-template-columns: 1fr; gap: 20px; }
  .proc-sec { gap: 32px; }
  .sec-label .h2 { font-size: 24px; line-height: 30px; }
  .pr-head .h2 { font-size: 24px; line-height: 30px; }
  .price2 { gap: 32px; }
  .pr-head { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-item, .ps-info, .ps-info-in { transition: none !important; }
  .acc-item.on .ps-info { animation: none; }
}

/* кейсы на странице «Брендинг»: ряды через 24 px */
.cases-wrap .grid.g24 { gap: 24px; }
@media (max-width: 760px) { .proc-sec { display: flex; flex-direction: column; } }
.page-light .cases-wrap.cw-white { background: var(--bg); }
/* тёмные страницы услуг: свёрнутые цифры аккордеонов приглушены */
.page-dark .ps-num { color: #4a4a4a; }
.page-dark .acc-item.on .ps-num { color: var(--text); }
.page-dark .price2 { background: var(--surface); }

/* мобильные правки страниц услуг с аккордеонами */
@media (max-width: 760px) {
  .svc-head.g3 { grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
  .fmt3 .fmt-list { font-weight: 300; }
}
@media (max-width: 1199px) {
  /* в раскрытом пункте цена и срок уже есть внутри: короткую подпись справа скрываем */
  .acc-item.on .ps-mh span { display: none; }
}


/* ---------- Юридические страницы, cookie-баннер ---------- */
.ul { text-decoration: underline; text-underline-offset: 3px; }
.ul:hover { color: var(--accent); }
.choice:has(span) { align-items: flex-start; }
.choice input[type=checkbox] { margin-top: 2px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.legal-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; text-align: left; }
.legal-btn:hover { color: var(--accent); }

.legal-top .crumbs { padding-bottom: 32px; }
.legal-doc { max-width: 880px; padding: 24px 0 96px; }
.legal-doc h1 { font-weight: 300; font-size: 48px; line-height: 54px; letter-spacing: -0.72px; margin-bottom: 16px; }
.legal-doc h1 + p, .legal-doc h1 + p + p { color: var(--text-2); }
.legal-doc h2 { font-weight: 400; font-size: 24px; line-height: 30px; letter-spacing: -0.12px; margin: 48px 0 16px; }
.legal-doc p { margin-top: 12px; line-height: 26px; }
.legal-doc ul { margin: 12px 0 0 24px; display: flex; flex-direction: column; gap: 8px; line-height: 26px; }
.legal-doc strong { font-weight: 500; }
.legal-doc a { text-decoration: underline; text-underline-offset: 3px; }
.legal-table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-small); }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; line-height: 20px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.legal-table th { font-weight: 500; background: var(--surface); }
.legal-table tr:last-child td { border-bottom: 0; }

.ck { position: fixed; left: 16px; bottom: 16px; z-index: 100; width: 440px; max-width: calc(100vw - 32px); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.18); }
.ck[hidden], .ck [hidden] { display: none; }
.ck-panel { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.ck-sw { appearance: none; flex: none; width: 40px; height: 24px; border-radius: 12px; background: var(--border); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.ck-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ck-sw:checked { background: var(--accent); }
.ck-sw:checked::after { transform: translateX(16px); }
.ck-sw:disabled { opacity: .55; cursor: not-allowed; }
.ck-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ck-btns .btn { align-self: stretch; padding: 12px 18px; flex: 1 1 0; white-space: normal; text-align: center; }
.ck-btns .ck-save { flex-basis: 100%; }
.ck-link { background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--text-2); padding: 8px 0; }
.ck-link:hover { color: var(--accent); }
@media (max-width: 760px) {
  .legal-doc { padding-bottom: 56px; }
  .legal-doc h1 { font-size: 32px; line-height: 38px; letter-spacing: -0.32px; }
  .legal-doc h2 { font-size: 20px; line-height: 26px; margin-top: 36px; }
  .ck { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; padding: 16px; }
}

/* режим настроек: только ползунки, «Сохранить выбор» и «Назад» (две кнопки первого экрана прячутся) */
.ck--set .ck-btns { flex-direction: column; align-items: stretch; }
.ck--set .ck-btns [data-ck=all], .ck--set .ck-btns [data-ck=necessary] { display: none; }
.ck--set .ck-btns .btn { flex: none; align-self: stretch; }
.ck--set .ck-link { align-self: flex-start; }

/* баннер cookie по макету Figma «Cookie banner — Light»: всегда белый, справа внизу */
.ck { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; width: 480px; max-width: calc(100vw - 32px); background: #fff; color: #000; border-color: #e7e7e7; }
.ck .muted { color: #737373; }
.ck-panel { border-color: #e7e7e7; }
.ck-sw { background: #e7e7e7; }
.ck-sw:checked { background: var(--accent); }
.ck-link { color: #737373; padding: 0; align-self: flex-start; }
.ck-btns { flex-wrap: nowrap; }
.ck-btns .btn { flex: 1 1 0; padding: 12px 18px; }
.ck-grey { background: #f5f5f5; color: #666; border: 1px solid #e7e7e7; }
.ck-btns .ck-grey { order: -1; }
.ck--set .ck-btns { display: none; }
.ck--set .ck-save { order: 4; }
.ck--set [data-ck=settings] { order: 5; }
@media (max-width: 760px) {
  .ck { left: 8px; right: 8px; transform: none; bottom: 8px; width: auto; max-width: none; }
  .ck-btns { flex-direction: column; }
  .ck-btns .ck-grey { order: 0; }
  .ck-btns .btn { flex: none; align-self: stretch; }
}

/* компактный баннер: низкий (около 100 px), «Настроить» в одной строке с кнопками */
.ck:not(.ck--set) { padding: 12px 16px; gap: 8px; }
.ck:not(.ck--set) .ck-text { font-size: 12px; line-height: 16px; }
.ck:not(.ck--set) .ck-btns .btn { padding: 7px 14px; font-size: 13px; line-height: 18px; border-radius: 6px; }
.ck-btns .ck-link { flex: none; align-self: center; }
.ck--set .ck-btns { display: flex; order: 5; }
.ck--set .ck-btns [data-ck=all], .ck--set .ck-btns [data-ck=necessary] { display: none; }
@media (max-width: 760px) {
  .ck:not(.ck--set) { padding: 12px; }
  .ck-btns .ck-link { order: -1; align-self: flex-start; }
  .ck:not(.ck--set) .ck-btns .btn { padding: 10px 14px; }
}

/* ---------- Анимации (главная и страницы услуг, класс fx-anim) ---------- */
/* появление снизу вверх: прячем только после старта скрипта (html.fx-on) */
.fx-on .r { opacity: 0; transform: translateY(24px); }
.fx-on .r.r-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--r-delay, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--r-delay, 0ms); }

/* плавный скролл Lenis: родной smooth отключаем, чтобы не двоилось */
html.fx-lenis { scroll-behavior: auto; }
html.fx-lenis body { overscroll-behavior: none; }

/* цвет ссылок, меню и кнопок при наведении — один переход 0,3 с */
.fx-anim .nav-l > a, .fx-anim .nav-l .dd > a, .fx-anim .nav-r > a, .fx-anim .dd-list a,
.fx-anim .footer a, .fx-anim .crumbs a, .fx-anim .ul, .fx-anim .legal-btn, .fx-anim .ck-link,
.fx-anim .anchors a, .fx-anim .btn { transition: color .3s, opacity .3s, background-color .3s, background .3s; }

/* курсор как в macOS: включается только мышью, на телефоне и планшете его нет */
html.fx-cursor-on, html.fx-cursor-on * { cursor: none !important; }
html.fx-cursor-on.fx-cursor-text, html.fx-cursor-on.fx-cursor-text input, html.fx-cursor-on.fx-cursor-text textarea { cursor: text !important; }
.fx-cursor { position: fixed; top: 0; left: 0; z-index: 2147483647; pointer-events: none; opacity: 0; will-change: transform; }
.fx-cursor img { display: block; margin: -2px 0 0 -2px; transform-origin: 2px 2px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
html.fx-cursor-on .fx-cursor { opacity: 1; }
html.fx-cursor-text .fx-cursor { opacity: 0; }
.fx-cursor img.cw { display: none; }
.fx-cursor.fx-ondark img.cb { display: none; }
.fx-cursor.fx-ondark img.cw { display: block; }
.fx-cursor.hot img { transform: scale(1.25); }
.fx-cursor.down img { transform: scale(.9); }
.fx-cursor.hot.down img { transform: scale(1.1); }

/* Dr.Omarov: анимации из Figma Motion (беззвучное видео по кругу) и шапка-фото 374×210 на телефоне */
.ph video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph.prometey-video-inset { height: auto; aspect-ratio: var(--ar); display: grid; place-items: center; background: #dedede; }
.ph.prometey-video-inset video { width: 78%; height: auto; max-height: 78%; border-radius: 4px; }
@media (max-width: 760px) { .hero-m210 .c-img.r-hero { aspect-ratio: 374 / 210; } }

/* Шаблон текстового блока кейса (Figma, Row «Клиент и задача» кейса Omarov): заголовок H2 Regular 32/40, текст Lead 20/30 Regular, между ними 24 */
.v2-txt.t24 .r { display: flex; flex-direction: column; gap: 24px; }
.v2-txt.t24 .t-head { font-size: 32px; line-height: 40px; letter-spacing: -0.32px; font-weight: 400; }
.v2-txt.t24 .t-body { font-size: 20px; line-height: 30px; letter-spacing: 0; font-weight: 400; }
@media (max-width: 760px) {
  .v2-txt.t24 .t-head { font-size: 24px; line-height: 30px; letter-spacing: -0.24px; }
  .v2-txt.t24 .t-body { font-size: 18px; line-height: 28px; }
}
.v2-txt .l .t-name { color: var(--text-2); } /* в Figma вторая подпись слева серая #737373 */
.v2-txt.t24 .g { display: flex; flex-direction: column; gap: 4px; }
.v2-txt.t24 .r .small { font-size: 14px; line-height: 20px; margin: 0; }

/* ---------- Портфолио (/portfolio/) ---------- */
.pf-top .crumbs { padding: 20px 0; }
.pf-head { display: flex; gap: 8px; align-items: flex-start; padding-bottom: 40px; }
.pf-head .h1 { flex: 0 0 calc((100% - 8px) / 3); }
.pf-head .lead { flex: 1 1 0; }
.pf-filters { display: flex; flex-direction: column; gap: 12px; padding-bottom: 32px; }
.pf-row { display: flex; gap: 8px; align-items: flex-start; }
.pf-label { flex: none; width: 120px; padding-top: 6px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { background: var(--surface); color: var(--text); border: 0; border-radius: 4px; padding: 6px 12px; font: 400 14px/20px "Onest", sans-serif; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.pf-chip:hover { background: var(--border); }
.pf-chip.on, .pf-chip.on:hover { background: #000; color: #fff; }
.pf-list { padding-bottom: 96px; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 8px; }
.pf-grid .case-min[hidden] { display: none; }
.pf-grid .case-min .img { height: auto; aspect-ratio: 1; position: relative; }
.pf-grid .case-min .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-empty { padding: 24px 0; }
@media (max-width: 760px) {
  .pf-top .crumbs { padding-top: 0; padding-bottom: 20px; }
  .pf-head { flex-direction: column; gap: 16px; padding-bottom: 32px; }
  .pf-head .h1 { flex: none; }
  .pf-head .lead { font-size: 16px; line-height: 24px; }
  .pf-filters { gap: 12px; padding-bottom: 24px; }
  .pf-row { flex-direction: column; gap: 8px; }
  .pf-label { width: auto; padding-top: 0; }
  .pf-grid { grid-template-columns: 1fr; gap: 24px; }
  .pf-list { padding-bottom: 64px; }
}

/* ---------- Статья блога (Figma «SEO / Статья (шаблон)»: десктоп 505:3675, мобильный 508:2321) ---------- */
/* текст стоит с начала меню: та же сетка, что у шапки (треть минус зазор + 1fr) */
.art-grid { display: grid; grid-template-columns: calc((100% - 8px) / 3) minmax(0, 1fr); column-gap: 8px; align-items: start; }
.art-top .art-grid { grid-template-columns: calc((100% - 8px) / 3) minmax(0, 1fr); }
.art-top .art-r { grid-column: 2; }
.art-top .crumbs { padding-left: calc((100% - 8px) / 3 + 8px); }
.art-top .crumbs { padding: 20px 0 20px calc((100% - 8px) / 3 + 8px); }
.art-head { min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; }
.art-top .art-grid { padding-bottom: 48px; }
.art-l p + p { margin-top: 12px; }
.art-lead { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 24px; }
.art-lead .art-time { flex: none; }
.art-lead .art-time, .art-lead .art-summary { color: var(--text); }
.art-faq .row { display: grid; grid-template-columns: calc((100% - 8px) / 3) minmax(0, 1fr); gap: 8px; }
.art-toc { margin-top: 24px; }
.art-toc ol { list-style: none; margin-top: 24px; column-count: 3; column-gap: 24px; }
.art-toc li, .art-side li { break-inside: avoid; margin-bottom: 12px; font-size: 14px; line-height: 20px; }
.art-toc a { color: var(--accent); transition: opacity .3s; }
.art-side a { color: var(--grey-500); transition: opacity .3s; }
.art-toc a:hover, .art-side a:hover { opacity: .6; }
.art-side { position: sticky; top: 100px; max-height: calc(100vh - 124px); overflow-y: auto; }
.art-side ol { list-style: none; margin-top: 12px; }
.art-side .art-side-more { margin-top: 32px; }
.art-body > .art-l { align-self: stretch; }
.art-cover { padding-bottom: 64px; }
.art-cover img { width: 100%; aspect-ratio: 1408 / 561; object-fit: cover; border-radius: var(--r-card); }
.art-body { padding-bottom: 48px; }
.art-text { display: flex; flex-direction: column; gap: 24px; }
.art-text > p, .art-text > ul, .art-text > h2, .art-text > h3 { max-width: 700px; }
.art-text p, .art-text li { font-size: 16px; line-height: 24px; }
.art-text h2 { margin-top: 24px; scroll-margin-top: 100px; }
.art-text > h2:first-child { margin-top: 0; }
.art-text h3 { margin-top: 8px; }
.art-text ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.art-text li { position: relative; padding-left: 32px; }
.art-text li::before { content: "—"; position: absolute; left: 0; }
.art-text p a, .art-text li a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.art-text p a:hover, .art-text li a:hover { color: var(--accent); }
.art-text .art-note { font-size: 14px; line-height: 20px; margin-top: -8px; }
.art-table { overflow-x: auto; border-top: 1px solid var(--line); }
.art-project-inline { margin: 8px 0 24px; }
.art-project-inline img { display: block; width: 100%; aspect-ratio: 1672 / 1115; object-fit: cover; border-radius: var(--r-card); }
.art-project-inline figcaption { margin-top: 8px; color: var(--text); font-size: 14px; font-weight: 600; }
.art-project-inline figcaption span { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.art-text .art-checklist { padding: 24px; background: var(--surface); border-radius: var(--r-card); }
.art-text .art-checklist li { padding-left: 32px; }
.art-text .art-checklist li::before { content: ""; top: 4px; width: 16px; height: 16px; border: 1px solid var(--text-2); border-radius: 2px; }
.art-service-callout { margin: 48px 0 0; padding: 32px; background: var(--accent); color: #fff; border-radius: var(--r-card); }
.art-service-callout .h2 { color: inherit; margin: 8px 0 16px; }
.art-service-callout p { color: inherit; }
.art-service-callout a { color: inherit; display: inline-block; margin-top: 12px; text-underline-offset: 4px; }
.art-service-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.art-service-actions a { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; margin: 0; padding: 12px 24px; border-radius: var(--r-small); background: #fff; color: var(--accent); text-decoration: none; font-weight: 500; }
.art-service-actions a:hover { opacity: .88; }
.art-service-actions a:first-child { background: #111; color: #fff; }
.art-text .art-emphasis { text-decoration: underline; text-underline-offset: 3px; }
.art-text p a, .art-text li a { color: var(--accent); }
.art-text p a:hover, .art-text li a:hover { color: #777; }
.art-rabbit-case { display: block; margin: 24px 0; color: var(--text); }
.art-rabbit-case img { display: block; width: 100%; aspect-ratio: 1640 / 1218; object-fit: cover; border-radius: var(--r-card); }
.art-rabbit-case span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.art-service-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.art-service-eyebrow a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .art-service-callout { padding: 24px; margin-top: 32px; } }
@media (max-width: 760px) {
  .art-packaging-table table, .art-packaging-table tbody, .art-packaging-table tr, .art-packaging-table td { display: block; width: 100%; min-width: 0 !important; white-space: normal !important; }
  .art-packaging-table thead { display: none; }
  .art-packaging-table tr { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .art-packaging-table td { padding: 4px 0; border: 0; }
  .art-packaging-table td:first-child { font-size: 18px; }
  .art-packaging-table td:nth-child(2)::before { content: "Фрилансеры: "; color: var(--text-2); }
  .art-packaging-table td:nth-child(3)::before { content: "Средние студии: "; color: var(--text-2); }
  .art-packaging-table td:nth-child(4)::before { content: "Известные студии: "; color: var(--text-2); }
  .art-price-table table, .art-price-table tbody, .art-price-table tr, .art-price-table td { display: block; width: 100%; min-width: 0 !important; white-space: normal; }
  .art-price-table thead { display: none; }
  .art-price-table tr { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .art-price-table td { padding: 4px 0; border: 0; }
  .art-price-table td:first-child { font-size: 18px; }
  .art-price-table td:nth-child(3)::before { content: "Стоимость: "; color: var(--text-2); }
  .art-price-table td:nth-child(4)::before { content: "Срок: "; color: var(--text-2); }
}
.art-table table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; line-height: 20px; }
.art-table th, .art-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--border); }
.art-table th { font-weight: 500; color: var(--text-2); }
.art-table td.nw { white-space: nowrap; }
.art-box { background: var(--surface); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.art-box p { font-size: 16px; line-height: 24px; }
.art-tags { padding: 48px 0 96px; }
a.pf-chip { display: inline-block; }
.art-more { padding-bottom: 96px; }
.art-more > .h2 { margin-bottom: 24px; }
.art-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.art-cards .case-min .img { height: auto; aspect-ratio: 1; position: relative; }
.art-cards .case-min .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-card { display: flex; flex-direction: column; gap: 12px; }
.art-card-img { background: var(--surface); border-radius: var(--r-card); height: 300px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s; }
.art-card:hover .art-card-img { background: var(--border); }
.art-card-img .h3 { max-width: 380px; }
@media (max-width: 760px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-top .art-r { grid-column: 1; }
  .art-top .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-top .crumbs { padding-left: 0; }
  .art-top .crumbs { padding: 0 0 20px; }
  .art-head { min-height: 0; display: block; }
  .art-top .art-grid { padding-bottom: 32px; }
  .art-top .art-l { display: flex; flex-wrap: wrap; gap: 0 8px; margin-bottom: 16px; }
  .art-top .art-l p + p { margin-top: 0; }
  .art-top .art-l p + p::before { content: "· "; }
  .art-lead { margin-top: 16px; }
  .art-faq .row { grid-template-columns: minmax(0, 1fr); }
  .art-toc { margin-top: 24px; }
  .art-toc ol { column-count: 1; margin-top: 12px; }
  .art-toc li { margin-bottom: 8px; }
  .art-cover { padding-bottom: 32px; }
  .art-cover img { aspect-ratio: 374 / 210; }
  .art-body > .art-l { display: none; }
  .art-body { padding-bottom: 32px; }
  .art-text p, .art-text li { font-size: 16px; line-height: 24px; }
  .art-text .art-note { font-size: 14px; line-height: 20px; }
  .art-box { padding: 20px; }
  .art-tags { padding: 16px 0 48px; }
  .art-tags > .art-l { display: none; }
  .art-more { padding-bottom: 64px; }
  .art-cards { grid-template-columns: 1fr; gap: 24px; }
  .art-card-img { height: 200px; padding: 16px; }
}

/* карточки статей в шахматном порядке: navy (время сверху), steel (время снизу), ice (без времени); Figma 505:3746, «SEO / Блог» */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.blog-card { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 285px; padding: 30px; border-radius: var(--r-card); color: #fff; transition: opacity .3s; }
.blog-card:hover { opacity: .88; }
.blog-card.c-navy { background: var(--card-1); }
.blog-card.c-steel { background: var(--card-2); }
.blog-card.c-ice { background: var(--card-light); color: #000; justify-content: flex-start; }
.blog-page .pf-list { padding-bottom: 96px; }
/* список /blog/: серые карточки (Figma 516:3733, 517:2424) */
.news-card { display: flex; flex-direction: column; gap: 24px; min-height: 260px; padding: 20px 20px 24px; border-radius: var(--r-card); background: var(--surface); color: var(--text); transition: opacity .3s; }
.news-card:hover { opacity: .8; }
.nc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.nc-label { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }
.nc-cat { font-weight: 500; }
.nc-time { color: var(--text-2); position: relative; padding-left: 9px; }
.nc-time::before { content: ""; position: absolute; left: 0; top: 4px; width: 1px; height: 12px; background: var(--border); }
.nc-title { font-size: 24px; line-height: 30px; font-weight: 300; }
.nc-date { margin-top: auto; align-self: flex-start; padding: 4px 12px; border-radius: 2px; background: var(--bg); font-size: 12px; line-height: 16px; font-weight: 500; }
@media (max-width: 760px) {
  .news-card { min-height: 0; gap: 16px; }
  .nc-title { font-size: 20px; line-height: 28px; font-weight: 400; }
}
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 220px; padding: 20px; }
  .blog-page .pf-list { padding-bottom: 64px; }
}

/* Цифры статистики на телефоне — размер номеров этапов. */
@media (max-width: 760px) { .si-stats .stat-n { font-size: 48px; line-height: 52px; letter-spacing: -1px; } }

.art-cards.art-cases-strip { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.art-cards.art-cases-strip > .case-min { flex: 0 0 min(32%, 360px); scroll-snap-align: start; }
@media (max-width: 760px) { .art-cards.art-cases-strip { gap: 16px; } .art-cards.art-cases-strip > .case-min { flex: 0 0 82%; } }
