/* =========================================================
   KIBOU AUTO — цвета логотипа: чёрный, красный, белый
   ========================================================= */
:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #151517;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f5f5f6;
  --muted: #a3a3ab;
  --red: #f23a2c;
  --red-hot: #ff5643;
  --red-deep: #b9201a;
  --red-a: rgba(242, 58, 44, .5);
  --white-a: rgba(255, 255, 255, .45);
  --font-head: "Exo 2", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Прогресс прокрутки ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-hot));
  box-shadow: 0 0 12px var(--red);
}

/* ---------- Кнопки ---------- */
.btn {
  --skew: -12deg;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  font: italic 800 15px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  border-radius: 6px;
  transform: skewX(var(--skew));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
/* Блик, пробегающий по кнопке */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: skewX(var(--skew)) translateY(-2px); }
.btn:active { transform: skewX(var(--skew)) translateY(0) scale(.98); }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 0 0 rgba(242, 58, 44, 0), 0 8px 24px -10px var(--red); }
.btn--red:hover { background: var(--red-hot); box-shadow: 0 0 28px var(--red-a), 0 0 60px rgba(242, 58, 44, .3), 0 10px 30px -10px var(--red); }
.btn--ghost { border: 1px solid var(--line-strong); color: #fff; background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: #fff; box-shadow: 0 0 22px var(--white-a), inset 0 0 14px rgba(255, 255, 255, .12); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }

/* Мягкая пульсация главной кнопки */
.hero .btn--red { animation: pulse 2.8s ease-in-out infinite 2.5s; }
.hero .btn--red:hover { animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 58, 44, .55), 0 8px 24px -10px var(--red); }
  50% { box-shadow: 0 0 0 10px rgba(242, 58, 44, 0), 0 0 30px rgba(242, 58, 44, .35); }
}

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 12, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo img { height: 34px; width: auto; transition: filter .3s; }
.header__logo:hover img { filter: drop-shadow(0 0 10px var(--red-a)); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  position: relative; padding: 6px 0;
  font: 600 14px/1 var(--font-body); color: var(--muted);
  transition: color .25s, text-shadow .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); box-shadow: 0 0 10px var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .4); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, background-color .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; right: 17px; background: var(--red); }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(242, 58, 44, .10), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, #1a0807, transparent 60%),
    var(--bg);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 10%, transparent 75%);
  opacity: .5;
}
/* Пятно света, следующее за курсором */
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--hx, 50%) var(--hy, 40%), rgba(242, 58, 44, .16), transparent 65%);
  transition: background .1s;
}
/* «Скоростные» линии как в логотипе */
.hero__streaks { position: absolute; inset: 0; pointer-events: none; }
.streak {
  position: absolute; left: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c, var(--red)) 70%, transparent);
  opacity: 0;
  animation: streak var(--dur, 3s) linear var(--delay, 0s) infinite;
}
@keyframes streak {
  0% { transform: translateX(110vw); opacity: 0; }
  10% { opacity: var(--o, .7); }
  90% { opacity: var(--o, .7); }
  100% { transform: translateX(-40vw); opacity: 0; }
}

