:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --soft: #f2f2f1;
  --ink: #111111;
  --muted: #5e5e5e;
  --line: #e5e5e5;
  --dark: #111111;
  --accent: #ff6a00;
  --accent-hover: #ef5f00;
  --accent-soft: rgba(255, 106, 0, .12);
  --shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
  --accent-shadow: 0 10px 30px rgba(255, 106, 0, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.is-hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 clamp(22px, 7vw, 118px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand strong { display: block; }
.brand em, .footer em, h1 span {
  color: var(--accent);
  font-style: normal;
}

.brand-flame {
  position: relative;
  width: 24px;
  height: 32px;
  background: var(--accent);
  border-radius: 14px 14px 16px 16px;
  clip-path: polygon(50% 0, 72% 28%, 88% 48%, 78% 86%, 50% 100%, 22% 86%, 12% 50%, 28% 28%);
}

.brand-flame::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 4px;
  width: 8px;
  height: 14px;
  background: white;
  border-radius: 8px;
  clip-path: polygon(50% 0, 84% 40%, 72% 100%, 28% 100%, 16% 42%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  color: #111;
  font-size: 15px;
}

.nav a {
  padding: 10px 0;
  border-radius: 7px;
}

.nav a:hover { color: #6a6a6a; }

.nav .nav-cta {
  margin-left: clamp(12px, 3vw, 60px);
  min-width: 142px;
  padding: 13px 25px;
  color: white;
  text-align: center;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: var(--accent-shadow);
}

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

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(440px, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  min-height: 474px;
  padding: 74px clamp(22px, 7vw, 118px) 46px;
  background: linear-gradient(180deg, #fbfbfa 0%, #f6f6f4 100%);
  border-bottom: 1px solid var(--line);
}

.hero-content { max-width: 600px; }

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

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 30px;
  color: #535458;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 32px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.primary {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--accent-shadow);
}

.primary:hover, .nav .nav-cta:hover { background: var(--accent-hover); color: white; }

.secondary {
  color: var(--ink);
  background: transparent;
}

.full { width: 100%; }

.hero-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.54 / 1;
  object-fit: cover;
}

.section {
  padding: 56px clamp(22px, 7vw, 118px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.row-heading {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-heading p, .booking-copy p, .owner article p, .analytics-panel p, .price-card p, .case-card p, .company-grid p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.calc-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 32px clamp(22px, 7vw, 118px);
  background: white;
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 0 34px;
  border-right: 1px solid var(--line);
}

.trust-item strong,
.trust-item span:not(.line-icon) {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; padding-right: 0; }

.trust-item strong, .trust-item span:not(.line-icon) { display: block; }
.trust-item strong { font-size: 14px; }
.trust-item span:not(.line-icon) {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.line-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border: 2px solid #101010;
}

.shield {
  width: 38px;
  height: 38px;
  margin-left: 2px;
  border-radius: 50%;
}

.shield::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 14px;
  height: 2px;
  background: #101010;
  border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.gear { border-radius: 50%; }
.gear::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid #101010;
  border-radius: 50%;
}

.clock { border-radius: 50%; }
.clock::before, .clock::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 9px;
  width: 2px;
  height: 14px;
  background: #101010;
  transform-origin: bottom;
}
.clock::after { transform: rotate(45deg); height: 12px; }

.wallet {
  width: 46px;
  height: 36px;
  margin-top: 3px;
  border-radius: 8px;
}
.wallet::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 10px;
  width: 18px;
  height: 14px;
  border: 2px solid #101010;
  border-radius: 6px;
  background: white;
}

.process {
  background: white;
  border-bottom: 1px solid var(--line);
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 11%;
  right: 11%;
  border-top: 1px dashed #cfcfcb;
}

.process-line article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.process-line span {
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 16px;
  background: white;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  color: #111;
}

.process-line p {
  max-width: 250px;
  color: var(--muted);
  font-size: 13px;
}

.price-grid, .case-grid, .owner-grid, .analytics-grid, .company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.price-card, .case-card, .owner article, .analytics-card, .company-grid article, .panel, .estimate, .booking-form, .vehicle-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.price-card, .owner article, .analytics-card, .company-grid article {
  padding: 24px;
}

.price-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 28px;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 18px;
  align-items: start;
  background: #f5f5f3;
}

.company-section {
  background: #f5f5f3;
}

.company-grid {
  margin-bottom: 22px;
}

.company-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.company-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.company-grid p {
  margin: 0;
}

.panel, .estimate, .booking-form, .vehicle-result { padding: 28px; }

