:root {
  --navy: #0c2f4c;
  --navy-2: #0a2439;
  --navy-3: #143f63;
  --sky: #2f9be8;
  --sky-soft: #e6f1fa;
  --steel: #b8c6d1;
  --cta: #ef7d22;
  --cta-2: #d96a12;
  --ink: #14222e;
  --ink-2: #4a5b69;
  --line: #dde4ea;
  --bg: #f6f8fa;
  --card: #fff;
  --r: 14px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(12, 47, 76, .06), 0 8px 24px rgba(12, 47, 76, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 136px; }
@media (min-width: 960px) { html { scroll-padding-top: 190px; } }
html { -webkit-tap-highlight-color: transparent; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.5em; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.97); }
a, button { touch-action: manipulation; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(239, 125, 34, .35); }
.btn-cta:hover { background: var(--cta-2); color: #fff; }
.btn-ghost { border-color: var(--navy-3); color: var(--navy-3); background: transparent; }
.btn-ghost:hover { background: var(--navy-3); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--navy); }

/* ---------- шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.hdr { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: 40px; }
.brand-t { display: grid; line-height: 1.15; min-width: 0; }
.brand-t b { font-size: 1.12rem; letter-spacing: .14em; font-weight: 800; white-space: nowrap; }
.brand-t i, .ftr-brand i { font-style: normal; color: #6fc3f7; }
.brand-t small { font-size: .68rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-contacts { display: none; gap: 22px; font-size: .92rem; }
.hdr-contacts a, .nav-contacts a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hdr-contacts a:hover { color: #6fc3f7; }
.hdr-contacts svg { color: var(--cta); }
.burger { width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr-call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.hdr-call svg { width: 20px; height: 20px; color: #ffb27a; }
.site-header { transition: transform .28s ease; }
@media (max-width: 359px) { .hdr-call { display: none; } .brand-t b { font-size: 1rem; letter-spacing: .1em; } }
@media (max-width: 959px) {
  body.hdr-up:not(.menu-open) .site-header { transform: translateY(-100%); }
  .nav { position: fixed; inset: 64px 0 0; z-index: 49; background: linear-gradient(180deg, var(--navy-2), #071a2a); overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(24px + env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility 0s .22s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s; }
  .nav-in { padding-top: 10px; }
  .menu li { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
  .nav.open .menu li { opacity: 1; transform: none; }
  .nav.open .menu > li:nth-child(2) { transition-delay: .03s; } .nav.open .menu > li:nth-child(3) { transition-delay: .06s; }
  .nav.open .menu > li:nth-child(4) { transition-delay: .09s; } .nav.open .menu > li:nth-child(5) { transition-delay: .12s; }
  .menu a { display: flex; align-items: center; gap: 14px; min-height: 56px; color: #fff; text-decoration: none; font-size: 1.12rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .menu a:active { background: rgba(255, 255, 255, .06); }
  .mi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #6fc3f7; flex: none; }
  .mi svg { width: 20px; height: 20px; }
  .sub a { padding-left: 22px; font-size: 1rem; font-weight: 500; color: #d5e4f0; min-height: 50px; }
  .sub .mi { width: 32px; height: 32px; border-radius: 10px; }
  .menu a[aria-current] .mi { background: var(--sky); color: #fff; }
  .nav-cta { padding: 22px 0 6px; } .nav-cta .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
  .nav-contacts { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 14px 0 0; }
  .nav-contacts a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
  .nav-contacts svg { width: 22px; height: 22px; color: var(--cta); }
  .nav-contacts span { display: grid; line-height: 1.25; } .nav-contacts small { color: #9fb6c9; font-size: .8rem; }
}
.menu a[aria-current], .menu a.active { color: #6fc3f7; }

@media (min-width: 960px) {
  .hdr { min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .hdr-contacts { display: flex; }
  .burger, .nav-contacts, .nav-cta, .hdr-call, .mi { display: none; }
  .nav { display: block; overflow: visible; background: var(--navy-2); }
  .menu { display: flex; gap: 4px; }
  .menu > li { position: relative; }
  .menu > li > a { display: block; padding: 13px 16px; border: 0; font-size: .95rem; font-weight: 500; color: #fff; text-decoration: none; }
  .menu > li > a:hover { color: #6fc3f7; }
  .sub { position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); padding: 6px 0;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: block; color: var(--ink); padding: 10px 18px; border: 0; text-decoration: none; }
  .sub a:hover, .sub a[aria-current] { background: var(--sky-soft); color: var(--navy); }
}

/* ---------- крошки и заголовок страницы */
.crumbs { font-size: .84rem; color: var(--ink-2); padding-block: 14px 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--sky); }
.crumbs i { margin: 0 8px; opacity: .5; font-style: normal; }
.page-head { padding-block: 18px 8px; }
.page-head h1 { margin-bottom: .4em; }
.chips-bar { position: sticky; top: 64px; z-index: 30; background: rgba(246, 248, 250, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: top .28s ease, box-shadow .2s; }
body.hdr-up .chips-bar { top: 0; }
.chips-bar.stuck { box-shadow: 0 8px 18px -12px rgba(12, 47, 76, .45); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-padding-inline: var(--gut); }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; transition: .15s; }
.chips a:hover { border-color: var(--sky); color: var(--sky); }
.chips a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips li:last-child { padding-right: var(--gut); }
@media (min-width: 960px) { .chips-bar { top: 118px; } }


