@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== TOKENS ===== */
:root {
  --bg: #0D0D0F;
  --surface: #16171A;
  --surface-2: #1C1D21;
  --heading: #F5F4F2;
  --text: #C7C7CC;
  --muted: #8A8A8F;
  --line: #2A2B2F;
  --white: #FFFFFF;
  --radius: 14px;
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===== TYPO HELPERS ===== */
.eyebrow {
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02;
  color: var(--heading); font-weight: 700; letter-spacing: -.02em;
}
.section-head { margin-bottom: 56px; }
.section-lead { max-width: 760px; margin-top: 20px; font-size: 1.05rem; color: var(--text); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .98rem; padding: 15px 30px;
  border-radius: 100px; border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--solid { background: var(--white); color: #0A0A0A; }
.btn--solid:hover { transform: translateY(-2px); background: #E9E9E9; }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--heading); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn:active { transform: translateY(0); }
.btn--disabled { opacity: .55; cursor: default; pointer-events: none; }

/* ===== STICKY HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(13,13,15,.82); backdrop-filter: blur(14px); border-color: var(--line); padding: 13px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 800; letter-spacing: .04em; color: var(--heading); font-size: 1.1rem; flex-shrink: 0; }
.logo span { color: var(--muted); }

.nav { display: flex; gap: 30px; }
.nav a { font-size: .92rem; color: var(--text); font-weight: 500; position: relative; transition: color .25s var(--ease); }
.nav a:hover { color: var(--heading); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--white); transition: width .3s var(--ease); }
.nav a:hover::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header__phone { font-size: .98rem; font-weight: 600; color: var(--heading); letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .25s var(--ease); }
.header__phone:hover { color: var(--muted); }

@media (max-width: 860px) {
  .nav { display: none; }
  .header__phone { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: #060607;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero__video.is-ready { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,13,15,.65) 0%, rgba(13,13,15,.35) 40%, rgba(13,13,15,.9) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 820px; padding-top: 80px; padding-bottom: 80px; }
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.0;
  color: var(--heading); font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--text); max-width: 580px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px; border: 1.5px solid rgba(245,244,242,.5);
  border-radius: 100px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; border-radius: 3px;
  background: var(--heading); transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

/* ===== TRUST ROW ===== */
.trust { border-bottom: 1px solid var(--line); padding: 40px 0; background: var(--bg); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust__item { display: flex; flex-direction: column; gap: 4px; }
.trust__item strong { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--heading); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trust__item span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ===== CATALOG ===== */
.catalog { padding: 110px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: #3A3B40; }
.card__media {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1f2024, #131418);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { color: #45464C; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.card__body { padding: 22px 22px 24px; }
.card__name { font-size: 1.05rem; color: var(--heading); font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.card__size { color: var(--muted); font-weight: 500; white-space: nowrap; }
.card__badge { display: inline-block; font-size: .7rem; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 3px 10px; margin-bottom: 14px; }
.card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 18px; }
.card__spec { display: flex; flex-direction: column; }
.card__spec dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card__spec dd { font-size: .98rem; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.card__foot { display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--line); padding-top: 16px; }
.card__cta { width: 100%; text-align: center; }
.card__price { font-size: 1.4rem; color: var(--heading); font-weight: 700; font-variant-numeric: tabular-nums; }
.card__price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.catalog-index {
  margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface);
}
.catalog-index h3 { color: var(--heading); font-size: 1rem; margin-bottom: 8px; }
.catalog-index p { color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* ===== FEATURE (видео №2) ===== */
.feature {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: #060607; overflow: hidden;
}
.feature__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.feature__video.is-ready { opacity: 1; }
.feature__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* виньетка — видео проявляется из темноты в центре, края растворяются */
    radial-gradient(135% 80% at 55% 45%, transparent 30%, rgba(13,13,15,.7) 78%, var(--bg) 100%),
    /* удлинённое растворение верх → фон каталога, низ → фон контактов */
    linear-gradient(180deg, var(--bg) 0%, transparent 34%, transparent 62%, var(--surface) 100%),
    /* мягкое затемнение слева под текст */
    linear-gradient(90deg, rgba(13,13,15,.9) 0%, rgba(13,13,15,.45) 55%, rgba(13,13,15,.15) 100%);
}
.feature__content { position: relative; z-index: 2; max-width: 640px; padding: 100px 24px; }
.feature__title { font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.05; color: var(--heading); font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
.feature__text { font-size: 1.1rem; margin-bottom: 30px; }
.feature__list { display: flex; flex-direction: column; gap: 14px; }
.feature__list li { position: relative; padding-left: 30px; color: var(--text); }
.feature__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 1.5px; background: var(--white); }

/* ===== DELIVERY ===== */
.delivery { padding: 110px 0; border-bottom: 1px solid var(--line); }
.delivery__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.delivery__content > p { max-width: 680px; font-size: 1.08rem; margin-bottom: 34px; }
.delivery__steps { display: grid; gap: 12px; margin-bottom: 30px; }
.delivery__steps article {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.delivery__steps strong { color: var(--heading); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.delivery__steps span { color: var(--text); }

/* ===== FAQ ===== */
.faq { padding: 110px 0; }
.faq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq__item { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq__item h3 { margin-bottom: 12px; color: var(--heading); font-size: 1.12rem; line-height: 1.35; }
.faq__item p { color: var(--text); }

/* ===== SELECTION GUIDE ===== */
.guide { padding: 110px 0; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.guide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide__item { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide__item strong { display: block; color: var(--heading); font-size: 1.45rem; margin-bottom: 14px; }
.guide__item h3 { color: var(--heading); font-size: 1.08rem; margin-bottom: 10px; }
.guide__item p { color: var(--text); }

/* ===== CONTACTS ===== */
.contacts { padding: 110px 0 40px; background: var(--surface); }
.contacts__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.contacts__lead { margin-top: 18px; max-width: 420px; }
.contacts__details { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contacts__phone { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--heading); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.contacts__links { display: flex; gap: 12px; }
.contacts__meta { font-size: .9rem; color: var(--muted); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); flex-wrap: wrap; }

/* ===== REVEAL ANIM ===== */
.no-js [data-anim] { opacity: 1; transform: none; }
.js [data-anim] { opacity: 0; transform: translateY(28px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .guide__grid { grid-template-columns: 1fr; }
  .contacts__inner { grid-template-columns: 1fr; gap: 32px; }
  .delivery__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .grid { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .catalog, .delivery, .guide, .faq, .contacts { padding: 70px 0 40px; }
  .faq__grid { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim] { opacity: 1; transform: none; }
  .scroll-hint span { animation: none; }
}
