/* ==========================================================================
   ЮАМЕТ — одностраничник (Premium Dark). Токены перенесены из Figma (--yu-*).
   ========================================================================== */

/* Фирменный шрифт заголовков (CTC Splash Rounded, платный).
   Положите лицензионный файл в /fonts и раскомментируйте блок —
   до этого заголовки отрисуются Onest ExtraBold (fallback).
@font-face {
  font-family: "CTC Splash Rounded";
  src: url("../fonts/CTCSplashRounded-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
*/

:root {
  --yu-bg-deep: #090605;
  --yu-bg: #0e0f11;
  --yu-text: #fff;
  --yu-text-high: rgba(255, 255, 255, .85);
  --yu-text-2: rgba(255, 255, 255, .72);
  --yu-text-soft: rgba(255, 255, 255, .8);
  --yu-text-muted: #868686;
  --yu-text-tertiary: #9ea6b0;
  --yu-success: #4ade80;
  --yu-accent: #ff4a03;
  --yu-accent-top: #ff5f25;
  --yu-accent-strong: #e54100;
  --yu-border-card: rgba(255, 255, 255, .3);
  --yu-border-glass: rgba(255, 255, 255, .13);
  --yu-border-tag: #262322;
  --yu-border: rgba(255, 255, 255, .1);
  --yu-glass: rgba(255, 255, 255, .1);
  --yu-label: rgba(16, 17, 19, .78);

  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "CTC Splash Rounded", "Onest", system-ui, sans-serif;

  --container: 1616px;
  --gutter: 16px;
  --section-gap: 56px;
  --header-h: 56px;

  --shadow-card: 0 2px 6px rgba(0, 0, 0, .3), 0 20px 48px rgba(0, 0, 0, .45);
  --glass-card: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  --glass-dark: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)), linear-gradient(rgba(15, 15, 18, .55), rgba(15, 15, 18, .55));
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-gap: 88px; --header-h: 72px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 48px; --section-gap: 120px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--yu-bg);
  color: var(--yu-text);
  font: 400 16px/1.4 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yu-accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Фоновые «ambient»-пятна страницы */
.page { position: relative; isolation: isolate; }
.page::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(500px 360px at 0% 18%, rgba(255, 74, 3, .10), transparent 70%),
    radial-gradient(700px 500px at 100% 30%, rgba(120, 140, 170, .07), transparent 70%),
    radial-gradient(600px 500px at 0% 55%, rgba(120, 140, 170, .06), transparent 70%),
    radial-gradient(700px 600px at 100% 75%, rgba(255, 74, 3, .06), transparent 70%);
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section-gap); }

/* ---------- Typography ---------- */
.h1, .h2, .num {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.h1 { font-size: 28px; line-height: 32px; }
.h2 { font-size: 24px; line-height: 28px; }
.accent { color: var(--yu-accent); }
.eyebrow { color: var(--yu-accent); font-size: 14px; line-height: 20px; }
.lead { color: var(--yu-text-2); font-size: 14px; line-height: 20px; }
@media (min-width: 768px) {
  .h1 { font-size: 48px; line-height: 52px; }
  .h2 { font-size: 40px; line-height: 44px; }
  .lead { font-size: 16px; line-height: 22px; }
}
@media (min-width: 1280px) {
  .h1 { font-size: 64px; line-height: 68px; }
  .h2 { font-size: 48px; line-height: 52px; }
}

.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .lead { max-width: 640px; }
@media (min-width: 768px) {
  .section-head { margin-bottom: 40px; gap: 16px; }
  .section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .section-head--split .lead { max-width: 520px; }
}

/* ---------- Glass card ---------- */
.glass {
  position: relative;
  border: 1px solid var(--yu-border-card);
  border-radius: 14px;
  background: var(--glass-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 16px; line-height: 16px;
  white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  gap: 16px;
  padding: 4px 4px 4px 24px;
  background: linear-gradient(180deg, var(--yu-accent-top), var(--yu-accent));
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 -1px 0 rgba(143, 34, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 4px rgba(27, 29, 34, .14), 0 8px 20px rgba(255, 74, 3, .24);
}
.btn--primary:hover { filter: brightness(1.08); box-shadow: inset 0 -1px 0 rgba(143, 34, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 4px rgba(27, 29, 34, .14), 0 12px 28px rgba(255, 74, 3, .4); }
.btn__icon { display: grid; place-items: center; padding: 6px; border-radius: 2px; background: var(--yu-accent-strong); }
.btn__icon img { width: 24px; height: 24px; }
.btn--glass {
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--yu-border-glass);
  background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px rgba(0, 0, 0, .35);
}
.btn--glass:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1)); }
.btn--block { width: 100%; }
@media (min-width: 768px) { .btn--block-m { width: auto; } }

.dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.dots span { width: 6px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: width .25s, background .25s; }
.dots span.is-active { width: 20px; background: var(--yu-accent); }

/* Горизонтальная лента со snap (мобильные карусели) */
.hscroll {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 4px;
  scroll-padding: 0 var(--gutter);
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; z-index: 50;
  top: 8px; left: 8px; right: 8px;
  max-width: 1664px; margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--yu-border-card);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)), rgba(14, 15, 17, .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 12px 28px rgba(0, 0, 0, .4);
  transition: background .25s;
}
.header.is-scrolled { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)), rgba(14, 15, 17, .78); }
.header__logo img { width: 110px; height: 32px; }
.header__nav { display: none; }
.header__contacts { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--yu-border-card); border-radius: 10px;
  background: var(--glass-dark);
}
.icon-btn img { width: 20px; height: 20px; }
.icon-btn--accent { border: 0; background: linear-gradient(180deg, var(--yu-accent-top), var(--yu-accent)); box-shadow: 0 6px 16px rgba(255, 74, 3, .35); }
.header__cta { display: none; }

@media (min-width: 1100px) {
  .header { top: 6px; left: 24px; right: 24px; padding: 0 16px 0 24px; gap: 24px; }
  .header__logo img { width: 124px; height: 36px; }
  .header__nav { display: flex; gap: 4px; margin-right: auto; margin-left: 24px; }
  .header__nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--yu-text-high); transition: color .2s, background .2s; }
  .header__nav a:hover, .header__nav a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
  .header__contacts { display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; line-height: 18px; }
  .header__contacts a:first-child { font-weight: 500; }
  .header__contacts a:last-child { font-size: 12px; color: var(--yu-text-2); }
  .header__cta { display: inline-flex; min-height: 40px; }
  .header .icon-btn--phone, .header .icon-btn--burger { display: none; }
}

/* Мобильное меню */
.mmenu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; gap: 24px;
  padding: 88px var(--gutter) 32px;
  background: rgba(9, 6, 5, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  overflow-y: auto;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--yu-border); font-size: 20px; font-weight: 500; }
