/* =========================================================
   Проставки Квадроцикл — стили
   Палитра: белый фон, чёрный текст, приглушённый красный акцент
   ========================================================= */

:root {
  --white: #ffffff;
  --ink: #1c1c1c;
  --ink-2: #3a3a3a;
  --muted: #6b6464;
  --sea-950: #161616;
  --sea-900: #1c1c1c;
  --sea-800: #3a2422;
  --sea-700: #7d2b25;
  --sea-600: #a83a32;
  --sea-500: #c0392b;
  --sea-400: #d4736a;
  --sea-300: #e6a7a1;
  --sea-200: #f2c4bf;
  --sea-100: #f9e4e1;
  --sea-50: #fdf4f3;
  --bg: #ffffff;
  --bg-soft: #faf7f7;
  --line: #ece6e6;
  --line-2: #dcd3d3;
  --shadow-sm: 0 2px 12px rgba(28, 28, 28, 0.05);
  --shadow-md: 0 28px 60px -32px rgba(28, 28, 28, 0.32);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1260px;
  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--sea-200);
  color: var(--sea-950);
}

:focus-visible {
  outline: 2px solid var(--sea-500);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: 100px;
}

/* ---------- Сетка и типографика ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon--xs {
  width: 15px;
  height: 15px;
}

.icon--lg {
  width: 26px;
  height: 26px;
}

h1,
h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--sea-950);
}

h1 {
  font-size: clamp(42px, 5.4vw, 74px);
}

h2 {
  font-size: clamp(31px, 3.5vw, 48px);
}

h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sea-500);
}

.eyebrow--light {
  color: var(--sea-200);
}

.eyebrow--light::before {
  background: var(--sea-300);
}

.lead {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.section {
  position: relative;
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: linear-gradient(135deg, var(--sea-950) 0%, var(--sea-800) 55%, var(--sea-700) 100%);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head .lead {
  margin-top: 18px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(115deg, var(--sea-700) 0%, var(--sea-500) 100%);
  color: var(--white);
  box-shadow: 0 18px 36px -20px rgba(10, 100, 120, 0.75);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -20px rgba(10, 100, 120, 0.85);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--line-2);
  color: var(--sea-800);
}

.btn--ghost:hover {
  border-color: var(--sea-400);
  color: var(--sea-600);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--white);
  color: var(--sea-900);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.5);
}

.btn--sm {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 13px;
}

/* ---------- Верхняя полоса ---------- */

.topbar {
  background: var(--sea-950);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12.5px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.topbar__note,
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.015em;
}

.topbar__note .icon {
  color: var(--sea-300);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__mail {
  transition: color 0.2s;
}

.topbar__mail:hover {
  color: var(--white);
}

.topbar__mail.is-revealed {
  color: var(--sea-200);
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px -26px rgba(28, 28, 28, 0.65);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.logo__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sea-950);
}

.logo__sub {
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sea-600);
}

/* ---------- Меню ---------- */

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1px;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--sea-600);
  background: var(--sea-50);
}

.nav__link.is-active {
  color: var(--sea-600);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--sea-500);
}

.nav__link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}

.nav__item--sub {
  position: relative;
}

.nav__item--sub:hover .nav__link .icon,
.nav__item--sub:focus-within .nav__link .icon {
  transform: rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  min-width: 232px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}

.nav__sub a:hover {
  background: var(--sea-50);
  color: var(--sea-600);
}

.nav__link--cta {
  margin-left: 8px;
  padding: 11px 19px;
  background: linear-gradient(115deg, var(--sea-700), var(--sea-500));
  color: var(--white);
  box-shadow: 0 14px 26px -18px rgba(10, 100, 120, 0.85);
}

.nav__link--cta:hover,
.nav__link--cta.is-active {
  color: var(--white);
  background: linear-gradient(115deg, var(--sea-800), var(--sea-600));
}

.nav__link--cta.is-active::after {
  display: none;
}

.nav__footer {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* ---------- Телефон / почта с раскрытием ---------- */

.contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sea-50);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.contact:hover {
  background: var(--white);
  border-color: var(--sea-400);
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--sea-600);
}

