/* P1: структура и подача по comlux.com, палитра и шрифт свои.
   Всё на переменных :root: чтобы перекрасить под брендбук, достаточно поменять их. */
@font-face {
  font-family: "Onest";
  src: url("../shared/fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* цвет */
  --c-bg: #0E1C33;
  --c-bg-2: #132744;
  --c-bg-deep: #08121F;
  --c-ink: #EEF2F8;
  --c-ink-2: #C3CDDC;
  --c-ink-3: #93A2B8;
  --c-line: rgba(238, 242, 248, .55);
  --c-line-soft: rgba(238, 242, 248, .22);
  --c-accent: #F9C525;
  --c-accent-ink: #0E1C33;
  --c-sub: #F4DC8E;           /* подзаголовки: роль персикового у comlux */
  --c-err: #FF8A80;
  --c-veil: rgba(10, 21, 39, .62);
  --c-veil-strong: rgba(10, 21, 39, .78);

  /* шрифт */
  --f-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .875rem;
  --fs-s: 1rem;
  --fs-m: 1.1rem;
  --fs-sub: clamp(1.1rem, 1rem + .4vw, 1.35rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .9vw, 2.1rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.4vw, 2.4rem);
  --fs-big: clamp(2.1rem, 1.4rem + 2.6vw, 3.8rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.4vw, 4.2rem);

  /* сетка и отступы */
  --wrap: 1288px;
  --gutter: clamp(20px, 5.3vw, 76px);
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-5: 48px; --sp-6: 72px; --sp-7: 112px;
  --sec-y: clamp(72px, 9vw, 128px);

  /* формы */
  --r-pill: 999px;
  --r-0: 0;
  --shadow: 0 20px 60px rgba(4, 10, 20, .45);

  /* движение */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --t-fast: 160ms;
  --t-mid: 280ms;
  --t-menu: 450ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--c-bg); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-m);
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  font-feature-settings: "kern";
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 20px; background: var(--c-accent); color: var(--c-accent-ink);
  border-radius: var(--r-pill); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.need {
  text-decoration: underline dashed rgba(249, 197, 37, .8);
  text-underline-offset: 3px;
  background: rgba(249, 197, 37, .12);
  padding: 0 .2em;
  border-radius: 3px;
}

/* ---------- типографика */
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.h-big { font-size: var(--fs-big); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-align: center; text-wrap: balance; max-width: 18ch; margin-inline: auto; }
.sub { font-size: var(--fs-sub); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; color: var(--c-sub); line-height: 1.25; }
.small { font-size: var(--fs-xs); color: var(--c-ink-3); line-height: 1.5; }
.kicker {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-sub); width: 100%;
}
.kicker::before, .kicker::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.kicker--left::before { display: none; }
.rule { display: block; width: 150px; height: 2px; background: var(--c-accent); }
.rule--center { margin-inline: auto; }

.ul { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t-mid) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ul:hover { background-size: 100% 1px; } }

/* ---------- кнопки: капсулы, при наведении заливаются жёлтым (у comlux бордовым) */
.btn, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: var(--r-pill); border: 2px solid var(--c-ink);
  font-size: var(--fs-s); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; background: transparent; color: var(--c-ink);
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:active, .pill:active { transform: scale(.97); }
.btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); font-weight: 600; }
.btn--lg { min-height: 56px; padding-inline: 36px; }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover, .pill:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
  .btn--primary:hover { background: #FFD449; border-color: #FFD449; }
}
.btn[disabled] { opacity: .6; cursor: progress; }
.pill--sm { position: relative; min-height: 34px; padding: 5px 18px; border-width: 1px; font-size: .875rem; text-transform: none; letter-spacing: 0; font-weight: 400; }

.pill--sm::after { content: ""; position: absolute; inset: -6px -3px; }