.mmenu__contacts { display: grid; gap: 4px; color: var(--yu-text-2); }
.mmenu__contacts a:first-child { font-size: 20px; color: #fff; }
.mmenu__close { position: absolute; top: 16px; right: 16px; }
body.is-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 680px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 96px var(--gutter) 48px;
  overflow: hidden;
  background: var(--yu-bg-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(11, 12, 14, .36), rgba(11, 12, 14, .36)),
    linear-gradient(180deg, rgba(9, 6, 5, .35) 0%, rgba(9, 6, 5, .1) 35%, rgba(16, 17, 19, .95) 82%, var(--yu-bg) 100%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 1100px; }
.hero__title { margin-bottom: 16px; }
.hero__text { max-width: 328px; color: var(--yu-text-high); font-size: 14px; line-height: 20px; margin-bottom: 24px; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }

/* «Парящая» площадка над заголовком (геометрия 1:1 из Figma, 267×180) */
.hero__visual { position: relative; width: 267px; height: 180px; margin-bottom: 24px; --s: 1; transform: scale(var(--s)); transform-origin: 50% 100%; }
.hero__visual > * { position: absolute; }
.hero__light { left: 0; top: 0; width: 267.66px; height: 147.24px; display: flex; align-items: center; justify-content: center; }
.hero__light img { width: 254px; height: 114px; max-width: none; transform: rotate(7.78deg) skewX(-.29deg); }
.hero__plate {
  left: 8px; top: 76px; width: 258px; height: 104px; border-radius: 56px;
  border: 2px solid rgba(255, 255, 255, .3);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 6px rgba(0, 0, 0, .3), 0 20px 48px rgba(0, 0, 0, .45);
}
.hero__src { left: 16px; top: 82px; width: 246px; height: 90px; border-radius: 30px; overflow: hidden; }
.hero__src img { position: absolute; max-width: none; width: 121.32%; height: 325.9%; left: -10.99%; top: -139.35%; }
.hero__cut { left: 16px; top: 54px; width: 246px; height: 118px; overflow: hidden; }
.hero__cut img { position: absolute; max-width: none; width: 120.05%; height: 249.39%; left: -10.77%; top: -83.1%; }

@media (min-width: 768px) {
  .hero { min-height: min(100svh, 960px); padding-bottom: 72px; }
  .hero__visual { --s: 1.6; margin: 120px 0 32px; }
  .hero__title .accent { display: block; }
  .hero__text { max-width: 520px; font-size: 16px; line-height: 22px; }
  .hero__actions { flex-direction: row; justify-content: center; width: auto; }
}
@media (min-width: 1280px) {
  .hero__visual { --s: 2; margin-top: 180px; margin-bottom: 40px; }
}

/* ---------- Stats ---------- */
.stats { margin-top: -8px; position: relative; z-index: 2; }
.stats__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 158px; gap: 12px; }
.stat { min-height: 176px; padding: 17px 16px 17px 31px; border-radius: 12px; }
.stat::before { content: ""; position: absolute; left: 15px; top: 17px; bottom: 17px; width: 4px; border-radius: 16px; background: var(--yu-accent); box-shadow: 0 1px 8px rgba(255, 74, 3, .28); }
.stat .num { font-size: 30px; line-height: 34px; display: block; margin-bottom: 18px; white-space: nowrap; }
.stat p { font-size: 14px; line-height: 22px; }
@media (min-width: 900px) {
  .stats__grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .stat { min-height: 0; padding: 20px 24px 20px 40px; }
  .stat::before { left: 20px; top: 20px; bottom: 20px; }
  .stat .num { font-size: 40px; line-height: 44px; margin-bottom: 6px; }
  .stats .dots { display: none; }
}