.contact__icon .icon {
  width: 17px;
  height: 17px;
}

.contact__body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.contact__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value {
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.contact.is-revealed {
  background: var(--white);
  border-color: var(--sea-300);
  box-shadow: 0 10px 24px -18px rgba(28, 28, 28, 0.5);
}

.contact.is-revealed .contact__value {
  color: var(--sea-700);
}

.contact--header .contact__value {
  font-size: 14px;
}

.contact--light {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact--light:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
}

.contact--light .contact__icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: var(--white);
}

.contact--light .contact__label {
  color: rgba(255, 255, 255, 0.6);
}

.contact--light .contact__value {
  color: var(--white);
}

.contact--light.is-revealed {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.contact--light.is-revealed .contact__value {
  color: var(--sea-200);
}

/* ---------- Бургер ---------- */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.burger span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--sea-900);
  transition: background 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--sea-900);
  transition: transform 0.25s var(--ease);
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.burger.is-open span {
  background: transparent;
}

.burger.is-open span::before {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(192, 57, 43, 0.13), transparent 62%),
    radial-gradient(760px 480px at 4% 92%, rgba(242, 196, 191, 0.4), transparent 65%),
    var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--sea-100);
  border-radius: 999px;
  background: var(--sea-50);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-700);
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sea-500);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.14);
}

.hero__title {
  margin: 22px 0 20px;
}

.hero__title span {
  color: var(--sea-600);
}

.hero__lead {
  max-width: 570px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.hero__facts .icon {
  width: 16px;
  height: 16px;
  color: var(--sea-500);
}

.hero__visual {
  position: relative;
}

.blueprint {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 7%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(150deg, #1c1c1c 0%, #2e2424 55%, #6e2620 100%);
  box-shadow: 0 44px 90px -46px rgba(6, 58, 71, 0.7);
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
}

.blueprint::after {
  content: "";
  position: absolute;
  inset: -25% -10% auto;
  height: 65%;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.blueprint__drawing {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.blueprint__spin {
  transform-origin: 260px 260px;
  animation: spin 90s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.blueprint__label {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.blueprint__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #faf3f2;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blueprint__chip--top {
  top: 20px;
  right: 20px;
}

.blueprint__chip--bottom {
  bottom: 20px;
  left: 20px;
}

.blueprint__chip .icon {
  width: 15px;
  height: 15px;
  color: var(--sea-200);
}

/* ---------- Полоса преимуществ ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.trust__item:last-child {
  border-right: 0;
}

.trust__item:not(:first-child) {
  padding-left: 26px;
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--sea-50);
  color: var(--sea-600);
}

.trust__icon .icon {
  width: 21px;
  height: 21px;
}

.trust__title {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.trust__text {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Каталог ---------- */

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--sea-300);
  box-shadow: var(--shadow-md);
}

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 168px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(135deg, var(--sea-100), var(--sea-50));
  border-bottom: 1px solid var(--line);
}

.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 100, 120, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 100, 120, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.card__media-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(10, 100, 120, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sea-600);
  box-shadow: 0 14px 30px -18px rgba(28, 28, 28, 0.4);
}

.card__media-icon .icon {
  width: 34px;
  height: 34px;
}

.card__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(10, 100, 120, 0.14);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea-700);
  backdrop-filter: blur(6px);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

.card__title {
  font-size: 18px;
  line-height: 1.35;
}

.card__text {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.card__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sea-600);
  white-space: nowrap;
  transition: color 0.2s, gap 0.2s;
}

.card__link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.card__link:hover {
  color: var(--sea-800);
}

.card__link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Техника ---------- */

.tech__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tech {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tech:hover {
  transform: translateY(-4px);
  border-color: var(--sea-300);
  box-shadow: var(--shadow-md);
}

.tech__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 208px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(135deg, var(--sea-900), var(--sea-600));
}

.tech__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.tech__media-icon {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
}

.tech__media-icon .icon {
  width: 92px;
  height: 92px;
  stroke-width: 1.1;
}

