/* Medical Device KZ — основные стили (дизайн v2) */
:root {
  --brand: #1a6fd1;
  --brand-600: #155bb0;
  --brand-50: #eef5fd;
  --brand-100: #d9e9fb;
  --cyan: #1fb6f0;
  --cyan-600: #0f9fd8;
  --navy: #0a2a5c;
  --navy-2: #0d3a7d;
  --navy-3: #072049;
  --ink: #0f2547;
  --ink-2: #44566f;
  --ink-3: #7a889b;
  --line: #e1e8f1;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 37, 71, .05), 0 8px 28px rgba(15, 37, 71, .07);
  --shadow-lg: 0 16px 48px rgba(15, 37, 71, .16);
  --wrap: 1240px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --grad-navy: linear-gradient(105deg, #072049 0%, #0b3271 45%, #1257b5 100%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(32px, 4.4vw, 54px); }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(31, 182, 240, .5); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Иконки из спрайта (main.js) */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 56px 0; }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }
.section__head h2 { color: var(--navy); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--brand); border-bottom: 2px solid var(--brand-100); padding-bottom: 2px; }
.link-more .i { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .2s; }
.link-more:hover .i { transform: translateX(3px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--primary { background: linear-gradient(180deg, #2a83e6, var(--brand)); color: #fff; box-shadow: 0 6px 18px rgba(26, 111, 209, .28); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--accent { background: linear-gradient(90deg, #22c4f5, #12a6e8); color: #fff; box-shadow: 0 8px 24px rgba(31, 182, 240, .35); }
.btn--accent:hover { background: var(--cyan-600); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--brand-50); color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb457; color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 37, 71, .07); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 80px; }
.logo { display: flex; align-items: center; gap: 18px; flex: none; color: var(--ink); }
.logo img { height: 46px; width: auto; }
.logo__tag { font-size: 13px; line-height: 1.3; color: var(--ink-2); padding-left: 18px; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 28px 10px; position: relative; white-space: nowrap; }
.nav__link .i { width: 14px; height: 14px; stroke-width: 2.4; color: var(--ink-3); transition: transform .2s; }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 20px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after, .nav__link:hover::after { transform: none; }
.nav__drop { position: absolute; top: 100%; left: -8px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; margin-top: -8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; list-style: none; }
.nav__drop a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.nav__drop a:hover { background: var(--brand-50); color: var(--brand); }
.nav__drop small { color: var(--ink-3); }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .nav__link .i { transform: rotate(180deg); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--bg-soft); color: var(--brand); }
.icon-btn .i { width: 21px; height: 21px; stroke-width: 2; }
.header__search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 37, 71, .08); padding: 16px 0; }
.header__search form { display: flex; gap: 10px; }
.header__search .input { flex: 1; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* Тёмный баннер с волной: общий для героя и внутренних страниц */
.banner { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; isolation: isolate; }
.banner__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b3271 0%, rgba(11, 50, 113, .55) 22%, rgba(11, 50, 113, 0) 55%), linear-gradient(0deg, rgba(7, 32, 73, .55), rgba(7, 32, 73, 0) 45%); }
.banner__wave { position: absolute; top: 0; bottom: 0; left: 30%; width: 34%; height: 100%; z-index: -1; pointer-events: none; }
.banner__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 100% at 70% 30%, #2b78d6 0%, #0d3a7d 70%); }
.banner__ph .i { width: 38%; height: 38%; max-width: 260px; stroke-width: .7; color: rgba(255, 255, 255, .22); margin-left: 18%; }

