:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f0f5fb;
  --surface-blue: #eaf2ff;
  --ink: #111827;
  --muted: #667085;
  --muted-strong: #475467;
  --line: #d9e2ec;
  --line-strong: #c8d5e4;
  --blue: #155eef;
  --blue-dark: #0b3b91;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --green: #087443;
  --red: #b42318;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.1);
  --radius: 8px;
  --font-sans: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 680;
  --fw-display: 720;
  --page-pad: clamp(16px, 4vw, 56px);
  --content-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after,
.inspection-journey,
.inspection-stage {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.64;
}

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

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

[hidden],
.hidden {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.42);
  outline-offset: 3px;
}

.page {
  width: min(var(--content-max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #ffffff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: auto;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: var(--fw-bold);
}

.brand span:last-child {
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

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

.phone-link,
.support-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #ffffff;
  font-weight: var(--fw-bold);
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  cursor: pointer;
  font: inherit;
  font-weight: var(--fw-bold);
}

.support-chat-button:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

.support-chat-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.support-chat-dialog[hidden] {
  display: none;
}

.support-chat-card {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.support-chat-card h2 {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

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

.support-chat-thread {
  display: grid;
  gap: 10px;
  margin: 18px 0 2px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
}

.support-chat-thread[hidden] {
  display: none;
}

.support-chat-thread__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #0b4aa2;
  font-size: 13px;
}

.support-chat-thread__header span {
  color: var(--muted);
  font-weight: var(--fw-semibold);
}

.support-chat-bubble {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.support-chat-bubble span {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.support-chat-bubble p {
  margin: 0;
  color: var(--ink);
}

.support-chat-bubble--user {
  background: #ffffff;
  border: 1px solid #d7e2f1;
}

.support-chat-bubble--admin {
  background: #fff7e0;
  border: 1px solid #ffd166;
}

.support-chat-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.support-chat-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.support-chat-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

.support-chat-form input,
.support-chat-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.support-chat-form textarea {
  resize: vertical;
}

.support-chat-form__wide,
.support-chat-status,
.support-chat-form .primary {
  grid-column: 1 / -1;
}

.support-chat-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
}

.support-chat-status.error {
  color: #b42318;
}

.support-chat-status.success {
  color: #067647;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 94px 0 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 15, 31, 0.92) 0%, rgba(6, 15, 31, 0.76) 38%, rgba(6, 15, 31, 0.24) 72%, rgba(6, 15, 31, 0.12) 100%),
    url("/design-previews/service-checkout-final/assets/hero-inspection-bay-web.png") center / cover no-repeat;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0), var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  padding: 62px 0 34px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(21, 94, 239, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.36);
  color: #dbeafe;
}

.hero h1 {
  margin: 18px 0;
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(38px, 4.7vw, 64px);
  font-weight: var(--fw-display);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn,
.primary,
.secondary,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.primary-btn,
.primary {
  color: #111827;
  background: linear-gradient(180deg, #ffd166 0%, #f59e0b 56%, #ea580c 100%);
  box-shadow: 0 16px 28px rgba(217, 119, 6, 0.28);
}

.primary-btn:hover,
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.34);
}

.secondary-btn,
.secondary,
.link-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.booking-panel .secondary,
.booking-panel .link-button,
.side-panel .secondary,
.side-panel .link-button,
#stationMapToggle,
#stationMapClose,
#lookupCarInfo,
#newBooking,
#dkButton,
#directionButton,
#yandexRouteButton,
#twoGisRouteButton {
  color: var(--ink) !important;
  border-color: var(--line) !important;
  background: #ffffff !important;
  box-shadow: none;
}

.booking-panel .secondary:hover,
.booking-panel .link-button:hover,
.side-panel .secondary:hover,
.side-panel .link-button:hover {
  border-color: #b8c7d9;
  background: #f8fafc;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 620px;
}

.proof-item {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 16px;
  font-weight: var(--fw-bold);
}

.proof-item span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.38;
}

.booking-stack {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.layout,
.booking-shell {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.booking-panel,
.side-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.booking-panel {
  overflow: visible;
}

.booking-panel.is-loading {
  position: relative;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: #eaf0f7;
}

.step {
  min-height: 56px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: var(--fw-bold);
}

.step:last-child {
  border-right: 0;
}

.step span {
  margin-left: 5px;
}

.step.active {
  color: var(--blue);
  background: #ffffff;
  box-shadow: inset 0 -3px 0 var(--blue);
}

.screen {
  display: none;
  padding: 24px;
}

.screen.active {
  display: block;
}

.screen-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.screen h2,
.payment-card h2,
.result h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: var(--fw-bold);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.price-box {
  flex: 0 0 auto;
  min-width: 156px;
  padding: 13px 16px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: var(--ink);
}

.price-box span {
  display: block;
  margin-bottom: 4px;
  color: #9a3412 !important;
  font-size: 12px;
  font-weight: var(--fw-bold);
}

.price-box strong {
  display: block;
  color: var(--ink) !important;
  font-size: 24px;
  line-height: 1;
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
}

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

.field,
.form-field {
  min-width: 0;
}

.field label,
.form-field label,
.station-picker-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: var(--fw-semibold);
}

.native-city-select,
.native-category-select,
.native-station-select,
.native-date-select {
  display: none !important;
}

.city-combobox,
.category-combobox,
.station-combobox,
.date-combobox {
  position: relative;
  min-width: 0;
}

.city-combobox-trigger,
.category-combobox-trigger,
.station-combobox-trigger,
.date-combobox-trigger,
.form-field input,
.form-field select,
.form-field textarea,
.status-check input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  text-align: left;
}

.station-combobox-trigger {
  min-height: 50px;
}

.city-combobox-trigger:hover,
.category-combobox-trigger:hover,
.station-combobox-trigger:hover,
.date-combobox-trigger:hover,
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #aebed0;
}

