﻿.gf-feedback {
  --gf-bg: #171d24;
  --gf-panel: #11161c;
  --gf-soft: #f4f6f8;
  --gf-text: #101820;
  --gf-muted: #66707c;
  --gf-line: #dfe4ea;
  --gf-accent: #ff6748;
  --gf-accent-dark: #ef3f2f;
  --gf-radius: 8px;
  color: var(--gf-text);
  font-family: inherit;
}

.gf-feedback *,
.gf-feedback *::before,
.gf-feedback *::after {
  box-sizing: border-box;
}

.gf-feedback__hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 46px 34px;
  background: var(--gf-bg);
  color: #fff;
  border-radius: var(--gf-radius);
}

.gf-feedback__eyebrow {
  margin: 0 0 10px;
  color: var(--gf-accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.gf-feedback__title,
.gf-modal__title {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.gf-feedback__lead,
.gf-modal__text {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.45;
}

.gf-feedback__actions {
  display: grid;
  gap: 12px;
}

.gf-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
  color: var(--gf-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.gf-btn:hover {
  border-color: var(--gf-accent);
  color: var(--gf-accent);
}

.gf-btn:focus-visible,
.gf-input:focus,
.gf-modal__close:focus-visible {
  outline: 2px solid var(--gf-accent);
  outline-offset: 2px;
}

.gf-btn--primary {
  border-color: var(--gf-accent);
  background: var(--gf-accent);
  color: #fff;
}

.gf-btn--primary:hover {
  border-color: var(--gf-accent-dark);
  background: var(--gf-accent-dark);
  color: #fff;
}

.gf-btn--wide {
  width: 100%;
}

.gf-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.gf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 16, 21, 0.72);
}

.gf-modal[hidden] {
  display: none;
}

.gf-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border-radius: var(--gf-radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.gf-modal__dialog--wide {
  width: min(100%, 760px);
}

.gf-modal__dialog .gf-feedback__eyebrow {
  margin-right: 48px;
}

.gf-modal__dialog .gf-modal__text {
  color: var(--gf-muted);
}

.gf-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: var(--gf-text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.gf-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

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

.gf-field {
  display: grid;
  gap: 7px;
  color: var(--gf-text);
  font-size: 14px;
  font-weight: 700;
}

.gf-input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #cfd6df;
  border-radius: var(--gf-radius);
  background: #fff;
  color: var(--gf-text);
  font: inherit;
  font-weight: 400;
}

.gf-input--textarea {
  min-height: 116px;
  resize: vertical;
}

.gf-input--file {
  padding: 10px;
}

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

.gf-tiles--receiving {
  margin-top: 10px;
}

.gf-tiles--visual {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gf-tile {
  display: block;
  min-height: 54px;
  cursor: pointer;
}

.gf-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gf-tile > span {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: var(--gf-soft);
  color: var(--gf-text);
  font-weight: 700;
}

.gf-tile input:checked + span {
  border-color: var(--gf-accent);
  background: #fff0eb;
  color: var(--gf-accent-dark);
}

.gf-tile--visual .gf-tile__body {
  min-height: 118px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px;
  text-align: center;
}

.gf-tile__label {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1.24;
}

.gf-vehicle-icon {
  position: relative;
  display: block;
  width: 78px;
  height: 46px;
  color: var(--gf-text);
}

.gf-vehicle-icon::before,
.gf-vehicle-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.gf-vehicle-icon--car::before {
  left: 8px;
  right: 8px;
  bottom: 11px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 10px 12px 7px 7px;
}

.gf-vehicle-icon--car::after {
  left: 17px;
  right: 17px;
  bottom: 25px;
  height: 15px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: -9px 22px 0 -5px currentColor, 44px 22px 0 -5px currentColor;
}

.gf-vehicle-icon--moto::before {
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 20px;
  border-bottom: 4px solid currentColor;
  border-radius: 50%;
  box-shadow: -1px 8px 0 -1px currentColor, 52px 8px 0 -1px currentColor;
}

.gf-vehicle-icon--moto::after {
  left: 28px;
  bottom: 25px;
  width: 28px;
  height: 16px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transform: skewX(-24deg);
}

.gf-vehicle-icon--trailer::before {
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.gf-vehicle-icon--trailer::after {
  right: -1px;
  bottom: 20px;
  width: 14px;
  height: 3px;
  background: currentColor;
  box-shadow: -43px 17px 0 -1px currentColor, -10px 17px 0 -1px currentColor;
}

.gf-vehicle-icon--tractor::before {
  left: 6px;
  bottom: 7px;
  width: 29px;
  height: 29px;
  border: 5px solid currentColor;
  border-radius: 50%;
  box-shadow: 37px 8px 0 -7px #f4f6f8, 37px 8px 0 -2px currentColor;
}

.gf-vehicle-icon--tractor::after {
  left: 30px;
  bottom: 25px;
  width: 33px;
  height: 16px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.gf-vehicle-icon--quad::before {
  left: 9px;
  right: 9px;
  bottom: 17px;
  height: 15px;
  border: 4px solid currentColor;
  border-radius: 12px;
}

.gf-vehicle-icon--quad::after {
  left: 12px;
  bottom: 7px;
  width: 15px;
  height: 15px;
  border: 4px solid currentColor;
  border-radius: 50%;
  box-shadow: 38px 0 0 -4px #f4f6f8, 38px 0 0 0 currentColor;
}

.gf-vehicle-icon--unknown {
  width: 54px;
  height: 54px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.gf-vehicle-icon--unknown::before {
  content: "?";
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
}

.gf-tile input:checked + .gf-tile__body .gf-vehicle-icon {
  color: var(--gf-accent-dark);
}

.gf-plate-preview {
  position: relative;
  display: flex;
  min-width: 132px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 3px solid #111820;
  border-radius: 5px;
  background: #fff;
  color: #111820;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset -28px 0 0 #f2f4f6;
}

.gf-plate-preview::after {
  content: "RUS";
  position: absolute;
  top: 8px;
  right: 4px;
  color: #111820;
  font-size: 8px;
  font-weight: 800;
}

.gf-plate-preview--square,
.gf-plate-preview--moto {
  min-width: 82px;
  min-height: 66px;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  box-shadow: inset 0 -18px 0 #f2f4f6;
}

.gf-plate-preview--square::after,
.gf-plate-preview--moto::after {
  top: auto;
  right: 7px;
  bottom: 4px;
}

.gf-plate-preview--unknown {
  min-width: 74px;
  border-style: dashed;
  box-shadow: none;
  font-size: 28px;
}

.gf-plate-preview--unknown::after {
  content: "";
}

.gf-tile input:checked + .gf-tile__body .gf-plate-preview {
  border-color: var(--gf-accent-dark);
  color: var(--gf-accent-dark);
}

.gf-consent {
  display: grid;
  gap: 6px;
}

.gf-consent__label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gf-muted);
  font-size: 13px;
  line-height: 1.35;
}

.gf-consent__label input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.gf-consent__label a {
  color: var(--gf-accent-dark);
  text-decoration: underline;
}

.gf-error {
  display: block;
  visibility: hidden;
  min-height: 18px;
  margin-top: 6px;
  color: #d8231c;
  font-size: 12px;
  font-weight: 600;
}

.gf-error.is-visible {
  visibility: visible;
}

.gf-field.is-invalid .gf-input,
.gf-input[aria-invalid="true"] {
  border-color: #d8231c;
  background: #fff7f5;
  box-shadow: 0 0 0 3px rgba(216, 35, 28, 0.13);
}

.gf-choice-grid.is-invalid,
.gf-tiles.is-invalid,
.gf-field--choices.is-invalid,
[data-gf-choice-group].is-invalid {
  outline: 2px solid #d8231c;
  outline-offset: 3px;
  border-radius: var(--gf-radius);
}

.gf-consent.is-invalid .gf-consent__label {
  color: #b42318;
}

.gf-consent.is-invalid .gf-consent__label input {
  outline: 2px solid #d8231c;
  outline-offset: 2px;
}

.gf-consent .gf-error {
  min-height: 36px;
}

.gf-form__status {
  min-height: 24px;
  line-height: 24px;
  margin: 0;
  color: var(--gf-muted);
  font-size: 14px;
  font-weight: 700;
}

.gf-form__status.is-success {
  color: #18794e;
}

.gf-form__status.is-error {
  color: #d8231c;
}

.gf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.gf-stepbar span {
  height: 6px;
  border-radius: 999px;
  background: #e3e8ee;
}

.gf-stepbar span.is-active {
  background: var(--gf-accent);
}

.gf-stepbar span.is-done {
  background: #707b87;
}

.gf-quiz__step {
  display: none;
}

.gf-quiz__step.is-active {
  display: block;
}

.gf-quiz__meta {
  margin: 0 0 12px;
  color: var(--gf-muted);
  font-size: 14px;
  font-weight: 700;
}

.gf-quiz__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.gf-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--gf-radius);
  background: var(--gf-soft);
}

.gf-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.gf-summary__row span {
  color: var(--gf-muted);
}

.gf-price__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--gf-radius);
  background: var(--gf-panel);
  color: #fff;
}

.gf-price__box strong {
  color: var(--gf-accent);
  font-size: 28px;
}

.gf-price__box small {
  grid-column: 1 / -1;
  color: #aeb7c2;
}

body.gf-modal-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .gf-feedback__hub,
  .gf-form__grid,
  .gf-tiles,
  .gf-tiles--visual {
    grid-template-columns: 1fr;
  }

  .gf-feedback__hub {
    padding: 28px 18px;
  }

  .gf-feedback__title,
  .gf-modal__title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .gf-modal {
    padding: 12px;
  }

  .gf-modal__dialog {
    padding: 24px 16px;
  }

  .gf-quiz__actions {
    display: grid;
  }

  .gf-summary__row {
    display: grid;
  }
}