/* ---------- шапка */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: transform var(--t-menu) var(--ease-drawer), background-color var(--t-mid) ease;
}
.hdr::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(6, 13, 25, .7), rgba(6, 13, 25, 0));
  transition: opacity var(--t-mid) ease;
}
.hdr.is-solid { background: rgba(14, 28, 51, .96); }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-hidden { transform: translateY(-100%); }
.menu-open .hdr { background: transparent; transform: none; }
.menu-open .hdr::before { opacity: 0; }
.hdr__left, .hdr__pill { transition: opacity var(--t-mid) ease, visibility 0s; }
.menu-open .hdr__left, .menu-open .hdr__pill { opacity: 0; visibility: hidden; }

.hdr__bar { display: none; }
.hdr__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-3);
  padding: 18px clamp(20px, 2.2vw, 32px);

}
.hdr.is-solid .hdr__row { padding-block: 10px; }
.hdr__left { display: flex; align-items: center; }
.hdr__logo { display: block; justify-self: center; }
.hdr__logo img { width: 180px; height: auto; transition: transform var(--t-mid) var(--ease-out); transform-origin: 50% 0; }
.hdr.is-solid .hdr__logo img { transform: scale(.72); }
.hdr.is-solid .hdr__row { min-height: 0; }
.hdr__right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

.hdr__menu {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px;
  padding: 6px 4px 6px 10px; margin-left: 10px;
  background: none; border: 1px solid transparent; cursor: pointer;
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em;
  transition: border-color var(--t-fast) ease;
}
.hdr__menu-label--close { display: none; }
.hdr__menu[aria-expanded="true"] { border-color: var(--c-ink); padding-inline: 12px; }
.hdr__menu[aria-expanded="true"] .hdr__menu-label--open { display: none; }
.hdr__menu[aria-expanded="true"] .hdr__menu-label--close { display: inline; }
.hdr__menu-icon { position: relative; width: 38px; height: 16px; }
.hdr__menu-icon i {
  position: absolute; right: 0; height: 1.5px; background: currentColor;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast) ease;
}
.hdr__menu-icon i:nth-child(1) { top: 1px; width: 100%; }
.hdr__menu-icon i:nth-child(2) { top: 7px; width: 74%; }
.hdr__menu-icon i:nth-child(3) { top: 13px; width: 52%; }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon { width: 16px; }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:nth-child(1) { width: 100%; top: 7px; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:nth-child(2) { opacity: 0; }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:nth-child(3) { width: 100%; top: 7px; transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .hdr__menu:hover .hdr__menu-icon i:nth-child(2), .hdr__menu:hover .hdr__menu-icon i:nth-child(3) { width: 100%; }
  .hdr__menu[aria-expanded="true"]:hover .hdr__menu-icon i:nth-child(2) { width: 100%; }
}

.lang { display: inline-flex; gap: 2px; }
.lang button {
  min-width: 44px; min-height: 44px; padding: 0 6px;
  background: none; border: 0; cursor: pointer; font-size: .9rem; letter-spacing: .04em;
  color: var(--c-ink-2); position: relative;
  transition: color var(--t-fast) ease;
}
.lang button[aria-pressed="true"] { color: var(--c-ink); font-weight: 600; }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px; background: var(--c-accent); }
@media (hover: hover) and (pointer: fine) { .lang button:hover { color: var(--c-ink); } }

