/* ==========================================================================
   ВакуумРесурс — стили сайта-визитки
   Крупная типографика и высокий контраст: основная аудитория 40–50 лет.
   ========================================================================== */

:root {
  --red: #d42a20;
  --red-dark: #a81c14;
  --ink: #15191f;
  --ink-soft: #3c4553;
  --muted: #64707f;
  --line: #dfe4ea;
  --surface: #f3f5f8;
  --dark: #171b21;
  --dark-soft: #232932;
  --white: #fff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(21, 25, 31, .07);
  --shadow-md: 0 10px 30px rgba(21, 25, 31, .1);
  --shadow-lg: 0 20px 50px rgba(21, 25, 31, .16);

  --header-h: 84px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  /* Базовый кегль намеренно крупный — 18px */
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 23px); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Обозначение модели не должно разрываться по дефису */
.nb { white-space: nowrap; }

a { color: var(--red-dark); }

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

.container {
  width: min(1220px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Крупная зона нажатия — минимум 56px по высоте */
  min-height: 56px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(212, 42, 32, .28);
}
.btn--primary:hover { background: var(--red-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c3ccd6;
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(0, 0, 0, .04); }

.btn--sm { min-height: 48px; padding: 10px 22px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Верхняя информационная полоса ---------- */

.topbar {
  background: var(--dark);
  color: #a4aebb;
  font-size: 15.5px;
}
.topbar__inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__note { margin: 0; }
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 26px;
}
.topbar__mail {
  color: #a4aebb;
  text-decoration: none;
}
.topbar__mail:hover { color: #fff; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__phone:hover { color: #ff8078; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header--scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__btn { margin-left: auto; flex-shrink: 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo__mark { color: var(--red); display: flex; }
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.logo__name b { color: var(--red); font-weight: 800; }
.logo__sub {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  /* Переносов быть не должно: ниже 1240px меню уходит под кнопку-бургер */
  flex-wrap: nowrap;
}
.nav > a {
  position: relative;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .16s, background-color .16s;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.nav > a:hover { color: var(--ink); }
.nav > a:hover::after,
.nav > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active { color: var(--ink); font-weight: 700; }

/* Телефон и кнопка внутри выпадающего меню — только на узких экранах */
.nav__foot { display: none; }

.burger {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Хиро ---------- */

.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(1000px 520px at 88% 8%, rgba(212, 42, 32, .09), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .01em;
}

.lead {
  font-size: clamp(19px, 1.5vw, 21px);
  color: var(--ink-soft);
  max-width: 40em;
}

.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
  padding: 0;
}
.hero__facts li {
  flex: 1 1 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.hero__facts b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--red);
}
.hero__facts span {
  display: block;
  font-size: 15.5px;
  color: var(--muted);
  margin-top: 2px;
}

.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(21, 25, 31, .22), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.hero__media img { filter: drop-shadow(0 24px 34px rgba(21, 25, 31, .18)); }

/* ---------- Слоган ---------- */

.slogan {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
}
/* Диагональные полосы «предупреждающей» ленты — лёгкая фактура */
.slogan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, .07) 0 22px,
    transparent 22px 44px
  );
  pointer-events: none;
}
.slogan__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.slogan__text {
  margin: 0;
  font-size: clamp(28px, 3.9vw, 50px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.slogan__accent {
  display: block;
  color: #ffe08a;
}

.btn--white {
  background: #fff;
  color: var(--red-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  flex-shrink: 0;
}
.btn--white:hover { background: #ffe08a; color: #7d130d; }

.footer__slogan {
  margin: 14px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffe08a;
  max-width: 26ch;
}

/* ---------- Секции ---------- */

.section { padding: 84px 0; }
.section--gray { background: var(--surface); }
.section--dark { background: var(--dark); color: #e8ecf1; }
.section--dark h2 { color: #fff; }

.section h2 { max-width: 22ch; }
.section__lead {
  font-size: 19.5px;
  color: var(--ink-soft);
  max-width: 65ch;
  margin-bottom: 40px;
}

/* ---------- Сетки и карточки ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cfd7e0;
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 42, 32, .1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-soft); font-size: 17.5px; margin: 0; }

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

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  cursor: zoom-in;
  transition: box-shadow .2s, border-color .2s;
}
.gallery__item:hover { box-shadow: var(--shadow-md); border-color: #c9d2dc; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item--big img { object-fit: contain; padding: 14px; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--big:hover img { transform: scale(1.02); }
.gallery__zoom {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(23, 27, 33, .86);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__hint {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- Таблицы характеристик ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.specs__block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px 12px;
}
.specs__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--red);
  margin-bottom: 6px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17.5px;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 15px 0;
}
.spec-table th {
  font-weight: 600;
  color: var(--muted);
  width: 46%;
  padding-right: 20px;
}
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table td b { font-weight: 800; font-size: 19px; }

.callout {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.callout__text { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.callout__text b { display: block; color: var(--ink); font-size: 21px; margin-bottom: 4px; }

/* ---------- Применение ---------- */

.usage__item {
  position: relative;
  padding: 28px 28px 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.usage__num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.usage__item p { color: var(--ink-soft); font-size: 17.5px; margin: 0; }

/* ---------- Комплектация ---------- */

.kit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.kit__col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  height: 100%;
}
.kit__title { padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.list { margin: 0; padding: 0; list-style: none; }
.list li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 17.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: none; }
.list li b { color: var(--ink); }
.list li::before {
  position: absolute;
  left: 0;
  top: 12px;
  font-weight: 800;
  color: var(--red);
}
.list--check li::before { content: "✔"; }
.list--plus li::before { content: "+"; font-size: 22px; line-height: 1.15; }
.list--warn li::before { content: "!"; font-size: 20px; line-height: 1.25; }
.acc__body .list li::before { content: "—"; color: var(--red); }
.acc__body .list--warn li::before { content: "!"; }

/* ---------- Аккордеон ---------- */

.accordion { display: grid; gap: 14px; max-width: 980px; }

.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.acc[open] { border-color: #c9d2dc; box-shadow: var(--shadow-sm); }

.acc summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--surface); }
.acc summary::after {
  content: "";
  margin-left: auto;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s;
}
.acc[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.acc__body {
  padding: 0 26px 22px;
  color: var(--ink-soft);
  font-size: 17.5px;
}
.acc__body .list li { border-bottom: none; padding: 8px 0 8px 30px; }

/* ---------- Заявка и контакты ---------- */

.order {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: start;
}
.order__lead { font-size: 19.5px; color: #b7c0cb; max-width: 46ch; }

.contacts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; }
.contacts li {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contacts li:last-child { border-bottom: none; }
.contacts__label {
  display: block;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8d99a7;
  margin-bottom: 4px;
}
.contacts__value {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
a.contacts__value:hover { color: #ff8078; }
.contacts__value--sm { font-size: 20px; font-weight: 600; }

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.field__opt { font-weight: 500; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: #fbfcfd;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .16s, background-color .16s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa5b1; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.field--invalid input { border-color: var(--red); background: #fff5f4; }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--red-dark);
}
.field--invalid .field__error { display: block; }

.form__note {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}
.form__success {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: #eaf7ee;
  border: 1px solid #b7e0c4;
  border-radius: var(--radius-sm);
  color: #1c6b34;
  font-size: 17px;
  font-weight: 600;
}

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

.footer {
  background: #101317;
  color: #98a3b0;
  padding: 56px 0 26px;
  font-size: 16.5px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 36px;
}
.footer__brand p { margin-top: 12px; max-width: 34ch; }
.logo__name--footer { color: #fff; font-size: 24px; display: inline-block; }
.footer h4 {
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer__col a,
.footer__col p {
  display: block;
  color: #98a3b0;
  text-decoration: none;
  margin: 0 0 10px;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 15px;
  color: #6f7b89;
}
.footer__bottom p { margin: 0; }

/* ---------- Кнопка звонка (моб.) ---------- */

.call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(212, 42, 32, .42);
}

/* ---------- Лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(12, 14, 18, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px 90px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.lightbox__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  margin: 0;
  text-align: center;
  color: #e5e9ee;
  font-size: 17px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color .16s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close {
  top: 18px;
  right: 22px;
  width: 54px;
  height: 54px;
  font-size: 36px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  font-size: 24px;
}
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

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

@media (max-width: 1400px) {
  .nav > a { padding: 12px 10px; font-size: 16px; }
  .nav > a::after { left: 10px; right: 10px; }
  .header__inner { gap: 16px; }
}

@media (max-width: 1240px) {
  :root { --header-h: 74px; }

  .container { width: min(1220px, 100% - 32px); }

  .burger { display: flex; }
  .header__btn { display: none; }
  .logo__sub { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    /* visibility, а не только сдвиг: иначе панель выглядывает на низких экранах */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav--open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav {
    align-items: stretch;
    max-width: none;
  }
  .nav > a {
    padding: 16px 14px;
    font-size: 19px;
    border-bottom: 1px solid var(--line);
    border-left: 4px solid transparent;
    border-radius: 0;
  }
  .nav > a::after { display: none; }
  .nav > a.is-active {
    color: var(--red-dark);
    border-left-color: var(--red);
    background: #fdf3f2;
  }

  .nav__foot {
    display: block;
    padding-top: 20px;
  }
  .nav__phone {
    display: block;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    text-align: center;
  }

  .header__inner { gap: 12px; }
  .burger { margin-left: auto; }
}

@media (max-width: 980px) {
  .topbar { font-size: 15px; }
  .topbar__inner { justify-content: center; }
  .topbar__note,
  .topbar__hours { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; max-width: 560px; margin-inline: auto; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }

  .call-fab { display: inline-flex; }
  .footer { padding-bottom: 96px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--big { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }

  .topbar__mail { display: none; }
  .topbar__contacts { gap: 0; }

  .section { padding: 56px 0; }
  .hero { padding: 40px 0 52px; }

  .hero__facts li { flex-basis: 100%; display: flex; align-items: baseline; gap: 12px; }
  .hero__facts b { font-size: 30px; }
  .hero__buttons .btn { width: 100%; }

  .grid--3 { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .slogan { padding: 44px 0; }
  .slogan__inner { gap: 24px; }
  .slogan .btn { width: 100%; }
  .card, .usage__item, .kit__col, .specs__block { padding: 24px 22px; }
  .specs__block { padding-bottom: 10px; }
  .form { padding: 26px 22px 24px; }
  .callout { padding: 24px 22px; }
  .footer__inner { grid-template-columns: 1fr; }
  .acc summary { padding: 18px 20px; font-size: 18.5px; }
  .acc__body { padding: 0 20px 18px; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--big { grid-column: span 1; grid-row: span 1; }
  .gallery__zoom { opacity: 1; transform: none; }

  .contacts__value { font-size: 23px; }

  .lightbox { padding: 70px 12px 80px; }
  .lightbox__nav { width: 48px; height: 48px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }

  /* На узких экранах характеристики читаются лучше в две строки */
  .spec-table th, .spec-table td { display: block; width: auto; padding: 0; }
  .spec-table th { padding-top: 14px; font-size: 16px; }
  .spec-table td { padding-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .header, .footer, .call-fab, .form, .hero__buttons, .callout, .gallery__zoom { display: none; }
  body { font-size: 12pt; }
  .section { padding: 20px 0; }
  .acc__body { display: block !important; }
}
