/* ==========================================================================
   RST — rastech.ru · дизайн-система
   ========================================================================== */

:root {
  --navy-900: #061826;
  --navy-800: #0a2436;
  --navy-700: #10344b;
  --navy-600: #17455f;
  --steel-500: #47677d;
  --muted: #5c7486;
  --muted-2: #7d93a3;
  --aqua-700: #0b8694;
  --aqua-600: #0e97a6;
  --aqua-500: #17b4c4;
  --aqua-100: #e4f7f9;
  --sand: #e3b04b;
  --paper: #f4f8fa;
  --paper-2: #eaf2f6;
  --line: #dde8ee;
  --line-2: #c9d8e0;
  --white: #ffffff;
  --ok: #1f9d6b;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 24, 38, .06), 0 6px 18px rgba(6, 24, 38, .05);
  --shadow-md: 0 18px 50px rgba(6, 24, 38, .12);
  --shadow-lg: 0 30px 80px rgba(6, 24, 38, .22);
  --container: 1220px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--navy-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong, b { font-weight: 600; color: var(--navy-900); }
::selection { background: var(--aqua-500); color: #fff; }
:focus-visible { outline: 3px solid rgba(23, 180, 196, .55); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 900px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #cfe0e8; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section--navy .lead, .section--navy .muted { color: #a9c2cf; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--aqua-500); border-radius: 2px; }
.section--navy .eyebrow { color: var(--aqua-500); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; } .mt-4 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--aqua-500); color: #05222b; box-shadow: 0 10px 26px rgba(23, 180, 196, .32); }
.btn--primary:hover { background: #22c6d6; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23, 180, 196, .38); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--navy-900); background: transparent; }
.btn--ghost:hover { border-color: var(--navy-800); background: rgba(10, 36, 54, .04); }
.btn--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(6, 24, 38, .06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo img { height: 38px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text b { font-family: var(--font-head); font-size: 18px; letter-spacing: -.01em; }
.logo__text span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 13px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--navy-800); white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--aqua-700); background: var(--aqua-100); }
.nav a.is-active { color: var(--aqua-700); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; background: var(--aqua-500); border-radius: 2px;
}
.header__phone { display: flex; flex-direction: column; line-height: 1.2; margin-left: 8px; }
.header__phone a { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy-900); }
.header__phone span { font-size: 11.5px; color: var(--muted); }
.header__cta { margin-left: 6px; }
.burger {
  display: none; width: 46px; height: 46px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  align-items: center; justify-content: center;
}
.burger span { position: relative; display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, top .3s; }
.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); }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 28px 20px 40px; overflow-y: auto;
}
.nav-open .mobile-nav { display: block; }
.mobile-nav a { display: block; padding: 15px 4px; font-family: var(--font-head); font-size: 19px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-nav a.is-active { color: var(--aqua-700); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
.mobile-nav__phone { display: block; margin-top: 22px; font-family: var(--font-head); font-size: 22px; font-weight: 800; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 680px; display: flex; align-items: center; padding: calc(var(--header-h) + 56px) 0 72px; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero--compact { min-height: 540px; padding-bottom: 56px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 38, .95) 0%, rgba(6, 24, 38, .82) 38%, rgba(6, 24, 38, .45) 72%, rgba(6, 24, 38, .35) 100%),
    linear-gradient(0deg, rgba(6, 24, 38, .85) 0%, rgba(6, 24, 38, 0) 45%);
}
.hero__inner { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.04; margin-bottom: 22px; }
.hero .lead { color: #c3d6e0; max-width: 600px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero__eyebrow { color: var(--aqua-500); }
.hero__actions { margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__trust div { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #b7cdd8; }
.hero__trust svg { color: var(--aqua-500); flex: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%); color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 26px; background: linear-gradient(rgba(255,255,255,.6), transparent); }

/* split hero для продуктовых страниц */
.page-hero { position: relative; padding: calc(var(--header-h) + 44px) 0 0; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(23, 180, 196, .22), transparent 62%),
    radial-gradient(700px 420px at 8% 100%, rgba(23, 180, 196, .10), transparent 60%),
    linear-gradient(180deg, #08202f 0%, #061826 100%);
}
.page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.8vw, 3.4rem); margin-bottom: 18px; }
.page-hero .lead { color: #b9cfda; max-width: 560px; }
.page-hero .eyebrow { color: var(--aqua-500); }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero__media--render { display: flex; align-items: center; justify-content: center; min-height: 380px; }
.page-hero__media--render::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(23, 180, 196, .35), rgba(23, 180, 196, 0) 68%); }
.page-hero__media--render img { position: relative; width: 92%; max-width: 520px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.page-hero__badge {
  position: absolute; left: -18px; bottom: 22px; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--navy-900);
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: 13px; line-height: 1.35; max-width: 250px;
}
.page-hero__badge b { display: block; font-family: var(--font-head); font-size: 15px; }
.page-hero__badge svg { color: var(--aqua-600); flex: none; }
.page-hero__bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 34px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.page-hero__bar div { display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; color: #a9c2cf; }
.page-hero__bar b { font-family: var(--font-head); font-size: 16px; color: #fff; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding: 18px 0 0; font-size: 13px; color: var(--muted-2); background: transparent; }
.crumbs a:hover { color: var(--aqua-700); }
.crumbs span { margin: 0 7px; opacity: .6; }
.crumbs--on-dark { background: transparent; position: relative; z-index: 3; color: #8fa9b7; padding-top: calc(var(--header-h) + 18px); }
.crumbs--on-dark a:hover { color: #fff; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--aqua-100); color: var(--aqua-700); margin-bottom: 22px; flex: none;
}
.card__icon svg { width: 26px; height: 26px; }
.card--link { color: inherit; }
.card--link .card__arrow { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--aqua-700); }
.card--link:hover .card__arrow svg { transform: translateX(4px); }
.card__arrow svg { transition: transform .3s var(--ease); }
.card__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--line-2); letter-spacing: .08em; }