/* ---------- меню: панель справа, въезжает шторкой */
.menu { position: fixed; inset: 0; z-index: 55; visibility: hidden; pointer-events: none; transition: visibility 0s linear var(--t-menu); }
.menu[data-open] { visibility: visible; pointer-events: auto; transition: none; }
.menu__veil { position: absolute; inset: 0; background: rgba(4, 9, 18, .6); opacity: 0; transition: opacity var(--t-menu) ease; }
.menu[data-open] .menu__veil { opacity: 1; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50vw;
  background: var(--c-bg-deep);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-5);
  padding: 140px clamp(24px, 5vw, 80px) 40px clamp(24px, 6vw, 140px);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform var(--t-menu) var(--ease-drawer);
}
.menu[data-open] .menu__panel { transform: none; }
.menu__nav li { opacity: 0; transform: translateX(24px); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.menu[data-open] .menu__nav li { opacity: 1; transform: none; }
.menu[data-open] .menu__nav li:nth-child(1) { transition-delay: 120ms; }
.menu[data-open] .menu__nav li:nth-child(2) { transition-delay: 160ms; }
.menu[data-open] .menu__nav li:nth-child(3) { transition-delay: 200ms; }
.menu[data-open] .menu__nav li:nth-child(4) { transition-delay: 240ms; }
.menu[data-open] .menu__nav li:nth-child(5) { transition-delay: 280ms; }
.menu[data-open] .menu__nav li:nth-child(6) { transition-delay: 320ms; }
.menu__nav a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px 12px; border-bottom: 1px solid #5d6a7e;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem); text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none; transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.menu__nav a::after { content: ""; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast); }
@media (hover: hover) and (pointer: fine) {
  .menu__nav a:hover { color: var(--c-accent); border-color: var(--c-accent); }
  .menu__nav a:hover::after { transform: translateX(4px) rotate(45deg); opacity: 1; }
}
.menu__foot { display: grid; gap: var(--sp-3); justify-items: start; }
.menu__contacts { display: grid; gap: 6px; font-size: 1.05rem; }
.menu__contacts a { padding-block: 8px; }
.lang--menu { margin-left: -8px; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- герой */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #1a2638; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 21, 39, .25) 0%, rgba(10, 21, 39, .35) 45%, rgba(10, 21, 39, .88) 100%),
    rgba(14, 28, 51, .35);
}
.hero__body { text-align: center; padding-top: 180px; padding-bottom: clamp(40px, 7vh, 72px); display: grid; justify-items: center; gap: var(--sp-3); }
.hero__title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; max-width: 15ch; text-wrap: balance; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line > span { display: block; }
.hero__lead { max-width: 54ch; color: var(--c-ink-2); font-size: var(--fs-m); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: var(--sp-1); }
.hero__down {
  display: grid; place-items: center; width: 60px; height: 60px; margin-top: var(--sp-2);
  border: 2px solid var(--c-ink); border-radius: 50%;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.hero__down svg { transition: transform var(--t-mid) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero__down:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
  .hero__down:hover svg { transform: translateY(3px); }
}
.hero__down:active { transform: scale(.95); }

/* вход героя один раз при загрузке */
.intro .hero__media img { animation: hero-zoom 2.4s var(--ease-out) both; }
.intro .hero__line > span { animation: rise 1s var(--ease-out) .2s both; }
.intro .hero__lead { animation: fade 900ms var(--ease-out) .55s both; }
.intro .hero__cta { animation: fade 900ms var(--ease-out) .7s both; }
.intro .hero__down { animation: fade 900ms var(--ease-out) .85s both; }
.intro .hdr { animation: fade-in 900ms ease .3s both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- полосы на фото с вуалью и параллаксом */
.band { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--sec-y); }
.band__bg, .rows__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--c-bg-2); }
.band__bg img, .rows__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.band__bg::after, .rows__bg::after { content: ""; position: absolute; inset: 0; background: var(--c-veil); }

.center { display: grid; justify-items: center; gap: var(--sp-3); text-align: center; }
.center__text { display: grid; gap: var(--sp-3); max-width: 780px; color: var(--c-ink); }
.band--about .h2 { max-width: 24ch; }
.band--about .kicker { max-width: 780px; }
.band--about .btn { margin-top: var(--sp-2); }