.calc-form, .selector-form, .booking-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #303033;
  font-size: 14px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  color: #303033;
  font-size: 14px;
  font-weight: 800;
}

.addon-group, .payback-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.privacy-consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.privacy-consent a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

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

.payback-group legend {
  grid-column: 1 / -1;
}

.estimate {
  position: sticky;
  top: 96px;
}

.estimate-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.estimate-lines {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.payback-result {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 18px;
  background: #111;
  color: white;
  border-radius: 10px;
}

.payback-result span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.payback-result strong {
  margin: 0;
  color: var(--accent);
  font-size: 34px;
}

.payback-result p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}

.estimate-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.selector-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.vehicle-result { display: grid; gap: 14px; }

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 7px;
  color: #222;
  background: #ededeb;
  font-size: 13px;
  font-weight: 900;
}

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

.spec-grid div {
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.spec-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.recommendation-stack {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f5f5f3;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.recommendation-stack span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.works { background: #f7f7f6; }

.case-card {
  min-height: 252px;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 18px;
  color: white;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.72) 100%),
    url("./assets/workshop-hero.svg") center / cover;
}

.case-card p, .case-card .eyebrow { color: rgba(255,255,255,.78); }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.case-meta span {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.18);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.owner {
  background: #111;
  color: white;
}

.owner .section-heading p, .owner article p, .analytics-panel p { color: rgba(255,255,255,.68); }
.owner article, .analytics-panel, .data-schema { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); box-shadow: none; }

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-weight: 900;
}

.analytics-panel {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid;
  border-radius: 10px;
}

.data-schema {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid;
  border-radius: 10px;
}

.data-schema h3 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.data-schema span {
  display: block;
  margin-bottom: 6px;
  color: white;
  font-weight: 900;
}

.data-schema p {
  margin: 0;
  color: rgba(255,255,255,.68);
}

.analytics-card strong {
  display: block;
  font-size: 30px;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
  background: white;
}

.booking-copy {
  position: sticky;
  top: 96px;
}

.contact-slots {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-slots div {
  padding: 16px 18px;
  background: #f5f5f3;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-slots span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-slots strong {
  display: block;
  margin-top: 2px;
}

.contact-slots a {
  color: var(--ink);
  text-decoration: none;
}

.contact-slots a:hover {
  color: var(--accent);
}

.map-card {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.map-card iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.map-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.legal-page {
  background: #f5f5f3;
}

.legal-page .section-heading {
  max-width: 820px;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: 0;
}

.legal-document {
  max-width: 900px;
  padding: clamp(24px, 4vw, 42px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.legal-document h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.legal-document p {
  margin: 0 0 12px;
  color: #4f4f53;
  line-height: 1.65;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(22px, 7vw, 118px);
  color: rgba(255,255,255,.72);
  background: #111;
}

.footer strong { color: white; }

@media (max-width: 1060px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }
  .menu-button { display: block; }
  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; justify-content: stretch; gap: 4px; }
  .nav .nav-cta { margin-left: 0; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }
  .price-grid, .case-grid, .owner-grid, .company-grid, .split, .selector-layout, .booking-section {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding-block: 0;
    background: var(--line);
  }
  .data-schema {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item {
    min-height: 112px;
    padding: 22px;
    background: white;
    border-right: 0;
    border-bottom: 0;
  }
  .process-line {
    grid-template-columns: 1fr 1fr;
  }
  .process-line::before { display: none; }
  .estimate, .booking-copy { position: static; }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 66px;
    padding-inline: 16px;
  }
  .section {
    padding: 46px 16px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .trust-item {
    display: block;
    min-height: 0;
    padding: 20px 16px;
  }
  .trust-item strong {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.25;
  }
  .trust-item span:not(.line-icon) {
    display: block;
    grid-column: auto;
    max-width: 320px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }
  .line-icon {
    width: 36px;
    height: 36px;
  }
  .wallet {
    width: 38px;
    height: 31px;
  }
  .gear::after { inset: 10px; }
  .clock::before, .clock::after {
    left: 17px;
    top: 8px;
    height: 12px;
  }
  .hero {
    padding: 48px 16px 38px;
    gap: 28px;
  }
  h1 { font-size: 41px; }
  .hero-copy { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .process-line, .spec-grid, .analytics-grid {
    grid-template-columns: 1fr;
  }
  .payback-group {
    grid-template-columns: 1fr;
  }
  .estimate-line {
    display: grid;
    gap: 4px;
  }
  .data-schema {
    grid-template-columns: 1fr;
  }
  .section-heading.row-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer { display: grid; }
}
