:root {
  --ink: #111214;
  --paper: #f4f2ed;
  --white: #ffffff;
  --yellow: #f4b400;
  --muted: #65686d;
  --line: #dedbd4;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

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

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

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

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

button,
input,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--white);
  background: var(--ink);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 7px;
  color: var(--yellow);
  font-size: 15px;
  font-style: italic;
  font-weight: 800;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand small {
  margin-top: 5px;
  color: #9fa1a5;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.hotline {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.step,
.form-section {
  padding: 90px 0;
}

.step-content ul,
.guide-copy ul {
  padding-left: 22px;
}

.step-content li,
.guide-copy li {
  margin-bottom: 7px;
}

.workflow-title {
  max-width: 950px;
  margin: 0 0 55px;
  color: var(--white);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
}

.step {
  border-bottom: 1px solid var(--line);
}

.step-alt {
  background: var(--paper);
}

.step-grid {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: 0.85fr 1.15fr;
}

.step-grid-reverse .step-image {
  order: 2;
}

.step-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.workflow-step-heading {
  margin: 0 0 25px;
  color: #a87800;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.step-content h3,
.guide-copy h3,
.remap-main h3 {
  margin: 30px 0 12px;
  font-size: 20px;
}

.step-content p,
.step-content li,
.guide-copy p,
.guide-copy li {
  color: #46494e;
}

.check-list {
  padding: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #a87800;
  content: "✓";
  font-weight: 800;
}

.price {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: #9a6e00 !important;
  font-size: 18px;
  font-weight: 800;
}

.remap-step {
  color: var(--white);
  background: var(--ink);
}

.remap-heading {
  margin-bottom: 40px;
}

.remap-main {
  display: grid;
  align-items: center;
  gap: 60px;
  grid-template-columns: 0.9fr 1.1fr;
}

.remap-main img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.remap-main h3 {
  color: var(--white);
}

.remap-main li {
  color: #d2d3d5;
}

.guide-copy {
  max-width: 900px;
  margin: 70px auto 0;
}

.guide-copy h3 {
  color: var(--yellow);
  font-size: 28px;
}

.guide-copy p,
.guide-copy li {
  color: #d0d1d3;
}

.guide-copy .price {
  border-color: #393b3f;
  color: var(--white) !important;
}

.form-section {
  background: var(--paper);
}

.signup-grid {
  display: grid;
  align-items: stretch;
  gap: 26px;
  grid-template-columns: 1.3fr 0.7fr;
}

.signup-form-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 18, 20, 0.07);
}

.form-intro {
  margin: 0 0 26px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

#vehicle-form {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

#vehicle-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

#vehicle-form input,
#vehicle-form select {
  width: 100%;
  height: 50px;
  border: 1px solid #c9c6bf;
  border-radius: 3px;
  outline: none;
  padding: 0 12px;
  background: var(--white);
}

#vehicle-form input:focus,
#vehicle-form select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.13);
}

.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 3px;
  color: var(--ink);
  background: var(--yellow);
  cursor: pointer;
  font-weight: 800;
  grid-column: 1 / -1;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  display: none;
  border-left: 3px solid var(--yellow);
  padding: 10px 12px;
  background: #fff8df;
  font-size: 13px;
  grid-column: 1 / -1;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-left-color: #b42318;
  color: #7a271a;
  background: #fef3f2;
}

.form-status.is-success {
  border-left-color: #218739;
  color: #14532d;
  background: #f0fdf4;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 14px;
  padding: 36px;
  color: var(--white);
  background: var(--ink);
}

.contact-lead {
  margin: 0;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-hotline {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.01em;
}

.contact-address p {
  margin: 0 0 9px;
  color: #d1d2d4;
  font-size: 15px;
}

.contact-address-title {
  color: var(--white);
  font-weight: 700;
}

.feedback-grid {
  display: grid;
  justify-content: center;
  margin-top: 60px;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.feedback-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mobile-actions {
  display: none;
}

@media (max-width: 850px) {
  .step-grid,
  .step-grid-reverse,
  .remap-main,
  .signup-grid {
    gap: 35px;
    grid-template-columns: 1fr;
  }

  .step-grid-reverse .step-image {
    order: 0;
  }

  .signup-form-wrap,
  .contact-card {
    padding: 28px;
  }

  #vehicle-form {
    grid-template-columns: 1fr 1fr;
  }

  .feedback-grid {
    overflow-x: auto;
    padding-bottom: 12px;
    grid-auto-columns: 65%;
    grid-auto-flow: column;
    grid-template-columns: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

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

  .hotline {
    font-size: 11px;
  }

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

  .brand small {
    font-size: 7px;
  }

  .step,
  .form-section {
    padding: 65px 0;
  }

  .workflow-title {
    font-size: 38px;
  }

  .workflow-step-heading {
    font-size: 32px;
  }

  .guide-copy h3 {
    font-size: 24px;
  }

  #vehicle-form {
    grid-template-columns: 1fr;
  }

  .feedback-grid {
    margin-right: -15px;
    grid-auto-columns: 78%;
  }

  body {
    padding-bottom: 68px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    border-top: 1px solid #34363a;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--ink);
    grid-template-columns: 1fr;
  }

  .mobile-actions a {
    display: grid;
    min-height: 46px;
    padding: 6px 12px;
    place-items: center;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }

  .mobile-actions a:last-child {
    color: var(--ink);
    background: var(--yellow);
  }
}