/* ---------- аккордеон с картинкой */
.acc { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-bg-2); min-height: 640px; }
.acc__media { position: relative; overflow: hidden; background: #1a2638; }
.acc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 600ms ease, transform 1200ms var(--ease-out); }
.acc__img.is-on { opacity: 1; transform: none; }
.acc__side { padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 88px) clamp(32px, 5.5vw, 80px); display: flex; flex-direction: column; gap: var(--sp-4); justify-content: center; max-width: 720px; }
.acc__items { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__h { font-size: inherit; }
.acc__trigger {
  display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: var(--sp-3);
  padding: 20px 0 16px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.01em;
  transition: color var(--t-fast) ease;
}
.acc__hint { flex: none; font-size: var(--fs-xs); font-weight: 400; color: var(--c-ink-3); letter-spacing: 0; transition: opacity var(--t-fast) ease; }
.acc__item.is-open .acc__hint { opacity: 0; }
.acc__item.is-open .acc__trigger { cursor: default; }
@media (hover: hover) and (pointer: fine) { .acc__item:not(.is-open) .acc__trigger:hover { color: var(--c-accent); } }
.acc__panel { padding: 0 0 28px; display: grid; gap: var(--sp-3); justify-items: start; color: var(--c-ink-2); }
.js .acc__item:not(.is-open) .acc__panel { display: none; }
.js .acc__item.is-open .acc__panel { animation: fade 500ms var(--ease-out) both; }

/* ---------- ряды «фото + текст» */
.rows { position: relative; isolation: isolate; padding-block: var(--sec-y); display: grid; gap: clamp(64px, 8vw, 120px); }
.rows__bg::after { background: var(--c-veil-strong); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: 40px; }
.row--flip .row__media { order: 2; }
.row__media { display: grid; gap: 10px; }
.row__frame { overflow: hidden; aspect-ratio: 3 / 2; background: #1a2638; }
.row__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .row__frame:hover img { transform: scale(1.03); } }
.row__note { font-size: var(--fs-xs); color: var(--c-ink-3); }
.row__text { display: grid; gap: var(--sp-3); justify-items: start; color: var(--c-ink-2); }
.row__text .h2 { color: var(--c-ink); margin-top: -8px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--c-line-soft); }
.specs > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--c-line-soft); }
.specs dt { font-size: var(--fs-xs); color: var(--c-ink-3); }
.specs dd { font-size: 1.25rem; font-weight: 600; color: var(--c-ink); }
.row__frame--doc { display: grid; place-items: center; border: 1px dashed rgba(238, 242, 248, .45); background: rgba(19, 39, 68, .65); }
.doc { display: grid; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--c-ink-2); max-width: 32ch; }
.doc svg { color: var(--c-accent); }
.doc__tag { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--c-sub); }
.status { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--c-ink); }
.status__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 5px rgba(249, 197, 37, .18); }

/* ---------- «почему мы»: колонки с вертикальными линиями */
.band--why { padding-block: clamp(96px, 12vw, 168px); }
.band--why .band__bg::after { background: linear-gradient(180deg, rgba(10, 21, 39, .55), rgba(10, 21, 39, .8)); }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
.cols__item { padding: 4px clamp(20px, 2.4vw, 36px) 8px; border-left: 1px solid var(--c-line); display: grid; align-content: start; gap: var(--sp-2); }
.cols__item:first-child { border-left: 0; padding-left: 0; }
.cols__item:last-child { padding-right: 0; }
.cols__item h3 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.cols__item p { color: var(--c-ink-2); }

/* ---------- как мы работаем */
.steps { padding-block: var(--sec-y); background: var(--c-bg); }
.steps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps__head { display: grid; gap: var(--sp-3); justify-items: start; position: sticky; top: 110px; }
.steps__photo { width: 100%; overflow: hidden; aspect-ratio: 3 / 2; margin-top: var(--sp-3); background: #1a2638; }
.steps__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .steps__photo:hover img { transform: scale(1.03); } }
.steps__list { border-top: 1px solid var(--c-line-soft); counter-reset: s; }
.steps__list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-2); padding: 26px 0; border-bottom: 1px solid var(--c-line-soft); }
.steps__n { font-size: 1.1rem; font-weight: 600; color: var(--c-accent); line-height: 1.6; font-variant-numeric: tabular-nums; }
.steps__list h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.steps__list p { color: var(--c-ink-2); }