.city-combobox-caret,
.category-combobox-caret,
.station-combobox-caret,
.date-combobox-caret {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-left: 12px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg) translateY(-2px);
}

.city-combobox-menu,
.category-combobox-menu,
.station-combobox-menu,
.date-combobox-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: min(360px, 55vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.station-combobox-menu {
  max-height: min(420px, 60vh);
}

.city-combobox-menu input,
.station-combobox-menu input {
  width: 100%;
  min-height: 42px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
}

.city-combobox-list,
.category-combobox-list,
.station-combobox-list,
.date-combobox-list {
  display: grid;
  gap: 4px;
}

.city-combobox-option,
.category-combobox-option,
.station-combobox-option,
.date-combobox-option {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: var(--fw-medium);
  text-align: left;
}

.city-combobox-option:hover,
.category-combobox-option:hover,
.station-combobox-option:hover,
.date-combobox-option:hover,
.city-combobox-option.active,
.category-combobox-option.active,
.station-combobox-option.active,
.date-combobox-option.active {
  background: var(--surface-blue);
}

.city-combobox-option.selected,
.category-combobox-option.selected,
.station-combobox-option.selected,
.date-combobox-option.selected {
  color: #ffffff;
  background: var(--blue);
}

.station-info {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: var(--surface-blue);
  color: var(--blue-dark);
  font-weight: var(--fw-semibold);
}

.station-pick-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.station-picker {
  min-width: 0;
}

.station-map-panel {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #d3deea;
  border-radius: 8px;
  background: #ffffff;
}

.station-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.station-map-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: var(--fw-bold);
}

.station-map-meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.station-map-canvas {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background: #e9f2f8;
}

.station-map-canvas > ymaps {
  width: 100% !important;
  height: 100% !important;
}

.station-map-marker {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 68px;
  height: 34px;
  padding: 0 10px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: var(--fw-bold);
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
}

.station-map-marker::after {
  content: none;
}

.station-map-marker::before {
  content: none;
}

.station-map-marker__label {
  display: block;
}

.station-map-marker.selected {
  background: var(--amber);
  color: #111827;
}

.station-map-status {
  padding: 12px 16px;
  color: var(--muted-strong);
  font-size: 14px;
}

.slot-section {
  margin-top: 18px;
}

