/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-gray: #f4f5f8;
  --bg-dark: #0b0b0d;
  --bg-dark-2: #141418;
  --card: #ffffff;
  --card-dark: #1a1a20;
  --line: #e6e8ee;
  --line-dark: #2a2a32;
  --text: #111114;
  --text-muted: #6b7080;
  --text-light: #ffffff;
  --text-light-muted: #b4b7c2;
  --accent: #ff4d00;
  --accent-hover: #e64500;
  --blue: #2563eb;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--text-light); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--text-light); border-color: rgba(255,255,255,.35); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,13,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.logo__mark { width: 34px; height: 34px; color: var(--text-light); }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  transition: background .15s ease;
}
.nav a:hover { background: rgba(255,255,255,.1); }
.header__actions { display: flex; align-items: center; gap: 8px; }

.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--text-light);
  padding: 56px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(55% 90% at -5% 55%, rgba(255,92,0,.85) 0%, rgba(255,92,0,.35) 35%, transparent 65%),
    radial-gradient(45% 95% at 105% 25%, rgba(66,84,255,.9) 0%, rgba(66,84,255,.35) 40%, transparent 70%),
    radial-gradient(35% 60% at 95% 95%, rgba(150,70,255,.55) 0%, transparent 65%),
    var(--bg-dark);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 50%, transparent 40%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--text-light-muted); margin-bottom: 28px; }
.crumbs span:first-child { color: #fff; }
.crumbs__sep { opacity: .5; }
.hero__title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero__lead { max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); color: #e8e9ef; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.hero__stats span { font-size: 14px; color: var(--text-light-muted); max-width: 220px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0 32px; }
.section--gray { background: var(--bg-gray); }
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--contacts {
  background:
    radial-gradient(45% 80% at 100% 50%, rgba(66,84,255,.35) 0%, transparent 65%),
    radial-gradient(40% 70% at 0% 100%, rgba(255,92,0,.3) 0%, transparent 65%),
    var(--bg-dark);
}
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__title { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; margin-bottom: 18px; }
.section__lead { font-size: 18px; color: var(--text-muted); }
.section--dark .section__lead { color: var(--text-light-muted); }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow--light { color: #ff7a3d; }
.section__cta { margin-top: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hint { font-size: 14px; color: var(--text-light-muted); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(17,17,20,.08); }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { color: var(--text-muted); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff6a2b, var(--accent));
  color: #fff; font-weight: 700; font-size: 14px;
}
.card--dark { background: var(--card-dark); border-color: var(--line-dark); }
.card--dark p { color: var(--text-light-muted); }
.card--dark:hover { box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.list li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text); }
.list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Promo card ---------- */
.promo {
  display: grid;
  grid-template-columns: 300px 1fr;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(66,84,255,.35), transparent 60%),
    linear-gradient(180deg, #17171c, #0f0f12);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.promo__media {
  position: relative;
  background:
    radial-gradient(70% 70% at 30% 30%, rgba(255,92,0,.55), transparent 70%),
    radial-gradient(60% 60% at 80% 80%, rgba(66,84,255,.55), transparent 70%),
    #121216;
  display: grid; place-items: center;
}
.promo__glyph {
  font-size: 96px; font-weight: 800; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 0%, #a9adbb 60%, #6c7080 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.6));
}
.promo__body { padding: 32px 36px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.promo__tags { display: flex; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--accent); color: #fff; }
.tag--muted { background: rgba(255,255,255,.12); }
.promo__title { font-size: 30px; font-weight: 700; }
.promo__text { color: var(--text-light-muted); max-width: 640px; }
.promo__facts { display: flex; gap: 32px; margin: 4px 0 8px; }
.fact { display: flex; gap: 12px; align-items: center; }
.fact__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 700; }
.fact strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.fact small { color: var(--text-light-muted); font-size: 13px; }

/* ---------- Direction tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tile__box {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 20px;
  background:
    radial-gradient(80% 80% at 20% 15%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(150deg, #eef0f5 0%, #d7dbe6 60%, #c9cedc 100%);
  border: 1px solid #e3e6ee;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(17,17,20,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover .tile__box { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(17,17,20,.12); }
.tile__glyph {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #9ba1b2 55%, #5f6475 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.25)) drop-shadow(0 10px 16px rgba(40,45,70,.25));
}
.tile__glyph--sm { font-size: clamp(22px, 2.2vw, 30px); }
.tile__label { font-size: 16px; font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-dark); color: #fff; font-weight: 700;
}
.step h3 { font-size: 19px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 22px; }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 0 20px; color: var(--text-muted); }

/* ---------- Contacts ---------- */
.contact {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .15s ease, transform .2s ease;
}
.contact:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.contact__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: #fff; color: var(--bg-dark);
  display: grid; place-items: center; margin-bottom: 12px;
}
.contact__icon svg { width: 24px; height: 24px; }
.contact__icon--text { font-weight: 800; font-size: 22px; }
.contact__name { font-size: 14px; color: var(--text-light-muted); }
.contact__value { font-size: 20px; font-weight: 600; word-break: break-all; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--text-light); padding: 72px 0 0; border-top: 1px solid var(--line-dark); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 56px; }
.footer__tagline { color: var(--text-light-muted); margin: 16px 0 20px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; color: var(--bg-dark);
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
  transition: transform .15s ease;
}
.socials a:hover { transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 17px; font-weight: 500; color: var(--text-light-muted); margin-bottom: 6px; }
.footer__col a { font-size: 15px; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 20px; padding-bottom: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--text-light-muted);
}

/* ---------- To top ---------- */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: var(--blue); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 10px 24px rgba(37,99,235,.35);
}
.totop svg { width: 22px; height: 22px; }
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; gap: 4px;
    padding: 12px 24px 20px;
    background: rgba(11,11,13,.97);
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .burger { display: flex; }
  .header__actions .btn--ghost { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; }
  .promo__media { min-height: 180px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .hero__stats { gap: 20px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid--4, .steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .promo__body { padding: 24px 20px; }
  .promo__facts { flex-direction: column; gap: 14px; }
  .header__actions .btn--accent { padding: 10px 14px; font-size: 14px; }
  .logo__text { font-size: 17px; }
}
