/* ==========================================================
   Gazvmaske — main stylesheet
   Дизайн: Figma «Gazvmaske 2026», 1440px
   ========================================================== */

@font-face {
  font-family: 'Oldtimer';
  src: url('../fonts/oldtimer-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helios Cond';
  src: url('../fonts/helios-cond-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helios Cond';
  src: url('../fonts/helios-cond-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #f5cf6f;
  --muted: #aaaeb5;
  --section-title: #777;
  --bg: #0e1218;
  --bg-inner: #141414;
  --card: #000;
  --white: #fff;
  --note: #cecece;
  --radius: 0px;
  --container: 1140px;
  --gap: 30px;
  --font-head: 'Oldtimer', 'Helios Cond', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-cond: 'Helios Cond', 'Inter', system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  /* никакой горизонтальной прокрутки: на iOS хватало доли пикселя от дробных ширин */
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  html,
  body { overflow-x: clip; }
}

body { overscroll-behavior-x: none; }

body {
  margin: 0;
  overflow-wrap: break-word;
  background-color: var(--bg);
  color: var(--white);
  font: 400 16px/24px var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 23, 34, .55), rgba(11, 23, 34, .75)),
    #0f1319 url('../img/smoke-bg.webp') center top / cover no-repeat;
  opacity: .9;
  pointer-events: none;
}

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

a { color: var(--gold); text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .8; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

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

.container {
  width: 100%;
  /* внутри max-width учитываем боковые отступы: контент ровно 1140 px, как в макете */
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- кнопки ---------- */
.btn {
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: none;
  color: var(--gold);
  font: 700 18px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
  padding: 0 20px;
  height: 40px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover,
.btn:focus-visible { background: #0f0f0f; color: var(--gold); border-color: var(--gold); opacity: 1; }

.btn--hero {
  position: relative;
  height: 63px;
  width: 231px;
  border: 1px solid #787878;
  border-radius: 0;
  background: #0c1318;
  color: var(--gold);
  font: 400 18px/1 var(--font-head);
  letter-spacing: .04em;
}
.btn--hero::before {
  content: '';
  position: absolute;
  left: 1px; top: 1px;
  width: 115px; height: 30px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: .8;
  pointer-events: none;
}
.btn--hero:hover { background: #0f0f0f; color: var(--gold); border-color: var(--gold); }

.btn--solid {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font: 400 16px/1 var(--font-head);
  height: 48px;
  width: 209px;
  border-radius: 0;
  text-transform: none;
}

.btn--ghost {
  height: 48px;
  font: 400 16px/1 var(--font-head);
  text-transform: none;
}

/* ---------- анимация контура кнопки ---------- */
.btn-line {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: transparent;
  stroke-width: 2;
  stroke-dasharray: 150 480;
  stroke-dashoffset: 150;
  transition: stroke-dashoffset 1s ease-in-out, stroke .2s ease;
}
.btn-line rect {
  vector-effect: non-scaling-stroke;
}

/* запуск: наведение, фокус с клавиатуры, наведение на карточку/баннер.
   Кнопка заливается золотом, поэтому линия становится тёмной — как в референсе,
   где линия контрастна заливке. */
.btn:hover .btn-line,
.btn:focus-visible .btn-line,
.card:hover .btn-line,
.card:focus-within .btn-line,
.promo:hover .btn-line,
a.btn:hover .btn-line {
  stroke: var(--gold);
  stroke-dashoffset: -480;
}

@media (prefers-reduced-motion: reduce) {
  .btn-line { transition: none; }
  .site-header__logo:hover .logo-el { animation: none; }
  .site-header__logo:hover .logo-ring { animation: none; }
}

/* ---------- шапка ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding-top: 47px;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: padding .25s ease, background-color .25s ease, border-color .25s ease;
}
/* при прокрутке шапка получает тёмную подложку */
.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(7, 11, 17, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.site-header__top {
  display: flex;
  align-items: flex-start;
  gap: 67px;
}

.site-header__right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.site-header__row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.site-header__logo {
  flex: none;
  width: 107px;
  height: 107px;
}
.site-header__logo img { width: 100%; height: 100%; }

/* Логотип: инлайн-SVG, элементы .logo-el «проявляются» по очереди при наведении */
.logo-mobile {
  display: none;
  /* на iOS долгое нажатие на картинку открывало меню «Сохранить изображение»;
     касание уходит на ссылку-обёртку, переход на главную работает как раньше */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.logo-mark,
.logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.logo-mark .logo-el { fill: #fff; }

/* внешнее кольцо: в покое замкнуто, при наведении рисуется из точки по часовой */
.logo-mark .logo-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 1.1;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
}

.site-header__logo:hover .logo-ring,
.site-header__logo:focus-visible .logo-ring {
  animation: gvRingDraw .85s cubic-bezier(.45, 0, .2, 1) both;
}

@keyframes gvRingDraw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* наведение на ссылку-логотип не должно гасить его глобальным a:hover */
.site-header__logo:hover { opacity: 1; }

.site-header__logo:hover .logo-el,
.site-header__logo:focus-visible .logo-el {
  animation: gvLogoIn .5s cubic-bezier(.47, 0, .745, .715) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}

@keyframes gvLogoIn {
  from { fill: rgba(255, 255, 255, 0); }
  to { fill: #fff; }
}

/* На тач-устройствах наведения нет — логотип живёт в бесконечном цикле:
   контур обводится, элементы проявляются по очереди, потом всё гаснет и повторяется. */
@media (hover: none), (max-width: 991px) {
  .logo-mark .logo-ring {
    animation: gvRingLoop 6s cubic-bezier(.45, 0, .2, 1) infinite;
  }
  .logo-mark .logo-el {
    animation: gvLogoLoop 6s cubic-bezier(.47, 0, .745, .715) infinite;
    animation-delay: calc(var(--i, 0) * 30ms);
  }
}

@keyframes gvRingLoop {
  0%   { stroke-dashoffset: 100; }
  18%  { stroke-dashoffset: 0; }
  76%  { stroke-dashoffset: 0; }
  94%  { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 100; }
}

@keyframes gvLogoLoop {
  0%   { fill: rgba(255, 255, 255, 0); }
  12%  { fill: #fff; }
  78%  { fill: #fff; }
  96%  { fill: rgba(255, 255, 255, 0); }
  100% { fill: rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark .logo-ring,
  .logo-mark .logo-el { animation: none; }
}

.site-header__features {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  padding-top: 4px;
  max-width: 470px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.feature__icon {
  flex: none;
  width: 24px;
  height: 27px;
  color: var(--white);
}
.feature__icon svg { width: 100%; height: auto; display: block; fill: currentColor; }
.feature__text {
  font: 400 14px/1.2 var(--font-cond);
  color: var(--white);
  max-width: 130px;
  margin: 0;
}
/* «только сертифицированная закись азота» — ровно две строки */
.site-header__features .feature:nth-child(1) .feature__text { max-width: 200px; }

.site-header__phone {
  margin-left: auto;
  font: 400 24px/1.1 var(--font-head);
  color: var(--white);
  white-space: nowrap;
  padding-top: 4px;
}
.site-header__phone:hover { color: var(--gold); opacity: 1; }

.site-header__nav {
  margin-top: 0;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 26px;
}
.site-nav a {
  display: inline-block;
  font: 400 15px/1.2 var(--font-head);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .is-active > a {
  border-bottom-color: var(--gold);
  opacity: 1;
}

/* бургер */
.site-nav--mobile { display: none; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(245, 207, 111, .5);
  border-radius: 0;
  background: none;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 0;
  transition: transform .25s ease, opacity .25s ease;
}
body.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 738px;
  overflow: hidden;
  background: #05070a;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .82) 0, rgba(0, 0, 0, 0) 48%),
    linear-gradient(90deg, rgba(0, 0, 0, .85) 0, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .45) 100%),
    linear-gradient(0deg, rgba(8, 12, 18, .95) 0, rgba(8, 12, 18, 0) 30%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 278px;
  padding-bottom: 90px;
}

.hero__title {
  font-size: 60px;
  line-height: 1.304;
  text-transform: none;
  color: var(--white);
  margin: 0;
  max-width: 700px;
}
.hero__title b,
.hero__title .accent {
  display: block;
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 60px;
}
.hero__title span.sub {
  display: block;
  font-size: 25px;
  text-transform: uppercase;
  color: var(--white);
}

.hero__note {
  margin: 20px 0 0;
  font: 400 20px/1.3 var(--font-head);
  color: var(--note);
}
.hero__actions { margin-top: 54px; }
.hero__tag {
  margin: 46px 0 0;
  font: 400 20px/1.2 var(--font-cond);
  color: var(--white);
}

/* ---------- маркиза ---------- */
.marquee {
  position: relative;
  z-index: 3;
  margin-top: -55px;
  overflow: hidden;
  height: 55px;
  display: flex;
  align-items: center;
  background: transparent;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 74px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  font: 400 48px/1 var(--font-head);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  display: inline-block;
}
/* чередование: обычная надпись — зеркальная — обычная … */
.marquee__item:nth-child(even) {
  transform: scaleX(-1);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- секции ---------- */
.section { padding: 0; }
.section__title {
  font-family: var(--font-head);
  font-size: 48px;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  color: var(--section-title);
  margin: 0 0 45px;
}
.section__title--gold { color: var(--gold); }

/* ---------- сетки товаров ---------- */
.products { padding-top: 51px; }

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 472px;
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

.card__media {
  position: relative;
  flex: none;
  height: 262px;
  background: #05070a url('../img/card-smoke.webp') center/cover no-repeat;
}
.card__media img.card__img {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  max-height: 205px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6));
}
.card__media img.card__img--wide { max-height: 180px; max-width: 88%; }

.card__badge {
  position: absolute;
  top: 22px;
  right: auto;
  left: 14px;
  width: 69px;
  height: 69px;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}
.card__num {
  position: absolute;
  top: 18px; right: 20px;
  font: 400 15px/1 var(--font-cond);
  color: rgba(255, 255, 255, .55);
}

/* иконка обмена у карточек «Замена» — крутится при наведении */
.card__swap {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  pointer-events: none;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.card__swap svg { width: 100%; height: 100%; }
.card:hover .card__swap,
.card:focus-within .card__swap { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .card__swap { transition: none; }
}

.card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 33px 14px 41px;
}
.card__title {
  font: 400 18px/1.15 var(--font-head);
  color: var(--gold);
  margin: 0;
  text-transform: none !important;
}
.card__sub {
  margin: 6px 0 0;
  font: 400 18px/1.15 var(--font-cond);
  color: var(--white);
}
.card__price {
  margin: 6px 0 0;
  font: 700 18px/1.15 var(--font-cond);
  color: var(--white);
}
.card--aroma .card__sub { font-size: 14px; }
.card--aroma .card__media img.card__img { max-height: 185px; }

.card__cta {
  position: relative;
  margin-top: auto;
  width: 162px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--gold);
  font: 700 18px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .01em;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.card:hover .card__cta { background: #0f0f0f; color: var(--gold); }
.card__cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


/* фото-плитки в сетке баллонов */
.card-photo {
  position: relative;
  grid-column: span 2;
  height: 472px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #05070a;
}
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-photo:hover img { transform: scale(1.03); }

/* ---------- аксессуары ---------- */
.accessories {
  margin: 63px auto 0;
  max-width: calc(1140px + 64px);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 37px 32px 42px;
}
.accessories .container { max-width: 1140px; padding: 0; }
.accessories .section__title { margin-bottom: 45px; }

/* аксессуаров пять — пятой колонкой, карточки компактнее */
.accessories .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.accessories .card { height: auto; }
.accessories .card__media { height: auto; aspect-ratio: 1 / 1; }
.accessories .card__media img.card__img { max-height: 74%; }
/* текст и отступы — как в карточках баллонов (базовые стили .card__*),
   плюс зазор от цены до кнопки: у баллонов его даёт свободная высота, здесь карточка
   тянется по контенту и gap схлопывается в ноль */
.accessories .card__price { margin-bottom: 22px; }

/* карточка-баннер: заголовок сверху, фото по центру, кнопка снизу */
.accessories .card--banner {
  justify-content: flex-start;
  /* фон совпадает с фоном вырезанной иллюстрации, чтобы не было шва */
  background: linear-gradient(180deg, #0b0e12 0%, #06080a 55%, #000 100%);
  padding: 28px 18px 24px;
  height: 100%;
  min-height: 472px;
}
.accessories .card--banner .card__title {
  font: 400 24px/1.1 var(--font-head);
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}
.accessories .card--banner .card__media {
  position: relative;
  flex: 1;
  height: auto;
  aspect-ratio: auto;
  background: none;
  margin: 8px 0 4px;
  overflow: visible;
}
.accessories .card--banner .card__media img.card__img {
  position: static;
  transform: none;
  max-height: 100%;
  max-width: 100%;
  filter: none;
  /* растворяем края иллюстрации в фоне карточки — убирает видимый прямоугольник */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.accessories .card--banner .card__cta {
  flex: none;
  margin: 0 auto;
  width: 162px;
  height: 40px;
  font-size: 17px;
}

/* ---------- акции ---------- */
.promo-section {
  margin-top: 63px;
  padding: 46px 0 69px;
  background: #0b0f14 url('../img/promo-section-bg.webp') center / cover no-repeat;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.promo-section .section__title { margin-bottom: 39px; }

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

/* Карточка акции: пропорции макета 553 × 278, баннер — фоном */
.promo {
  position: relative;
  aspect-ratio: 553 / 278;
  overflow: hidden;
  border-radius: 0;
  background: #05070a;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}

.promo:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 0 1px rgba(245, 207, 111, .9),
    0 0 34px rgba(245, 207, 111, .34),
    0 18px 40px rgba(0, 0, 0, .55);
}

@media (prefers-reduced-motion: reduce) {
  .promo { transition: none; }
  .promo:hover { transform: none; }
}

.promo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.promo__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 42px 22px 26px;
}

.promo__title {
  font: 400 34px/1.02 var(--font-head);
  color: var(--white);
  text-transform: none !important;
  letter-spacing: 0;
  margin: 0;
  max-width: 100%;
}
.promo__title .c-cyan { color: #00bec7; }
.promo__title .c-yellow { color: #efda56; }
.promo__title .c-orange { color: #ed8447; }
.promo__title .c-red { color: #ff1a00; }

/* строка «10л → 3.5 л баллон 1 шт»: цифры — Oldtimer 50, слова — Helios Bold 22 */
.promo__line {
  margin: 0;
  font: 400 50px/1.05 var(--font-head);
  color: var(--white);
  text-transform: none;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.promo__line .n { color: #ff1a00; }
.promo__line .ln {
  font-size: 22px;
  margin-left: 1px;
}
.promo__line .ar {
  font: 400 30px/1 var(--font-body);
  margin: 0 6px;
  position: relative;
  top: -2px;
}
.promo__line .l {
  font: 700 22px/1.15 var(--font-cond);
  letter-spacing: 0;
}
.promo__line .l b {
  font-weight: 700;
  color: var(--gold);
}

.promo__note {
  margin: 14px 0 0;
  font: 700 17px/1.25 var(--font-cond);
  color: var(--gold);
  max-width: 272px;
}

.promo__bottom {
  display: flex;
  align-items: center;
  height: 86px;
  margin-top: auto;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 255, 255, .1);
}

.promo__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  width: 150px;
  height: 51px;
  padding: 0 12px;
  background: var(--gold);
  color: #0f0f0f;
  font: 700 35px/1 var(--font-cond);
  white-space: nowrap;
}

.promo__old {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: var(--white);
  font: 700 20px/1 var(--font-cond);
  white-space: nowrap;
}
.promo__old span {
  font-size: 20px;
  font-weight: 400;
}
.promo__old b {
  font: 700 35px/1 var(--font-cond);
  letter-spacing: 0;
  color: var(--gold);
}

.promo__badge {
  position: absolute;
  z-index: 1;
  top: 100px;
  right: 76px;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: var(--gold);
  font: 400 32px/1 var(--font-head);
  transform: rotate(-12deg);
  pointer-events: none;
}

.promo__open {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.promo__open:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* ---------- арома ---------- */
.aroma-section { margin-top: 63px; }

/* ---------- FAQ ---------- */
.faq {
  margin-top: 63px;
  background: #000;
  border-radius: var(--radius);
  padding: 28px 34px 34px;
}
.faq__title {
  font: 400 32px/1.1 var(--font-head);
  color: var(--gold);
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 20px;
}
.faq__intro {
  max-width: 756px;
  margin: 0 0 32px;
  font: 400 16px/1.5 var(--font-cond);
  color: var(--white);
}
.faq__item { border-top: 1px solid rgba(255, 255, 255, .16); }
.faq__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font: 400 16px/1.5 var(--font-cond);
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); }
.faq__q::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__a {
  padding: 0 60px 24px 4px;
  font: 400 14px/1.6 var(--font-cond);
  color: var(--muted);
  max-width: 1040px;
}

/* ---------- дисклеймер ---------- */
.disclaimer {
  margin: 49px 0 0;
  font: 700 16px/1.5 var(--font-body);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .01em;
}

/* ---------- подвал ---------- */
.site-footer {
  margin-top: 30px;
  padding-bottom: 40px;
  color: var(--white);
}
.site-footer__line {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
  margin: 0 0 40px;
}
.site-footer__row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-copy {
  max-width: 385px;
  font: 400 14px/1.5 var(--font-body);
  color: var(--white);
  margin: 0;
}
.footer-copy a { color: var(--gold); display: inline-block; margin-top: 18px; }
.footer-mid {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: 40px;
}
.footer-age {
  margin: 0;
  font: 400 48px/1 var(--font-body);
  color: var(--muted);
  align-self: center;
}
.footer-cta { margin-left: auto; }

/* ---------- всплывающее окно ---------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup.is-open { display: flex; }
.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(3px);
}
.popup__panel {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 92vh;
  overflow: auto;
  border-radius: 0;
  background: #05070a url('../img/hero-bg.webp') center/cover no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: popup-in .25s ease;
}
.popup__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 23%, rgba(0, 0, 0, .25) 85%);
  pointer-events: none;
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.popup__body {
  position: relative;
  padding: 46px 38px 40px;
  min-height: 421px;
  display: flex;
  flex-direction: column;
}
.popup__title {
  font: 400 43px/1.05 var(--font-head);
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}
.popup__sub {
  margin: 12px 0 0;
  font: 400 14px/1.4 var(--font-body);
  color: var(--gold);
  text-transform: uppercase;
}
.popup__phone {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 34px 0 0;
  padding: 18px 20px;
  background: rgba(0, 0, 0, .35);
  border-radius: 0;
}
.popup__phone-icon { flex: none; width: 48px; height: 48px; color: var(--gold); }
.popup__phone-icon svg { width: 100%; height: 100%; fill: currentColor; }
.popup__phone a {
  font: 400 36px/1.1 var(--font-head);
  color: var(--white);
}
.popup__phone a:hover { color: var(--gold); opacity: 1; }
.popup__note {
  margin: 30px 0 0;
  font: 400 14px/1.5 var(--font-body);
  color: var(--white);
  max-width: 560px;
}
.popup__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 40px; height: 40px;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.popup__close:hover { color: var(--gold); }
.popup__close:focus { outline: none; }
.popup__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.popup-open { overflow: hidden; }

/* ---------- внутренние страницы ---------- */
.page-hero {
  position: relative;
  min-height: 520px;
  padding-top: 47px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, 0) 40%),
    linear-gradient(0deg, rgba(10, 14, 20, .95) 0, rgba(10, 14, 20, .1) 45%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 205px;
}
.page-hero--cards { min-height: 738px; }
.page-hero--cards .page-hero__inner { padding-top: 0; }
.page-hero--cards .page-intro { margin-top: auto; padding-top: 70px; padding-bottom: 42px; }
.page-hero__h1 {
  font: 400 48px/1.1 var(--font-head);
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}
.page-hero__cards {
  display: grid;
  grid-template-columns: repeat(2, 356px);
  gap: 44px;
  margin-top: 200px;
  align-items: start;
}
.info-card {
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  padding: 22px 14px 20px;
  min-height: 139px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.info-card__title {
  font: 400 24px/1.15 var(--font-head);
  color: var(--gold);
  margin: 0 0 8px;
  text-transform: none;
}
.info-card__title span { color: var(--white); }
.info-card__value {
  margin: 0;
  font: 400 18px/1.3 var(--font-body);
  color: var(--gold);
}
.info-card__value b,
.info-card__value strong { color: var(--white); font-weight: 600; }
.info-card__note {
  margin: 6px 0 0;
  font: italic 400 15px/1.3 var(--font-body);
  color: var(--white);
}

.page-body { position: relative; z-index: 2; padding-top: 40px; }
.page-intro__title {
  font: 400 24px/1.35 var(--font-head);
  color: var(--gold);
  margin: 0 0 10px;
  text-transform: none;
  max-width: 1000px;
}
.page-intro__text { font: 400 16px/24px var(--font-body); color: var(--white); max-width: 1130px; }

.page-content { font: 400 16px/24px var(--font-body); color: var(--white); }
.page-content h2,
.page-content h3 {
  font: 400 24px/1.35 var(--font-head);
  color: var(--gold);
  text-transform: none;
  margin: 42px 0 12px;
}
.page-content p { margin: 0 0 16px; }
.page-content a { color: var(--gold); }
.page-content ul { margin: 0 0 16px 0; padding-left: 20px; list-style: disc; }
.page-content li { margin-bottom: 8px; }

/* карточки преимуществ на внутренних */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 36px 0 6px;
}
.feature-card {
  display: flex;
  gap: 14px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  padding: 16px 20px;
  min-height: 121px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.feature-card__icon { flex: none; width: 37px; height: 37px; color: var(--gold); }
.feature-card__icon svg { width: 100%; height: auto; fill: currentColor; }
.feature-card__title {
  font: 400 18px/1.2 var(--font-head);
  color: var(--gold);
  margin: 0;
  text-transform: none;
}
.feature-card__title span { color: var(--white); }
.feature-card__text {
  margin: 6px 0 0;
  font: 400 15px/1.6 var(--font-body);
  color: var(--white);
}

/* сертификаты */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin: 0 0 40px;
}
.doc {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 19px;
  height: 441px;
}
.doc__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.doc__img img { max-height: 100%; width: auto; object-fit: contain; }
.doc__title {
  margin: 12px 0 0;
  font: 400 16px/1.3 var(--font-head);
  color: var(--gold);
  text-align: center;
}

/* контакты */
.contacts-block {
  position: relative;
  border-radius: var(--radius);
  background: #05070a url('../img/card-smoke.webp') center/cover no-repeat;
  padding: 40px;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.contacts-list { display: grid; gap: 26px; }
.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row__icon { flex: none; width: 30px; height: 30px; color: var(--gold); }
.contact-row__icon svg { width: 100%; height: 100%; fill: currentColor; }
.contact-row__label { margin: 0; font: 400 20px/1.3 var(--font-head); color: var(--gold); text-transform: uppercase; }
.contact-row__value { margin: 4px 0 0; font: 400 16px/1.5 var(--font-body); color: var(--white); }
.contact-row__value a { color: var(--white); }
.contacts-map { border-radius: 0; overflow: hidden; }
.contacts-map a { display: block; height: 100%; }
.contacts-map img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- адаптив ---------- */
@media (max-width: 1199px) {
  :root { --container: 960px; }
  .hero { min-height: 660px; }
  .hero__title { font-size: 50px; }
  .hero__title b, .hero__title .accent { font-size: 50px; }
  .hero__title span.sub { font-size: 21px; }
  .card { height: 440px; }
  .card__media { height: 232px; }
  .card-photo { height: 440px; }
  .section__title { font-size: 40px; }
  .site-header__features { display: none; }
  .page-hero { min-height: 620px; }
  .page-hero__cards { margin-top: 150px; }
  .contacts-block { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  :root { --container: 100%; --gap: 20px; }
  .site-header { padding-top: 18px; }
  .site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
  .site-header__top { gap: 14px; align-items: center; }
  .site-header__logo { width: 64px; height: 64px; }
  .site-header__right { gap: 0; }
  .site-header__row { align-items: center; justify-content: space-between; gap: 10px; }
  .site-header__phone { font-size: 16px; padding-top: 0; }
  .site-header__nav { display: none; }
  .burger { display: flex; margin: 0; flex: none; }

  .site-nav--mobile {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 90px 24px 40px;
    background: #070b11;
    overflow-y: auto;
  }
  body.nav-open .site-nav--mobile { display: flex; }
  .site-nav--mobile { z-index: 29; }
  .site-nav--mobile ul { display: grid; gap: 6px; }
  .site-nav--mobile a {
    font: 400 26px/1.3 var(--font-head);
    color: var(--white);
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: block;
  }
  .site-nav--mobile a:hover { color: var(--gold); }

  .hero { min-height: 0; height: auto; padding-bottom: 0; }
  .hero__inner { padding-top: 110px; padding-bottom: 60px; }
  .hero__bg img { object-position: center bottom; }
  .hero__title { font-size: 38px; }
  .hero__title b, .hero__title .accent { font-size: 38px; }
  .hero__title span.sub { font-size: 17px; }
  .hero__note { font-size: 17px; }
  .marquee { margin-top: 24px; }
  .marquee__item { font-size: 34px; }

  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .card { height: auto; min-height: 420px; }
  .card__media { height: 200px; }
  .card__body { padding: 20px 12px 24px; }
  .card-photo { height: 300px; }
  .accessories { margin-top: 40px; padding: 24px 18px 28px; }
  .accessories .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accessories .card__body { padding: 18px 8px 22px; }
  .accessories .card__cta { width: 100%; max-width: 160px; }
  .section__title { font-size: 32px; margin-bottom: 26px; }
  .products { padding-top: 36px; }

  .promo-section { padding: 34px 0 42px; margin-top: 44px; }
  .grid-promo { grid-template-columns: 1fr; gap: 18px; }
  .promo { aspect-ratio: auto; min-height: 210px; }
  .promo__inner { padding: 24px 16px 16px; }
  .promo__title { font-size: 24px; max-width: 78%; }
  .promo__line { font-size: 28px; margin-top: 10px; line-height: 1.6; }
  .promo__line .l { font-size: 15px; }
  .promo__note { font-size: 14px; max-width: 58%; margin-top: 10px; }
  .promo__pill { min-width: 116px; height: 42px; font-size: 24px; padding: 0 12px; }
  .promo__old { font-size: 14px; padding: 0 12px; gap: 6px; }
  .promo__old span { font-size: 14px; }
  .promo__old b { font-size: 24px; }
  .promo__badge { top: 50%; right: 14px; width: 62px; height: 62px; margin-top: -51px; font-size: 21px; }
  .promo__bg img { object-position: right center; }

  .faq { padding: 22px 18px 26px; margin-top: 40px; }
  .faq__title { font-size: 26px; }
  .faq__a { padding-right: 20px; }

  .disclaimer { font-size: 13px; line-height: 1.55; }
  .site-footer__row { flex-direction: column; gap: 20px; }
  .footer-mid { margin: 0; }
  .footer-age { font-size: 34px; }
  .footer-cta { margin-left: 0; width: 100%; }
  .footer-cta .btn { width: 100%; }

  .page-hero { min-height: 0; padding-top: 110px; padding-bottom: 30px; }
  .page-hero__h1 { font-size: 30px; }
  .page-hero__cards { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .page-intro__title { font-size: 20px; }
  .page-content h2, .page-content h3 { font-size: 20px; margin-top: 28px; }
  .features-row { grid-template-columns: 1fr; gap: 14px; }
  .feature-card__title { font-size: 16px; }
  .feature-card__text { font-size: 13px; }
  .docs-grid { grid-template-columns: 1fr; gap: 18px; }
  .doc { height: 380px; }
  .contacts-block { padding: 22px 18px; gap: 22px; }
  .contacts-map { aspect-ratio: 16 / 11; }
  .contact-row__label { font-size: 17px; }

  .popup__body { padding: 34px 20px 26px; min-height: 0; }
  .popup__title { font-size: 26px; }
  .popup__phone { gap: 14px; padding: 14px; margin-top: 22px; }
  .popup__phone a { font-size: 22px; }
  .popup__phone-icon { width: 32px; height: 32px; }
  .popup__note { margin-top: 20px; font-size: 13px; }
}

/* перенос строки в заголовках баннеров — только на телефоне */
@media (min-width: 768px) {
  .promo__title br { display: none; }
}

/* ---------- мобильный первый экран: макет mob 440×755 ---------- */
@media (max-width: 767px) {
  .hero {
    min-height: 755px;
    height: auto;
  }
  .hero__inner {
    /* на 25 px выше макета: над заголовком слишком много воздуха */
    padding-top: 107px;
    padding-bottom: 0;
  }
  .hero__title {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1.02;
    max-width: 100%;
  }
  .hero__title b,
  .hero__title .accent { font-size: inherit; }
  .hero__title span.sub {
    font-size: clamp(16px, 5vw, 20px);
    line-height: 1.15;
    margin-top: 9px;
  }
  .hero__note {
    font-size: clamp(15px, 4.5vw, 20px);
    margin-top: 16px;
  }
  .hero__actions { margin-top: 30px; }
  .btn--hero {
    width: 204px;
    height: 56px;
    font-size: 16px;
  }
  .hero__tag {
    font-size: 16px;
    margin-top: 26px;
  }
  .hero__bg picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .promo__title { font-size: 24px; max-width: 78%; line-height: 1.4; }
  .promo__line { margin-top: 6px; line-height: 1.35; }
  .promo__bottom { height: 76px; }
  .promo__badge { top: 18px; margin-top: 0; }

  /* крестик в поп-апе: над заголовком и вдвое крупнее */
  .popup__body { padding-top: 92px; }
  .popup__close {
    top: 6px;
    right: 8px;
    width: 80px;
    height: 80px;
    font-size: 54px;
    line-height: 76px;
  }

  /* внутренние страницы: короткая фотополоса с золотым заголовком */
  .page-hero,
  .page-hero--cards {
    min-height: 228px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .page-hero__inner {
    padding-top: 120px;
    padding-bottom: 14px;
    justify-content: flex-end;
  }
  .page-hero__h1 {
    font-size: 22px;
    line-height: 1.15;
    color: var(--gold);
    text-align: center;
    margin: 0 auto;
  }
  .page-hero--cards .page-hero__inner { padding-top: 92px; padding-bottom: 0; }
  .page-hero__cards { margin-top: 0; }
  .page-hero--cards .page-intro { padding-top: 22px; padding-bottom: 16px; }

  /* в мобильном макете фото-плиток в сетке баллонов нет */
  .card-photo { display: none; }
}

@media (max-width: 479px) {
  /* товары в две колонки */
  .grid-cards,
  .accessories .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 15px; }

  .site-header__logo { width: 54px; height: 54px; }
  .logo-mark { display: none; }
  .logo-mobile { display: block; width: 100%; height: 100%; }
  .site-header__phone { font-size: 14px; }

  .card-photo { grid-column: span 2; height: 200px; }
  .card { min-height: 0; height: auto; }

  /* фотозона чуть выше квадрата, чтобы высокие флаконы не обрезались */
  .card__media,
  .card--aroma .card__media { height: auto; aspect-ratio: 1 / 1.15; }
  .card__media img.card__img,
  .card--aroma .card__media img.card__img { max-height: 86%; max-width: 86%; }

  .card__body { padding: 14px 6px 16px; }
  .card__title { font-size: 13px; line-height: 1.2; }
  .card__sub { font-size: 11px; margin-top: 3px; }
  .card__price { font-size: 14px; margin-top: 3px; }
  .card__cta {
    width: 100%;
    max-width: 132px;
    height: 34px;
    font-size: 12px;
    margin-top: 10px;
  }
  .card__swap { top: 8px; right: 8px; width: 30px; height: 30px; }
  .card__badge { top: 10px; right: auto; left: 8px; width: 40px; height: 40px; }

  /* аксессуары — компактнее, как в макете: квадратная фотозона, товар с воздухом */
  .accessories .card__media { aspect-ratio: 1 / 1; }
  .accessories .card__media img.card__img { max-height: 78%; max-width: 78%; }
  .accessories .card__body { padding: 12px 6px 14px; }
  .accessories .card__title { font-size: 12.5px; }
  .accessories .card__sub { font-size: 10.5px; }
  .accessories .card__price { font-size: 13px; }
  .accessories .card__cta {
    width: 100%;
    max-width: 126px;
    height: 32px;
    font-size: 11.5px;
    margin-top: 8px;
  }
  .accessories .card { height: 100%; }
  .accessories .card--banner {
    height: 100%;
    min-height: 0;
    padding: 16px 8px 12px;
  }
  .accessories .card--banner .card__title { font-size: 15px; }
  .accessories .card--banner .card__media { margin: 6px 0 4px; }
  .accessories .card--banner .card__cta { max-width: 120px; height: 30px; font-size: 11px; }

  .hero__tag { font-size: 16px; }
  .site-header__phone { font-size: 16px; }
  .promo__title { max-width: 100%; font-size: 22px; line-height: 1.4; }
  .promo__note { max-width: 100%; }
}

/* ---------- 404 ---------- */
.error-page { padding: 200px 0 120px; text-align: center; }
.error-page h1 { font-size: 48px; color: var(--gold); margin-bottom: 20px; }
.error-page p { color: var(--muted); margin-bottom: 30px; }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- статьи ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  border-radius: 0;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 207, 111, .55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
  opacity: 1;
}
.article-card__title {
  margin: 0;
  font: 400 19px/1.2 var(--font-head);
  color: var(--white);
}
.article-card__text {
  margin: 0;
  font: 400 14px/1.5 var(--font-body);
  color: var(--muted);
}
.article-card__more {
  margin-top: auto;
  font: 400 13px/1 var(--font-cond);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}
.article-card__more::after { content: ' →'; }
.article-back {
  margin: 40px 0 0;
  font: 400 15px/1 var(--font-body);
}
.article-back a { color: var(--gold); }
.article-page p { max-width: 860px; }

@media (max-width: 991px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .article-card { padding: 18px 16px 16px; }
  .article-card__title { font-size: 16px; }
  .article-card__text { font-size: 13px; }
}
@media (max-width: 479px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ---------- таблица «Шаров в баллоне» ---------- */
.shots {
  position: relative;
  z-index: 2;
  /* тот же воздух над таблицей, что и под ней (отступ секции «Аксессуары») */
  padding: 63px 0 0;
}
.shots__card {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 34px 26px;
  border-radius: 0;
  border: 1px solid rgba(245, 207, 111, .22);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(245, 207, 111, .07), transparent 60%),
    rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.shots__title {
  margin: 0 0 20px;
  font: 400 30px/1.1 var(--font-head);
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
}
.shots__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.shots__table th,
.shots__table td {
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.shots__table thead th {
  font: 400 13px/1.1 var(--font-cond);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: rgba(245, 207, 111, .28);
}
.shots__table thead th:first-child { text-align: left; padding-left: 6px; }
.shots__table tbody th {
  width: 26%;
  text-align: left;
  padding-left: 6px;
  font: 400 24px/1 var(--font-head);
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.shots__table tbody td {
  font: 400 21px/1.2 var(--font-cond);
  color: var(--white);
}
.shots__table tbody tr:last-child th,
.shots__table tbody tr:last-child td { border-bottom: 0; }
.shots__table tbody tr { transition: background-color .2s ease; }
.shots__table tbody tr:hover { background: rgba(245, 207, 111, .05); }

@media (max-width: 991px) {
  .shots { padding-top: 40px; }
  .shots__card { padding: 24px 20px 18px; border-radius: 0; }
  .shots__title { font-size: 22px; margin-bottom: 14px; }
  .shots__table th, .shots__table td { padding: 12px 6px; }
  .shots__table thead th { font-size: 11px; }
  .shots__table tbody th { font-size: 19px; width: 22%; }
  .shots__table tbody td { font-size: 17px; }
}
@media (max-width: 479px) {
  .shots__card { padding: 20px 12px 14px; }
  .shots__title { font-size: 18px; }
  .shots__table th, .shots__table td { padding: 10px 4px; }
  .shots__table thead th { font-size: 9.5px; letter-spacing: .04em; }
  .shots__table tbody th { font-size: 16px; }
  .shots__table tbody td { font-size: 14px; }
}