.tech__media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(8px);
}

.tech__body {
  padding: 28px 28px 30px;
}

.tech__title {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sea-950);
}

.tech__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.tech__points {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.tech__points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-2);
}

.tech__points .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--sea-500);
}

.tech__models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tech__models span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.tech__body .btn {
  margin-top: 22px;
}

.tech__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--sea-100);
  border-radius: var(--radius);
  background: var(--sea-50);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.tech__note > .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--sea-500);
}

.tech__note a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  font-weight: 800;
  color: var(--sea-600);
  white-space: nowrap;
}

.tech__note a .icon {
  width: 14px;
  height: 14px;
}

.tech__note a:hover {
  color: var(--sea-800);
}

/* ---------- Бренды ---------- */

.brands {
  display: grid;
  gap: 22px;
}

.brands__group {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.brands__head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brands__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sea-50);
  color: var(--sea-600);
}

.brands__icon .icon {
  width: 24px;
  height: 24px;
}

.brands__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sea-950);
}

.brands__note {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.brands__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.brand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  align-content: center;
  column-gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.brand:hover {
  transform: translateY(-2px);
  border-color: var(--sea-300);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand__mark {
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sea-700), var(--sea-500));
  color: var(--white);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand__name {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  word-break: break-word;
}

.brands__disclaimer {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- О компании ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.about__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(145deg, var(--sea-100), var(--sea-50) 65%, #f7eded);
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 100, 120, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 100, 120, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about__media-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(10, 100, 120, 0.15);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--sea-600);
  box-shadow: 0 20px 44px -24px rgba(28, 28, 28, 0.4);
}

.about__media-icon .icon {
  width: 48px;
  height: 48px;
  stroke-width: 1.2;
}

.about__drawing {
  position: relative;
  z-index: 1;
  width: min(74%, 360px);
  height: auto;
}

.about__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(10, 100, 120, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-700);
  backdrop-filter: blur(4px);
}

.about__content .lead {
  margin-top: 18px;
}

.about__text {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 28px 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}

.about__stats > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.about__stats dt {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sea-700);
  white-space: nowrap;
}

.about__stats dd {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- Этапы ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 26px 24px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sea-500), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--sea-300);
  box-shadow: var(--shadow-sm);
}

.step:hover::after {
  opacity: 1;
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--sea-200);
}

.step__title {
  margin-top: 16px;
  font-size: 17px;
}

.step__text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- Почему мы ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--sea-300);
  box-shadow: var(--shadow-sm);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sea-50);
  color: var(--sea-600);
}

.feature__icon .icon {
  width: 23px;
  height: 23px;
}

.feature__title {
  margin-top: 18px;
  font-size: 16.5px;
}

.feature__text {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 110px;
}

.faq__intro .lead {
  margin: 18px 0 26px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--sea-600);
}

.faq__mark {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--sea-600);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background 0.2s;
}

.faq__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__q {
  color: var(--sea-700);
}

.faq__item[open] .faq__mark {
  background: var(--sea-50);
  border-color: var(--sea-300);
}

.faq__item[open] .faq__mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  padding: 0 40px 22px 0;
}

.faq__a p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Заявка ---------- */

.request {
  overflow: hidden;
}

.request::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(79, 182, 201, 0.22), transparent 60%),
    radial-gradient(600px 380px at 4% 100%, rgba(28, 28, 28, 0.5), transparent 65%);
  pointer-events: none;
}

.request::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.025), 0 0 0 92px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.request .container {
  position: relative;
  z-index: 1;
}

.request__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.request h2 {
  color: var(--white);
}

