:root {
  --ink: #15171a;
  --graphite: #242a31;
  --muted: #69717d;
  --line: #d9dde3;
  --paper: #f6f7f8;
  --white: #ffffff;
  --yellow: #f2bd2f;
  --blue: #2867a8;
  --rust: #b64c2c;
  --green: #28735c;
  --shadow: 0 22px 60px rgba(21, 23, 26, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 248, .94);
  border-bottom: 1px solid rgba(217, 221, 227, .88);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #343a42;
  font-size: 15px;
}

.nav a:hover,
.header-phone:hover {
  color: var(--blue);
}

.header-phone {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101317;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 17, .9) 0%, rgba(12, 14, 17, .72) 42%, rgba(12, 14, 17, .22) 100%),
    url("../images/tires-workshop.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: end;
  padding: 90px 0 86px;
}

.hero-copy {
  max-width: 780px;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  display: inline-flex;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .section-label {
  color: var(--yellow);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 670px;
  color: rgba(255, 255, 255, .86);
  font-size: 21px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  color: var(--ink);
  background: var(--yellow);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .08);
}

.hero-facts {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
}

.hero-panel {
  padding: 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(21, 23, 26, .72);
  box-shadow: var(--shadow);
}

.hero-panel b {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-panel p {
  color: rgba(255, 255, 255, .76);
}

.hero-panel a {
  color: var(--yellow);
  font-weight: 800;
}

.intro {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 68px;
  align-items: start;
}

.intro-grid p,
.section-head p,
.visual-copy p,
.request-grid p,
.legal-grid p,
.section-dark p {
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.section-visual {
  background: #e8ebef;
}

.visual-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.visual-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #303741;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.price-row {
  display: grid;
  grid-template-columns: .85fr 1.35fr 150px;
  gap: 22px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-head {
  color: var(--white);
  background: var(--graphite);
  font-weight: 800;
}

.price-row span:nth-child(2) {
  color: var(--muted);
}

.price-row b {
  text-align: right;
}

.section-dark {
  color: var(--white);
  background: var(--graphite);
}

.process-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.steps div {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.steps b {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.steps span {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
}

.request-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 58px;
  align-items: start;
}

.contact-list {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-list p {
  margin-bottom: 9px;
}

.contact-list a {
  color: var(--blue);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(21, 23, 26, .08);
}

.form label {
  display: grid;
  gap: 8px;
  color: #303741;
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #c8cfd8;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(40, 103, 168, .22);
  border-color: var(--blue);
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  padding: 12px 14px;
  border-radius: 6px;
  color: #104733;
  background: #dff1e9;
}

.legal {
  padding: 76px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.legal-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.legal-box {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
}

.legal-box p {
  margin: 0;
  font-size: 16px;
}

.site-footer {
  color: rgba(255, 255, 255, .75);
  background: #111418;
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--yellow);
  font-weight: 800;
}

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

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .intro-grid,
  .visual-grid,
  .process-grid,
  .request-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
    padding: 74px 0;
  }

  .hero-panel {
    max-width: 460px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .header-phone {
    font-size: 14px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .intro {
    padding: 44px 0;
  }

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

  .price-row,
  .price-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .price-row b {
    text-align: left;
  }

  .form {
    padding: 20px;
  }

  .footer-inner {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