.slot-toolbar {
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

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

.slot {
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}

.slot:hover {
  border-color: var(--amber);
}

.slot:hover:not(.selected):not(.active):not(:disabled):not(.disabled) {
  color: var(--ink);
  background: #fffaf0;
  box-shadow:
    inset 0 0 0 1px rgba(245, 158, 11, 0.18),
    0 8px 18px rgba(15, 23, 42, 0.08);
}

.slot.selected,
.slot.active {
  border-color: var(--amber);
  color: #7c2d12;
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px var(--amber);
}

.slot.selected:hover,
.slot.active:hover {
  color: #7c2d12;
  background: #ffedd5;
  box-shadow:
    inset 0 0 0 1px var(--amber),
    0 8px 18px rgba(245, 158, 11, 0.14);
}

.slot[disabled],
.slot.disabled {
  color: #98a2b3;
  background: #f2f4f7;
  border-color: #e4e7ec;
}

.message,
.alert,
#availabilityMessage,
#vehicleMessage,
#paymentMessage {
  margin: 16px 0 0;
  padding: 13px 15px;
  border-left: 4px solid var(--blue);
  background: var(--surface-blue);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: var(--fw-semibold);
}

.message.error,
.alert.error {
  border-left-color: var(--red);
  background: #fef3f2;
  color: var(--red);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.form-field.full,
.form-note,
.consent-row {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
}

.form-field textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.form-note,
.consent-row,
.payment-note,
.fineprint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.payment-card,
.result,
.booking-status-card,
.current-status,
.payment-assurance {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.payment-card + .payment-card,
.payment-card + .payment-assurance,
.result + .booking-status-card,
.booking-status-card + .current-status,
.current-status + .status-check {
  margin-top: 14px;
}

.payment-list,
.summary dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.payment-list div,
.summary dl div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.payment-list dt,
.summary dt {
  color: var(--muted);
  font-size: 13px;
}

.payment-list dd,
.summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: var(--fw-bold);
}

.result-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-weight: var(--fw-bold);
}

.status-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 14px;
}

.side-panel {
  overflow: hidden;
}

.summary,
.navigator,
.support {
  padding: 22px;
}

