/* ============================================================
   VIZARENT — redesign 2026
   Светлая корпоративная верстка: navy-секции, белые карточки,
   жёлтые CTA, синие акценты. Шрифты Manrope + Inter.
   ============================================================ */

:root {
  --navy-900: #081a32;
  --navy-800: #0d2547;
  --navy-700: #123a6b;
  --navy-600: #1a4c86;
  --blue-600: #2160e0;
  --blue-500: #3b7bf2;
  --blue-100: #e8f0fc;
  --yellow-400: #ffd24a;
  --yellow-300: #ffe9a8;
  --yellow-100: #fff7df;
  --red-500: #e01b2b;
  --green-400: #69d7a0;
  --green-600: #157a48;
  --green-100: #e6f6ee;
  --ink: #0e1b2e;
  --ink-soft: #26364f;
  --muted: #5c6c85;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e3eaf4;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-1: 0 8px 24px rgba(13, 37, 71, 0.06);
  --shadow-2: 0 22px 60px rgba(8, 26, 50, 0.16);
  --shadow-3: 0 34px 90px rgba(8, 26, 50, 0.28);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --header-h: 78px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Секции и заголовки ---------- */

.section {
  padding: 96px 0;
}

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

.section--navy {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #e7eef8;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.section-head--center {
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section-head-row .section-head p {
  font-size: 15px;
}

.section-head-row__note {
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.7;
}

.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.7;
}

.section--navy .eyebrow {
  color: var(--yellow-400);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button svg {
  flex: none;
}

.button--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 14px 30px rgba(33, 96, 224, 0.28);
}

.button--primary:hover {
  background: #1b53c8;
  transform: translateY(-2px);
}

.button--yellow {
  background: var(--yellow-400);
  color: #10192a;
  box-shadow: 0 14px 30px rgba(255, 210, 74, 0.32);
}

.button--yellow:hover {
  background: #ffc923;
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  color: #eaf1fb;
  border: 1px solid rgba(234, 241, 251, 0.35);
}

.button--ghost:hover {
  border-color: rgba(234, 241, 251, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.button--outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.button--outline:hover {
  border-color: #cbdcf3;
  transform: translateY(-2px);
}

.button--block {
  width: 100%;
}

.button--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue-600);
}

.text-link:hover {
  gap: 12px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.header.is-stuck {
  box-shadow: 0 10px 30px rgba(13, 37, 71, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.16s ease, color 0.16s ease;
}

.nav__link:hover {
  background: var(--blue-100);
  color: var(--blue-600);
}

.header__aside {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

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

.header__phone b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.header__phone:hover b {
  color: var(--blue-600);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  /* color: #fff; */
  padding: 84px 0 150px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 640px;
  height: 640px;
  top: -260px;
  right: -160px;
  background: radial-gradient(circle, rgba(59, 123, 242, 0.45) 0%, rgba(59, 123, 242, 0) 70%);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -280px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 210, 74, 0.16) 0%, rgba(255, 210, 74, 0) 70%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 74, 0.4);
  background: rgba(255, 210, 74, 0.1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-400);
}

.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 4px rgba(255, 210, 74, 0.22);
}

.hero__title {
  margin: 26px 0 0;
  font-size: clamp(34px, 4.3vw, 58px);
  color: #fff;
}

.hero__title em {
  font-style: normal;
  color: var(--yellow-400);
}

.hero__lead {
  margin-top: 22px;
  max-width: 560px;
  font-size: 17px;
  color: #b9c7dc;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(234, 241, 251, 0.16);
}

.hero__checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #dbe5f3;
}

.hero__checks svg {
  flex: none;
  color: var(--yellow-400);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Карточка товара в hero */

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--ink);
  padding: 18px;
  box-shadow: var(--shadow-3);
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 14px;
}

.hero-card__brand {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.hero-card__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}

.hero-card__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-card__media figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8, 26, 50, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.hero-card__body {
  padding: 18px 6px 6px;
}

.hero-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--blue-100);
  color: var(--navy-700);
}

.chip--ok {
  background: var(--green-100);
  color: var(--green-600);
}

.chip--wait {
  /* background: var(--yellow-100); */
  /* background: var(--green-600); */
  background: var(--green-400);
  color: var(--green-600) ;
}

.hero-card__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.hero-card__price small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.hero-card__price b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.hero-card__note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg);
}

.hero-card__note svg {
  flex: none;
  color: var(--blue-600);
}


.hero-card__note b,
.hero-card__note span b {
  display: block;
  font-family: var(--navy-600) !important;
  font-size: 15px;
  font-weight: 800;
}

.hero-card__note small {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Полоса статистики ---------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-1);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--navy-700);
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

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

.adv {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 24px;
  margin-top: 52px;
}

.adv__hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #dfe8f5;
  box-shadow: var(--shadow-2);
}

.adv__hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -140px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 74, 0.22) 0%, rgba(255, 210, 74, 0) 70%);
}

.adv__hero h3 {
  position: relative;
  color: #fff;
  font-size: 27px;
}

.adv__hero p {
  position: relative;
  font-size: 15px;
}

.adv__hero-foot {
  position: relative;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
  color: #b9c7dc;
}

.adv__hero-foot svg {
  flex: none;
  color: var(--yellow-400);
}

