:root {
  --navy: #15213D;
  --navy-2: #1E2D52;
  --orange: #F26B1D;
  --orange-dark: #D95A10;
  --bg: #F3F5F9;
  --white: #FFFFFF;
  --text: #15213D;
  --muted: #5A6480;
  --line: #DDE2EC;
  --radius: 16px;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--lg { padding: 16px 26px; font-size: 17px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { border-radius: 9px; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  letter-spacing: .01em;
  color: var(--navy);
}
.brand__name span { color: var(--orange); }
.brand--light .brand__name { color: var(--white); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--orange); }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(242,107,29,.18), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy) 60%);
  color: var(--white);
}
.hero__inner { padding: 110px 20px 130px; position: relative; z-index: 1; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 800;
  max-width: 14ch;
}
.hero__title span { color: var(--orange); }
.hero__text {
  margin-top: 24px;
  max-width: 560px;
  font-size: 19px;
  color: rgba(255,255,255,.8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__stripe {
  position: absolute;
  right: -40px;
  bottom: 56px;
  width: min(46vw, 560px);
  height: 26px;
  background: var(--orange);
  transform: skewX(-24deg);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 6px;
  background: var(--orange);
  transform: skewX(-24deg);
  transform-origin: left bottom;
}
.section__lead { color: var(--muted); max-width: 620px; font-size: 18px; }

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: var(--orange);
  box-shadow: 0 14px 34px -18px rgba(21,33,61,.35);
  transform: translateY(-3px);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Advantages */
.section--dark { background: var(--navy); color: var(--white); }
.advantages {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.advantages li { border-top: 2px solid rgba(255,255,255,.15); padding-top: 22px; }
.advantages strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 10px;
}
.advantages span { color: rgba(255,255,255,.75); font-size: 16px; }

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  color: var(--orange);
  margin-bottom: 14px;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Contacts */
.section--contacts { background: var(--white); border-top: 1px solid var(--line); }
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contacts__list { display: grid; gap: 16px; }
.contact {
  display: block;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 2px solid transparent;
  transition: border-color .2s, background .2s;
}
.contact:hover { border-color: var(--orange); background: var(--white); }
.contact__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--navy);
}

.messengers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--white);
  transition: transform .2s, filter .2s;
}
.messenger:hover { transform: translateY(-2px); filter: brightness(1.08); }
.messenger svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.messenger--telegram { background: #229ED9; }
.messenger--viber { background: #7360F2; }
.messenger--whatsapp { background: #25D366; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.6); font-size: 14px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .advantages, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header__call { display: none; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .burger span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  .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); }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }

  .contacts { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero__inner { padding: 72px 20px 100px; }
  .hero__text { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .hero__stripe { bottom: 36px; height: 18px; width: 70vw; }
  .cards, .advantages, .steps { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .messengers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
