/* Дениз Медикал — стили сайта. Цвета из логотипа, все токены — в :root. */
:root {
  --surface: #ffffff;
  --surface-alt: #f3f7fa;
  --surface-tint: #e7f2f9;
  --ink: #15163a;
  --ink-muted: #556079;
  --line: #dbe3eb;
  --line-strong: #7a859b;
  --navy: #2e2a7e;
  --navy-deep: #16154a;
  --wave: #0a84c6;
  --accent: #0670ab;
  --accent-soft: #e3f0f8;
  --on-accent: #ffffff;
  --success: #1b7a4f;
  --success-soft: #e5f4ec;
  --warning: #9a5a00;
  --warning-soft: #fbf0df;
  --whatsapp: #0f7d43;
  --focus: #0670ab;
  --sk: #eef2f6;
  --font: "Onest", "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 24px;
  --shadow-card: 0 1px 2px rgba(21, 22, 58, .06), 0 8px 24px rgba(21, 22, 58, .06);
  --shadow-pop: 0 16px 48px rgba(21, 22, 58, .16);
  --container: 1240px;
  --hdr: 76px;
}
body.accent-teal { --accent: #0b7a72; --accent-soft: #e2f3f1; --focus: #0b7a72; }
.sec--dark {
  --surface: #14143f; --surface-alt: #1c1c52; --surface-tint: #232366; --ink: #f2f4fa; --ink-muted: #aab1cd;
  --line: #30306f; --navy: #c4c2f4; --wave: #3fa9e6; --accent: #5bbcf0; --accent-soft: #1f3a68; --on-accent: #0d0d2e;
}
body.accent-teal .sec--dark { --accent: #4cc9bd; --accent-soft: #19414a; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 26px; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip:focus { left: 16px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.sec { padding: 96px 0; position: relative; }
.sec--tight { padding: 56px 0 96px; }
.sec--alt { background: var(--surface-alt); }
.sec--dark { background: var(--surface); color: var(--ink); overflow: hidden; }
.sec--clip { overflow: hidden; }
.muted { color: var(--ink-muted); }

/* Типографика */
.h1 { font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -.015em; }
.h2 { font-size: 38px; line-height: 44px; font-weight: 600; letter-spacing: -.01em; }
.h3 { font-size: 24px; line-height: 30px; font-weight: 600; }
.h1 em, .h2 em, .h3 em, .slide__title em, .prose h2 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow b { color: var(--navy); font-weight: 700; }
.eyebrow span { width: 32px; height: 1px; background: currentColor; opacity: .5; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose { font-size: 17px; line-height: 28px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 28px; line-height: 34px; margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 28px; margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 16px 0; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface-tint); color: var(--ink); }
.prose a { text-underline-offset: 3px; }
.prose--intro { max-width: 860px; margin-bottom: 40px; color: var(--ink-muted); }

/* Кнопки, бейджи, чипы */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-md); border: 1px solid transparent; font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, filter .2s; }
.btn svg { flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { color: #fff; filter: brightness(1.1); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; height: 26px; padding: 0 10px; border-radius: var(--r-sm); font-size: 12px; line-height: 16px; font-weight: 600; background: var(--surface-tint); color: var(--ink); text-decoration: none; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--in { background: var(--success-soft); color: var(--success); }
.badge--order { background: var(--warning-soft); color: var(--warning); }
.badge--line { background: transparent; border: 1px solid var(--line); color: var(--ink-muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.chip:hover { background: var(--accent); color: var(--on-accent); }
.chip--on { background: var(--accent); color: var(--on-accent); }
.chip--white { background: #fff; box-shadow: var(--shadow-card); }

/* Изображения: скелетон и blur-up */
.lz { position: relative; display: block; overflow: hidden; background-color: var(--sk); background-size: cover; background-position: center; }
.lz img { width: 100%; height: 100%; }
.js .lz:not(.is-loaded) img { filter: blur(18px); transform: scale(1.08); }
.lz img { transition: filter .5s, transform .5s; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7), rgba(255,255,255,0)); animation: sk 1.4s infinite; pointer-events: none; }
.lz.is-loaded, .no-js .lz { background-image: none !important; background-color: transparent; }
.lz.is-loaded::after, .no-js .sk::after { display: none; }
.no-js .lz img { filter: none; transform: none; }
@keyframes sk { to { transform: translateX(100%); } }
.lz.contain img { object-fit: contain; }
.lz.cover img { object-fit: cover; }
.lz--empty { display: grid; place-items: center; background: var(--surface-alt); }
.lz--empty img { width: 40%; height: auto; opacity: .5; filter: none !important; transform: none !important; }
.lz--empty::after { display: none; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.waves--soft { opacity: .3; }
.waves--corner { inset: -80px -120px auto auto; width: 640px; height: 480px; opacity: .5; }

/* Шапка (закреплена) */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 8px 28px rgba(21,22,58,.08); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.hdr__logo { flex: none; }
.hdr__logo img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--hdr); padding: 0 10px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__link:hover, .nav__link.is-active, .has-mega:hover > .nav__link, .has-drop:hover > .nav__link { color: var(--accent); }
.hdr__tel { flex: none; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hdr__btn { flex: none; }
.burger { display: none; flex: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); place-items: center; cursor: pointer; }
.mega, .drop { position: fixed; left: 50%; top: var(--hdr); transform: translateX(-50%); width: min(1200px, calc(100vw - 32px)); padding-top: 12px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; z-index: 41; }
.drop { width: min(420px, calc(100vw - 32px)); left: auto; transform: none; }
.mega__bridge { position: absolute; left: 0; right: 0; top: -32px; height: 44px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-drop:hover .drop, .has-drop:focus-within .drop { visibility: visible; opacity: 1; }
.mega__in { position: relative; display: flex; flex-wrap: wrap; gap: 28px; padding: 28px 32px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-pop); }
.mega__col { flex: 1 1 200px; min-width: 0; }
.mega__h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); text-decoration: none; }
.mega__h svg { color: var(--accent); flex: none; }
.mega__col li a { display: block; padding: 4px 0; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
.mega__col li a:hover { color: var(--accent); }
.mega__more { color: var(--accent) !important; font-weight: 600; }
.mega__all { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); font-weight: 600; text-decoration: none; }
.drop__in { position: relative; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-pop); }
.drop__in a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-weight: 500; }
.drop__in a:hover { background: var(--accent-soft); color: var(--accent); }
.drop__in svg { color: var(--accent); flex: none; }