/* Hero (главная) */
.hero { min-height: 600px; display: flex; flex-direction: column; }
.hero__slides { position: relative; flex: 1; display: grid; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide .banner__media img { transform: scale(1.04); transition: transform 7s ease-out; }
.hero__slide.is-active .banner__media img { transform: none; }
.hero__inner { position: relative; z-index: 1; display: flex; align-items: center; width: 100%; padding-top: 64px; padding-bottom: 56px; }
.hero__text { max-width: 600px; }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 22px; }
.hero__eyebrow::before { content: ""; width: 48px; height: 1px; background: rgba(255, 255, 255, .6); }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; line-height: 1.1; margin-bottom: 22px; display: block; }
.hero h1 span, .hero .h1 span { color: var(--cyan); display: block; }
.hero__text p { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 520px; margin-bottom: 32px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__bar { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(90deg, rgba(7, 32, 73, .55), rgba(7, 32, 73, .15)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 104px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.fact { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-left: 1px solid rgba(255, 255, 255, .18); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__icon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); display: grid; place-items: center; flex: none; }
.fact__icon .i { width: 24px; height: 24px; }
.fact b { display: block; font-size: 18px; color: var(--cyan); line-height: 1.15; }
.fact span { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .8); display: block; }
.hero__ctrl { display: flex; align-items: center; gap: 12px; flex: none; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 24px; background: var(--cyan); }
.round-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.round-btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.round-btn .i { width: 18px; height: 18px; stroke-width: 2.2; }

/* Page header (внутренние страницы) */
.page-head { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; padding: 40px 0 44px; isolation: isolate; }
.page-head::before { content: ""; position: absolute; top: -40%; right: -8%; width: 60%; height: 180%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 182, 240, .28), rgba(31, 182, 240, 0)); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), rgba(31, 182, 240, 0) 60%); }
.page-head h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 10px; color: #fff; }
.page-head h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--cyan); margin-top: 16px; }
.page-head .muted, .page-head p { color: rgba(255, 255, 255, .85) !important; font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.crumbs span::before { content: "›"; margin-right: 6px; color: #b5c0cd; }
.page-head .crumbs, .page-head .crumbs a { color: rgba(255, 255, 255, .78); }
.page-head .crumbs a:hover { color: #fff; }
.page-head .crumbs span { color: #fff; }
.page-head .crumbs span::before { color: rgba(255, 255, 255, .5); }
body[data-page="product"] .page-head { padding: 22px 0 18px !important; }
body[data-page="product"] .page-head .crumbs { margin: 0; }
body[data-page="product"] main > .wrap, body[data-page="product"] #product-root { padding-top: 32px; }

/* Directions (Решения) */
.dirs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.dir { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-align: left; padding: 0; cursor: pointer; transition: box-shadow .25s, transform .25s, border-color .25s; font: inherit; }
.dir:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.dir__img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: linear-gradient(160deg, #e9f2fc 0%, #cfe2f7 100%); display: grid; place-items: center; }
.dir__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dir:hover .dir__img img { transform: scale(1.05); }
.dir__img > .i { width: 46%; height: 46%; color: #8fb6e3; stroke-width: 1; }
.dir__body { display: flex; align-items: center; gap: 12px; padding: 14px 14px 16px; flex: 1; }
.dir__icon { color: var(--brand); flex: none; }
.dir__icon .i { width: 28px; height: 28px; stroke-width: 1.6; }
.dir__name { font-weight: 700; font-size: 14.5px; line-height: 1.3; flex: 1; }
.dir__name small { display: block; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.dir__go .i { width: 18px; height: 18px; color: var(--ink-3); stroke-width: 2.2; transition: transform .2s, color .2s; }
.dir:hover .dir__go .i { transform: translateX(3px); color: var(--brand); }

/* Преимущества */
.adv { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.adv h2 { margin: 0; color: var(--navy); }
.adv__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.adv__item { display: flex; align-items: center; gap: 16px; padding: 6px 24px; border-left: 1px solid var(--line); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.adv__item .i { width: 40px; height: 40px; color: var(--brand); stroke-width: 1.5; }

/* Тёмная полоса (О компании, CTA) */
.band { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; border-radius: 22px; isolation: isolate; }
.band::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 70%; height: 160%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 182, 240, .3), rgba(31, 182, 240, 0)); }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255, 255, 255, .85); }
.band--full { border-radius: 0; }
.about-band { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px; align-items: center; padding: 48px 56px; }
.about-band h2 { margin-bottom: 14px; }
.about-band p { font-size: 16.5px; max-width: 520px; margin-bottom: 26px; }
.band-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-stat { text-align: center; padding: 8px 14px; border-left: 1px solid rgba(255, 255, 255, .2); }
.band-stat .i { width: 36px; height: 36px; margin: 0 auto 12px; stroke-width: 1.5; }
.band-stat b { display: block; font-size: 19px; line-height: 1.2; }
.band-stat span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.cta-band { display: flex; align-items: center; gap: 32px; padding: 32px 48px; flex-wrap: wrap; }
.cta-band__icon .i { width: 64px; height: 64px; stroke-width: 1.2; }
.cta-band__text { flex: 1; min-width: 260px; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .25); }
.cta-band__text h3 { font-size: 26px; margin-bottom: 6px; }
.cta-band__text p { margin: 0; }

/* Сервисные услуги */
.svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.svc__item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.svc__icon { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(160deg, #2a83e6, var(--navy-2)); color: #fff; display: grid; place-items: center; }
.svc__icon .i { width: 26px; height: 26px; }
.svc__item h3 { font-size: 16.5px; margin: 0; }
.svc__item p { font-size: 14px; color: var(--ink-2); margin: 0; }
.svc-perks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 28px; }
.svc-perks div { display: flex; align-items: center; gap: 12px; padding: 18px; font-size: 14px; font-weight: 600; line-height: 1.3; border-left: 1px solid var(--line); }
.svc-perks div:first-child { border-left: 0; }
.svc-perks .i { width: 32px; height: 32px; color: var(--brand); stroke-width: 1.5; }

/* Cards (общие) */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.cat__img { aspect-ratio: 1 / 1; padding: 16px; background: #fff; display: grid; place-items: center; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__body { padding: 12px 16px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); }
.cat__name { font-weight: 700; font-size: 15px; }
.cat__count { font-size: 13px; color: var(--ink-3); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.pcard__img { aspect-ratio: 1 / 1; background: #fff; padding: 18px; display: grid; place-items: center; position: relative; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pcard__brand { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--brand-50); padding: 4px 8px; border-radius: 6px; }
.pcard__body { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__cat { font-size: 13px; color: var(--ink-3); }
.pcard__name { font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--navy); }
.pcard__sub { font-size: 13px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__more { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.pcard__more svg { width: 16px; height: 16px; transition: transform .2s; }
.pcard:hover .pcard__more svg { transform: translateX(3px); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; place-items: center; aspect-ratio: 2 / 1; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.partner:hover { box-shadow: var(--shadow); border-color: transparent; }
.partner img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

/* Projects (клиенты) */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.client:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.client img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.client p { padding: 18px 20px 20px; margin: 0; font-weight: 700; font-size: 15.5px; line-height: 1.4; color: var(--navy); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.contact-list { display: grid; gap: 14px; align-content: start; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.contact-item .card__icon { margin: 0; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(160deg, #2a83e6, var(--navy-2)); color: #fff; }
.contact-item small { display: block; font-size: 15px; color: var(--navy); font-weight: 800; margin-bottom: 2px; }
.contact-item a, .contact-item span { font-weight: 500; color: var(--ink-2); word-break: break-word; }
.contact-item a:hover { color: var(--brand); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--navy); }

/* Forms */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 110px; padding: 12px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 111, 209, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__msg { font-size: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form__msg.is-ok { display: block; background: #e7f6ee; color: #12623a; }
.form__msg.is-err { display: block; background: #fdecec; color: #9b1c1c; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(7, 22, 48, .6); backdrop-filter: blur(3px); animation: fade .2s; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.modal__box h3 { color: var(--navy); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-soft); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink-2); }
.modal__close:hover { background: var(--line); }
.modal__product { background: var(--brand-50); color: var(--brand-600); font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Footer */
.footer { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-3) 100%); color: #aebdd2; padding: 64px 0 28px; font-size: 15px; }
.footer a { color: #dce6f3; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contacts .i { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.footer__social a:hover { background: rgba(255, 255, 255, .16); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Catalog */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 88px; }
.sidebar { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.sidebar__title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; padding: 10px 12px 6px; }
.catlist { list-style: none; padding: 0; margin: 0; }
.catlist a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--bg-soft); }
.catlist a:hover { background: var(--bg-soft); }
.catlist a.is-active { background: var(--brand-50); color: var(--brand); font-weight: 700; }
.catlist a small { color: var(--ink-3); font-size: 13px; }
.catlist a.is-active small { color: var(--brand); }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 220px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search .input { padding-left: 44px; }
.toolbar select.input { width: auto; min-width: 170px; }
.result-info { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }
.empty { text-align: center; padding: 64px 20px; color: var(--ink-2); background: var(--bg-soft); border-radius: var(--radius); }
.more-wrap { text-align: center; margin-top: 32px; }
.cat-select { display: none; }

/* Product page */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; padding: 8px 0 56px; }
.gallery { position: sticky; top: 100px; }
.gallery__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 28px; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.gallery__nav:hover { border-color: var(--brand); color: var(--brand); }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
.gallery__nav svg { width: 20px; height: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; cursor: pointer; transition: border-color .2s; }
.thumbs button.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-100); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tag--brand { background: var(--brand-50); color: var(--brand); }
.pinfo h1 { font-size: clamp(28px, 3.2vw, 40px); color: var(--navy); }
.pinfo__sub { font-size: 17px; color: var(--ink-2); margin-bottom: 20px; }
.pinfo__short { color: var(--ink-2); margin-bottom: 24px; }
.pinfo__price { font-size: 26px; font-weight: 800; margin-bottom: 20px; color: var(--navy); }
.pinfo__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.perks div { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.perks b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.desc { max-width: 860px; }
.desc h2 { font-size: 26px; margin-bottom: 20px; color: var(--navy); }
.prose { color: var(--ink-2); font-size: 16px; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose h3, .prose h4 { color: var(--ink); margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.prose td, .prose th { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose tr:last-child td { border-bottom: 0; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.prose td:first-child { color: var(--ink-3); width: 45%; }
.prose td:last-child { color: var(--ink); font-weight: 600; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(7, 16, 32, .92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 12px; }
.lightbox .modal__close { position: fixed; top: 20px; right: 20px; }
.lightbox .gallery__nav { position: fixed; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #eef1f5 25%, #f6f8fa 50%, #eef1f5 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Responsive */
@media (max-width: 1240px) {
  .logo__tag { display: none; }
  .nav__link { padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .nav__link::after { left: 8px; right: 8px; }
  .dirs { grid-template-columns: repeat(3, 1fr); }
  .svc { grid-template-columns: repeat(3, 1fr); }
  .svc-perks { grid-template-columns: repeat(3, 1fr); }
  .svc-perks div:nth-child(4) { border-left: 0; }
  .svc-perks div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .adv { grid-template-columns: 1fr; gap: 20px; }
  .adv__item:first-child { border-left: 0; padding-left: 0; }
  .about-band { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .header__cta { display: none; }
}
@media (max-width: 1000px) {
  .section { padding: 64px 0; }
  .nav { position: fixed; top: 80px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s; margin: 0; }
  .nav-open .nav { transform: none; }
  .nav-open { overflow: hidden; }
  .nav__link { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__drop { display: none; }
  .nav__mobile { display: grid; gap: 12px; padding-top: 20px; }
  .nav__mobile a:not(.btn) { color: var(--ink); font-weight: 700; font-size: 18px; }
  .burger { display: inline-flex; }
  .header .wrap { gap: 12px; }
  .header__actions { margin-left: auto; }
  .hero { min-height: 0; }
  .banner__media { width: 100%; opacity: .35; }
  .banner__media::after { background: linear-gradient(90deg, rgba(11, 50, 113, .9), rgba(11, 50, 113, .5)); }
  .banner__wave { display: none; }
  .hero__inner { padding-top: 48px; padding-bottom: 40px; }
  .hero__bar .wrap { flex-direction: column; align-items: stretch; padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 4px 0; }
  .fact { padding: 10px 14px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__ctrl { justify-content: center; }
  .grid--3, .clients { grid-template-columns: repeat(2, 1fr); }
  .contacts, .product { grid-template-columns: 1fr; gap: 32px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .adv__list { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .adv__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .band-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .band-stat:nth-child(3) { border-left: 0; }
  .about-band { padding: 40px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .cat-select { display: block; }
  .gallery { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .header .wrap { height: 66px; }
  .nav { top: 66px; padding: 8px 16px 28px; }
  .logo img { height: 38px; }
  .hero__text p { font-size: 16px; }
  .hero__btns .btn { flex: 1; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(3) { border-left: 0; padding: 8px 0; }
  .fact__icon { width: 44px; height: 44px; }
  .dirs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dir__body { padding: 12px; gap: 8px; }
  .dir__icon { display: none; }
  .dir__name { font-size: 14px; }
  .svc { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc__item { padding: 18px 16px; }
  .svc-perks { grid-template-columns: 1fr 1fr; }
  .svc-perks div { border-left: 0 !important; border-top: 1px solid var(--line); padding: 14px; }
  .svc-perks div:nth-child(-n+2) { border-top: 0; }
  .svc-perks div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .adv__list { grid-template-columns: 1fr; }
  .adv__item { border-left: 0; padding: 0; }
  .band { border-radius: 16px; }
  .about-band { padding: 32px 22px; }
  .band-stat { padding: 4px 8px; }
  .cta-band { padding: 28px 22px; }
  .cta-band__icon { display: none; }
  .cta-band__text { padding-left: 0; border-left: 0; }
  .grid--3, .grid--4, .clients { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .pcard__body { padding: 12px 14px 14px; }
  .pcard__name { font-size: 15px; }
  .pcard__img { padding: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .form-card, .modal__box { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .perks { grid-template-columns: 1fr; }
  .toolbar select.input { flex: 1; }
  .prose td { padding: 9px 12px; }
  .page-head { padding: 28px 0 32px; }
}

/* Кнопки, оформленные как карточки/ссылки */
button.svc__item, button.dir { font: inherit; text-align: left; cursor: pointer; }
button.link-more { background: none; border: 0; border-bottom: 2px solid var(--brand-100); cursor: pointer; font: inherit; font-weight: 700; color: var(--brand); padding: 0 0 2px; }

/* Уточнения по сетке */
.header .wrap { max-width: 1400px; }
.hero__inner { max-width: 1400px; }
.hero__text { max-width: 680px; }
.fact b { font-size: 17px; }
#about { padding-top: 24px; }
.dirs { gap: 14px; }
.dir__body { padding: 14px 12px 16px; gap: 10px; }
@media (max-width: 1360px) { .logo__tag { display: none; } }
@media (max-width: 1000px) { .band-stat:nth-child(odd) { border-left: 0; } }
@media (max-width: 640px) {
  .svc-perks div { font-size: 13px; padding: 12px 10px; gap: 8px; overflow-wrap: anywhere; }
  .svc-perks .i { width: 26px; height: 26px; }
}

.form__col { display: grid; gap: 14px; }
.footer__grid { grid-template-columns: 1.3fr 1.1fr 1.1fr .9fr 1.3fr; gap: 32px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }
/* ===================== Внутренние страницы v2 (подключается после style.css) ===================== */
/* Баннер страницы: крошки, H1 с голубой чертой, подзаголовок; справа фото или заглушка */
.page-banner .wrap { position: relative; z-index: 1; max-width: 1400px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 48px; }
.page-banner__text { max-width: 640px; }
.page-banner .crumbs, .page-banner .crumbs a { color: rgba(255, 255, 255, .78); margin-bottom: 18px; }
.page-banner .crumbs a:hover { color: #fff; }
.page-banner .crumbs span { color: #fff; }
.page-banner .crumbs span::before { color: rgba(255, 255, 255, .5); }
.page-banner h1 { color: #fff; font-size: clamp(30px, 3.8vw, 50px); margin-bottom: 0; }
.page-banner h1 small { display: block; color: var(--cyan); font-size: .62em; font-weight: 600; margin-top: 6px; }
.page-banner h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--cyan); margin: 18px 0 16px; }
.page-banner p { font-size: 18px; color: rgba(255, 255, 255, .88); margin: 0; max-width: 560px; }
.page-banner .banner__media { width: 52%; }

/* Полоса преимуществ под баннером */
.perks-strip { background: linear-gradient(180deg, #f6f9fd, #fff); border-bottom: 1px solid var(--line); }
.perks-strip__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.perk { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-left: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
.perk:first-child { border-left: 0; padding-left: 0; }
.perk .i { width: 38px; height: 38px; color: var(--brand); stroke-width: 1.5; }
.perk b { display: block; color: var(--navy); font-size: 15px; }
.perk span { color: var(--ink-2); }

.page-body { padding: 56px 0 24px; }
.page-body > .wrap > * + * { margin-top: 48px; }
.block-title { font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); margin-bottom: 22px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.block-head .block-title { margin: 0; }
.intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.intro h2 { color: var(--navy); font-size: clamp(24px, 2.4vw, 32px); }
.intro p { color: var(--ink-2); }

/* Карточки с иконкой */
.icards { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.icard { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; text-align: left; font: inherit; }
a.icard:hover, button.icard:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; color: var(--ink); cursor: pointer; }
button.icard { cursor: pointer; width: 100%; }
.icard > .i { width: 34px; height: 34px; color: var(--brand); stroke-width: 1.5; margin-top: 2px; }
.icard b { display: block; color: var(--navy); font-size: 15.5px; line-height: 1.3; margin-bottom: 3px; }
.icard span { color: var(--ink-2); font-size: 14px; line-height: 1.45; display: block; }
.icard__go { margin-left: auto; align-self: center; }
.icard__go .i { width: 18px; height: 18px; color: var(--ink-3); stroke-width: 2.2; }
.icards--soft .icard { background: linear-gradient(180deg, #fbfdff, #f3f8fd); }

/* Заглушка изображения (заменить на <img>) */
.ph { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(150deg, #e8f1fc 0%, #c9def6 100%); display: grid; place-items: center; aspect-ratio: 4 / 3; color: #8fb6e3; }
.ph > .i { width: 34%; height: 34%; stroke-width: .9; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Этапы: горизонтальные */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 22px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 14px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--navy); }
.step .i { width: 40px; height: 40px; color: var(--brand); stroke-width: 1.4; }
.step small { font-weight: 500; color: var(--ink-2); font-size: 13px; }
.step__n { position: absolute; top: 10px; left: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; display: grid; place-items: center; }
.step:not(:last-child)::after { content: "›"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 22px; font-weight: 400; }

/* Этапы: вертикальные */
.vsteps { display: grid; gap: 12px; }
.vstep { display: grid; grid-template-columns: 40px 40px 1fr; gap: 14px; align-items: center; background: linear-gradient(180deg, #fbfdff, #f3f8fd); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.vstep__n { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(160deg, #2a83e6, var(--navy-2)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.vstep > .i { width: 34px; height: 34px; color: var(--brand); stroke-width: 1.5; }
.vstep b { display: block; color: var(--navy); font-size: 15.5px; }
.vstep span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* Панель */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.panel h3 { color: var(--navy); font-size: 20px; margin-bottom: 14px; }
.panel > p { color: var(--ink-2); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--brand);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6fd1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.band .ticks li { color: #fff; }
.band .ticks li::before { border-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.doclinks { display: grid; gap: 2px; margin-bottom: 16px; }
.doclinks button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; }
.doclinks button:hover { color: var(--brand); }
.doclinks .i { width: 24px; height: 24px; color: var(--brand); }
.doclinks .i:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); }

/* Раскладки */
.cols { display: grid; gap: 28px; align-items: start; grid-template-columns: var(--tpl, 1fr 1fr); }
.side-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.side-layout__main > * + * { margin-top: 40px; }
.side-nav { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.side-nav h3 { color: var(--navy); font-size: 18px; padding: 8px 10px 10px; margin: 0; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.side-nav a .i { width: 26px; height: 26px; color: var(--brand); stroke-width: 1.5; }
.side-nav a .i:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); stroke-width: 2.2; }
.side-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.side-nav a.is-active { background: linear-gradient(90deg, #2a83e6, var(--brand)); color: #fff; }
.side-nav a.is-active .i { color: #fff; }
.lead-text { font-size: 17px; color: var(--ink-2); max-width: 760px; }

/* Миссия / видение / ценности */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); }
.mvv > div { padding: 4px 28px; border-left: 1px solid var(--line); }
.mvv > div:first-child { border-left: 0; padding-left: 0; }
.mvv h3 { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 21px; }
.mvv h3 .i { width: 32px; height: 32px; color: var(--brand); }
.mvv p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Логотипы */
.logos { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 14px; }

/* Тёмная полоса «Результат» */
.result { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 30px 40px; }
.result h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 0; line-height: 1.2; padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .25); max-width: 320px; }
.result__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; }
.result__items div { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.result__items .i { width: 34px; height: 34px; stroke-width: 1.5; color: #fff; }
.result .btn { height: auto; min-height: 56px; padding: 12px 22px; white-space: normal; text-align: left; line-height: 1.3; max-width: 260px; }

/* Цифры / факты в тёмной полосе */
.stats-band { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); padding: 26px 32px; }
.stats-band > div { display: flex; align-items: center; gap: 16px; padding: 8px 20px; border-left: 1px solid rgba(255, 255, 255, .2); }
.stats-band > div:first-child { border-left: 0; padding-left: 0; }
.stats-band .fact__icon { width: 56px; height: 56px; }
.stats-band b { display: block; font-size: 20px; color: #fff; line-height: 1.2; }
.stats-band span { font-size: 13.5px; color: rgba(255, 255, 255, .8); }

/* Проекты */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); }
.filters button.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.project:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.project__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project__body b { color: var(--navy); font-size: 16px; line-height: 1.35; }
.project__city { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; }
.project__city .i { width: 16px; height: 16px; color: var(--brand); }

/* Контакты */
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }
.select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a889b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 40px; }

/* Навигация по разделу */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.subnav a .i { width: 18px; height: 18px; color: var(--brand); }
.subnav a:hover { border-color: var(--brand); color: var(--brand); }
.subnav a.is-active { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }

@media (max-width: 1100px) {
  .icards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:nth-child(4n)::after { display: none; }
  .cols { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; }
  .result h2 { border-right: 0; padding-right: 0; max-width: none; }
  .result .btn { justify-self: start; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .stats-band > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 1000px) {
  .page-banner .banner__media { width: 100%; opacity: .3; }
  .page-banner .wrap { min-height: 0; }
  .intro, .side-layout { grid-template-columns: 1fr; gap: 24px; }
  .side-nav { position: static; }
  .mvv { grid-template-columns: 1fr; gap: 24px; }
  .mvv > div { border-left: 0; padding: 0; }
  .perk { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .perks-strip__list { grid-template-columns: 1fr 1fr; }
  .perk { padding: 14px 8px 14px 0; gap: 10px; font-size: 13.5px; }
  .perk .i { width: 30px; height: 30px; }
  .icards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step::after { display: none; }
  .vstep { grid-template-columns: 36px 1fr; }
  .vstep > .i { display: none; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; padding: 22px; }
  .stats-band > div { border-left: 0; padding: 0; }
  .result { padding: 26px 22px; }
  .page-body { padding-top: 36px; }
}

/* Уточнения v2 */
.side-layout > *, .cols > *, .intro > * { min-width: 0; }
.steps { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
@media (max-width: 1520px) { .logo__tag { display: none; } }
@media (max-width: 1340px) { .nav__link { padding-left: 7px; padding-right: 7px; font-size: 14px; } .nav__link::after { left: 7px; right: 7px; } }
@media (max-width: 1180px) and (min-width: 1001px) { .header__cta { display: none; } }
.perks-strip__list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.perk > div { min-width: 0; overflow-wrap: anywhere; }
.cols .ph { aspect-ratio: 16 / 9; }
.panel .ticks + .btn, .panel > p + .btn { margin-top: 20px; }
.panel > p:last-child { margin-bottom: 0; }
.form-card .cols { align-items: start; }
.vstep .vstep__n { color: #fff; font-size: 15px; }
.perk > div { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.perk { padding: 20px 12px; gap: 12px; }
.perk .i { width: 32px; height: 32px; }
.perk b { font-size: 14.5px; }
@media (max-width: 1000px) { .side-layout .side-nav { order: 2; } }

/* Фото в баннерах и карточках */
.page-banner .banner__media img { object-position: center; }
.dir__img img { position: absolute; inset: 0; }
.ph img { transition: transform .5s; }
.footer__bottom a { color: #aebdd2; text-decoration: underline; text-underline-offset: 2px; }
/* Источники изображений */
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.credit { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 13.5px; }
.credit img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.credit figcaption { padding: 12px 14px 14px; display: grid; gap: 3px; color: var(--ink-2); }
.credit b { color: var(--navy); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.credit a { overflow-wrap: anywhere; }