.gf-tile--visual > .gf-tile__body {
  background: #fff;
}

.gf-tile--visual input:checked + .gf-tile__body {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 103, 74, .14);
}

.gf-quiz-icon {
  display: block;
  width: auto;
  max-width: 150px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}



.gf-quiz-icon--vehicle {
  max-width: 182px;
  height: 74px;
}

.gf-tile input:checked + .gf-tile__body .gf-quiz-icon {
  filter: drop-shadow(0 4px 10px rgba(255, 103, 74, .16));
}

/* Inline production forms. Existing page sections remain responsible for the page background. */
.gf-feedback--inline {
  width: min(100% - 30px, 1260px);
  margin: 52px auto;
  padding: 34px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
}

.gf-inline-intro {
  max-width: 780px;
}

.gf-inline-title {
  margin: 0;
  color: var(--gf-text);
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0;
}

.gf-inline-lead {
  margin: 12px 0 0;
  color: var(--gf-muted);
  font-size: 17px;
  line-height: 1.5;
}

.gf-feedback--inline .gf-feedback__eyebrow {
  margin-bottom: 8px;
}

.gf-feedback--inline .gf-form {
  margin-top: 24px;
}

.gf-feedback--inline .gf-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--gf-text);
  font-size: 15px;
  font-weight: 700;
}