.summary h2,
.navigator h3,
.support h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.navigator,
.support {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.navigator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.navigator-empty {
  margin: 12px 0 0;
  color: var(--muted);
}

.main-band {
  position: relative;
  z-index: 3;
  padding: 48px 0 76px;
}

.service-page {
  background: var(--bg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -84px;
  margin-bottom: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.trust-item {
  padding: 20px;
  border-right: 1px solid var(--line);
}

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

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: var(--fw-bold);
}

.trust-item span {
  color: var(--muted);
}

.content-section {
  margin-top: 74px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 40px;
  align-items: end;
  margin-bottom: 26px;
}

.section-kicker {
  min-height: auto;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
}

.section-head h2,
.final-cta h2 {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: var(--fw-display);
  line-height: 1.08;
  text-wrap: balance;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.process-list,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-card,
.info-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.process-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf2ff;
  font-weight: var(--fw-bold);
}

.process-card h3,
.info-card h3,
.prep-item h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.25;
}

.process-card p,
.info-card p,
.prep-item p,
.final-cta p,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.prep-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.inspection-visual-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.inspection-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prep-copy {
  display: grid;
  gap: 0;
}

.prep-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.prep-tag {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #9a3412;
  background: #fff7ed;
  font-size: 14px;
  font-weight: var(--fw-bold);
}

.audience-section .info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.final-cta {
  position: relative;
  margin-top: 66px;
  padding: clamp(28px, 5vw, 44px);
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  isolation: isolate;
  background:
    url("/design-previews/service-checkout-final/assets/route-selection-phone-web.png") right center / contain no-repeat,
    var(--blue);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(21, 94, 239, 0.98) 0%,
    rgba(21, 94, 239, 0.96) 52%,
    rgba(21, 94, 239, 0.62) 68%,
    rgba(21, 94, 239, 0.2) 100%
  );
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.final-cta h2 {
  max-width: 560px;
}

.final-cta p {
  max-width: 640px;
  margin: 16px 0 24px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list summary {
  min-height: 56px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: var(--fw-bold);
  cursor: pointer;
}

.faq-list details p {
  padding: 0 18px 18px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  font-size: 14px;
}

.footer-inner span:first-child {
  color: var(--ink);
  font-weight: var(--fw-bold);
}

.footer-inner a {
  color: var(--blue-dark);
  font-weight: var(--fw-semibold);
}

.floating-booking-cta {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  display: none;
  min-height: 58px;
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(180deg, #ffd166 0%, #f59e0b 56%, #ea580c 100%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.26);
}

.floating-booking-cta span,
.floating-booking-cta small {
  display: block;
}

.floating-booking-cta small {
  font-size: 12px;
  font-weight: var(--fw-semibold);
}

.show-floating-cta .floating-booking-cta {
  display: block;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .booking-stack {
    max-width: 760px;
  }

  .nav {
    display: none;
  }

  .trust-strip,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, var(--content-max));
  }

  .topbar {
    position: absolute;
  }

  .topbar-inner {
    gap: 12px;
  }

  .brand {
    font-size: 15px;
  }

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

  .phone-link,
  .support-chat-button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 82px 0 28px;
    background:
      linear-gradient(180deg, rgba(6, 15, 31, 0.92) 0%, rgba(6, 15, 31, 0.76) 55%, rgba(6, 15, 31, 0.58) 100%),
      url("/design-previews/service-checkout-final/assets/hero-inspection-bay-web.png") center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-proof,
  .trust-strip,
  .process-list,
  .audience-section .info-grid,
  .info-grid,
  .filters,
  .form-grid,
  .prep-layout,
  .section-head {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .trust-item {
    border-right: 0;
  }

  .hero-proof {
    display: none;
  }

  .booking-stack {
    max-width: none;
  }

  .screen {
    padding: 18px;
  }

  .step {
    min-height: 52px;
    font-size: 14px;
  }

  .step span {
    display: block;
    margin: 1px 0 0;
    font-size: 12px;
  }

  .screen-head,
  .station-pick-row,
  .slot-toolbar,
  .status-check {
    grid-template-columns: 1fr;
    display: grid;
  }

  .price-box {
    width: 100%;
  }

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

  .payment-list div,
  .summary dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions .primary,
  .actions .secondary,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .trust-strip {
    margin-top: 24px;
  }

  .content-section {
    margin-top: 54px;
  }

  .section-head h2,
  .final-cta h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .final-cta {
    background:
      url("/design-previews/service-checkout-final/assets/route-selection-phone-web.png") right bottom / min(78vw, 420px) auto no-repeat,
      var(--blue);
  }

  .final-cta::before {
    background: linear-gradient(
      180deg,
      rgba(21, 94, 239, 0.98) 0%,
      rgba(21, 94, 239, 0.94) 56%,
      rgba(21, 94, 239, 0.62) 100%
    );
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .screen {
    padding: 16px 14px;
  }

  .slot-grid {
    gap: 8px;
  }

  .slot {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Final cascade guard: old dark theme rules are still loaded for legacy logic. */
body .booking-panel .city-combobox-menu,
body .booking-panel .category-combobox-menu,
body .booking-panel .station-combobox-menu,
body .booking-panel .date-combobox-menu {
  border: 1px solid #cbd8e6 !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18) !important;
}

body .booking-panel .city-combobox-trigger,
body .booking-panel .category-combobox-trigger,
body .booking-panel .station-combobox-trigger,
body .booking-panel .date-combobox-trigger {
  border: 1px solid #cbd8e6 !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

body .booking-panel .city-combobox-trigger:hover,
body .booking-panel .category-combobox-trigger:hover,
body .booking-panel .station-combobox-trigger:hover,
body .booking-panel .date-combobox-trigger:hover {
  border-color: #aebed0 !important;
  background: #ffffff !important;
  color: var(--ink) !important;
}

body .booking-panel .city-combobox-trigger[aria-expanded="true"],
body .booking-panel .category-combobox-trigger[aria-expanded="true"],
body .booking-panel .station-combobox-trigger[aria-expanded="true"],
body .booking-panel .date-combobox-trigger[aria-expanded="true"] {
  border-color: var(--blue) !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.14) !important;
}

body .booking-panel .city-combobox-menu input,
body .booking-panel .station-combobox-menu input {
  border: 1px solid #cbd8e6 !important;
  background: #f8fafc !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

body .booking-panel .city-combobox-menu input::placeholder,
body .booking-panel .station-combobox-menu input::placeholder {
  color: #667085 !important;
  opacity: 1 !important;
}

body .booking-panel .city-combobox-option,
body .booking-panel .category-combobox-option,
body .booking-panel .station-combobox-option,
body .booking-panel .date-combobox-option {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  font-weight: var(--fw-medium) !important;
  box-shadow: none !important;
}

body .booking-panel .city-combobox-option:hover,
body .booking-panel .city-combobox-option.active:not(.selected),
body .booking-panel .category-combobox-option:hover,
body .booking-panel .category-combobox-option.active:not(.selected),
body .booking-panel .station-combobox-option:hover,
body .booking-panel .station-combobox-option.active:not(.selected),
body .booking-panel .date-combobox-option:hover,
body .booking-panel .date-combobox-option.active:not(.selected) {
  background: #eaf2ff !important;
  color: #0f172a !important;
}

body .booking-panel .city-combobox-option.selected,
body .booking-panel .category-combobox-option.selected,
body .booking-panel .station-combobox-option.selected,
body .booking-panel .date-combobox-option.selected {
  background: var(--blue) !important;
  color: #ffffff !important;
  font-weight: var(--fw-bold) !important;
}

body .booking-panel .city-combobox-option.selected:hover,
body .booking-panel .city-combobox-option.selected.active,
body .booking-panel .category-combobox-option.selected:hover,
body .booking-panel .category-combobox-option.selected.active,
body .booking-panel .station-combobox-option.selected:hover,
body .booking-panel .station-combobox-option.selected.active,
body .booking-panel .date-combobox-option.selected:hover,
body .booking-panel .date-combobox-option.selected.active {
  background: #0f55d6 !important;
  color: #ffffff !important;
}

body .main-band.service-page {
  background: var(--bg) !important;
  color: var(--ink) !important;
}

body .service-page .trust-strip {
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  box-shadow: var(--shadow-soft) !important;
}

body .service-page .trust-strip > div {
  position: relative !important;
  padding: 20px !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .service-page .trust-strip > div:last-child {
  border-right: 0 !important;
}

body .service-page .trust-strip > div::before,
body .service-page .trust-strip > div::after,
body .service-page .process-list::before,
body .service-page .process-list::after,
body .service-page .process-list > div::before,
body .service-page .process-list > div::after,
body .service-page .content-section::before,
body .service-page .content-section::after,
body .service-page .info-card::before,
body .service-page .info-card::after {
  display: none !important;
  content: none !important;
}

body .service-page .trust-strip strong {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--ink) !important;
  font-size: 17px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1.25 !important;
}

body .service-page .trust-strip span {
  display: block !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.55 !important;
}

body .service-page .content-section {
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body .service-page .content-section > * {
  position: relative !important;
  z-index: 1 !important;
}

body .service-page .section-kicker {
  color: var(--blue) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .service-page .section-head {
  display: grid !important;
  grid-template-columns: minmax(420px, 0.92fr) minmax(320px, 1fr) !important;
  gap: 40px !important;
  align-items: end !important;
}

body .service-page .section-head h2,
body .service-page .prep-copy h2,
body .service-page .content-section h2 {
  max-width: 680px !important;
  color: var(--ink) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: var(--fw-display) !important;
  line-height: 1.08 !important;
}

body .service-page .section-head p:not(.section-kicker),
body .service-page .content-section p {
  color: var(--muted) !important;
}

body .service-page .process-list {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .service-page .process-list > div,
body .service-page .info-card,
body .service-page .prep-copy article,
body .service-page .faq-list details {
  position: relative !important;
  padding: 20px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .service-page .process-list > div > span,
body .service-page .prep-copy article > span {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 0 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #eaf2ff !important;
  color: var(--blue) !important;
  font-size: 15px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body .service-page .prep-copy article {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 16px !important;
  padding: 18px 0 !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body .service-page .prep-copy article > span {
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
}

body .service-page .process-list strong,
body .service-page .info-card h3,
body .service-page .prep-copy h3 {
  display: block !important;
  margin: 0 0 10px !important;
  color: var(--ink) !important;
  font-size: 18px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1.25 !important;
}

body .service-page .process-list p,
body .service-page .info-card p,
body .service-page .prep-copy p,
body .service-page .faq-list p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.6 !important;
}

body .booking-panel .primary:disabled,
body .booking-panel .primary[disabled],
body .booking-panel button.primary:disabled,
body .booking-panel button.primary[disabled],
body .booking-panel #toVehicle:disabled,
body .booking-panel #mockPay:disabled {
  border: 1px solid #cbd8e6 !important;
  background: #eef2f7 !important;
  color: #667085 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

body .booking-panel .step.completed {
  color: var(--blue-dark) !important;
  background: #eef6ff !important;
  box-shadow: inset 0 -3px 0 #bfdbfe !important;
}

body .booking-panel .step.completed::before {
  content: "✓" !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 20px !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin-right: 7px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: var(--blue) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body .booking-panel .screen-head p {
  margin: 4px 0 0 !important;
  max-width: 640px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: var(--fw-semibold) !important;
  line-height: 1.55 !important;
}

body .booking-panel .form-grid label,
body .booking-panel .status-check label {
  display: block !important;
  min-width: 0 !important;
  color: var(--muted-strong) !important;
  font-size: 13px !important;
  font-weight: var(--fw-semibold) !important;
  line-height: 1.35 !important;
}

body .booking-panel .form-grid label input:not([type="checkbox"]),
body .booking-panel .form-grid label select,
body .booking-panel .form-grid label textarea,
body .booking-panel .status-check input,
body .booking-panel #bookingForm input:not([type="checkbox"]),
body .booking-panel #bookingForm select,
body .booking-panel #bookingForm textarea {
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  margin-top: 7px !important;
  padding: 0 14px !important;
  border: 1px solid #cbd8e6 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: var(--fw-semibold) !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body .booking-panel .form-grid label textarea,
body .booking-panel #bookingForm textarea {
  min-height: 96px !important;
  padding-top: 12px !important;
}

body .booking-panel .form-grid label input:not([type="checkbox"])::placeholder,
body .booking-panel .form-grid label textarea::placeholder,
body .booking-panel .status-check input::placeholder,
body .booking-panel #bookingForm input::placeholder,
body .booking-panel #bookingForm textarea::placeholder {
  color: #667085 !important;
  opacity: 1 !important;
}

body .booking-panel .form-grid label input:not([type="checkbox"]):hover,
body .booking-panel .form-grid label select:hover,
body .booking-panel .form-grid label textarea:hover,
body .booking-panel .status-check input:hover {
  border-color: #aebed0 !important;
  background: #ffffff !important;
}

body .booking-panel .form-grid label input:not([type="checkbox"]):focus,
body .booking-panel .form-grid label select:focus,
body .booking-panel .form-grid label textarea:focus,
body .booking-panel .status-check input:focus {
  border-color: var(--blue) !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.14) !important;
}

body .booking-panel .vehicle-lookup-row {
  display: grid !important;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

body .booking-panel .vehicle-lookup-hint {
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.45 !important;
}

body .booking-panel .consent-check {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.5 !important;
}

body .booking-panel .consent-check input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 3px 0 0 !important;
  accent-color: var(--blue) !important;
  box-shadow: none !important;
}

body .booking-panel .consent-check a {
  color: var(--blue-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  font-weight: var(--fw-semibold) !important;
}

body .booking-panel .form-note,
body .booking-panel #vehicleMessage,
body .booking-panel #paymentMessage {
  border-left: 4px solid var(--blue) !important;
  background: var(--surface-blue) !important;
  color: var(--blue-dark) !important;
  box-shadow: none !important;
}

body .booking-panel .payment-card,
body .booking-panel .payment-assurance,
body .booking-panel .payment-assurance > div,
body .booking-panel .result,
body .booking-panel .booking-status-card,
body .booking-panel .client-instruction,
body .booking-panel .current-status,
body .booking-panel .status-check {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

body .booking-panel .payment-card span,
body .booking-panel .payment-assurance span,
body .booking-panel .status-label,
body .booking-panel .booking-status-card p,
body .booking-panel .current-status p,
body .booking-panel .client-instruction {
  color: var(--muted) !important;
  font-weight: var(--fw-regular) !important;
}

body .booking-panel .payment-card strong,
body .booking-panel .payment-assurance strong,
body .booking-panel .booking-status-card strong,
body .booking-panel .current-status strong,
body .booking-panel .result h2,
body .booking-panel #resultTitle {
  color: var(--ink) !important;
}

body .side-panel .summary,
body .side-panel .navigator,
body .side-panel .support {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: var(--ink) !important;
}

body .side-panel .summary h2,
body .side-panel .navigator strong,
body .side-panel .support strong {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--ink) !important;
  font-size: 20px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1.25 !important;
}

body .side-panel .navigator p,
body .side-panel .support p,
body .side-panel .navigator-empty {
  color: var(--muted) !important;
  font-size: 15px !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.55 !important;
}

body .booking-panel .result-mark {
  color: #ffffff !important;
  background: var(--green) !important;
  box-shadow: none !important;
}

body .booking-panel .current-status-dot {
  background: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.14) !important;
}

body .booking-panel .result-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body .side-panel .navigator-actions {
  align-items: center !important;
}

body .side-panel .navigator-actions #yandexRouteButton:not(.hidden):not([hidden]),
body .side-panel .navigator-actions #twoGisRouteButton:not(.hidden):not([hidden]) {
  display: inline-flex !important;
  min-height: 44px !important;
  padding: 0 15px !important;
  gap: 9px !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
}

body .side-panel .navigator-actions #yandexRouteButton:not(.hidden):not([hidden]) {
  border-color: #d73517 !important;
  background: #d73517 !important;
}

body .side-panel .navigator-actions #yandexRouteButton:not(.hidden):not([hidden])::before {
  content: "Я" !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #d73517 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body .side-panel .navigator-actions #twoGisRouteButton:not(.hidden):not([hidden]) {
  border-color: #007f58 !important;
  background: #007f58 !important;
}

body .side-panel .navigator-actions #twoGisRouteButton:not(.hidden):not([hidden])::before {
  content: "2ГИС" !important;
  display: inline-grid !important;
  place-items: center !important;
  min-width: 40px !important;
  height: 24px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #007f58 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body .side-panel .navigator-actions #yandexRouteButton:not(.hidden):not([hidden]):hover {
  border-color: #c82f12 !important;
  background: #c82f12 !important;
}

body .side-panel .navigator-actions #twoGisRouteButton:not(.hidden):not([hidden]):hover {
  border-color: #006f49 !important;
  background: #006f49 !important;
}

body .side-panel .navigator-actions #yandexRouteButton:not(.hidden):not([hidden]):focus-visible,
body .side-panel .navigator-actions #twoGisRouteButton:not(.hidden):not([hidden]):focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.28) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1120px) {
  body .service-page .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1180px) {
  body .booking-panel #slotGrid.slot-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-height: 208px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
    scrollbar-gutter: stable !important;
  }

  body .booking-panel #slotGrid .slot {
    min-height: 44px !important;
    padding: 0 8px !important;
  }

  body .booking-panel #slotGrid::-webkit-scrollbar {
    width: 8px !important;
  }

  body .booking-panel #slotGrid::-webkit-scrollbar-track {
    background: #edf2f7 !important;
    border-radius: 999px !important;
  }

  body .booking-panel #slotGrid::-webkit-scrollbar-thumb {
    background: #c2cfdf !important;
    border-radius: 999px !important;
  }

  body .booking-panel .station-actions {
    align-items: center !important;
    margin-top: 18px !important;
  }

  body .booking-panel .station-actions .microcopy {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body .booking-panel .station-actions #toVehicle {
    flex: 0 0 auto !important;
    min-width: 190px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  body .service-page .trust-strip,
  body .service-page .process-list,
  body .service-page .audience-section .info-grid,
  body .service-page .info-grid,
  body .service-page .section-head {
    grid-template-columns: 1fr !important;
  }

  body .service-page .trust-strip > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  body .service-page .trust-strip > div:last-child {
    border-bottom: 0 !important;
  }

  body .booking-panel .vehicle-lookup-row,
  body .booking-panel .status-check {
    grid-template-columns: 1fr !important;
  }
}