.hero__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.hero__logo {
  width: min(640px, 92%);
  perspective: 900px;
  filter: drop-shadow(0 0 40px rgba(242, 58, 44, .28));
}
.hero__logo img {
  width: 100%; height: auto;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .2s ease-out;
}
.hero__tagline {
  display: flex; align-items: center; gap: 18px;
  margin-top: 26px;
  font: 600 clamp(12px, 1.6vw, 16px)/1.3 var(--font-head);
  letter-spacing: .32em; text-transform: uppercase; color: #fff;
}
.hero__tagline-text { text-wrap: balance; }
.hero__tagline i { font-style: normal; color: var(--red); text-shadow: 0 0 10px var(--red); }
.hero__line { width: clamp(28px, 6vw, 80px); height: 1px; background: linear-gradient(90deg, transparent, var(--red)); }
.hero__line:last-child { transform: scaleX(-1); }
.hero__text { max-width: 600px; margin-top: 22px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 36px; }
.socials { display: flex; gap: 12px; }
.socials--hero { margin-top: 36px; }
.social {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--muted);
  transition: color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease), background-color .25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover {
  color: #fff; border-color: var(--red); background: rgba(242, 58, 44, .12);
  box-shadow: 0 0 18px var(--red-a); transform: translateY(-3px);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px;
  transition: border-color .25s, box-shadow .25s;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--red); box-shadow: 0 0 8px var(--red);
  animation: wheel 1.8s var(--ease) infinite;
}
.hero__scroll:hover { border-color: #fff; box-shadow: 0 0 14px var(--white-a); }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Появление элементов hero после заставки */
.hero__logo, .hero__tagline, .hero__text, .hero__actions, .socials--hero, .hero__scroll { opacity: 0; }
.is-ready .hero__logo { animation: logoIn 1.1s var(--ease) .1s forwards; }
.is-ready .hero__tagline { animation: fadeUp .8s var(--ease) .55s forwards; }
.is-ready .hero__text { animation: fadeUp .8s var(--ease) .7s forwards; }
.is-ready .hero__actions { animation: fadeUp .8s var(--ease) .85s forwards; }
.is-ready .socials--hero { animation: fadeUp .8s var(--ease) 1s forwards; }
.is-ready .hero__scroll { animation: fadeUp .8s var(--ease) 1.2s forwards; }
@keyframes logoIn {
  0% { opacity: 0; transform: translateX(-60px) skewX(-14deg); filter: blur(14px) drop-shadow(0 0 0 transparent); }
  60% { opacity: 1; filter: blur(0) drop-shadow(0 0 60px rgba(242, 58, 44, .6)); }
  100% { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 40px rgba(242, 58, 44, .28)); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content; padding: 22px 0;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font: italic 800 clamp(18px, 2.4vw, 28px)/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
  transition: color .25s, -webkit-text-stroke-color .25s, text-shadow .25s;
}
.marquee span:hover { color: #fff; -webkit-text-stroke-color: #fff; text-shadow: 0 0 18px var(--white-a); }
.marquee b { color: var(--red); font: italic 800 20px/1 var(--font-head); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.title {
  margin-top: 16px;
  font: italic 900 clamp(34px, 5.2vw, 64px)/1.02 var(--font-head); text-transform: uppercase; letter-spacing: -.005em;
}
.title em { font-style: inherit; color: var(--red); text-shadow: 0 0 30px rgba(242, 58, 44, .35); }
.lead { margin-top: 18px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 560px; }
.section__head--center .lead { margin-inline: auto; }

/* Карточки со «светом» под курсором (красная подсветка + белая рамка) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 58, 44, .14), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .85), rgba(242, 58, 44, .6) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before, .spot:hover::after, .spot:focus-visible::after { opacity: 1; }

/* ---------- Вкладки стран ---------- */
.tabs__list {
  position: relative; display: inline-flex; gap: 4px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: 28px;
}
.tabs__tab {
  position: relative; z-index: 1; padding: 12px 26px; border-radius: 999px;
  font: italic 800 15px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.tabs__tab:hover { color: #fff; }
.tabs__tab.is-active { color: #fff; }
.tabs__ink {
  position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px;
  background: var(--red); box-shadow: 0 0 22px var(--red-a);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.tabs__panel {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px;
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-active { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel__glyph {
  font: 900 clamp(90px, 15vw, 200px)/1 "Hiragino Sans", "Noto Sans CJK JP", "Apple SD Gothic Neo", "PingFang SC", sans-serif;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242, 58, 44, .75);
  text-shadow: 0 0 40px rgba(242, 58, 44, .25);
  text-align: center; user-select: none;
}
.tabs__panel.is-active .panel__glyph { animation: glyphIn 1s var(--ease); }
@keyframes glyphIn { from { opacity: 0; transform: translateX(-30px) skewX(-10deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.panel__body h3 { font: italic 900 clamp(28px, 3.4vw, 40px)/1.05 var(--font-head); text-transform: uppercase; }
.panel__body p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 3px;
  background: var(--red); box-shadow: 0 0 10px var(--red); transform: skewX(-20deg);
}

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step {
  padding: 30px 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateY(-4px); }
.step__num {
  display: block; margin-bottom: 22px;
  font: italic 900 54px/1 var(--font-head);
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .35);
  transition: color .35s, -webkit-text-stroke-color .35s, text-shadow .35s;
}
.step:hover .step__num { color: var(--red); -webkit-text-stroke-color: var(--red); text-shadow: 0 0 24px var(--red-a); }
.step h3 { font: italic 800 22px/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.step p { margin-top: 10px; color: var(--muted); }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease);
}
.service:hover { transform: translateY(-4px); }
.service__icon {
  width: 52px; height: 52px; padding: 13px; margin-bottom: 22px;
  fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(242, 58, 44, .1); border: 1px solid rgba(242, 58, 44, .3); border-radius: 12px;
  transition: background-color .35s, box-shadow .35s, stroke .35s;
}
.service:hover .service__icon { background: var(--red); stroke: #fff; box-shadow: 0 0 24px var(--red-a); }
.service h3 { font: italic 800 20px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.service p { margin-top: 10px; color: var(--muted); }

/* ---------- YouTube ---------- */
.section--yt {
  overflow: hidden; border-top: 1px solid var(--line);
  background: radial-gradient(50% 70% at 85% 50%, rgba(242, 58, 44, .12), transparent 70%), var(--bg);
}
.yt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.yt__text .btn { margin-top: 32px; }
.yt__screen {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line-strong); background: #0d0d0d;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 rgba(242, 58, 44, 0);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.yt__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.02); transition: transform .8s var(--ease), filter .45s; filter: brightness(.78) saturate(1.05); }
.yt__screen:hover { transform: translateY(-6px) rotate(-.4deg); border-color: rgba(255, 255, 255, .5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 40px rgba(242, 58, 44, .35); }
.yt__screen:hover img { transform: scale(1.06); filter: brightness(.95) saturate(1.1); }
.yt__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 30px var(--red-a);
  animation: pulse 2.4s ease-in-out infinite;
  transition: background-color .3s, box-shadow .3s, scale .3s var(--ease);
}
.yt__play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; transition: fill .3s; }
.yt__screen:hover .yt__play { background: #fff; scale: 1.08; box-shadow: 0 0 34px var(--white-a); animation: none; }
.yt__screen:hover .yt__play svg { fill: var(--red); }
.yt__bar { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.yt__bar span { display: block; height: 100%; width: 100%; background: var(--red); box-shadow: 0 0 10px var(--red); transform-origin: left; animation: ytbar 6s linear infinite; }
@keyframes ytbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.yt__handle {
  position: absolute; left: 18px; top: 16px; padding: 6px 12px; border-radius: 999px;
  font: 700 13px/1 var(--font-body); background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); border: 1px solid var(--line-strong);
}

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: rgba(242, 58, 44, .45); box-shadow: 0 0 26px rgba(242, 58, 44, .12); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font: italic 800 18px/1.25 var(--font-head); text-transform: uppercase; letter-spacing: .02em; transition: color .3s, text-shadow .3s; }
.faq__item summary:hover h3 { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .35); }
.faq__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s, box-shadow .3s, rotate .4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: #fff; border-radius: 2px; transition: rotate .4s var(--ease);
}
.faq__icon::after { rotate: 90deg; }
.faq__item summary:hover .faq__icon { border-color: #fff; box-shadow: 0 0 14px var(--white-a); }
.faq__item[open] .faq__icon { background: var(--red); border-color: var(--red); box-shadow: 0 0 18px var(--red-a); rotate: 180deg; }
.faq__item[open] .faq__icon::after { rotate: 0deg; }
.faq__answer { padding: 0 24px 24px; color: var(--muted); }
.faq__item[open] .faq__answer { animation: fadeUp .45s var(--ease); }

/* ---------- Контакты ---------- */
.section--contacts {
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 100%, rgba(242, 58, 44, .16), transparent 70%), var(--bg-2);
}
.contacts__streak {
  position: absolute; left: -10%; right: -10%; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 20px var(--red); opacity: .25;
  animation: sweep 6s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: translateX(-20%) rotate(-4deg); } to { transform: translateX(20%) rotate(-4deg); } }
.links { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.link-card { grid-column: span 2; }
.link-card:nth-child(n+4) { grid-column: span 3; }
.link-card {
  display: flex; align-items: center; gap: 16px; padding: 22px;
  background: rgba(21, 21, 23, .85); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.link-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px var(--red), 0 0 30px rgba(242, 58, 44, .18); }
.link-card__icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--red); color: #fff; box-shadow: 0 0 0 rgba(242, 58, 44, 0);
  transition: box-shadow .35s, background-color .35s, color .35s;
}
.link-card__icon svg { width: 24px; height: 24px; }
.link-card:hover .link-card__icon { background: #fff; color: var(--red); box-shadow: 0 0 22px var(--white-a); }
.link-card__text { display: grid; gap: 2px; min-width: 0; }
.link-card__text b { font: italic 800 18px/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
.link-card__text small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-card__arrow { margin-left: auto; font-size: 20px; color: var(--muted); transition: transform .35s var(--ease), color .35s; }
.link-card:hover .link-card__arrow { color: #fff; transform: translateX(5px); }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo img { height: 40px; width: auto; }
.footer__note { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ---------- Плавающая кнопка ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  box-shadow: 0 0 24px var(--red-a);
  animation: pulse 2.8s ease-in-out infinite;
}
.fab svg { width: 26px; height: 26px; }

/* ---------- Уведомление о cookies ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  width: min(460px, calc(100% - 32px));
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: rgba(21, 21, 23, .94); border: 1px solid var(--line-strong); border-radius: 14px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .95), 0 0 30px rgba(242, 58, 44, .12);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.is-visible { opacity: 1; transform: none; }
.cookie::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: 0 0 12px var(--red);
}
.cookie p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie .btn { flex: none; }
.fab { transition: opacity .3s; }
.cookie-open .fab { opacity: 0; pointer-events: none; }

/* ---------- Появление при прокрутке ---------- */
/* сдвиг через translate, чтобы не мешать transform у hover-эффектов карточек */
.reveal {
  opacity: 0; translate: 0 30px;
  transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), transform .35s var(--ease), box-shadow .35s;
}
.reveal.in { opacity: 1; translate: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .links { grid-template-columns: repeat(2, 1fr); }
  .link-card, .link-card:nth-child(n+4) { grid-column: auto; }
  .link-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    padding: 12px 16px 24px; margin: 0;
    background: rgba(11, 11, 12, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a::after { bottom: -1px; }
  .header.menu-open { background: rgba(11, 11, 12, .96); }
  .steps, .services { grid-template-columns: repeat(2, 1fr); }
  .tabs__panel { grid-template-columns: 1fr; gap: 16px; }
  .yt, .faq { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .panel__glyph { text-align: left; font-size: 84px; }
  .fab { display: grid; }
}
@media (max-width: 560px) {
  .steps, .services, .links { grid-template-columns: 1fr; }
  .link-card:last-child { grid-column: auto; }
  .yt__play { width: 64px; height: 64px; }
  .yt__play svg { width: 26px; height: 26px; }
  .tabs__list { display: flex; width: 100%; }
  .tabs__tab { flex: 1; padding: 12px 8px; font-size: 13px; }
  .hero__tagline { font-size: 12px; letter-spacing: .16em; line-height: 1.7; }
  .hero__line { display: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; left: 12px; bottom: 12px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .streak { display: none; }
  .hero__logo, .hero__tagline, .hero__text, .hero__actions, .socials--hero, .hero__scroll { opacity: 1; }
}