/* ---------- форма в рамке */
.band--quote .band__bg::after { background: var(--c-veil-strong); }
.frame { border: 1px solid var(--c-line); padding: clamp(32px, 5vw, 72px) clamp(20px, 6vw, 96px); display: grid; gap: var(--sp-5); }
.frame__head { display: grid; justify-items: center; gap: var(--sp-3); text-align: center; }
.frame__head p { color: var(--c-ink-2); max-width: 52ch; }
.form { display: grid; gap: var(--sp-4); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-4); }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-s); font-weight: 500; }
.field__opt { color: var(--c-ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 2px;
  font: inherit; font-size: 1.05rem; color: var(--c-ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0;
  transition: border-color var(--t-fast) ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #7f8ea5; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--c-ink); }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--c-accent); padding-bottom: 11px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--c-err); }
.field__hint { font-size: var(--fs-xs); color: var(--c-ink-3); }
.field__err { font-size: var(--fs-xs); color: var(--c-err); }
.form__summary { padding: 12px 16px; border: 1px solid var(--c-err); color: var(--c-err); }
.form__foot { display: flex; align-items: center; gap: var(--sp-4); }
.form__foot .btn { flex: none; }
.form__consent { font-size: var(--fs-xs); color: var(--c-ink-3); max-width: 60ch; }
.form__consent a { color: var(--c-ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__ok { display: grid; justify-items: center; gap: var(--sp-3); text-align: center; padding-block: var(--sp-4); }
.form__ok:not([hidden]) { animation: fade 500ms var(--ease-out) both; }
.form__ok .h2:focus { outline: none; }
.form__ok p { color: var(--c-ink-2); }

/* ---------- FAQ */
.band--faq .band__bg::after { background: var(--c-veil-strong); }
.faq { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); font-weight: 700; line-height: 1.25;
  transition: color var(--t-fast) ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .faq__item summary:hover { color: var(--c-accent); } }
.faq__plus { position: relative; flex: none; width: 24px; height: 24px; transition: transform var(--t-mid) var(--ease-out); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--c-ink-2); max-width: 80ch; }
.faq__item[open] .faq__a { animation: fade 400ms var(--ease-out) both; }

/* ---------- контакты */
.band--contacts { padding-block: clamp(80px, 9vw, 120px); }
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: center; gap: var(--sp-3) clamp(28px, 4vw, 64px); margin-top: var(--sp-2); text-align: center; }
.contacts dt { font-size: var(--fs-xs); color: var(--c-sub); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.contacts dd { font-size: 1.05rem; }
.contacts a { display: inline-block; padding-block: 10px; margin-block: -10px; }

.privacy { background: var(--c-bg); padding-block: 56px; border-top: 1px solid var(--c-line-soft); }
.privacy__in { display: grid; gap: 12px; max-width: calc(var(--wrap) + var(--gutter) * 2); color: var(--c-ink-3); font-size: var(--fs-s); }
.privacy__in p { max-width: 80ch; }
.privacy__title { font-size: 1.15rem; color: var(--c-ink); }

/* ---------- подвал с язычком */
.ftr { position: relative; background: var(--c-bg); }
.ftr__tab {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: max-content; margin-inline: auto; min-height: 44px; padding: 8px 60px 6px;
  background: var(--c-bg-deep); text-decoration: none; font-size: 1.05rem;
  clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
  transition: color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .ftr__tab:hover { color: var(--c-accent); } }
.ftr__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-3);
  padding: 18px clamp(20px, 2.2vw, 32px); background: var(--c-bg-deep); font-size: var(--fs-xs);
}
.ftr__legal { color: var(--c-ink-2); }
.ftr__icons { display: flex; gap: 16px; }
.ftr__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-ink); color: var(--c-bg);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .ftr__icon:hover { transform: scale(1.1); background: var(--c-accent); } }
.ftr__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.ftr__links a { padding-block: 12px; color: var(--c-ink-2); }

