/* ============================================
   AZIMUT IMPORT — premium dark/red landing page
   ============================================ */

:root {
  /* base palette — светлая тема */
  --bg:        #f6f7f9;   /* фон страницы — почти белый */
  --bg-2:      #eceef2;   /* чередующиеся секции, поля ввода, маркиза */
  --bg-3:      #e2e5ea;   /* активные/фокус-состояния */
  --surface:   #ffffff;   /* карточки — белые */
  --surface-2: #f1f3f6;   /* чипы, открытый FAQ */
  --line:      rgba(16, 20, 30, 0.10);
  --line-2:    rgba(16, 20, 30, 0.16);

  /* brand */
  --red:       #e30613;
  --red-2:     #cf0410;   /* акцентный текст — чуть глубже для контраста на белом */
  --red-soft:  rgba(227, 6, 19, 0.10);
  --red-glow:  rgba(227, 6, 19, 0.28);

  /* text — тёмный на светлом */
  --text:      #14171f;
  --text-2:    #3d4452;
  --text-3:    #6b7280;
  --text-4:    #9aa1ad;

  /* misc */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow:    0 24px 60px -24px rgba(20, 25, 45, .16);
  --shadow-red:0 18px 44px -14px rgba(227, 6, 19, .28);

  --serif:  'Unbounded', 'Manrope', system-ui, sans-serif;
  --body:   'Manrope', system-ui, sans-serif;

  --container: 1240px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* ---------- background layers ---------- */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 1;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/></svg>");
}

.sun-bg {
  pointer-events: none;
  position: fixed;
  top: -260px; right: -260px;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--red) 0%, rgba(227,6,19,.45) 35%, transparent 70%);
  filter: blur(20px);
  opacity: .12;
  z-index: 0;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; margin: 0; }

.kicker {
  display: inline-flex; align-items: center;
  font-family: var(--body); font-weight: 700;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--red-2);
  margin-bottom: 18px;
}
.kicker::before {
  content: '';
  width: 36px; height: 1px; background: var(--red);
  margin-right: 14px;
}

.accent { color: var(--red-2); }
.stroke {
  -webkit-text-stroke: 1.5px var(--red-2);
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  position: relative;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  background: var(--red-2);
  transform: translateY(-2px);
  box-shadow: 0 25px 60px -10px rgba(255, 31, 45, .55);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red-2);
}
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.logo__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}
/* Новый горизонтальный логотип (картинка с текстом) */
.logo__full {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo--footer .logo__full { height: 54px; }
.logo__text { 
  display: flex; flex-direction: column; 
  line-height: 1; 
  font-family: var(--serif); 
  font-weight: 800; 
  letter-spacing: .04em; 
}
.logo__line1 { font-size: 17px; color: var(--text); }
.logo__line2 { font-size: 17px; color: var(--red-2); margin-top: 4px; }

.logo--footer { 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 12px; 
  margin-bottom: 14px;
}
.logo--footer .logo__img { width: 72px; height: 72px; }
.logo--footer .logo__line1, .logo--footer .logo__line2 { font-size: 22px; }

.nav {
  display: flex; gap: 6px;
  margin-left: 24px;
  flex: 1;
}
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: color .2s, background .2s;
  position: relative;
}
.nav a:hover { color: var(--text); background: var(--surface); }

.header__phone {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-red);
  transition: transform .25s;
}
.header__phone:hover { transform: translateY(-1px); }
.header__phone svg { width: 16px; height: 16px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.burger span {
  width: 22px; height: 2px; background: var(--text);
  transition: .3s;
  display: block;
}
.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); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu__phone {
  color: var(--red-2) !important;
  font-weight: 700 !important;
  margin-top: 8px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 40px 0 0;
  z-index: 2;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 52px;
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 12px var(--red-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.0;
  letter-spacing: -.035em;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero__lead {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 26px;
}
.hero__lead b { color: var(--text); font-weight: 700; }

.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero__stats {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero__stats li {
  display: flex; flex-direction: column;
}
.hero__stats .num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--text);
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 8px;
}
.hero__stats .num small {
  font-size: 14px;
  color: var(--red-2);
  font-weight: 600;
  letter-spacing: 0;
}
.hero__stats .lbl {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.4;
}

/* hero visual */
.hero__visual {
  position: relative;
  height: 430px;
}
.hero__sun {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ff3142, #c20510 60%, #850208 90%);
  box-shadow:
    inset -40px -40px 80px rgba(0,0,0,.4),
    0 0 120px var(--red-glow),
    0 0 240px rgba(227, 6, 19, .3);
}
.hero__sun::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 40%);
}
.hero__car {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 20px rgba(20, 20, 30, .14));
  animation: floatCar 6s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