/* ---------- Advantages ---------- */
.adv { overflow: hidden; }
.adv__track { display: flex; gap: 12px; width: max-content; animation: marquee 28s linear infinite; }
.adv__item { width: 158px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; line-height: 18px; font-weight: 500; }
.adv__item img { width: 110px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(255, 74, 3, .25)); }
.adv__item[aria-hidden="true"] { }
.mask-x { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 900px) {
  .adv { -webkit-mask-image: none; mask-image: none; }
  .adv__track { animation: none; width: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .adv__item { width: auto; font-size: 18px; line-height: 24px; gap: 20px; }
  .adv__item img { width: 150px; height: 140px; }
  .adv__item.is-dup { display: none; }
}

/* ---------- About ---------- */
.about { display: flex; flex-direction: column; gap: 16px; }
.about__col { display: contents; }
.about__actions { order: 10; }
@media (min-width: 1000px) { .about { display: grid; } .about__actions { order: 0; } }
.about__text { display: flex; flex-direction: column; gap: 10px; }
.stripe { height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .01), rgba(255, 255, 255, .26), rgba(255, 255, 255, .01)); }
.about__fox { display: flex; align-items: center; gap: 12px; }
.about__fox img { width: 110px; height: 100px; object-fit: contain; }
.about__fox p { font-size: 18px; line-height: 24px; font-weight: 500; text-transform: uppercase; }
.about__guar { display: grid; grid-template-columns: 1fr 1px 1fr; }
.about__guar .stripe-v { background: linear-gradient(180deg, rgba(255, 255, 255, .01), rgba(255, 255, 255, .32), rgba(255, 255, 255, .01)); }
.guar { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.guar__term { display: flex; align-items: flex-start; gap: 8px; color: var(--yu-accent); }
.guar__term .num { font-size: 28px; line-height: 32px; margin-top: 8px; }
.guar__term span:last-child { font-size: 14px; line-height: 18px; font-weight: 500; margin-top: 6px; max-width: 84px; }
.guar p { font-size: 12px; line-height: 16px; }
.about__actions { display: flex; flex-direction: column; gap: 8px; }

@media (min-width: 1000px) {
  .about { grid-template-columns: 1.15fr 1px .8fr 1px .8fr; gap: 0 48px; align-items: stretch; }
  .about > .stripe { display: none; }
  .about__col { display: flex; flex-direction: column; }
  .about__text { gap: 20px; }
  .about__text .lead { max-width: 560px; }
  .about__actions { flex-direction: row; margin-top: auto; padding-top: 40px; }
  .about__sep { background: linear-gradient(180deg, rgba(255, 255, 255, .01), rgba(255, 255, 255, .26), rgba(255, 255, 255, .01)); }
  .about__fox { flex-direction: column; justify-content: center; text-align: center; height: 100%; gap: 20px; }
  .about__fox img { width: 260px; height: 240px; }
  .about__fox p { font-size: 22px; line-height: 28px; }
  .about__guar { grid-template-columns: 1fr; grid-template-rows: 1fr 1px 1fr; height: 100%; }
  .about__guar .stripe-v { background: linear-gradient(90deg, rgba(255, 255, 255, .01), rgba(255, 255, 255, .26), rgba(255, 255, 255, .01)); }
  .guar { justify-content: center; gap: 16px; padding: 24px 0; }
  .guar__term .num { font-size: 64px; line-height: 64px; margin-top: 0; }
  .guar__term span:last-child { font-size: 18px; line-height: 22px; max-width: 100px; }
  .guar p { font-size: 16px; line-height: 22px; }
}
.about__sep { display: none; }
@media (min-width: 1000px) { .about__sep { display: block; } }

/* ---------- Results (projects) ---------- */
.projects { gap: 16px; }
.project {
  position: relative; display: flex; align-items: flex-end;
  width: 328px; height: 340px; padding: 12px;
  border-radius: 8px; overflow: hidden;
}
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55)); }
.project:hover img { transform: scale(1.04); }
.label-glass {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 6px 8px 10px; border-radius: 8px;
  border: 1px solid var(--yu-border-card);
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  font-size: 14px; line-height: 20px;
}
.project .label-glass { width: 100%; }
.label-glass img { position: static; width: 16px; height: 16px; }
@media (min-width: 768px) {
  .projects { align-items: flex-start; }
  .project { width: 400px; height: 380px; padding: 16px; }
  .project:nth-child(even) { height: 480px; }
  .project .label-glass { width: auto; gap: 16px; padding: 10px 10px 10px 14px; }
  .projects + .dots { display: none; }
}