/* Мобильное меню */
.mnav { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--navy-deep); color: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
.mnav[hidden] { display: none; }
.mnav.is-open { transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mnav__logo { display: inline-flex; padding: 6px 10px; background: #fff; border-radius: 10px; }
.mnav__logo img { height: 34px; width: auto; }
.mnav__close { width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mnav__nav { display: flex; flex-direction: column; padding: 8px 16px; }
.mnav__link, .mnav__det summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 18px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); cursor: pointer; list-style: none; }
.mnav__det summary::-webkit-details-marker { display: none; }
.mnav__det[open] summary svg { transform: rotate(180deg); }
.mnav__sub { padding: 8px 0 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mnav__gh { margin: 12px 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.mnav__gh a { color: #8f95c4; text-decoration: none; }
.mnav__sub li a { display: block; padding: 6px 0; color: #dfe2f2; text-decoration: none; font-size: 15px; }
.mnav__all { display: inline-block; margin-top: 10px; color: #7cc9f2; font-weight: 600; text-decoration: none; }
.mnav__foot { margin-top: auto; padding: 24px 16px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.mnav__tel { color: #fff; font-size: 20px; font-weight: 600; text-decoration: none; }
.mnav__mail { color: #c9cde4; text-decoration: none; margin-bottom: 8px; }
body.menu-open { overflow: hidden; }

/* Шапка внутренних страниц, крошки */
.phero { padding: 40px 0 48px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.phero__in { display: flex; flex-direction: column; gap: 20px; }
.phero .lead { max-width: 760px; }
.phero--item { padding-bottom: 56px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }

/* Слайдер */
.hero { padding: 32px 0 56px; background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%); outline: none; }
.sl-frame { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); touch-action: pan-y; }
.sl-track { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: stretch; min-height: 540px; }
.slide__txt { flex: 1 1 52%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 56px 48px 56px 56px; }
.slide__txt .eyebrow { margin: 0; }
.slide__title { font-size: 54px; line-height: 60px; font-weight: 600; letter-spacing: -.02em; }
.slide__txt .lead { max-width: 540px; }
.slide__img { flex: 1 1 48%; min-width: 0; position: relative; overflow: hidden; background: var(--surface-tint); }
.slide__img > .lz { position: absolute; inset: 0; }
.slide__plate { position: absolute; inset: 9% 12%; display: grid; place-items: center; background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; }
.slide__plate .lz { position: absolute; inset: 7%; background-color: #fff; }
.sl-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 20px; }
.sl-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.sl-btn:hover { border-color: var(--accent); color: var(--accent); }
.sl-count { min-width: 64px; font-weight: 600; font-size: 15px; color: var(--navy); }
.sl-dots { display: flex; gap: 8px; flex: 1 1 200px; }
.sl-dot { flex: 1 1 0; max-width: 72px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; position: relative; }
.sl-dot::before { content: ""; position: absolute; inset: -12px 0; }
.sl-dot.is-on { background: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 1px solid var(--line); }
.stat__v { font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.stat__l { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.stats--about { margin-top: 64px; }
.notice-wrap { margin-top: -20px; position: relative; }
.notice { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface-tint); font-size: 14px; line-height: 20px; font-weight: 500; }
.notice svg { flex: none; color: var(--accent); }

/* Заголовок секции */
.shead { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.shead__txt { max-width: 760px; }
.shead .lead { margin-top: 16px; }

/* О компании */
.about { display: flex; gap: 64px; align-items: flex-start; }
.about__photo { flex: 0 0 440px; position: relative; padding-bottom: 28px; }
.about__photo > .lz { border-radius: var(--r-lg); }
.about__ph { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--surface-alt); color: var(--line-strong); border: 1px solid var(--line); }
.about__sign { position: absolute; left: 24px; right: 24px; bottom: 0; display: flex; flex-direction: column; padding: 16px 20px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-pop); }
.about__sign b { font-size: 17px; line-height: 24px; }
.about__sign span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.about__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about__lead { font-size: 18px; line-height: 29px; }
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.adv li { display: flex; gap: 12px; align-items: flex-start; }
.adv li span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.about__note { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: var(--r-md); background: var(--surface-tint); font-weight: 500; }
.about__note p { max-width: 560px; }

/* Каталог: группы, карточки */
.gtiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.gtile { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.gtile:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-card); }
.gtile__img .lz { aspect-ratio: 1 / 1; border-radius: 8px; border: 1px solid var(--line); background-color: #fff; }
.gtile__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--surface-tint); color: var(--accent); display: grid; place-items: center; }
.gtile__title { font-size: 19px; line-height: 25px; font-weight: 600; }
.gtile__desc { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.gtile__count { margin-top: auto; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--navy); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feat { margin-top: 48px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--ink); }
.card__img { border-bottom: 1px solid var(--line); background: #fff; }
.card__img .lz { aspect-ratio: 1 / 1; background-color: #fff; }
.card__img .lz img { padding: 10%; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 20px 20px; }
.card__top { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.card__title { font-size: 18px; line-height: 24px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background .2s, color .2s; }
.card:hover .card__arrow { background: var(--accent); color: var(--on-accent); }
.price { font-size: 16px; line-height: 20px; font-weight: 600; }
.price small { font-weight: 400; color: var(--ink-muted); font-size: 14px; }
.price--req { font-weight: 500; font-size: 14px; color: var(--ink-muted); }
.alllist { margin-top: 48px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.alllist__h { font-size: 20px; line-height: 26px; font-weight: 600; margin-bottom: 24px; }
.alllist__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.alllist__g { display: block; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.alllist li a { display: block; padding: 3px 0; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
.alllist li a:hover, .alllist__g:hover { color: var(--accent); }
.cgroup { margin-top: 56px; }
.cgroup:first-child { margin-top: 0; }
.cgroup__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cgroup__t { display: flex; gap: 16px; align-items: center; }
.cgroup__t h2 a { color: inherit; text-decoration: none; }
.cgroup__t h2 a:hover { color: var(--accent); }

/* Для кого */
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 16px; background: var(--surface-alt); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.pcard:hover { border-color: var(--accent); color: var(--ink); }
.pcard__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-tint); color: var(--wave); display: grid; place-items: center; }
.pcard__title { font-size: 19px; line-height: 25px; font-weight: 600; }
.pcard__text { font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.pcard .link { margin-top: auto; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--line); }
.step--on { border-top-color: var(--accent); }
.step__n { font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: -.02em; color: var(--wave); }
.step__t { font-size: 20px; line-height: 26px; font-weight: 600; }
.step__d, .step__note { font-size: 15px; line-height: 23px; color: var(--ink-muted); }

/* Бегущая строка производителей */
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq__track, .mq__dup { display: flex; gap: 20px; width: max-content; }
.mq__track { animation: mq 45s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 10px)); } }
.logos { display: flex; flex-wrap: wrap; gap: 20px; padding: 0 24px; justify-content: center; }
.logo-tile { flex: none; width: 180px; height: 96px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.logo-tile .lz { width: 76%; height: 64%; background-color: #fff; }

/* Лицензии, новости */
.lic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.lic__i { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; font-size: 14px; }
.lic__i .lz { border-radius: var(--r-sm); border: 1px solid var(--line); background-color: #fff; }
.ncard { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.ncard__img .lz { border-radius: var(--r-md); }
.ncard__d { font-size: 13px; color: var(--ink-muted); }
.ncard__t { font-size: 19px; line-height: 25px; font-weight: 600; }
.ncard:hover .ncard__t { color: var(--accent); }
.news-cover { margin-bottom: 32px; }
.news-cover .lz { border-radius: var(--r-lg); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a.is-on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Страница позиции */
.ihero { display: flex; gap: 48px; align-items: center; margin-top: 24px; }
.ihero__txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ihero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.igal { flex: 0 0 540px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.igal__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.igal__main > .lz { position: absolute; inset: 8%; background-color: #fff; }
.igal__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.igal__thumb { aspect-ratio: 1 / 1; padding: 6px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); cursor: pointer; }
.igal__thumb.is-on { border: 2px solid var(--accent); }
.igal__thumb .lz { width: 100%; height: 100%; background-color: #fff; }
.ibody { display: flex; gap: 56px; align-items: flex-start; }
.ibody__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.ibody__side { flex: 0 0 360px; position: sticky; top: calc(var(--hdr) + 24px); display: flex; flex-direction: column; gap: 24px; }
.iblock { display: flex; flex-direction: column; gap: 20px; }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.incl__i { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-md); background: var(--surface-alt); font-size: 15px; line-height: 23px; }
.incl__i span { flex: none; font-size: 22px; line-height: 26px; font-weight: 600; color: var(--wave); }
.specs { max-width: 760px; }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.docs { display: grid; gap: 12px; max-width: 560px; }
.doc { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.doc:hover { border-color: var(--accent); color: var(--ink); }
.doc__i { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.doc b { display: block; font-weight: 600; }
.doc small { color: var(--ink-muted); font-size: 13px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 22px; line-height: 1; font-weight: 400; }
.acc details[open] summary::after { content: "−"; }
.acc__a { padding-bottom: 18px; color: var(--ink-muted); max-width: 720px; }
.acc__a > * + * { margin-top: 10px; }
.order { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.order__price { font-size: 26px; line-height: 32px; font-weight: 600; }
.order__price .price { font-size: 26px; line-height: 32px; }
.order__row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink-muted); }
.order__row b { color: var(--ink); font-weight: 600; text-align: right; }
.order__hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); text-align: center; }
.others { display: flex; flex-direction: column; gap: 10px; }
.others__h { font-weight: 600; font-size: 15px; }
.other { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.other:hover { border-color: var(--accent); color: var(--ink); }
.other__img { flex: none; width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.other__img .lz { width: 100%; height: 100%; background-color: #fff; }
.other b { display: block; font-size: 14px; line-height: 19px; font-weight: 600; }
.other small { font-size: 12px; color: var(--ink-muted); }

/* Производители, команда */
.makers { display: flex; flex-direction: column; gap: 24px; }
.maker { display: flex; gap: 32px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.maker__logo { flex: 0 0 200px; height: 110px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.maker__logo .lz { width: 80%; height: 70%; background-color: #fff; }
.maker__txt { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person .lz { border-radius: var(--r-md); margin-bottom: 8px; }

/* Галерея и лайтбокс */
.masonry { columns: 3 280px; column-gap: 20px; }
.masonry__i { display: block; break-inside: avoid; margin-bottom: 20px; color: var(--ink); text-decoration: none; }
.masonry__i .lz { border-radius: var(--r-md); }
.masonry__i span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.lb { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(13, 13, 46, .92); touch-action: pan-y; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: #fff; padding: 0 64px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; }
.lb__x { top: 16px; right: 16px; }
.lb__p { left: 16px; top: 50%; }
.lb__n { right: 16px; top: 50%; }

/* Контакты и карта */
.contacts__grid { display: flex; gap: 48px; align-items: stretch; }
.contacts__info { flex: 0 0 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contacts__info .lead { font-size: 17px; line-height: 27px; margin-top: 12px; }
.crows { display: flex; flex-direction: column; gap: 18px; }
.crow { display: flex; gap: 14px; align-items: flex-start; }
.crow__i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-tint); color: var(--accent); display: grid; place-items: center; }
.crow__l { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.crow__v { font-size: 16px; line-height: 24px; }
.crow__tel { color: var(--ink); font-weight: 600; text-decoration: none; }
.contacts__soc { display: flex; flex-wrap: wrap; gap: 8px; }
.map { flex: 1 1 auto; min-width: 0; min-height: 420px; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #e9eef3; }
.map__frame { position: absolute; inset: 0; }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__links { position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.map__stub { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--surface-tint); color: var(--ink-muted); text-align: center; padding: 24px; }
.map__stub img { position: relative; width: 160px; height: auto; }
.map__stub p { position: relative; }

/* Подвал */
.ftr { background: var(--navy-deep); color: #c9cde4; padding: 72px 0 32px; }
.ftr a { color: #c9cde4; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__grid { display: flex; flex-wrap: wrap; gap: 40px 48px; justify-content: space-between; }
.ftr__about { max-width: 320px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 22px; }
.ftr__logo { display: inline-flex; align-self: flex-start; padding: 10px 16px; background: #fff; border-radius: var(--r-md); }
.ftr__logo img { height: 46px; width: auto; }
.ftr__soc { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__soc a { text-decoration: underline; text-underline-offset: 3px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.ftr__col ul { display: flex; flex-direction: column; gap: 10px; }
.ftr__h { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8f95c4; }
.ftr__tel { color: #fff !important; font-weight: 600; }
.ftr__notice { margin-top: 48px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); font-size: 13px; line-height: 20px; }
.ftr__bottom { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; line-height: 20px; color: #8f95c4; }

/* Плавающие кнопки */
.float { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 30; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.float__btn { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--shadow-pop); text-decoration: none; }
.float__btn--wa { width: 60px; height: 60px; background: var(--whatsapp); color: #fff; }
.float__btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2s infinite; }
.float__btn--wa:hover { color: #fff; }
.float__tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 6px 10px; border-radius: var(--r-sm); background: var(--navy-deep); color: #fff; font-size: 13px; line-height: 18px; opacity: 0; visibility: hidden; transition: opacity .2s; pointer-events: none; }
.float__btn:hover .float__tip, .float__btn:focus-visible .float__tip { opacity: 1; visibility: visible; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* 404 */
.e404 { padding: 96px 0 120px; background: linear-gradient(180deg, var(--surface-alt), var(--surface)); }
.e404__in { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.e404__code { font-size: 160px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--surface-tint); -webkit-text-stroke: 2px var(--wave); }

/* Появление блоков */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.js .rv.in { opacity: 1; transform: none; }

/* Адаптив: 1320 / 1240 / 980 / 640 / 400 / 350 */
@media (max-width: 1320px) {
  .nav__link { padding: 0 8px; font-size: 14px; }
  .hdr__in { gap: 20px; }
  .hdr__tel { display: none; }
}
@media (max-width: 1240px) {
  .nav, .hdr__btn, .hdr__tel { display: none; }
  .burger { display: grid; }
  .gtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid4, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .alllist__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slide__title { font-size: 46px; line-height: 52px; }
  .igal { flex-basis: 460px; }
  .lic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --hdr: 64px; }
  .sec { padding: 64px 0; }
  .sec--tight { padding: 40px 0 64px; }
  .h1 { font-size: 38px; line-height: 44px; }
  .h2 { font-size: 32px; line-height: 38px; }
  .hdr__logo img { height: 40px; }
  .grid3, .grid4, .steps, .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alllist__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide { flex-direction: column; min-height: 0; }
  .slide__img { order: -1; flex: 0 0 320px; }
  .slide__txt { padding: 28px 24px 32px; }
  .slide__title { font-size: 36px; line-height: 42px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .ihero, .ibody, .contacts__grid { flex-direction: column; }
  .about__photo, .igal, .ibody__side, .contacts__info { flex: 1 1 auto; width: 100%; }
  .ihero__txt, .about__txt, .ibody__main, .map { flex: 0 0 auto; width: 100%; }
  .about__photo { max-width: 480px; }
  .ibody__side { position: static; }
  .adv, .incl { grid-template-columns: minmax(0, 1fr); }
  .lic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map { min-height: 340px; }
  .maker { flex-direction: column; gap: 16px; }
  .maker__logo { flex-basis: auto; width: 200px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .h1 { font-size: 32px; line-height: 38px; }
  .h2 { font-size: 28px; line-height: 34px; }
  .lead { font-size: 17px; line-height: 27px; }
  .hero { padding-top: 16px; }
  .slide__img { flex-basis: 240px; }
  .slide__title { font-size: 30px; line-height: 36px; }
  .btns .btn { width: 100%; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .grid3.feat, .grid4, .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid4--light, .steps { grid-template-columns: minmax(0, 1fr); }
  .card__body { padding: 12px 14px 14px; }
  .card__title { font-size: 15px; line-height: 20px; }
  .card__top { font-size: 12px; }
  .price { font-size: 14px; }
  .card__arrow { width: 32px; height: 32px; }
  .gtile { padding: 14px; }
  .gtile__title { font-size: 15px; line-height: 20px; }
  .gtile__desc { display: none; }
  .alllist { padding: 20px; }
  .alllist__cols { grid-template-columns: minmax(0, 1fr); }
  .stat__v { font-size: 32px; line-height: 36px; }
  .lic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igal__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .float { right: 12px; gap: 8px; }
  .float__btn { width: 44px; height: 44px; }
  .float__btn--wa { width: 52px; height: 52px; }
  .float__tip { display: none; }
  .e404__code { font-size: 110px; }
  .specs div { flex-direction: column; gap: 4px; }
  .specs dd { text-align: left; }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stat { flex-direction: row; align-items: baseline; gap: 12px; }
  .grid4 { gap: 10px; }
}
@media (max-width: 350px) {
  .grid3.feat, .grid4, .gtiles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
