/* ============================================================
   Veles Customs — стили (одна страница)
   ============================================================ */

:root {
  --navy: #0b1d33;
  --navy-2: #10263f;
  --ink: #16232f;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg: #ffffff;
  --tint: #f4f7fa;
  --accent: #1e6feb;
  --accent-dark: #155ecf;
  --gold: #e8b62a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 29, 51, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 29, 51, .92);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: 21px;
  flex: none;
}
.logo__name {
  display: flex; flex-direction: column; gap: 3px;
  color: #fff; font-weight: 800;
  font-size: 20px; letter-spacing: .16em; line-height: 1;
}
.logo__name small {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #93a7bb;
}

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: #c8d4e0; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav__phone {
  color: #fff !important; font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 14px; border-radius: 10px;
}
.nav__phone:hover { border-color: var(--gold); }

.burger {
  display: none; margin-left: auto;
  width: 42px; height: 38px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.08); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Главный экран ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(30,111,235,.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(232,182,42,.14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 90px 0 0;
}
.hero__badge {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  color: #9fb2c5; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800; line-height: 1.12; letter-spacing: -.01em;
  max-width: 820px;
}
.hero__title span { color: var(--gold); }
.hero__subtitle {
  margin-top: 20px; max-width: 640px;
  color: #b9c7d6; font-size: 17.5px;
}
.hero__actions { display: flex; gap: 14px; margin: 34px 0 80px; flex-wrap: wrap; }

.hero__strip {
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.hero__strip-inner {
  display: flex; align-items: center; gap: 26px;
  padding: 14px 0; white-space: nowrap;
  color: #9fb2c5; font-size: 13.5px; font-weight: 500;
  animation: slide 28s linear infinite;
  width: max-content;
}
.hero__strip-inner i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block; padding: 14px 26px;
  border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: .2s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(30,111,235,.35); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Секции ---------- */
.section { padding: 90px 0; }
.section--tinted { background: var(--tint); }
.section__num {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
  max-width: 760px;
}
.section__lead { color: var(--muted); margin-top: 12px; font-size: 16.5px; max-width: 640px; }

/* ---------- О компании ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 44px; align-items: start; }
.about__text p + p { margin-top: 14px; }
.about__text p { color: #33424f; font-size: 16.5px; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* ---------- Карточки услуг ---------- */
.grid { display: grid; gap: 18px; margin-top: 44px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,29,51,.12); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, #eef4fd, #e2edfb);
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--navy); color: var(--gold);
  font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,29,51,.12); }
.price-card__name { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.price-card__price { font-size: 22px; font-weight: 800; color: var(--accent); }
.price-card__note { color: var(--muted); font-size: 13px; margin-top: auto; }
.prices__note { color: var(--muted); font-size: 13.5px; margin-top: 26px; max-width: 760px; }
.prices__cta { margin-top: 30px; }

/* ---------- Контакты ---------- */
.contact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.contact h4 { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.contact a { font-weight: 700; font-size: 17px; color: var(--navy); }
.contact a:hover { color: var(--accent); }
.contact p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.contact__addr { font-weight: 600; color: var(--ink) !important; font-size: 15px !important; }

/* ---------- Подвал ---------- */
.footer { background: var(--navy); color: #b9c7d6; padding: 56px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .06em; }
.footer__inner a { display: block; font-size: 14px; margin-bottom: 8px; color: #b9c7d6; }
.footer__inner a:hover { color: #fff; }
.logo--footer { margin-bottom: 12px; }
.footer__desc { font-size: 13.5px; max-width: 300px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px; padding-bottom: 18px;
  font-size: 12.5px; color: #8ba0b5;
}

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .grid--3, .prices { grid-template-columns: repeat(2, 1fr); }
  .steps, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy); flex-direction: column;
    padding: 18px 20px 22px; gap: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .grid--3, .grid--4, .prices, .steps { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .hero__actions { margin-bottom: 56px; }
  .footer__inner { grid-template-columns: 1fr; }
}