/* ---------- Partners ---------- */
.partners { display: grid; gap: 20px; }
.partners__marquee { display: grid; gap: 12px; overflow: hidden; margin: 0 calc(var(--gutter) * -1); }
.partners__row { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.partners__row--rev { animation-direction: reverse; }
.partner {
  display: grid; place-items: center;
  width: 158px; height: 72px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--yu-border-card);
  background: #fff;
}
.partner img { max-width: 130px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.partners__btn { order: 3; }
@media (min-width: 1000px) {
  .partners { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: center; gap: 48px; }
  .partners__head { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
  .partners__btn { order: 0; }
  .partners__marquee { margin: 0 calc(var(--gutter) * -1) 0 0; }
  .partner { width: 200px; height: 84px; }
  .partner img { max-width: 160px; max-height: 52px; }
}

/* ---------- Solutions ---------- */
.solutions { gap: 16px; }
.solution { width: 328px; padding: 12px; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.solution__img { height: 170px; border-radius: 8px; overflow: hidden; }
.solution__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.solution:hover .solution__img img { transform: scale(1.04); }
.solution__body { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; flex: 1; }
.solution__title { font-size: 18px; line-height: 24px; font-weight: 500; }
.solution__text { font-size: 14px; line-height: 20px; color: var(--yu-text-2); }
.solution .btn { margin: 0 0 4px; }
@media (min-width: 768px) {
  .solutions { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .solution { width: auto; padding: 16px; }
  .solution__img { height: auto; aspect-ratio: 16 / 9; }
  .solution .btn { align-self: flex-start; }
  .solutions + .dots { display: none; }
}

/* ---------- Production / video ---------- */
.production { position: relative; }
.production__deco { position: absolute; right: -6%; top: -10%; width: 38%; max-width: 620px; opacity: .05; filter: grayscale(1) brightness(1.6); pointer-events: none; display: none; }
@media (min-width: 1000px) { .production__deco { display: block; } }
.video {
  position: relative; display: block; width: 100%; max-width: 1180px; margin: 0 auto;
  aspect-ratio: 328 / 200; border-radius: 14px; overflow: hidden;
  background: #000;
}
.video img, .video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(180deg, var(--yu-accent-top), var(--yu-accent));
  box-shadow: 0 8px 20px rgba(255, 74, 3, .4);
  transition: transform .2s;
}
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__play img { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .video { aspect-ratio: 16 / 9; border-radius: 16px; }
  .video__play { width: 80px; height: 80px; }
  .video__play img { width: 32px; height: 32px; }
}

/* ---------- Steps ---------- */
.steps-wrap { display: flex; flex-direction: column; gap: 16px; }
.steps { gap: 12px; }
.step { width: 158px; padding: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.step .num { color: var(--yu-accent); font-size: 30px; line-height: 34px; }
.step p { font-size: 16px; line-height: 22px; }
.cta-card { padding: 20px; border-radius: 14px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06)); }
.cta-card__title { font-size: 22px; line-height: 28px; font-weight: 500; }
.cta-card .btn { margin-top: 6px; }
@media (min-width: 900px) {
  .steps-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
  .steps { display: contents; }
  .steps-wrap > .dots { display: none; }
  .step { width: auto; padding: 24px 0 40px; gap: 16px; }
  .step .num { font-size: 64px; line-height: 64px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .step p { font-size: 16px; }
  .cta-card { align-self: center; padding: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)), linear-gradient(26deg, rgba(255, 74, 3, .26) 25%, rgba(255, 74, 3, 0) 90%), rgba(15, 15, 18, .55); }
  .cta-card .btn { align-self: flex-start; }
}

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative; display: flex; align-items: flex-end;
  height: 170px; padding: 8px; border-radius: 14px; overflow: hidden;
  background: #fff;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__label {
  position: relative; z-index: 1;
  padding: 6px 10px; border-radius: 8px;
  background: var(--yu-label); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; line-height: 16px; font-weight: 500;
}
.tile--wide { grid-column: 1 / -1; height: 200px; }
.tile--wide .tile__label { font-size: 14px; line-height: 18px; }
.tile-all {
  grid-column: 1 / -1; padding: 20px; border-radius: 14px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)), linear-gradient(26deg, rgba(255, 74, 3, .26) 25%, rgba(255, 74, 3, 0) 90%), rgba(15, 15, 18, .55);
}
.tile-all__title { font-size: 22px; line-height: 28px; font-weight: 500; }
.tile-all .btn { margin-top: 8px; }
@media (min-width: 1000px) {
  .catalog { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 236px; gap: 16px; }
  .tile { height: auto; padding: 12px; }
  .tile__label { font-size: 14px; line-height: 18px; padding: 8px 12px; }
  .tile--wide { grid-column: 1 / span 3; grid-row: span 2; }
  .tile--c4 { grid-column: span 4; }
  .tile--c2 { grid-column: span 2; }
  .tile--c3 { grid-column: span 3; }
  .tile--c5 { grid-column: span 5; }
  .tile-all { grid-column: span 3; justify-content: flex-start; }
  .tile-all .btn { margin-top: auto; align-self: flex-start; }
}