.adv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.adv-card {
  padding: 30px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.adv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-600);
  margin-bottom: 20px;
}

.adv-card h3 {
  font-size: 18px;
}

.adv-card p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filters__button {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filters__button:hover {
  border-color: #cbdcf3;
  color: var(--blue-600);
}

.filters__button.is-active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product:hover {
  transform: translateY(-4px);
  border-color: #cfe0f7;
  box-shadow: var(--shadow-2);
}

.product__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}

.product__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product:hover .product__media img {
  transform: scale(1.04);
}

.product__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--yellow-400);
  color: #4a3200;
}

.product__flag--wait {
  background: #ffe3e6;
  color: #a3122a;
}

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 10px 8px;
}

.product__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.product h3 {
  margin-top: 8px;
  font-size: 19px;
}

.product__list,
.product__list2 {
  margin: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}
.product__list2 li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--blue-100);
}

.product__list li::before,
.product__list2 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.product__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.product__foot small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.product__foot b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.catalog__empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

/* ---------- Галерея ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-800);
  min-height: 240px;
}

.gallery__item--wide {
  grid-column: span 3;
  min-height: 300px;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 22px 20px;
  background: linear-gradient(180deg, rgba(8, 26, 50, 0) 0%, rgba(8, 26, 50, 0.85) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

/* ---------- Порядок работы ---------- */

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

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  box-shadow: var(--shadow-1);
}

.step b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: #c3d4ea;
  letter-spacing: -0.02em;
}

.step h3 {
  margin-top: 14px;
  font-size: 18px;
}

.step p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.step small {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 600;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--yellow-100);
  border: 1px solid var(--yellow-300);
}

.notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--yellow-400);
  color: #4a3200;
}

.notice h3 {
  font-size: 17px;
}

.notice p {
  margin-top: 6px;
  font-size: 14px;
  color: #5c4a1e;
}

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

.faq {
  max-width: 900px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: #cfe0f7;
  box-shadow: var(--shadow-1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue-600), var(--blue-600)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue-600), var(--blue-600)) center / 2px 12px no-repeat,
    var(--blue-100);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq details p {
  padding: 0 0 22px;
  max-width: 74ch;
  font-size: 15px;
  color: var(--muted);
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.contact h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
}

.contact__lead {
  margin-top: 18px;
  font-size: 16px;
  color: #b9c7dc;
  max-width: 440px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 34px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(234, 241, 251, 0.12);
}

.contact__item svg {
  flex: none;
  color: var(--yellow-400);
}

.contact__item small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93a5c0;
}

.contact__item b,
.contact__item a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.contact__item a:hover {
  color: var(--yellow-400);
}

.contact__socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.contact__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(234, 241, 251, 0.14);
  color: #e7eef8;
  transition: background 0.18s ease, color 0.18s ease;
}

.contact__socials a:hover {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
  color: #10192a;
}

.contact__legal {
  margin-top: 26px;
  font-size: 13px;
  color: #93a5c0;
}

.form {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  box-shadow: var(--shadow-3);
  color: var(--ink);
}

.form h3 {
  font-size: 24px;
}

.form > p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.form label {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  background: #fff;
  border-color: var(--blue-500);
  outline: none;
}

.form textarea {
  resize: vertical;
  min-height: 110px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.form__check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-600);
  flex: none;
}

.form .button {
  margin-top: 22px;
}

.form__success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 14px;
  font-weight: 600;
}

.form__success.is-visible {
  display: block;
}

/* ---------- Футер ---------- */

.footer {
  background: var(--navy-900);
  color: #93a5c0;
  border-top: 1px solid rgba(234, 241, 251, 0.1);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  font-size: 14px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.wordmark span {
  font-size: 20px;
}

.wordmark em {
  font-style: normal;
  color: var(--red-500);
}

.wordmark small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f92b0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__links a:hover {
  color: #fff;
}

/* ---------- Модальное окно ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 26, 50, 0.62);
  backdrop-filter: blur(4px);
}

.modal.is-open {
  display: flex;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 26px 28px 32px;
  box-shadow: var(--shadow-3);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

.modal__close:hover {
  background: var(--bg);
}

.modal__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.modal__tag {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 600;
}

.modal__title {
  margin-top: 12px;
  font-size: 26px;
}

.modal__text {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

.modal__spec {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.modal__spec > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.modal__spec dt {
  color: var(--muted);
}

.modal__spec dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.modal__foot small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.modal__foot b {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

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

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding: 64px 0 130px;
  }

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

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

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

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

  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 24px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(13, 37, 71, 0.1);
    transform: translateY(-140%);
    transition: transform 0.28s ease;
    margin-right: 0;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__link {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
  }

  .burger {
    display: inline-flex;
  }

  .header__phone {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

  .gallery__item--wide {
    grid-column: span 2;
  }
}

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

  .header__inner {
    gap: 14px;
  }

  .brand img {
    height: 34px;
  }

  .header__aside .button {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .section-head p {
    font-size: 15px;
  }

  .stats {
    margin-top: -60px;
  }

  .catalog,
  .adv__grid,
  .steps,
  .form__row {
    grid-template-columns: 1fr;
  }

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

  .gallery__item--wide {
    grid-column: span 1;
  }

  .form {
    padding: 26px 22px;
  }

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
