:root {
  --bg: #0a0910;
  --bg-2: #110f19;
  --surface: #17151f;
  --surface-2: #1e1b29;
  --line: rgba(255, 255, 255, .12);
  --text: #f4f3f8;
  --muted: #a9a6b8;
  --accent: #e2231a;
  --accent-hover: #ff3b31;
  --gold: #e8730c;
  --wa: #25d366;
  --radius: 14px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  font-weight: 600; font-size: 16px; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { background: #3ee07a; }

/* ---------- Декор: линия с точкой ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(226, 35, 26, .2); }
.divider { position: relative; height: 1px; background: var(--line); margin: 20px 0; }
.divider span { position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(10, 9, 16, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { height: 36px; width: auto; }
.brand__word { height: 12px; width: auto; }

.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: #fff; }
.nav__phone-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.header__phone .ico { color: var(--wa); }
.header__phone:hover { color: var(--accent-hover); }

.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang__btn {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; padding: 9px 11px; transition: background .2s, color .2s;
}
.lang__btn:hover { color: #fff; }
.lang__btn.is-active { background: var(--accent); color: #fff; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.header.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.nav-open .burger span:nth-child(2) { opacity: 0; }
.header.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header__phone { display: none; }
  .nav { gap: 20px; }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .header__actions { margin-left: auto; gap: 12px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav__phone-mobile { display: block; font-weight: 700; border-bottom: 0 !important; }
  .header.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
}
@media (max-width: 420px) {
  .brand__word { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 16, .96) 0%, rgba(10, 9, 16, .78) 50%, rgba(10, 9, 16, .45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    url("../img/hero.jpg") center / cover no-repeat;
}
.hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1fr 360px; } }

.hero__title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; max-width: 760px; }
.hero__lead { margin: 22px 0 32px; font-size: clamp(16px, 1.6vw, 19px); color: #d6d4e0; max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: #d6d4e0; font-size: 15px; }
.hero__points li { display: flex; align-items: center; gap: 10px; }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero__card {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(23, 21, 31, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__badge { width: 136px; height: auto; border-radius: 4px; margin-bottom: 24px; }
.hero__card-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.hero__card-quote { color: var(--muted); font-style: italic; margin: 0; }
.hero__card-text { margin: 0; color: #d6d4e0; }

/* ---------- Цифры ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 32px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; }
.stat:nth-child(3) b { color: var(--gold); }
.stat span { color: var(--muted); font-size: 15px; }
.vendors { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.vendors__label { color: var(--muted); font-size: 14px; }
.vendors__list { font-weight: 700; font-size: 17px; letter-spacing: .02em; }

/* ---------- Секции ---------- */
.section { position: relative; padding: 88px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin-bottom: 14px; }
.section__lead { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Каталог ---------- */
.catalog__lenovo { height: 34px; width: auto; margin-bottom: 22px; border-radius: 3px; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: rgba(226, 35, 26, .6); background: var(--surface-2); transform: translateY(-3px); }
.card__icon { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__link { color: var(--accent-hover); font-weight: 600; font-size: 15px; align-self: flex-start; }
.card__link:hover { color: #fff; }

/* ---------- О компании ---------- */
.about { overflow: hidden; }
.about__bg {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 9, 16, .9) 55%, rgba(10, 9, 16, .7) 100%), url("../img/office.jpg") right center / cover no-repeat;
}
.about__grid { position: relative; display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.about__grid p { color: #d6d4e0; }
.registry {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px;
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; background: rgba(23, 21, 31, .7);
}
.registry .ico { width: 26px; height: 26px; color: var(--accent-hover); }
.registry p { margin: 0; font-size: 15px; }
.benefits { padding: 32px; background: rgba(23, 21, 31, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.benefits h3 { font-size: 20px; margin-bottom: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%;
  background: rgba(226, 35, 26, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Почему мы ---------- */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__icon { width: 60px; height: 60px; padding: 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.why__item h3 { font-size: 20px; margin-bottom: 10px; }
.why__item p { color: var(--muted); margin: 0; }
.trusted { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; }

/* ---------- Услуги ---------- */
.services__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; counter-reset: srv; }
@media (min-width: 700px) { .services__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services__list { grid-template-columns: repeat(3, 1fr); } }
.services__list li { counter-increment: srv; display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.services__list li::before { content: counter(srv, decimal-leading-zero); color: var(--accent-hover); font-weight: 700; font-size: 14px; padding-top: 2px; min-width: 22px; }

/* ---------- Шаги ---------- */
.steps { background: var(--bg-2); border-top: 1px solid var(--line); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 600px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps__list { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step__num { display: block; font-size: 34px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Сертификаты ---------- */
.certs__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .certs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .certs__grid { grid-template-columns: repeat(4, 1fr); } }
.cert {
  display: flex; flex-direction: column; gap: 14px; padding: 14px; cursor: zoom-in; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font: inherit;
  transition: border-color .25s, transform .25s;
}
.cert:hover { border-color: rgba(255, 255, 255, .45); transform: translateY(-3px); }
.cert img { width: 100%; aspect-ratio: 1.41; object-fit: contain; border-radius: 8px; background: #fff; }
.cert span { font-size: 14px; font-weight: 600; line-height: 1.4; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: #000; font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- Контакты ---------- */
.contacts { overflow: hidden; }
.contacts__bg {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 9, 16, .92), rgba(10, 9, 16, .82)), url("../img/contacts.jpg") center / cover no-repeat;
}
.contacts__grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .contacts__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.contacts .section__lead { margin-bottom: 32px; }
.contacts__list { list-style: none; margin: 0; padding: 8px 28px; background: rgba(23, 21, 31, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.contacts__list li { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.contacts__list li:last-child { border-bottom: 0; }
.contacts__list a:hover { color: var(--accent-hover); }
.contacts__label { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contacts__map { font-size: 14px; color: var(--accent-hover); font-weight: 500; margin-top: 4px; }

/* ---------- Футер ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.footer__logo { height: 44px; width: auto; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .cert { transition: none; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 480px) {
  .hero { padding: 48px 0 64px; }
  .hero__cta .btn { width: 100%; }
  .hero__card { padding: 24px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