/* появление фото в рядах (только при движении) */
.js [data-reveal] { will-change: auto; }

/* ================= адаптив ================= */
@media (max-width: 1180px) {
  .hdr__pill:first-child { display: none; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-5); }
  .cols__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .cols__item:nth-child(2) { padding-right: 0; }
  .contacts { grid-template-columns: repeat(2, minmax(0, auto)); }
}

@media (max-width: 959px) {
  .menu__panel { width: 100%; padding-top: 150px; padding-left: var(--gutter); padding-right: var(--gutter); }
  .hdr__bar {
    display: grid; grid-template-columns: 1fr 1fr;
    transition: transform var(--t-mid) ease;
  }
  .hdr__bar-btn {
    display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px;
    border: 1px solid var(--c-line); background: rgba(14, 28, 51, .82);
    font-size: .9rem; text-decoration: none; text-align: center; line-height: 1.2;
  }
  .hdr__bar-btn + .hdr__bar-btn { border-left: 0; background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); font-weight: 600; }
  .hdr__bar-btn:active { opacity: .85; }
  .menu-open .hdr__bar { visibility: hidden; }
  .hdr__row { grid-template-columns: auto 1fr; padding: 12px var(--gutter); }
  .hdr__left { display: none; }
  .hdr__logo { justify-self: start; }
  .hdr__logo img { width: 132px; transform-origin: 0 50%; }
  .hdr.is-solid .hdr__logo img { transform: scale(.85); }
  .hdr__pill { display: none; }
  .hdr__menu { margin-left: 0; font-size: 1rem; }

  .hero__body { padding-top: 170px; }
  .acc { grid-template-columns: 1fr; min-height: 0; }
  .acc__media { aspect-ratio: 4 / 3; }
  .acc__side { padding: var(--sp-5) var(--gutter) var(--sec-y); max-width: none; }

  .row, .row--flip { grid-template-columns: 1fr; }
  .row--flip .row__media { order: 0; }
  .steps__grid { grid-template-columns: 1fr; }
  .steps__head { position: static; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }

  .ftr__bar { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 24px 32px; }
  .ftr__icons { order: -1; }
  .ftr__links { justify-content: center; }
}

@media (max-width: 640px) {
  .hero__body { padding-top: 150px; gap: 18px; }
  .hero__cta { width: 100%; display: grid; grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__down { width: 100%; height: 50px; border-radius: var(--r-pill); margin-top: 0; }
  .band--about .center { text-align: center; }
  .band--about .btn, .row__text .btn { width: 100%; }
  .acc__trigger { font-size: 1.3rem; }
  .acc__panel .btn { width: 100%; }
  .specs { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; row-gap: 0; }
  .cols__item, .cols__item:first-child, .cols__item:nth-child(3) { border-left: 0; padding: 24px 0; border-top: 1px solid var(--c-line); }
  .cols__item:last-child { border-bottom: 1px solid var(--c-line); }
  .cols__item h3 { font-size: 1.4rem; }
  .contacts { grid-template-columns: 1fr; }
  .frame { padding: 32px 20px; border-inline: 0; margin-inline: calc(var(--gutter) * -1); }
  .faq__a { padding-right: 0; }
  .ftr__tab { padding-inline: 48px; }
}

@media (max-width: 380px) {
  .hdr__bar-btn { font-size: .82rem; }
  .hdr__logo img { width: 120px; }
}

/* ================= reduced motion: всё стоит в финальном состоянии ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .acc__img { transform: none; }
  .menu__nav li { transform: none; }
}