/* карточки-направления на главной */
.direction { overflow: hidden; padding: 0; }
.direction__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.direction__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.direction:hover .direction__media img { transform: scale(1.05); }
.direction__media--render { display: grid; place-items: center; background: linear-gradient(160deg, #eef7f9, #dfeef3); }
.direction__media--render img { width: 74%; height: auto; object-fit: contain; }
.direction__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.direction__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-700); margin-bottom: 10px; }
.direction h3 { font-size: 21px; margin-bottom: 8px; }
.direction p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }
.direction .card__arrow { margin-top: auto; padding-top: 20px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy-900); line-height: 1; margin-bottom: 10px; }
.stat b em { font-style: normal; color: var(--aqua-600); }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
.section--navy .stats { border-color: rgba(255,255,255,.14); }
.section--navy .stat { border-color: rgba(255,255,255,.14); }
.section--navy .stat b { color: #fff; }
.section--navy .stat span { color: #9fb9c6; }

/* ---------- features list ---------- */
.feature { display: flex; gap: 18px; }
.feature__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--aqua-100); color: var(--aqua-700); }
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17.5px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }
.feature--plain .feature__icon { background: transparent; color: var(--aqua-600); width: 30px; height: 30px; }
.feature--plain h3 { font-size: 16.5px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__media--plain img { box-shadow: none; }
.split__media-caption { margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.split h2 { margin-bottom: 18px; }
.split .lead { margin-bottom: 26px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15.5px; color: var(--navy-700); }
.checklist svg { flex: none; margin-top: 3px; color: var(--aqua-600); }

/* ---------- product cards ---------- */
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(165deg, #f2f9fb 0%, #e2eff4 100%); overflow: hidden; }
.product__media img { width: 82%; height: 82%; object-fit: contain; transition: transform .6s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__media--photo { background: var(--paper-2); }
.product__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 20px; margin-bottom: 4px; }
.product__sub { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-700); font-weight: 700; margin-bottom: 12px; }
.product__body p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.product__specs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 7px; }
.product__specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; margin: 0; padding-bottom: 7px; border-bottom: 1px dashed var(--line); }
.product__specs li:last-child { border-bottom: 0; padding-bottom: 0; }
.product__specs span { color: var(--muted); }
.product__specs b { text-align: right; font-size: 13.5px; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.product__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--muted); }