/* ---------- Popular ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head--center + .tabs { justify-content: center; }
.tab { padding: 8px 12px; border-radius: 4px; border: 1px solid var(--yu-border-tag); font-size: 14px; line-height: 16px; transition: background .2s, border-color .2s; }
.tab:hover { border-color: rgba(255, 255, 255, .2); }
.tab.is-active { background: var(--yu-glass); border-color: transparent; }
.products { gap: 16px; }
.product {
  width: 328px; padding: 12px; border-radius: 8px;
  display: flex; flex-direction: column; gap: 12px;
  border-color: var(--yu-border-glass);
  background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px rgba(0, 0, 0, .35);
}
.product[hidden] { display: none; }
.product__photo { position: relative; height: 240px; border-radius: 8px; background: #fff; overflow: hidden; }
.product__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product:hover .product__photo img { transform: scale(1.05); }
.badge { position: absolute; top: 6px; right: 6px; padding: 8px 12px; border-radius: 4px; border: 1px solid var(--yu-border-glass); background: rgba(11, 12, 14, .88); font-size: 14px; line-height: 16px; }
.badge--hot { background: linear-gradient(180deg, var(--yu-accent-top), var(--yu-accent)); }
.product__meta { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--yu-text-muted); }
.product__meta .in-stock { color: var(--yu-success); }
.product__name { font-size: 16px; line-height: 22px; font-weight: 500; min-height: 44px; }
.product .btn { margin-top: auto; }
@media (min-width: 900px) {
  .products { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .product { width: auto; }
  .product__photo { height: auto; aspect-ratio: 1 / 1; }
  .products + .dots { display: none; }
}

/* ---------- E-catalog ---------- */
.ecat { position: relative; display: flex; flex-direction: column; align-items: center; }
.collage { position: relative; width: 328px; height: 230px; margin-bottom: 20px; }
.collage__item { position: absolute; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 16px rgba(0, 0, 0, .45); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item--1 { left: 8px; top: 31px; width: 158px; height: 158px; transform: rotate(-6.13deg); }
.collage__item--2 { left: 183px; top: 40px; width: 134px; height: 134px; transform: rotate(-4.65deg); }
.collage__item--3 { left: 57px; top: 12px; width: 158px; height: 158px; border-radius: 8px; transform: rotate(9.68deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); z-index: 1; }
.ecat .btn { width: 100%; }
@media (min-width: 768px) {
  .collage { transform: scale(1.6); margin: 70px 0 90px; }
  .ecat .btn { width: auto; }
}

/* ---------- Services ---------- */
.services { gap: 16px; }
.service {
  position: relative; width: 328px; height: 380px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--yu-border-card); background: #1a1a1c;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover img { transform: scale(1.04); }
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200px; background: linear-gradient(180deg, rgba(10, 10, 13, .85), rgba(10, 10, 13, 0)); }
.service__text { position: relative; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.service__title { font-size: 18px; line-height: 24px; font-weight: 500; }
.service__desc { font-size: 14px; line-height: 20px; color: var(--yu-text-soft); }
@media (min-width: 900px) {
  .services { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; align-items: start; }
  .service { width: auto; height: 520px; }
  .service:nth-child(even) { height: 560px; }
  .services + .dots { display: none; }
}

/* ---------- Press ---------- */
.press { display: grid; gap: 12px; }
.news { min-height: 188px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.news__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; line-height: 16px; color: var(--yu-text-tertiary); }
.news__type { padding: 4px 8px; border-radius: 6px; background: var(--yu-glass); color: #fff; }
.news__title { font-size: 16px; line-height: 22px; font-weight: 500; }
.vk-card {
  position: relative; overflow: hidden; padding: 20px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)), linear-gradient(37deg, rgba(255, 74, 3, .26) 25%, rgba(255, 74, 3, 0) 90%), rgba(15, 15, 18, .55);
}
.vk-card > *:not(.vk-card__img) { position: relative; z-index: 1; max-width: 180px; }
.vk-card__title { font-size: 22px; line-height: 28px; font-weight: 500; }
.vk-card .btn { max-width: none; width: 100%; }
.vk-card__img { position: absolute; right: -11px; top: 39px; width: 150px; height: 150px; }
@media (min-width: 900px) {
  .press { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
  .vk-card { grid-column: 3; grid-row: 1 / span 2; padding: 24px; }
  .vk-card > *:not(.vk-card__img) { max-width: 300px; }
  .vk-card .btn { width: auto; align-self: flex-start; }
  .vk-card__img { width: 240px; height: 240px; right: -10px; top: auto; bottom: -20px; }
}

/* ---------- Awards ---------- */
.awards { gap: 16px; }
.award { width: 260px; display: flex; flex-direction: column; gap: 12px; }
.award__img { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: #1a1a1c; }
.award__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.award:hover .award__img img { transform: scale(1.03); }
.award p { font-size: 16px; line-height: 22px; font-weight: 500; }
@media (min-width: 900px) {
  .awards { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .award { width: auto; }
  .awards + .dots { display: none; }
}

/* ---------- Footer ---------- */
.footer { margin-top: var(--section-gap); padding: 40px 0 24px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(11, 12, 14, .55); }
.footer__grid { display: grid; gap: 28px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand img { width: 160px; height: 48px; }
.footer__links { display: grid; gap: 12px; font-size: 18px; line-height: 24px; font-weight: 500; }
.footer__links a:hover, .footer__nav a:hover { color: var(--yu-accent); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 14px; line-height: 20px; color: var(--yu-text-2); }
.footer__nav h3 { grid-column: 1 / -1; color: #fff; font-size: 16px; line-height: 22px; font-weight: 500; }
.contacts { padding: 16px; display: grid; gap: 16px; }
.contact { display: grid; gap: 4px; }
.contact__label { font-size: 12px; line-height: 16px; color: var(--yu-text-muted); }
.contact__value { font-size: 16px; line-height: 22px; }
.contact__value a:hover { color: var(--yu-accent); }
.contact__sub { font-size: 14px; line-height: 20px; color: var(--yu-text-2); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 7.5px; background: var(--yu-glass); transition: background .2s; }
.social:hover { background: rgba(255, 74, 3, .35); }
.social img { width: auto; height: auto; }
.ratings { display: flex; gap: 8px; }
.ratings span { width: 144px; height: 48px; border-radius: 6px; background: url("../img/ratings.webp") no-repeat; background-size: 222.67% 126%; }
.ratings span:first-child { background-position: 1.08% 50%; }
.ratings span:last-child { background-position: 93% 50%; }
.footer__bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--yu-border); display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 16px; color: var(--yu-text-2); }
.footer__bottom .muted { color: var(--yu-text-muted); }
.footer__dev { display: inline-flex; align-items: center; gap: 6px; color: var(--yu-text-muted); }
.footer__dev img { width: 60px; height: 12px; }
@media (min-width: 1000px) {
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr 1.4fr 1.4fr; gap: 48px; align-items: start; }
  .contacts { grid-template-columns: 1fr 1fr; padding: 24px; gap: 20px 24px; }
  .contacts .span-2, .contacts .socials, .contacts .ratings { grid-column: 1 / -1; }
  .contacts .socials { margin-bottom: -4px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Cookie notice ---------- */
.cookie {
  /* слева, чтобы не перекрывать кнопку виджета Битрикс24 в правом нижнем углу */
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-right: auto;
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: rgba(18, 19, 21, .94); border: 1px solid var(--yu-border-glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; line-height: 16px; color: var(--yu-text-2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .5);
}
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; }
.cookie .btn { min-height: 36px; padding: 8px 16px; font-size: 14px; flex-shrink: 0; }

/* Появление секций */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