.request__lead {
  max-width: 480px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

.request__list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.request__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.request__list .icon {
  width: 17px;
  height: 17px;
  color: var(--sea-300);
}

.request__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.request__form-wrap {
  position: relative;
}

/* ---------- Форма ---------- */

.form {
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.form__grid .field {
  margin-bottom: 0;
}

.field__label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fdfafa;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field__input::placeholder {
  color: #9a9090;
}

.field__input:hover {
  border-color: var(--sea-300);
}

.field__input:focus {
  outline: none;
  border-color: var(--sea-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.field__input.is-error {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.field__phone {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fdfafa;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field__phone:hover {
  border-color: var(--sea-300);
}

.field__phone:focus-within {
  border-color: var(--sea-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.field__phone.is-error {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.field__prefix {
  padding: 0 2px 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.field__phone .field__input {
  min-height: 46px;
  padding-left: 7px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.field__phone .field__input:focus {
  box-shadow: none;
}

.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field__textarea {
  min-height: 112px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--sea-600);
  cursor: pointer;
}

.check a {
  color: var(--sea-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check a:hover {
  color: var(--sea-800);
}

.form__submit {
  width: 100%;
}

.form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form__note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #8f8585;
  text-align: center;
}

.form__error {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #c93636;
}

.form-success {
  padding: 44px 32px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sea-50);
  color: var(--sea-600);
}

.form-success__icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.form-success h3 {
  font-size: 22px;
}

.form-success p {
  margin: 8px auto 20px;
  max-width: 330px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Контакты ---------- */

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--sea-300);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--sea-50);
  color: var(--sea-600);
}

.contact-card__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__value {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.contact-card__value--action {
  color: var(--sea-700);
  cursor: pointer;
  transition: color 0.2s;
}

.contact-card__value--action:hover {
  color: var(--sea-500);
}

.contact-card__note {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.contacts__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contacts__requisites {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Подвал ---------- */

.footer {
  padding: 64px 0 28px;
  background: var(--sea-950);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 1.05fr 1.25fr;
  gap: 40px;
  padding-bottom: 44px;
}

.logo--footer .logo__title {
  color: var(--white);
}

.logo--footer .logo__sub {
  color: var(--sea-300);
}

.logo--footer .logo__mark > path:first-child {
  fill: var(--sea-700);
}

.footer__about {
  max-width: 330px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.footer__legal {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.footer__list {
  display: grid;
  gap: 9px;
}

.footer__list a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--sea-300);
}

.footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

.footer__contact-line .icon {
  margin-top: 2px;
  color: var(--sea-300);
}

.contact--footer {
  width: 100%;
  margin-top: 10px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact--footer:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact--footer .contact__icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  color: var(--sea-300);
}

.contact--footer .contact__label {
  color: rgba(255, 255, 255, 0.58);
}

.contact--footer .contact__value {
  color: var(--white);
  font-size: 12.5px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.58);
}

.footer__docs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__docs a {
  transition: color 0.2s;
}

.footer__docs a:hover {
  color: var(--sea-300);
}

/* ---------- Cookie ---------- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 22px;
  width: calc(100% - 40px);
  max-width: 760px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 26px 60px -24px rgba(28, 28, 28, 0.5);
  transform: translateX(-50%);
}

.cookie__text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.cookie__text strong {
  color: var(--ink);
}

.cookie__text a {
  color: var(--sea-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie__btn {
  flex: 0 0 auto;
}

[hidden] {
  display: none !important;
}

/* ---------- Появление при скролле ---------- */

.js [data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js [data-animate].is-inview {
  opacity: 1;
  transform: none;
}

/* ---------- Внутренние страницы ---------- */

.page-hero {
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--sea-700);
}

.breadcrumbs span {
  color: var(--muted);
}

.page-hero h1 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.doc {
  max-width: 860px;
  padding: 56px 0 80px;
}

.doc h2 {
  margin: 32px 0 12px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sea-900);
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p,
.doc li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.doc p {
  margin-bottom: 12px;
}

.doc ul,
.doc ol {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}

.doc ol {
  list-style: decimal;
}

.doc li {
  margin-bottom: 6px;
}

.doc a {
  color: var(--sea-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc__note {
  padding: 16px 18px;
  margin: 20px 0;
  border: 1px solid var(--sea-100);
  border-radius: 12px;
  background: var(--sea-50);
  font-size: 13px;
  color: var(--ink-2);
}

.error-page {
  padding: 90px 0 100px;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(90px, 16vw, 180px);
  font-weight: 600;
  line-height: 0.9;
  color: var(--sea-500);
}

.error-page h1 {
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 40px);
}

.error-page p:not(.error-page__code) {
  max-width: 440px;
  margin: 14px auto 26px;
  color: var(--muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------- Страница бренда ---------- */

.brand-hero .eyebrow {
  margin-bottom: 14px;
  color: var(--sea-700);
}

.brand-hero h1 {
  margin-bottom: 16px;
}

.brand-hero .lead {
  max-width: 720px;
}

.brand-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.brand-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.brand-intro > * {
  min-width: 0;
}

.brand-intro__main h2 {
  margin-bottom: 18px;
}

.brand-intro__main p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}

.brand-intro__main p:last-child {
  margin-bottom: 0;
}

.brand-note {
  margin: 24px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--sea-100);
  border-left: 3px solid var(--sea-500);
  border-radius: 14px;
  background: var(--sea-50);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.brand-note a {
  font-weight: 800;
  color: var(--sea-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brand-note a:hover {
  color: var(--sea-900);
}

.brand-aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand-aside__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sea-700), var(--sea-500));
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-aside__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sea-950);
}

.brand-aside__note {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.brand-aside .btn {
  width: 100%;
  margin-top: 22px;
}

.brand-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}

.brand-facts > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.brand-facts dt {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sea-700);
}

.brand-facts dd {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.brand-cta-card {
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
}

.brand-cta-card__eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-600);
}

.brand-cta-card h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--sea-950);
}

.brand-cta-card p {
  margin: 14px 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.brand-cta-card p a {
  font-weight: 800;
  color: var(--sea-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brand-cta-card .btn {
  width: 100%;
}

.brand-cta-card .btn + .btn {
  margin-top: 10px;
}

/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 1180px) {
  .container {
    padding: 0 28px;
  }

  .header__inner {
    gap: 16px;
  }

  .nav__link {
    padding: 10px;
    font-size: 13.5px;
  }

  .nav__link--cta {
    padding: 11px 16px;
  }

  .contact--header {
    padding: 7px 10px;
  }

  .contact--header .contact__icon {
    width: 30px;
    height: 30px;
  }

  .hero__grid {
    gap: 40px;
  }
}

@media (max-width: 1080px) {
  .topbar {
    display: none;
  }

  /* backdrop-filter создаёт containing block и ломает fixed-меню */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header .header__inner {
    min-height: 72px;
  }

  .burger {
    display: grid;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: block;
    padding: 18px 24px 40px;
    overflow-y: auto;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list > li {
    border-bottom: 1px solid var(--line);
  }

  .nav__list > li:last-child {
    border-bottom: 0;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 2px;
    border-radius: 0;
    font-size: 16px;
  }

  .nav__link.is-active::after {
    display: none;
  }

  .nav__link--cta {
    justify-content: center;
    margin: 16px 0 0;
    padding: 14px 20px;
    border-radius: 10px;
  }

  .nav__item--sub:hover .nav__link .icon,
  .nav__item--sub:focus-within .nav__link .icon {
    transform: none;
  }

  .nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 10px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
  }

  .nav__sub a {
    padding: 10px 4px;
    color: var(--muted);
  }

  .nav__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  .contact--drawer {
    justify-content: flex-start;
  }

  .header__actions {
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 48px 0 68px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    width: 100%;
    max-width: 560px;
    margin: 8px auto 0;
  }

  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .brand-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__media {
    max-width: 620px;
    aspect-ratio: 4 / 3;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq__intro {
    position: static;
  }

  .request__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contacts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  [id] {
    scroll-margin-top: 84px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .lead {
    font-size: 15.5px;
  }

  .hero {
    padding: 38px 0 56px;
  }

  .hero__title {
    margin: 18px 0 16px;
  }

  .hero__lead {
    font-size: 15.5px;
  }

  .hero__facts {
    gap: 8px 18px;
  }

  .blueprint__chip--top {
    top: 14px;
    right: 14px;
    font-size: 10.5px;
  }

  .blueprint__chip--bottom {
    bottom: 14px;
    left: 14px;
    font-size: 10.5px;
  }

  .blueprint__label {
    top: 15px;
    left: 16px;
    font-size: 8.5px;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__item {
    padding: 20px 18px 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .trust__item:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .trust__item:nth-child(3),
  .trust__item:nth-child(4) {
    border-bottom: 0;
  }

  .trust__item:nth-child(3) {
    padding-left: 0;
  }

  .trust__item:nth-child(4) {
    padding-left: 18px;
  }

  .tech__media {
    height: 190px;
  }

  .tech__body {
    padding: 24px 22px 26px;
  }

  .brands__group {
    padding: 22px 18px;
  }

  .brands__list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    margin-top: 18px;
  }

  .brands__title {
    font-size: 19px;
  }

  .brand-aside,
  .brand-cta-card {
    padding: 22px 20px;
  }

  .about__stats dt {
    font-size: 24px;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .faq__q {
    padding: 17px 0;
    font-size: 15.5px;
  }

  .form {
    padding: 24px 20px;
  }

  .form-success {
    padding: 34px 22px;
  }

  .contacts__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer {
    padding: 48px 0 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    transform: none;
  }

  .cookie__btn {
    width: 100%;
  }

  .contact--header .contact__label {
    display: none;
  }

  .contact--header .contact__value {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .logo__text {
    display: none;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
  }

  .logo--footer .logo__text {
    display: flex;
  }

  .header__inner {
    min-height: 68px;
  }

  .site-header .header__inner {
    min-height: 68px;
  }

  .nav {
    top: 68px;
  }

  .contact--header {
    gap: 0;
    padding: 6px 9px;
  }

  .contact--header .contact__value {
    font-size: 12.5px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .catalog__grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .card__media {
    height: 158px;
  }

  .form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form__grid .field {
    margin-bottom: 14px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__about {
    max-width: none;
  }

  .request__contacts {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact--light {
    width: 100%;
  }

  .tech__note {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__badge {
    font-size: 9px;
    padding: 7px 11px;
  }

  .brands__group {
    padding: 20px 16px;
  }

  .brands__list {
    grid-template-columns: 1fr;
  }

  .about__stats dt {
    font-size: 22px;
  }

  .about__stats > div {
    padding: 14px 16px;
  }

  .blueprint__chip--top {
    display: none;
  }

  .trust__icon {
    width: 36px;
    height: 36px;
  }

  .trust__item {
    gap: 10px;
  }

  .contact-card {
    padding: 20px;
  }

  .cookie {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
}

@media (max-width: 360px) {
  .contact--header .contact__icon {
    display: none;
  }

  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust__item {
    padding: 16px 8px 16px 0;
    gap: 8px;
  }

  .trust__item:nth-child(2) {
    padding-right: 0;
  }

  .trust__item:nth-child(3) {
    padding-left: 0;
  }

  .trust__item:nth-child(4) {
    padding-left: 8px;
    padding-right: 0;
  }

  .trust__icon {
    width: 32px;
    height: 32px;
  }

  .trust__text {
    font-size: 11.5px;
  }

  .about__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about__stats dt {
    font-size: 20px;
    white-space: normal;
  }

  .about__stats > div {
    padding: 12px 14px;
  }

  .tech__body .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Наличие бренда: зелёная кнопка ---------- */

.stock {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #cfe9d6;
  border-radius: var(--radius);
  background: #f3fbf5;
}

.btn--stock {
  padding: 16px 26px;
  background: #1e9e4a;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(30, 158, 74, 0.45);
  animation: stockBlink 2.8s ease-in-out infinite;
}

.btn--stock:hover {
  background: #17843c;
  color: #ffffff;
}

.stock__dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 2px;
  border-radius: 50%;
  background: #ffffff;
}

.stock__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@keyframes stockBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(30, 158, 74, 0.45);
  }
  50% {
    opacity: 0.66;
    box-shadow: 0 0 0 10px rgba(30, 158, 74, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--stock {
    animation: none;
  }
}