@keyframes floatCar {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.hero__badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floatBadge 5s ease-in-out infinite;
}
.hero__badge .flag {
  width: 30px; height: 20px;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  overflow: hidden;
}
.hero__badge .b-lbl { 
  font-weight: 700; 
  font-size: 14px; 
  color: var(--text);
  letter-spacing: .01em;
}
.hero__badge--japan { top: 40px; left: 10px; animation-delay: 0s; }
.hero__badge--korea { top: 240px; right: 0; animation-delay: 1.5s; }
.hero__badge--china { bottom: 130px; left: 40px; animation-delay: 3s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.marquee__track {
  display: flex; gap: 32px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-3);
  animation: marqueeScroll 50s linear infinite;
}
.marquee__track span:nth-child(odd) { color: var(--text); }
.marquee__track span:nth-child(even):not(:nth-child(2n)) { color: var(--red-2); }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ sections ============ */
.section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
}
.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section__head--row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section__head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section__head--center .kicker::before { display: none; }
.section__head--center .kicker { padding-left: 0; }
.section__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.section__sub {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 620px;
}
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }

/* ============ ABOUT ============ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about__lead p {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 18px;
}
.about__lead b { color: var(--text); font-weight: 700; }
.about__lead .btn { margin-top: 16px; }

.about__bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 16px;
}
.about__bullets li {
  display: flex; gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s, background .3s;
}
.about__bullets li:hover {
  transform: translateX(6px);
  border-color: var(--red);
  background: linear-gradient(135deg, var(--surface), rgba(227,6,19,.05));
}
.ab__ico {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--red-glow);
}
.ab__ico svg { width: 24px; height: 24px; }
.about__bullets h4 {
  font-size: 17px;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.about__bullets p {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.5;
}

/* ============ CATALOG ============ */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-soft) 0%, transparent 65%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity .4s;
}
.cat-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 30px 70px -20px rgba(227,6,19,.25);
}
.cat-card:hover::before { opacity: 1; }
.cat-card__num {
  display: block;
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red-2);
  font-weight: 700;
  margin-bottom: 10px;
}
.cat-card h3 {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: 32px;
}
.cat-card__big {
  margin-bottom: 32px;
  position: relative;
}
.big-num {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--text);
  margin-bottom: 12px;
}
.big-num sup { font-size: .5em; color: var(--red-2); top: -.4em; }
.big-num small { font-size: .4em; color: var(--text-3); margin-left: 8px; font-weight: 600; letter-spacing: 0; }
.big-sub {
  display: block;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.5;
}
.cat-card__big--chart { display: flex; flex-direction: column; gap: 14px; }
.mini-chart { width: 100%; height: auto; max-width: 240px; }
.cat-card__chips {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
}
.chip__flag {
  width: 22px; height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  box-shadow: 0 1px 3px rgba(16, 20, 30, .18);
  border: 1px solid var(--line);
}

.cat-card__list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 10px;
}
.cat-card__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.cat-card__list li span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-2);
  flex-shrink: 0;
}
.cat-card__note {
  font-size: 13px; color: var(--text-3);
  margin: 0 0 32px;
  line-height: 1.5;
}
.cat-card__link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red-2);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  transition: gap .25s, color .25s;
  width: 100%;
}
.cat-card__link svg { width: 16px; height: 16px; }
.cat-card__link:hover { color: var(--red); gap: 14px; }