.gf-feedback--inline .gf-field > span,
.gf-feedback--inline .gf-field legend {
  padding: 0;
  color: var(--gf-text);
  font-size: 15px;
  font-weight: 700;
}

.gf-feedback--inline .gf-input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cdd6e0;
  border-radius: 6px;
  background: #fff;
  color: var(--gf-text);
  font: inherit;
  font-weight: 400;
}

.gf-feedback--inline .gf-textarea {
  resize: vertical;
}

.gf-feedback--inline .gf-file {
  min-height: 0;
  padding: 9px;
}

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

.gf-field--full {
  grid-column: 1 / -1;
}

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

.gf-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
}

.gf-choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.gf-choice-group-title {
  margin: 20px 0 10px;
  color: var(--gf-text);
  font-size: 15px;
  font-weight: 700;
}

.gf-choice {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d7dfe7;
  border-radius: 6px;
  background: #fff;
  color: var(--gf-text);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.gf-choice:hover {
  border-color: var(--gf-accent);
}

.gf-choice.is-selected {
  border-color: var(--gf-accent);
  box-shadow: 0 0 0 2px rgba(255, 103, 72, .12);
  color: var(--gf-accent-dark);
}

.gf-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.gf-choice:focus-within {
  outline: 2px solid var(--gf-accent);
  outline-offset: 2px;
}

.gf-choice--vehicle {
  min-height: 132px;
  flex-direction: column;
}

.gf-choice--vehicle img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.gf-choice--type {
  min-height: 64px;
}

.gf-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0 20px;
}