.knowledge-page,
.article-page {
  min-height: 100vh;
  background: #f3f6fb;
  color: var(--ink);
}

.knowledge-topbar {
  position: sticky;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}

.knowledge-topbar .brand,
.knowledge-topbar .nav a,
.knowledge-topbar .phone-link,
.knowledge-topbar .support-chat-button {
  color: var(--ink);
}

.knowledge-hero {
  padding: 150px 0 72px;
  background:
    linear-gradient(90deg, rgba(10, 31, 68, 0.88), rgba(21, 94, 239, 0.78)),
    url("/design-previews/service-checkout-final/assets/hero-inspection-bay-web.png") center / cover;
  color: #ffffff;
}

.knowledge-hero .page {
  max-width: 980px;
}

.knowledge-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.knowledge-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.65;
}

.knowledge-list {
  padding: 58px 0 96px;
}

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

.knowledge-card a {
  display: grid;
  min-height: 300px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #d7e0ec;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.knowledge-card a:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 94, 239, 0.42);
  box-shadow: 0 24px 58px rgba(21, 94, 239, 0.12);
}

.knowledge-card span,
.article-head .eyebrow {
  color: var(--brand-blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.knowledge-card h2 {
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.12;
}

.knowledge-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.knowledge-card small {
  align-self: end;
  margin-top: 28px;
  color: #64748b;
  font-weight: 700;
}

.article-layout {
  max-width: 940px;
  padding-top: 132px;
  padding-bottom: 86px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--brand-blue);
  text-decoration: none;
}

.article-head {
  padding: 40px;
  background: #ffffff;
  border: 1px solid #d7e0ec;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.07);
}

.article-head h1 {
  margin: 10px 0 18px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: none;
}

.article-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-meta span {
  padding: 8px 12px;
  color: #334155;
  background: #eef4ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.article-content,
.article-faq,
.article-cta {
  margin-top: 22px;
  padding: 38px 40px;
  background: #ffffff;
  border: 1px solid #d7e0ec;
  border-radius: 22px;
}

.article-content h2,
.article-faq h2,
.article-cta h2 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.12;
}

.article-content h2:first-child,
.article-faq h2:first-child,
.article-cta h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.18;
}

