:root {
  --blue: #003b79;
  --dark: #082645;
  --red: #d71920;
  --text: #1a1d21;
  --muted: #5d6875;
  --line: rgba(0, 59, 121, 0.16);
  --surface: #f5f7fa;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.1;
}

.brand small {
  font-weight: 500;
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--dark);
  font-size: 14px;
}

.nav a {
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--red);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--blue);
}

.hero {
  padding: 94px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 59, 121, 0.055), transparent 45%);
}

.hero-grid,
.split,
.vehicle-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 18px;
  border-left: 1px solid var(--line);
  color: var(--dark);
  font-size: 28px;
}

.hero-panel svg {
  width: 130px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
}

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

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.muted,
.cards p,
.steps p,
.service-list p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: var(--blue);
  font-weight: 700;
  background: transparent;
}

.button:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.section {
  padding: 84px 0;
}

.section.small {
  padding: 56px 0;
}

.light {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.cards article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.cards article:last-child {
  border-right: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.steps article {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.steps article:last-child {
  border-right: 0;
}

.steps span {
  display: block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article,
.facts li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  position: relative;
  padding-left: 24px;
}

.facts li::before {
  position: absolute;
  left: 0;
  top: 27px;
  width: 6px;
  height: 6px;
  background: var(--red);
  content: "";
}

.car-drawing {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 59, 121, 0.25);
  border-radius: 4px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  display: none;
  margin: 0;
  color: var(--muted);
}

.form-note.show {
  display: block;
}

address {
  font-style: normal;
}

.footer {
  padding: 52px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer a,
.footer strong {
  color: var(--white);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease;
  }

  .nav.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .split,
  .vehicle-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .cards article,
  .steps article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(calc(100% - 28px), 1120px);
  }

  .brand span {
    font-size: 14px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
  }

  .hero,
  .section {
    padding: 56px 0;
  }
}