/* ---------- карточки каталога */
.cat-sec { padding-block: 22px; }
.cat-sec > h2 { padding-bottom: .4em; border-bottom: 2px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(12, 47, 76, .08); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card-img { display: block; aspect-ratio: 4 / 3; background: #eef1f4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
a.card:hover .card-img img { transform: scale(1.04); }
.card-t { display: grid; gap: 4px; padding: 10px 12px 14px; }
.card-t b { font-size: .92rem; line-height: 1.3; font-weight: 650; color: var(--navy); }
.card-t small { font-size: .78rem; line-height: 1.35; color: var(--ink-2); }
@media (min-width: 700px) { .card-t { padding: 14px 16px 18px; } .card-t b { font-size: 1rem; } .card-t small { font-size: .85rem; } }
.more { text-align: center; margin: 26px 0 0; }
@media (max-width: 699px) {
  .cards-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 14px;
    scroll-padding-inline: var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cards-rail::-webkit-scrollbar { display: none; }
  .cards-rail > li { flex: 0 0 64%; scroll-snap-align: start; }
  .card:active { transform: scale(.98); }
  .cat-sec > h2 { border: 0; padding-bottom: 0; display: flex; align-items: center; gap: 10px; }
  .cat-sec > h2::before { content: ""; width: 4px; height: 1.1em; border-radius: 4px; background: linear-gradient(var(--sky), var(--cta)); flex: none; }
}

/* ---------- фото вписано целиком; поля рамки — размытая копия того же снимка */
.fit { position: relative; overflow: hidden; isolation: isolate; }
.fit::before { content: ""; position: absolute; inset: -12%; z-index: -1; background: var(--ph) center / cover no-repeat; filter: blur(22px) saturate(1.05); }

/* ---------- плитки разделов */
.tiles { display: grid; gap: 16px; padding-block: 8px 30px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--navy); box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.tile:hover img { transform: scale(1.05); }
.tile span { position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(8, 28, 46, .88)); display: grid; gap: 2px; }
.tile b { font-size: 1.2rem; }
.tile small { opacity: .85; font-size: .88rem; line-height: 1.35; }
.tile:hover { color: #fff; }

/* ---------- карточка модели */
.product { display: grid; gap: 18px; padding-block: 12px 28px; }
.product-head h1, .product-head h2 { margin: 0; }
.product-info:empty { display: none; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px 40px; align-items: start; padding-block: 18px 44px; }
  .product-head { grid-column: 1 / -1; }
  .product:has(.product-info:empty) { grid-template-columns: minmax(0, 720px); }
  .product-info { position: sticky; top: 140px; }
}
.specs { margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs > div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.specs > div:last-child { border: 0; }
.specs dt { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--sky); margin-bottom: 3px; }
.specs dd { margin: 0; font-size: .96rem; }
.product-info .btn { width: 100%; margin-top: 6px; }
.product-info p { font-size: .95rem; }

/* ---------- галерея */
.gallery { min-width: 0; }
.g-stage { position: relative; border-radius: var(--r); overflow: hidden; background: #e9edf1; margin-inline: calc(var(--gut) * -1); border-radius: 0; }
@media (min-width: 600px) { .g-stage { margin-inline: 0; border-radius: var(--r); } }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 3 / 2; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.g-slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-slide img { width: 100%; height: 100%; object-fit: contain; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); cursor: pointer;
  display: none; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.g-nav:hover { background: #fff; color: var(--sky); }
.g-prev { left: 12px; } .g-next { right: 12px; }
@media (hover: hover) and (min-width: 600px) { .g-nav { display: grid; } }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(8, 28, 46, .72); color: #fff; font-size: .8rem; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.g-thumbs li { flex: none; }
.g-thumbs button { display: block; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .65; transition: .15s; }
.g-thumbs button:hover, .g-thumbs button.on { opacity: 1; border-color: var(--sky); }
.g-thumbs img { width: 76px; height: 57px; object-fit: contain; }
@media (min-width: 900px) { .g-thumbs { flex-wrap: wrap; overflow: visible; } .g-thumbs img { width: 88px; height: 66px; } }

/* ---------- лайтбокс */
.lb { position: fixed; inset: 0; z-index: 200; background: #050e16; display: none; touch-action: pan-y pinch-zoom; }
.lb.open { display: block; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track > div { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; padding: 56px 0 44px; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb-x { top: max(10px, env(safe-area-inset-top)); right: 12px; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; display: none !important; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
@media (hover: hover) and (min-width: 700px) { .lb-prev, .lb-next { display: grid !important; } }
.lb-cap { position: absolute; left: 0; right: 0; bottom: max(10px, env(safe-area-inset-bottom)); text-align: center; color: #cfd8df; font-size: .85rem; padding-inline: 16px; }

/* ---------- текстовые страницы */
.prose { padding-block: 16px 32px; }
.prose-body { max-width: 74ch; }
.prose-body p { margin-bottom: 1.05em; }
.prose-body h2, .prose-body h3 { margin-top: 1.4em; }
.prose .li { padding-left: 1.2em; }
.fig { margin: 18px 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.fig img { width: 100%; }
@media (min-width: 900px) {
  .prose-media .prose-body { max-width: none; display: flow-root; }
  .prose-media .fig { float: right; width: 44%; margin: 4px 0 18px 32px; }
}
.nf { text-align: center; padding-block: 72px; }
.nf .prose-body { margin-inline: auto; }

/* ---------- главная */
.hero { position: relative; color: #fff; background: var(--navy-2); isolation: isolate; overflow: hidden; }
/* десктоп и планшет — как в первой версии: фото во весь блок фоном, текст поверх; телефон (<760px) — отдельная схема ниже */
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 46, .55) 0%, rgba(8, 28, 46, .35) 35%, rgba(8, 28, 46, .88) 100%); }
.hero-in { padding-block: clamp(150px, 34vw, 300px) clamp(24px, 5vw, 56px); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 3.6vw, 3.6rem); max-width: 16ch; margin-bottom: .3em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-in > p { font-size: clamp(.95rem, .8rem + .6vw, 1.25rem); letter-spacing: .08em; text-transform: uppercase; color: #cfe6f7; margin-bottom: 1.4em; }
.hero-btns { display: grid; gap: 10px; }
@media (min-width: 520px) { .hero-btns { display: flex; flex-wrap: wrap; } }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .74rem; color: #cfe0ee; line-height: 1.3; }
.hero-facts b { display: block; color: #fff; font-size: .9rem; margin-bottom: 2px; }
@media (min-width: 700px) { .hero-facts { font-size: .88rem; gap: 32px; max-width: 760px; } .hero-facts b { font-size: 1.12rem; } }

.strip { background: var(--navy-2); padding: 10px 0; position: relative; }
.strip .g-nav { z-index: 2; }
.strip .g-prev { left: 16px; } .strip .g-next { right: 16px; }
.strip.at-start .g-prev, .strip.at-end .g-next { opacity: 0; pointer-events: none; }
.strip .g-nav { transition: opacity .2s, background .15s, color .15s; }
.strip ul { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--gut); scrollbar-width: none; }
.strip ul::-webkit-scrollbar { display: none; }
/* одинаковые плитки 3:2, как было изначально; фото вписывается целиком, поля — в цвет фона снимка */
.strip li { flex: none; width: min(70vw, 320px); aspect-ratio: 3 / 2; scroll-snap-align: center; border-radius: 10px; overflow: hidden; background: #e9edf1; }
.strip img { width: 100%; height: 100%; object-fit: contain; }

.home-about { padding-block: clamp(36px, 6vw, 72px); text-align: center; }
.home-about p { max-width: 70ch; margin-inline: auto; color: var(--ink-2); }
.home-about .btn { margin-top: 10px; }
.home-vip { background: linear-gradient(180deg, #e9f0f6, #dbe6ef); padding-block: clamp(32px, 6vw, 72px); }
.vip-grid { display: grid; gap: 22px; align-items: center; }
.vip-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.vip-grid img, .vip-grid video { width: 100%; }
.vip-grid h2 { font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); }
.vip-grid p { color: var(--ink-2); }
@media (min-width: 900px) { .vip-grid { grid-template-columns: 1fr 1fr; gap: 48px 56px; } }
@media (max-width: 899px) { .vip-grid > :nth-child(3) { order: 4; } .vip-grid > :nth-child(4) { order: 3; } }
.home-duo { display: grid; gap: 16px; padding-block: clamp(28px, 5vw, 56px) 8px; }
@media (min-width: 760px) { .home-duo { grid-template-columns: 1fr 1fr; gap: 24px; } }
.home-duo .tile { aspect-ratio: 4 / 3; }
@media (min-width: 760px) { .home-duo .tile { aspect-ratio: 16 / 10; } }   /* на десктопе — как в первой версии */

.steps { display: grid; gap: 14px; padding-block: 20px clamp(36px, 6vw, 64px); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.steps a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink); transition: .18s; }
.steps a:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.steps i { font-style: normal; font-weight: 800; font-size: 1.9rem; color: var(--steel); line-height: 1; }
.steps h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.steps p { color: var(--ink-2); font-size: .94rem; }
.steps span { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 600; font-size: .92rem; }

/* телефоны: фото героя целиком сверху, текст под ним (а не поверх) */
@media (max-width: 759px) {
  .hero-photo { position: relative; inset: auto; height: auto; width: 100%; z-index: 0; }
  .hero::after { display: none; }
  .hero-bg { object-fit: contain; object-position: center; }
  .hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(180deg, rgba(10, 36, 57, 0), var(--navy-2)); }
  .hero-bg { display: block; height: auto; aspect-ratio: 5400 / 3900; }
  .hero-in { position: relative; padding-block: 6px 22px; }
  .hero h1 { text-shadow: none; }
}

/* ---------- статья «Подробнее о модели» на карточке */
.article { padding-block: 8px 28px; }
.article .prose-body { max-width: 78ch; }
.article h2 { font-size: clamp(1.15rem, 1rem + .9vw, 1.5rem); margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.dims { width: 100%; border-collapse: collapse; margin: 12px 0 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .93rem; }
.dims th, .dims td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.dims tr:last-child th, .dims tr:last-child td { border-bottom: 0; }
.dims th { width: 34%; background: #f0f4f7; color: var(--navy); font-weight: 650; }
@media (max-width: 599px) { .dims th, .dims td { display: block; width: auto; } .dims th { border-bottom: 0; padding-bottom: 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sky); } }

/* ---------- FAQ и SEO-текст */
.faq { padding-block: 8px clamp(36px, 6vw, 64px); max-width: calc(860px + var(--gut) * 2); }
.faq h2 { text-align: center; margin-bottom: 1em; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 650; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--sky); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); }
.seo-text { padding-block: 8px 8px; }
.seo-text h2 { font-size: 1.25rem; }
.seo-text p { color: var(--ink-2); font-size: .95rem; }

/* ---------- CTA и контакты */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding-block: clamp(36px, 6vw, 64px); margin-top: 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 60ch; margin: 0 auto 1.4em; color: #cfe0ee; }
.cta-band .wrap { display: grid; justify-items: center; }
.cta-band .btn { min-width: min(100%, 280px); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; margin-top: 10px; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--navy); }
.contacts { background: var(--navy); color: #fff; text-align: center; padding-block: clamp(36px, 6vw, 72px); }
.contacts h2 { color: #fff; }
.contacts .lead { color: #cfe0ee; margin: 0 auto 1.6em; }
.contact-cards { display: grid; gap: 12px; margin: 22px 0 26px; }
@media (min-width: 800px) { .contact-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.contact-cards a { display: grid; justify-items: center; gap: 4px; height: 100%; padding: 22px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: .15s; overflow-wrap: anywhere; }
.contact-cards a:hover { background: rgba(255, 255, 255, .14); }
.contact-cards svg { width: 28px; height: 28px; color: var(--cta); margin-bottom: 6px; }
.contact-cards small { color: #a9c0d3; }
.page-head + .contacts { margin-top: 12px; }

/* ---------- подвал */
.site-footer { background: var(--navy-2); color: #b9cbda; font-size: .93rem; padding-top: 36px; }
.ftr { display: grid; gap: 26px; }
@media (min-width: 800px) { .ftr { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; } }
.ftr-brand { color: #fff; font-size: 1.15rem; letter-spacing: .14em; display: block; margin-bottom: 8px; }
.site-footer a { color: #dbe7f1; text-decoration: none; }
.site-footer a:hover { color: #6fc3f7; }
.ftr-links { columns: 2; column-gap: 24px; }
.ftr-links li, .ftr-contacts li { margin-bottom: 10px; break-inside: avoid; }
.ftr-contacts a, .ftr-contacts span { display: inline-flex; gap: 10px; align-items: flex-start; }
.ftr-contacts svg { color: var(--cta); margin-top: 2px; }
.copy { margin-top: 28px; padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; opacity: .75; }

/* ---------- нижняя панель вкладок (телефоны) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid rgba(12, 47, 76, .1); box-shadow: 0 -8px 24px -16px rgba(12, 47, 76, .4); }
.tab { display: grid; justify-items: center; gap: 2px; padding: 5px 2px 3px; border: 0; background: none; color: #6b7c8a; text-decoration: none; font: 600 .66rem/1.2 var(--font); cursor: pointer; border-radius: 12px; transition: color .15s, transform .15s; }
.tab svg { width: 24px; height: 24px; stroke-width: 1.7; }
.tab:active { transform: scale(.92); }
.tab.on { color: var(--navy); } .tab.on svg { color: var(--sky); stroke-width: 2.1; }
.tab-cta { color: var(--cta-2); }
.tab-cta i { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: linear-gradient(145deg, #ff9a3d, var(--cta-2)); color: #fff;
  box-shadow: 0 8px 18px rgba(239, 125, 34, .45), 0 0 0 5px rgba(255, 255, 255, .95); }
.tab-cta i svg { width: 26px; height: 26px; stroke-width: 2.4; }
body.menu-open .tabbar, body:has(dialog[open]) .tabbar, body:has(.lb.open) .tabbar { transform: translateY(120%); }
.tabbar { transition: transform .25s ease; }
@media (max-width: 899px) { .copy { padding-bottom: calc(16px + 74px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .tabbar { display: none; } }
@media (display-mode: standalone) { .site-header { padding-top: env(safe-area-inset-top); } }

/* ---------- форма заявки */
.order { border: 0; padding: 0; border-radius: 20px; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 24px 80px rgba(0, 0, 0, .4); color: var(--ink); }
.order::backdrop { background: rgba(5, 14, 22, .7); backdrop-filter: blur(3px); }
.order-box { position: relative; display: grid; gap: 12px; padding: 26px 22px 22px; }
.order-box h2 { margin: 0; padding-right: 40px; }
.order-lead { margin: 0; color: var(--ink-2); font-size: .94rem; }
.order-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.order label { display: grid; gap: 5px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.order input, .order textarea { font: 16px/1.4 var(--font); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; resize: vertical; }
.order input:focus, .order textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 155, 232, .2); }
.order .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.order-status { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #9b1c1c; font-size: .9rem; }
.order-status a { color: inherit; font-weight: 600; }
.order-done { display: grid; gap: 12px; text-align: center; padding: 12px 0 4px; }
.order-done p { color: var(--ink-2); margin: 0; }
.order .btn:disabled { opacity: .6; cursor: wait; }
.order-alt { margin: 0; text-align: center; font-size: .86rem; color: var(--ink-2); }

.sheet-grip { display: none; }
@media (max-width: 599px) {
  .order { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; }
  .order[open] { animation: sheet-up .32s cubic-bezier(.2, .9, .3, 1); }
  .order-box { padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); }
  .sheet-grip { display: block; width: 40px; height: 5px; border-radius: 5px; background: #d3dbe2; margin: 0 auto 6px; }
  .order-x { top: 14px; }
  .order .btn { min-height: 54px; font-size: 1.05rem; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
.order[open]::backdrop { animation: fade-in .25s; }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- мобильная полировка */
@media (max-width: 699px) {
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); letter-spacing: -.02em; }
  .hero-btns .btn { min-height: 54px; font-size: 1.05rem; }
  .hero-facts { background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 12px 10px; gap: 6px; text-align: center; }
  .hero-facts li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
  .strip li { width: 78vw; border-radius: 14px; }
  .home-about { text-align: left; } .home-about h2 { text-align: left; } .home-about p { margin-inline: 0; }
  .tile { border-radius: 18px; } .tile b { font-size: 1.3rem; }
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps a { flex: 0 0 80%; scroll-snap-align: start; }
  .specs { border-radius: 18px; } .specs > div { padding: 14px 16px; }
  .g-thumbs { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .g-thumbs::-webkit-scrollbar { display: none; }
  .g-thumbs img { width: 68px; height: 51px; }
  .g-count { font-size: .78rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .contact-cards a { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 14px; padding: 16px; }
  .contact-cards svg { grid-row: span 2; margin: 0; align-self: center; }
  .faq summary { min-height: 56px; display: flex; align-items: center; }
  .cta-band .btn, .contacts .btn { width: 100%; min-height: 54px; }
  .crumbs { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