.article-content p,
.article-content li,
.article-faq p,
.article-cta p {
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 22px;
  padding-left: 24px;
}

.article-content a {
  color: var(--brand-blue);
  font-weight: 800;
}

.article-faq details {
  padding: 18px 0;
  border-top: 1px solid #dbe4ef;
}

.article-faq details:first-of-type {
  border-top: 0;
}

.article-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  font-size: 18px;
}

.article-cta {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(21, 94, 239, 0.95), rgba(10, 31, 68, 0.94)),
    url("/design-previews/service-checkout-final/assets/route-selection-phone-web.png") right center / auto 100% no-repeat;
  border: 0;
}

.article-cta h2,
.article-cta p {
  max-width: 560px;
  color: #ffffff;
}

.knowledge-footer {
  background: #0f172a;
}

.knowledge-footer .footer-inner,
.knowledge-footer .footer-inner span,
.knowledge-footer .footer-inner a {
  color: rgba(255, 255, 255, 0.82);
}

.knowledge-footer .footer-inner a:hover {
  color: #ffffff;
}

.location-page .location-hero {
  background:
    linear-gradient(90deg, rgba(10, 31, 68, 0.9), rgba(21, 94, 239, 0.72)),
    url("/design-previews/service-checkout-final/assets/inspection-prep-detail-web.png") center / cover;
}

