:root {
  --ink: #15171a;
  --muted: #5f6671;
  --line: #d9dee5;
  --soft: #f3f6f8;
  --paper: #ffffff;
  --signal: #ffd72e;
  --signal-dark: #d6a900;
  --green: #18a058;
  --blue: #1f6feb;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(21, 23, 26, 0.92);
  color: #fff;
  backdrop-filter: blur(12px);
}

.topbar__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--signal);
  border-radius: 8px;
  color: var(--signal);
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
}

.nav__phone {
  color: var(--signal);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.9) 0%, rgba(7, 10, 14, 0.72) 44%, rgba(7, 10, 14, 0.4) 100%),
    url("https://static.tildacdn.pro/tild3638-6566-4039-b934-326333646235/2023_NIO_ES8_-_Stunn.jpeg") center / cover no-repeat;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 720px;
  padding: 72px 0 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--signal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  font-size: clamp(38px, 6vw, 72px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.quote-box {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-box h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.quote-box p {
  margin: 0 0 18px;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #313842;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c9d2dd;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(31, 111, 235, 0.14);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button--primary {
  background: var(--signal);
  color: #111;
}

.button--primary:hover {
  background: #ffe46d;
}

.button--whatsapp {
  background: var(--green);
  color: #fff;
}

.button--telegram {
  background: #229ed9;
  color: #fff;
}

.button--ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.microcopy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: var(--soft);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.section__head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card__tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-grid a {
  display: grid;
  min-height: 118px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.brand-grid strong {
  font-size: 24px;
}

.brand-grid span {
  color: var(--muted);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 68px;
}

.step::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--signal);
  counter-increment: step;
  content: counter(step);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.media {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.cta-band {
  color: #fff;
  background: #15171a;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0e1116;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.article-hero {
  padding: 88px 0 56px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.9), rgba(7, 10, 14, 0.62)),
    url("https://static.tildacdn.pro/tild3163-3964-4132-b331-356633643635/756500200287990.jpg") center / cover no-repeat;
}

.article-hero h1 {
  max-width: 880px;
}

.article-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.content {
  max-width: 860px;
}

.content p,
.content li {
  color: #333b45;
  font-size: 18px;
}

.content h2 {
  margin: 42px 0 14px;
  font-size: 34px;
}

.content ul {
  padding-left: 22px;
}

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

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__head {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero__inner {
    padding-top: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .quote-box {
    padding: 18px;
  }

  .form-grid,
  .button-row,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .cta-band .container,
  .footer__inner {
    display: grid;
  }

  .media img {
    height: 300px;
  }
}