.gf-progress span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #dfe6ed;
}

.gf-progress span.is-active {
  background: var(--gf-accent);
}

.gf-quiz-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gf-quiz-step legend {
  margin-bottom: 14px;
  color: #66707c;
  font-size: 15px;
  font-weight: 700;
}

.gf-form__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.gf-form__actions--wizard {
  justify-content: flex-end;
}

.gf-form__actions--wizard [data-gf-prev] {
  margin-right: auto;
}

.gf-summary {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gf-accent);
  background: #fff5f1;
  color: var(--gf-text);
  font-size: 15px;
  line-height: 1.45;
}

.gf-field--choices {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  border: 0;
}

.gf-field--choices legend {
  width: 100%;
}

.gf-choice-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gf-text);
  font-size: 15px;
  font-weight: 400;
}

.gf-choice-inline input {
  accent-color: var(--gf-accent);
}

.gf-form__hint {
  display: block;
  margin-top: 4px;
  color: var(--gf-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.gf-error {
  min-height: 18px;
  color: #c9362d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.gf-consent {
  margin: 18px 0;
}

.gf-consent__label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--gf-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.gf-consent__label input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--gf-accent);
}

.gf-consent__label a {
  color: inherit;
  text-decoration: underline;
}

.gf-form__status {
  min-height: 24px;
  line-height: 24px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.gf-form__status.is-success {
  color: #167c41;
}

.gf-form__status.is-error {
  color: #c9362d;
}

.gf-form__status.is-loading {
  color: var(--gf-muted);
}

.gf-invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.gf-invoice-layout .gf-form {
  margin-top: 0;
}

.gf-callback-form {
  max-width: none;
}

.gf-feedback--callback {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: 48px 64px;
  align-items: start;
  max-width: 1120px;
  margin-top: 38px;
  margin-bottom: 38px;
  padding: 40px 48px;
}

.gf-feedback--callback .gf-inline-intro {
  max-width: 430px;
  padding-top: 10px;
}

.gf-feedback--callback .gf-form {
  margin-top: 0;
}

.gf-feedback--callback .gf-btn {
  width: 100%;
}

.gf-feedback--callback .gf-inline-lead {
  max-width: 640px;
}

@media (max-width: 900px) {
  .gf-choice-grid,
  .gf-choice-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gf-invoice-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gf-feedback--callback {
    display: block;
    padding: 32px;
  }

  .gf-feedback--callback .gf-form {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .gf-error {
    min-height: 36px;
  }

  .gf-feedback--inline {
    width: min(100% - 20px, 1260px);
    margin: 30px auto;
    padding: 24px 16px;
  }

  .gf-inline-title {
    font-size: 28px;
  }

  .gf-inline-lead {
    font-size: 16px;
  }

  .gf-field-grid,
  .gf-choice-grid,
  .gf-choice-grid--two,
  .gf-choice-grid--three {
    grid-template-columns: 1fr;
  }

  .gf-choice--vehicle {
    min-height: 104px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .gf-choice--vehicle img {
    width: 38px;
    height: 38px;
  }

  .gf-form__actions--wizard {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gf-form__actions--wizard [data-gf-prev] {
    margin-right: 0;
  }

  .gf-form__actions--wizard [data-gf-submit] {
    grid-column: 1 / -1;
  }
}