.location-grid .location-card a {
  min-height: 260px;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 6px;
}

.location-tags span {
  padding: 9px 12px;
  color: #174ea6;
  background: #eaf2ff;
  border: 1px solid #c8daf8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.location-stations {
  overflow: hidden;
}

.location-station-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.location-station-list li {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid #d7e0ec;
  border-radius: 12px;
  background: #f8fbff;
}

.location-station-list strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.location-station-list span,
.location-empty {
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.location-faq details {
  background: #ffffff;
}

@media (max-width: 980px) {
  .knowledge-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .knowledge-hero {
    padding: 116px 0 54px;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card a,
  .article-head,
  .article-content,
  .article-faq,
  .article-cta {
    padding: 24px;
    border-radius: 16px;
  }

  .article-layout {
    padding-top: 104px;
  }

  .article-content p,
  .article-content li,
  .article-faq p,
  .article-cta p {
    font-size: 16px;
  }
}

/* Final shared brand/stepper fixes. Keep these overrides after legacy polish blocks. */
body .brand-mark {
  display: block !important;
  inline-size: 50px !important;
  block-size: 50px !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  object-fit: contain !important;
}

body .booking-panel .step.completed::before {
  content: "\2713" !important;
  display: inline-grid !important;
  place-items: center !important;
  inline-size: 20px !important;
  block-size: 20px !important;
  min-inline-size: 20px !important;
  min-block-size: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 7px 0 0 !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: var(--blue) !important;
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  box-shadow: none !important;
}