/* ---------- spec table ---------- */
.specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.specs__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs__row:last-child { border-bottom: 0; }
.specs__row:nth-child(odd) { background: #fbfdfe; }
.specs__row dt, .specs__row .k { color: var(--muted); margin: 0; }
.specs__row dd, .specs__row .v { margin: 0; font-weight: 600; color: var(--navy-900); }
.specs--2col { display: grid; grid-template-columns: 1fr 1fr; }
.specs--2col .specs__row { border-right: 1px solid var(--line); }
.specs--2col .specs__row:nth-child(2n) { border-right: 0; }
.specs--2col .specs__row:nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; color: #fff; font-size: 13.5px;
  background: linear-gradient(transparent, rgba(6, 24, 38, .82));
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8 / 3.4; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 2px solid var(--aqua-600); border-bottom: 2px solid var(--aqua-600);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__body { padding: 0 56px 24px 0; color: var(--muted); font-size: 15.5px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-wrap h3 { font-size: 24px; margin-bottom: 6px; }
.form-wrap .form__note { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
  font-size: 15px; color: var(--navy-900); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--aqua-500); box-shadow: 0 0 0 4px rgba(23, 180, 196, .14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--aqua-600); flex: none; }
.consent a { color: var(--aqua-700); text-decoration: underline; }
.form__status { display: none; padding: 14px 16px; border-radius: 10px; font-size: 14px; }
.form__status.is-ok { display: block; background: #e9f8f1; color: #146c4b; border: 1px solid #bfe8d6; }
.form__status.is-err { display: block; background: #fdeeee; color: #a12b2b; border: 1px solid #f3c9c9; }
.form__status.is-wait { display: block; background: #eef4fb; color: #1c4e80; border: 1px solid #c9dcf3; }
.form--dark .field label { color: #b9cfda; }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff;
}
.form--dark .field input::placeholder, .form--dark .field textarea::placeholder { color: #8fa9b7; }
.form--dark .consent { color: #9fb9c6; }
.form--dark .consent a { color: var(--aqua-500); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 82% 20%, rgba(23, 180, 196, .28), transparent 65%),
              radial-gradient(600px 300px at 12% 90%, rgba(23, 180, 196, .12), transparent 60%);
}
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding: 76px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-band p { color: #a9c2cf; margin-bottom: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta-band__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.cta-band__list li { display: flex; gap: 10px; color: #a9c2cf; font-size: 14.5px; margin: 0; }
.cta-band__list svg { color: var(--aqua-500); flex: none; margin-top: 3px; }

/* ---------- contacts ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 26px; margin: 0; }
.contact-item { display: flex; gap: 16px; }
.contact-item__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--aqua-100); color: var(--aqua-700); display: grid; place-items: center; }
.contact-item b { display: block; font-family: var(--font-head); font-size: 15px; margin-bottom: 3px; }
.contact-item a, .contact-item span { color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--aqua-700); }
.requisites { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.requisites b { color: var(--navy-800); }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--paper-2); }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card__overlay { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-md); font-size: 14px; }
.map-card__overlay b { display: block; font-family: var(--font-head); font-size: 15px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #9fb9c6; padding: 64px 0 0; font-size: 14.5px; }
.footer a { color: #c3d6e0; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer__brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { color: #8fa9b7; font-size: 13.5px; max-width: 300px; }
.footer h4 { color: #fff; font-family: var(--font-head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li { margin: 0; }
.footer__contacts { display: grid; gap: 14px; }
.footer__contacts b { display: block; font-family: var(--font-head); font-size: 19px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 12.5px; color: #7d93a3; }
.footer__bottom a { color: #9fb9c6; }

/* ---------- misc ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--aqua-100); color: var(--aqua-700); font-size: 12.5px; font-weight: 600; }
.tag--dark { background: rgba(255, 255, 255, .08); color: #cfe0e8; }
.note-box { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--aqua-100); color: var(--navy-700); font-size: 14px; }
.note-box svg { flex: none; color: var(--aqua-700); margin-top: 2px; }
.note-box p { margin: 0; }
.checker { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checker li { position: relative; padding-left: 30px; margin: 0; font-size: 15px; color: var(--navy-700); }
.checker li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--aqua-600); border-bottom: 2.5px solid var(--aqua-600);
  transform: rotate(-45deg);
}
.table-simple { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table-simple th, .table-simple td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-simple th { font-family: var(--font-head); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.table-simple td b { color: var(--navy-900); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.sticky-cta { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 9px; font-size: 13.5px; }
  .header__phone { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .hero { min-height: 600px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
  .page-hero__media--render { min-height: 300px; order: -1; }
  .page-hero__media--render img { max-width: 380px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .section { padding: 72px 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
  .hero__trust { gap: 10px 18px; }
  .hero__trust div { font-size: 12.5px; }
  .hero__scroll { display: none; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--media-right .split__media { order: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 24px 4px; }
  .stat:last-child { border-bottom: 0; }
  .specs--2col { grid-template-columns: 1fr; }
  .specs__row { grid-template-columns: 1fr; gap: 2px; }
  .specs--2col .specs__row { border-right: 0; border-bottom: 1px solid var(--line); }
  .specs--2col .specs__row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .specs--2col .specs__row:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .form-wrap { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .checker { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .btn { min-height: 50px; padding: 0 22px; }
  .cta-band__inner { padding: 56px 0; }
  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 10px;
    padding: 8px; border-radius: 16px; background: rgba(6, 24, 38, .94);
    box-shadow: 0 18px 40px rgba(6, 24, 38, .35); backdrop-filter: blur(10px);
  }
  .sticky-cta .btn { flex: 1; min-height: 46px; font-size: 14px; }
  .sticky-cta .btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
  body { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- широкие карточки направлений ---------- */
.direction--wide { grid-column: span 2; flex-direction: row; }
.direction--wide .direction__media { flex: 0 0 46%; aspect-ratio: auto; min-height: 320px; }
.direction--wide .direction__body { padding: 36px 38px; justify-content: center; }
.direction--wide h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.direction--wide p { font-size: 15.5px; }
@media (max-width: 1100px) {
  .direction--wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .direction--wide { grid-column: auto; flex-direction: column; }
  .direction--wide .direction__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .direction--wide .direction__body { padding: 24px; }
}

/* ---------- страница продукта ---------- */
.page-hero .crumbs { position: relative; z-index: 3; padding: 0 0 10px; }
.page-hero .crumbs--on-dark { padding-top: 0; }
.review { display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--sand); letter-spacing: 3px; font-size: 15px; }
.review p { font-size: 15px; color: var(--navy-700); margin: 0; }
.review__author { font-size: 13px; color: var(--muted); }
.color-card { text-align: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(165deg,#f7fbfc,#eaf4f7); }
.color-card img { width: 100%; max-width: 260px; margin: 0 auto 10px; }
.color-card b { font-family: var(--font-head); font-size: 14px; display: block; }
.color-card span { font-size: 12.5px; color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-simple { min-width: 640px; }
.table-simple tr:last-child td { border-bottom: 0; }
.table-simple td:first-child, .table-simple th:first-child { padding-left: 22px; }
.table-simple td:last-child, .table-simple th:last-child { padding-right: 22px; }

/* ---------- уточнение шапки ---------- */
.header__inner { gap: 18px; }
.logo img { height: 34px; }
.logo__text b { font-size: 17px; }
.logo__text span { font-size: 9.5px; letter-spacing: .08em; }
.nav a { padding: 10px 10px; font-size: 14px; }
.nav a.is-active::after { left: 10px; right: 10px; }
.header__phone { flex: none; white-space: nowrap; }
.header__phone a { font-size: 15px; white-space: nowrap; }
.header__phone span { font-size: 10.5px; white-space: nowrap; }
.header__cta { flex: none; }
.hero__inner { max-width: 780px; }
@media (max-width: 1360px) {
  .header__phone { display: none; }
}
@media (max-width: 1100px) {
  .logo__text span { display: none; }
}

/* ---------- базовые размеры заголовков ---------- */
h2 { font-size: clamp(1.8rem, 2.9vw, 2.55rem); }
h3 { font-size: 1.3rem; }
.section-head h2 { margin-bottom: .45em; }
.section--tight { padding: 48px 0; }
.page-hero h1 { font-size: clamp(2rem, 3.3vw, 3rem); }
.page-hero__bar { margin-top: 34px; }
.split__media--render { background: linear-gradient(160deg, #f2f9fb, #dfeef3); border-radius: var(--radius-lg); padding: 26px; display: flex; align-items: center; justify-content: center; }
.split__media--render img { width: 100%; box-shadow: none; border-radius: 0; }

/* ---------- светлая шапка страницы ---------- */
.page-head { padding: calc(var(--header-h) + 40px) 0 48px; background: linear-gradient(180deg, #f4f8fa 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.page-head .crumbs { padding: 0 0 22px; }
.page-head h1 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 14px; }
.page-head .lead { max-width: 640px; margin: 0; }
.contacts-aside { display: grid; gap: 22px; }
.map-placeholder { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(135deg, #eef4f7 25%, #e6eff3 25%, #e6eff3 50%, #eef4f7 50%, #eef4f7 75%, #e6eff3 75%); background-size: 28px 28px; min-height: 240px; display: grid; place-items: center; text-align: center; padding: 30px; }
.map-placeholder b { display: block; font-family: var(--font-head); font-size: 17px; margin-bottom: 4px; }
.map-placeholder span { font-size: 13.5px; color: var(--muted); display: block; margin-bottom: 14px; }
.privacy { font-size: 14.5px; color: var(--muted); max-width: 900px; }
.privacy h3 { font-size: 16px; margin: 24px 0 8px; color: var(--navy-900); }
.privacy ul { padding-left: 1.1em; }

/* ---------- единые пропорции изображений ---------- */
.page-hero__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero__media--render > img { aspect-ratio: auto; object-fit: contain; }
.product__media { background: #fff; }
.product__media--photo { background: var(--paper-2); }

/* ---------- тёмные секции: читаемость ---------- */
.section--navy .checklist li { color: #cfe0e8; }
.section--navy .checklist svg { color: var(--aqua-500); }
.section--navy .note-box { background: rgba(255,255,255,.08); color: #cfe0e8; }
.stats--compact { grid-template-columns: 1fr 1fr; }
.stats--compact .stat { padding: 26px 22px; }
.stats--compact .stat b { font-size: clamp(1.5rem, 2.2vw, 2.1rem); white-space: nowrap; }
.stats--compact .stat b em { font-size: .72em; }
.privacy h2 { font-size: 1.6rem; margin-bottom: 14px; }
@media (max-width: 720px) { .privacy h2 { font-size: 1.35rem; } }
@media (max-width: 720px) {
  .eyebrow { font-size: 11px; letter-spacing: .1em; gap: 8px; }
  .eyebrow::before { width: 18px; }
}

/* ---------- рендер в hero ---------- */
.page-hero__media--render { min-height: 0; }
.page-hero__media--render img { width: 100%; max-width: 500px; }
.page-hero__media--render .page-hero__badge { left: -16px; bottom: -20px; }