.cat-card--accent {
  background: linear-gradient(160deg, #ffffff 0%, #fff1f1 100%);
  border-color: rgba(227, 6, 19, .40);
}
.cat-card--accent::before { opacity: .6; }

.catalog__note {
  margin-top: 36px;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 14px;
}
.catalog__note svg { width: 22px; height: 22px; color: var(--red-2); flex-shrink: 0; margin-top: 1px; }

/* ============ HOW ============ */
.how { background: var(--bg-2); }
.steps {
  list-style: none; padding: 0; margin: 0 0 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s, background .3s;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), transparent);
  opacity: .6;
  transition: opacity .3s;
}
.step:hover { border-color: var(--red); transform: translateY(-6px); }
.step:hover::before { opacity: 1; }
.step__num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  background: linear-gradient(180deg, var(--red) 0%, #7a0710 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.step__ico {
  position: absolute;
  top: 26px; right: 22px;
  width: 28px; height: 28px;
  color: var(--red);
  opacity: .5;
  transition: opacity .3s, transform .3s;
}
.step:hover .step__ico { opacity: 1; transform: scale(1.1); }
.step__body h4 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  color: var(--text);
}
.step__body p {
  font-size: 13.5px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.55;
}

/* payments */
.payments {
  margin-bottom: 60px;
  padding: 40px;
  background: linear-gradient(135deg, var(--surface), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.payments__title {
  font-size: 26px;
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.payments__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pay {
  position: relative;
  padding: 22px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s;
}
.pay:hover { border-color: var(--red); }
.pay__num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 16px;
}
.pay p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

/* delivery */
.delivery__title {
  font-size: 26px;
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.delivery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.del-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.del-card:hover { border-color: var(--red); transform: translateY(-4px); }
.del-card svg { width: 32px; height: 32px; color: var(--red-2); margin-bottom: 22px; }
.del-card h4 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.del-card p {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.5;
}
.del-card--accent {
  background: linear-gradient(135deg, #ffffff, #fff1f1);
  border-color: rgba(227, 6, 19, .40);
}
.del-card--accent h4 { color: var(--text); }
.del-card--accent p { color: var(--text-3); }
.del-card--accent b { color: var(--red); }

/* ============ ADVANTAGES ============ */
.adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  position: relative;
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s, border-color .3s;
  overflow: hidden;
}
.adv-card::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 30px; right: 30px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.adv-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.adv-card:hover::after { transform: scaleX(1); }
.adv-card__ico {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--red-2);
  margin-bottom: 28px;
  transition: background .3s, color .3s;
}
.adv-card__ico svg { width: 28px; height: 28px; }
.adv-card:hover .adv-card__ico { background: var(--red); color: #fff; border-color: var(--red); }
.adv-card h3 {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.adv-card p {
  font-size: 14.5px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.55;
}
.adv-card--accent {
  background: linear-gradient(160deg, #ffffff, #fff1f1 70%);
  border-color: rgba(227, 6, 19, .40);
}
.adv-card--accent .adv-card__ico { background: var(--red); color: #fff; border-color: var(--red); }

/* ============ BOT ============ */
.bot { background: var(--bg-2); }
.bot__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bot__content p {
  font-size: 17px;
  color: var(--text-2);
  margin: 16px 0 28px;
  max-width: 520px;
}
.bot__list {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: grid; gap: 14px;
}
.bot__list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: var(--text-2);
}
.bot__list svg {
  width: 22px; height: 22px;
  background: var(--red);
  color: #fff;
  padding: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* phone mockup */
.bot__phone { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(145deg, #2a2a30, #1a1a1f);
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 60px 100px -20px rgba(0,0,0,.7),
    inset 0 2px 0 rgba(255,255,255,.05);
  border: 1px solid #38383e;
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #0a0a0c;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #1c1c21, #0f0f12);
  border-radius: 36px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone__app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 50px 18px 14px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  flex-shrink: 0;
}
.phone__app-ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff url("assets/logo.png") center/24px no-repeat;
  flex-shrink: 0;
}
.phone__app-title { font-size: 13px; font-weight: 700; color: #fff; }
.phone__app-sub { font-size: 11px; color: rgba(255,255,255,.7); }
.phone__chat {
  flex: 1;
  padding: 16px 14px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.msg {
  padding: 8px 12px;
  border-radius: 14px;
  max-width: 75%;
  font-size: 12.5px;
  line-height: 1.4;
}
.msg--in { background: var(--surface); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--out { background: var(--red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--calc {
  align-self: stretch;
  max-width: 100%;
  background: #fff;
  color: #000;
  padding: 14px;
  border-radius: 14px;
  display: grid; gap: 6px;
  margin-top: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.msg__calc-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 11.5px;
  color: #5b5b66;
}
.msg__calc-row b { color: #000; font-weight: 700; }
.msg__calc-row--total {
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 4px;
  font-size: 13px;
  color: #000;
}
.msg__calc-row--total b { color: var(--red); font-size: 14px; }

/* ============ REVIEWS GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);  /* 19.10.2026: 12 фото клиентов — два ряда по 6 */
  gap: 14px;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface);
  transition: transform .4s;
  border: 1px solid var(--line);
}
.gallery__item:hover { transform: translateY(-6px) scale(1.02); z-index: 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55) 100%);
  opacity: .8;
  transition: opacity .3s;
}
.gallery__item:hover::after { opacity: .4; }

/* ============ 2GIS ============ */
.gis { background: var(--bg-2); }
.gis__link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: border-color .25s, color .25s;
}
.gis__link:hover { border-color: var(--red); color: var(--red-2); }
.gis__link svg:last-child { width: 16px; height: 16px; }
.gis__stars { display: flex; gap: 2px; }
.gis__stars svg { width: 16px; height: 16px; }

.gis__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gis-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color .3s;
}
.gis-card:hover { border-color: var(--line-2); }
.gis-card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.ava {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.ava--A { background: linear-gradient(135deg, #e30613, #ff1f2d); }
.ava--B { background: linear-gradient(135deg, #3a3a48, #25252c); }
.ava--C { background: linear-gradient(135deg, #ff8c00, #ff5722); }
.ava--D { background: linear-gradient(135deg, #2a72e3, #5a3ee5); }
.gis-card__name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.gis-card__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.gis-card__meta .stars {
  color: #FFD000;
  font-size: 14px;
  letter-spacing: 1px;
}
.gis-card__text {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* ============ ORDER ============ */
.order__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.order__left { padding-top: 12px; }
.order__left p {
  font-size: 17px;
  color: var(--text-2);
  margin: 16px 0 32px;
  max-width: 460px;
}
.order__pluses {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.order__pluses li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.order__pluses svg {
  width: 18px; height: 18px;
  background: var(--red);
  color: #fff;
  padding: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}

.order__form {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid; gap: 18px;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; }
.field label, .field legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0;
}
.field input, .field select {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .25s, background .25s;
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--text-4); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-3);
}

.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-3);
  pointer-events: none;
}

.field--radio { gap: 12px; }
.radios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.radio input { position: absolute; opacity: 0; }
.radio__box {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
}
.radio__box svg { width: 18px; height: 18px; color: var(--text-3); transition: color .25s; }
.radio:hover .radio__box { border-color: var(--line-2); color: var(--text); }
.radio input:checked + .radio__box {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.radio input:checked + .radio__box svg { color: #fff; }

.order__privacy {
  margin: 0;
  font-size: 12px;
  color: var(--text-4);
  line-height: 1.5;
  text-align: center;
}

/* ─── Галочка «Согласие на обработку персональных данных» (152-ФЗ) ───
   Обязательное поле: без отметки обработчик в script.js не отправляет
   заявку и подсвечивает блок классом .is-error. */
.order__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.order__consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}
.order__consent span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
}
.order__consent a {
  color: var(--red);
  text-decoration: none;
}
.order__consent a:hover {
  text-decoration: underline;
}
.order__consent.is-error input[type="checkbox"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
.order__consent.is-error span {
  color: var(--red);
}

/* Ссылки на юридические документы в нижней полосе футера */
.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer__docs a {
  color: var(--text-3);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer__docs a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.order__success {
  display: flex; align-items: center; gap: 16px;
  padding: 22px;
  background: rgba(34, 160, 80, .12);
  border: 1px solid rgba(34, 160, 80, .35);
  border-radius: 14px;
  color: #138a4a;
}
.order__success[hidden] { display: none !important; }
.order__success svg {
  width: 28px; height: 28px;
  background: rgba(34, 160, 80, .18);
  padding: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.order__success h4 { font-family: var(--body); font-size: 16px; margin: 0 0 4px; color: #0f7a3f; }
.order__success p { font-size: 13px; color: var(--text-2); margin: 0; }

/* ============ FAQ ============ */
.faq__list {
  display: grid; gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s;
}
.faq__item[open] { border-color: var(--red); background: var(--surface-2); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--bg-2);
  border-radius: 50%;
  transition: transform .3s, background .3s;
  flex-shrink: 0;
}
.faq__chev svg { width: 18px; height: 18px; }
.faq__item[open] .faq__chev { transform: rotate(180deg); background: var(--red); }
.faq__item[open] .faq__chev svg { color: #fff; }
.faq__body {
  padding: 0 28px 26px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ SOCIALS ============ */
.socials { background: var(--bg-2); }
.socials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.soc {
  display: flex; align-items: center; gap: 18px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.soc::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}
.soc:hover { transform: translateY(-4px); border-color: var(--line-2); }
.soc:hover::before { transform: scaleY(1); }
.soc > svg:first-child { width: 32px; height: 32px; flex-shrink: 0; color: var(--text); transition: color .3s; }
.soc:hover > svg:first-child { color: var(--red-2); }
.soc__txt { flex: 1; }
.soc__name { display: block; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.soc__sub { display: block; font-size: 13px; color: var(--text-3); }
.soc__arr {
  width: 18px; height: 18px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform .3s, color .3s;
}
.soc:hover .soc__arr { transform: translate(2px, -2px); color: var(--red-2); }

.soc--vk > svg:first-child { color: #0077FF; }
.soc--yt > svg:first-child { color: #FF0000; }
.soc--tg > svg:first-child { color: #2AABEE; }
.soc--max > svg:first-child { color: #FFC107; }
.soc--gis > svg:first-child { color: #44B544; }
.soc--phone > svg:first-child { color: var(--red-2); }

/* ============ FOOTER ============ */
.footer {
  background: #eceef2;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 72px 24px 56px;
}
.footer__col h4 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-3);
  margin: 0 0 20px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text-2);
  transition: color .2s;
}
.footer__col a:hover { color: var(--red-2); }
.footer__col--brand p {
  margin: 18px 0 18px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
}
.footer__phone {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--text) !important;
  letter-spacing: -.01em;
}
.footer__col p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0 0 20px;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.footer__bottom .container {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-4);
}
.footer__col .btn {
  padding: 13px 22px;
  font-size: 14px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
}
.footer__col .btn svg { flex-shrink: 0; }

/* ============ FAB ============ */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 30;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 16px 40px -8px var(--red-glow), 0 4px 12px rgba(0,0,0,.4);
  transition: transform .25s, box-shadow .25s;
}
.fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 50px -8px var(--red-glow); }
.fab svg { width: 18px; height: 18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__phone span { display: none; }
  .header__phone { padding: 12px; }
  .burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 300px; order: -1; }
  .hero__sun { width: 230px; height: 230px; }
  .hero__car { width: 90%; max-width: 520px; }

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

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

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

  .bot__inner { grid-template-columns: 1fr; gap: 40px; }
  .bot__phone { order: -1; }

  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gis__grid { grid-template-columns: 1fr; }
  .order__inner { grid-template-columns: 1fr; gap: 40px; }

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

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

  .header__inner { padding: 12px 18px; gap: 12px; }
  .logo { gap: 10px; }
  .logo__img { width: 44px; height: 44px; }
  .logo__line1, .logo__line2 { font-size: 14px; }

  .hero { padding-top: 30px; }
  .hero__grid { gap: 24px; padding-bottom: 50px; }
  .hero__visual { height: 215px; }
  .hero__sun { width: 168px; height: 168px; transform: translate(-50%, -54%); }
  .hero__car { width: 92%; max-width: 320px; bottom: 10px; }
  .hero__badge--japan { top: 10px; left: 10px; padding: 8px 12px; }
  .hero__badge--korea { top: 110px; right: 10px; padding: 8px 12px; }
  .hero__badge--china { bottom: 50px; left: 16px; padding: 8px 12px; }
  .hero__badge .b-sub { display: none; }

  .hero__cta { gap: 10px; margin-bottom: 36px; }
  .hero__cta .btn { padding: 13px 20px; font-size: 14px; flex: 1; justify-content: center; min-width: 0; }
  .hero__cta .btn--ghost { flex: 1; }

  .hero__stats { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }
  .hero__stats .num { font-size: 32px; }

  .marquee__track { font-size: 16px; gap: 22px; }

  .section__head { margin-bottom: 40px; }
  .section__head--row { align-items: flex-start; flex-direction: column; }

  .cat-card { padding: 28px 24px; }
  .cat-card h3 { font-size: 28px; margin-bottom: 22px; }
  .big-num { font-size: 46px; }

  .steps { grid-template-columns: 1fr; }
  .payments { padding: 28px 22px; }
  .payments__grid { grid-template-columns: 1fr; }

  .adv__grid { grid-template-columns: 1fr; }
  .adv-card { padding: 30px 26px; }

  .order__form { padding: 28px 22px; }
  .radios { grid-template-columns: 1fr; }

  .faq__item summary { padding: 20px 22px; font-size: 15px; gap: 12px; }
  .faq__body { padding: 0 22px 22px; font-size: 14px; }

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

  .socials__grid { grid-template-columns: 1fr; }
  .soc { padding: 20px 22px; }

  .footer__inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 18px 32px; }
  .footer__bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  .fab { padding: 12px 18px; font-size: 13px; bottom: 16px; right: 16px; }
}

@media (max-width: 420px) {
  .section__title { font-size: 30px; }
  .hero__title { font-size: 38px; }
  .big-num { font-size: 40px; }
  .hero__visual { height: 190px; }
  .hero__car { max-width: 300px; }
  .hero__sun { width: 150px; height: 150px; }
}

/* ============ ANIMATIONS ON SCROLL ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 19.10.2026: адрес офиса в подвале */
.footer .footer__col .footer__addr{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:14px;line-height:1.5;color:var(--text-3)}
.footer .footer__addr svg{width:18px;height:18px;flex-shrink:0;margin-top:1px;color:var(--red-2)}

/* 19.10.2026: фото клиентов — полный экран с каруселью (lightbox.js) */
.lb{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:72px 1fr 72px;grid-template-rows:64px 1fr 96px;
  background:rgba(10,12,16,.94);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.lb.is-open{opacity:1;visibility:visible}
.lb__stage{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:0;min-width:0}
.lb__img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.5);
  opacity:0;transform:scale(.98);transition:opacity .25s,transform .25s}
.lb__img.is-in{opacity:1;transform:none}
.lb__nav{grid-row:2;align-self:center;justify-self:center;width:52px;height:52px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s,transform .2s}
.lb__nav:hover{background:var(--red);transform:scale(1.06)}
.lb__nav svg{width:24px;height:24px}
.lb__nav--prev{grid-column:1}.lb__nav--next{grid-column:3}
.lb__close{position:absolute;top:14px;right:16px;width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s}
.lb__close:hover{background:var(--red)}
.lb__close svg{width:22px;height:22px}
.lb__count{position:absolute;top:24px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.8);font-weight:600;font-size:15px;letter-spacing:.04em}
.lb__thumbs{grid-column:1/-1;grid-row:3;display:flex;gap:8px;justify-content:safe center;align-items:center;overflow-x:auto;padding:12px 16px;scrollbar-width:none}
.lb__thumbs::-webkit-scrollbar{display:none}
.lb__thumb{flex:0 0 auto;width:54px;height:72px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;cursor:pointer;
  background:none;opacity:.5;transition:opacity .2s,border-color .2s}
.lb__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lb__thumb:hover{opacity:.85}
.lb__thumb.is-active{opacity:1;border-color:var(--red)}
.gallery__item:focus-visible{outline:3px solid var(--red);outline-offset:3px}
@media (max-width:640px){
  .lb{grid-template-columns:0 1fr 0;grid-template-rows:60px 1fr 88px}
  .lb__stage{padding:0 8px}
  .lb__nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;background:rgba(0,0,0,.45)}
  .lb__nav:hover{transform:translateY(-50%)}
  .lb__nav--prev{left:10px}.lb__nav--next{right:10px}
  .lb__thumb{width:44px;height:58px}
}
@media (prefers-reduced-motion:reduce){.lb,.lb__img{transition:none}}
