.bmq-app {
  --bmq-accent: #ff515e;
  --bmq-accent-dark: #e8404d;
  --bmq-accent-soft: #fff0f1;
  --bmq-ink: #2f2f2f;
  --bmq-muted: #9e9e9e;
  --bmq-line: #e7e7e7;
  --bmq-error: #c95050;
  color: var(--bmq-ink);
  font-family: "Raleway", Arial, sans-serif;
  line-height: 1.45;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  isolation: isolate;
  scroll-margin-top: var(--bmq-scroll-offset, 148px);
}

.bmq-app *,
.bmq-app *::before,
.bmq-app *::after {
  box-sizing: border-box;
}

.bmq-app button,
.bmq-app input,
.bmq-app select,
.bmq-app textarea {
  font: inherit;
}

.bmq-app button {
  appearance: none;
}

.elementor-widget-container:has(.bmq-app),
.elementor-shortcode:has(.bmq-app),
.elementor-widget-shortcode:has(.bmq-app) {
  width: 100%;
  max-width: 100%;
}

.quote-form-card:has(.bmq-app) {
  width: 100% !important;
  max-width: min(100%, 980px) !important;
  padding: 0 !important;
}

.bmq-shell {
  width: min(100%, 560px);
  min-height: 780px;
  margin: 0 auto;
  padding: 34px 22px 26px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.bmq-logo-link {
  display: block;
  width: 195px;
  margin: 0 auto 48px;
}

.bmq-logo {
  display: block;
  width: 100%;
  height: auto;
}

.bmq-progress {
  margin-bottom: 32px;
}

.bmq-progress-label {
  margin: 0 0 8px;
  color: var(--bmq-accent);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-align: center;
}

.bmq-progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7efec;
}

.bmq-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--bmq-accent);
  transition: width 180ms ease;
}

.bmq-progress-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.bmq-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid #e2ece8;
  border-radius: 13px;
  background: #fff;
  color: #63746e;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 8px 18px rgba(19, 41, 75, 0.035);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bmq-progress-step:hover,
.bmq-progress-step:focus {
  border-color: #ffd4d8;
  color: var(--bmq-accent-dark);
  box-shadow: 0 10px 22px rgba(255, 81, 94, 0.09);
  transform: translateY(-1px);
}

.bmq-progress-step.is-active {
  border-color: var(--bmq-accent);
  background: var(--bmq-accent-soft);
  color: var(--bmq-accent-dark);
  box-shadow: 0 10px 22px rgba(255, 81, 94, 0.12);
}

.bmq-progress-step.is-done {
  border-color: #ffd9dc;
}

.bmq-progress-step.is-locked {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

.bmq-progress-step.is-locked:hover,
.bmq-progress-step.is-locked:focus {
  border-color: #e2ece8;
  color: #63746e;
  transform: none;
}

.bmq-progress-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  background: #f2f7f5;
  color: #718079;
}

.bmq-progress-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bmq-progress-step.is-active .bmq-progress-icon,
.bmq-progress-step.is-done .bmq-progress-icon {
  background: var(--bmq-accent);
  color: #fff;
}

.bmq-progress-copy {
  display: block;
  min-width: 0;
}

.bmq-progress-number {
  display: block;
  color: #91a09a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bmq-progress-step strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bmq-progress-step small {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #8a9994;
  font-size: 10px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bmq-content {
  flex: 1;
}

.bmq-welcome {
  padding-top: 74px;
  text-align: center;
}

.bmq-title {
  max-width: 500px;
  margin: 0 auto 22px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(34px, 7vw, 44px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.bmq-lead {
  max-width: 410px;
  margin: 0 auto;
  font-size: 15px;
  text-align: center;
}

.bmq-field {
  position: relative;
  margin: 28px 0 10px;
}

.bmq-field input,
.bmq-field select,
.bmq-field textarea {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  outline: none;
  background: #f4f5f5;
  color: var(--bmq-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, background 160ms ease;
}

.bmq-field input {
  height: 58px;
  padding: 21px 16px 8px;
}

.bmq-field select {
  height: 58px;
  padding: 18px 16px 4px;
}

.bmq-field textarea {
  min-height: 136px;
  padding: 24px 16px 12px;
  resize: vertical;
}

.bmq-field input:focus,
.bmq-field select:focus,
.bmq-field textarea:focus {
  border-color: var(--bmq-accent);
  background: #fff;
}

.bmq-field label {
  position: absolute;
  top: 8px;
  left: 16px;
  color: #718079;
  font-size: 11px;
  pointer-events: none;
}

.bmq-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.bmq-choice,
.bmq-service {
  border: 1px solid var(--bmq-line);
  border-radius: 14px;
  background: #fff;
  color: var(--bmq-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(19, 41, 75, 0.04);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bmq-choice {
  display: flex;
  min-height: 122px;
  padding: 15px 10px 13px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.bmq-choice-icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.bmq-choice-label {
  display: block;
}

.bmq-choice:hover,
.bmq-service:hover {
  border-color: var(--bmq-accent);
  box-shadow: 0 12px 24px rgba(19, 41, 75, 0.08);
  transform: translateY(-1px);
}

.bmq-choice.is-selected,
.bmq-service.is-selected {
  border-color: var(--bmq-accent);
  background: var(--bmq-accent-soft);
  color: var(--bmq-accent-dark);
  box-shadow: 0 12px 26px rgba(255, 81, 94, 0.12);
}

.bmq-app .bmq-choice.is-selected,
.bmq-app button.bmq-choice.is-selected,
.bmq-app .bmq-service.is-selected,
.bmq-app button.bmq-service.is-selected {
  border-color: var(--bmq-accent) !important;
  background-color: var(--bmq-accent-soft) !important;
  background-image: linear-gradient(180deg, #fff7f8 0%, #fff0f1 100%) !important;
  color: var(--bmq-accent-dark) !important;
  box-shadow: 0 12px 26px rgba(255, 81, 94, 0.12) !important;
}

.bmq-app .bmq-choice.is-selected:hover,
.bmq-app button.bmq-choice.is-selected:hover,
.bmq-app .bmq-service.is-selected:hover,
.bmq-app button.bmq-service.is-selected:hover {
  background-color: var(--bmq-accent-soft) !important;
  background-image: linear-gradient(180deg, #fff7f8 0%, #fff0f1 100%) !important;
}

.bmq-priority {
  margin-top: 24px;
}

.bmq-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.bmq-priority-card {
  position: relative;
  display: flex;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--bmq-line);
  border-radius: 16px;
  background: #fff;
  color: var(--bmq-ink);
  cursor: pointer;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  text-align: left;
  box-shadow: 0 10px 22px rgba(19, 41, 75, 0.05);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bmq-priority-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 15px;
  height: 15px;
  border: 1px solid #b8c8c1;
  border-radius: 50%;
  background: #fff;
}

.bmq-priority-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.bmq-priority-copy {
  display: grid;
  gap: 5px;
  padding-right: 8px;
}

.bmq-priority-copy strong,
.bmq-priority-copy small {
  display: block;
}

.bmq-priority-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.bmq-priority-copy small {
  color: #718079;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.bmq-priority-card:hover {
  border-color: var(--bmq-accent);
  box-shadow: 0 14px 28px rgba(19, 41, 75, 0.08);
  transform: translateY(-1px);
}

.bmq-priority-card.is-selected {
  border-color: var(--bmq-accent);
  background: var(--bmq-accent-soft);
  color: var(--bmq-accent-dark);
  box-shadow: 0 14px 30px rgba(255, 81, 94, 0.13);
}

.bmq-app .bmq-priority-card.is-selected,
.bmq-app button.bmq-priority-card.is-selected {
  border-color: var(--bmq-accent) !important;
  background-color: var(--bmq-accent-soft) !important;
  background-image: linear-gradient(180deg, #fff7f8 0%, #fff0f1 100%) !important;
  color: var(--bmq-accent-dark) !important;
  box-shadow: 0 14px 30px rgba(255, 81, 94, 0.13) !important;
}

.bmq-priority-card.is-selected::after {
  border-color: var(--bmq-accent);
  background: var(--bmq-accent);
  box-shadow: inset 0 0 0 4px #fff;
}

.bmq-priority-card.is-selected .bmq-priority-copy small {
  color: #7f4b52;
}

.bmq-conditional {
  margin-top: 22px;
  padding-top: 1px;
  border-top: 1px solid var(--bmq-line);
}

.bmq-subtitle {
  margin: 20px 0 2px;
  color: var(--bmq-ink);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.bmq-service-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.bmq-service {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 12px;
  padding: 10px 44px 10px 14px;
  text-align: left;
}

.bmq-service-icon {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}

.bmq-service::before {
  content: "";
  position: absolute;
  right: 15px;
  width: 16px;
  height: 16px;
  border: 1px solid #b8c8c1;
  background: #fff;
}

.bmq-service.is-selected::before {
  border-color: var(--bmq-accent);
  background: var(--bmq-accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.bmq-consent {
  display: flex;
  gap: 10px;
  margin: 18px 0 6px;
  color: #5f7069;
  font-size: 12px;
  line-height: 1.4;
}

.bmq-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--bmq-accent);
}

.bmq-upload {
  margin: 24px 0 8px;
  padding: 15px;
  border: 1px dashed #c8d2ce;
  background: #fbfdfc;
}

.bmq-upload-label {
  display: block;
  color: var(--bmq-ink);
  font-weight: 700;
}

.bmq-upload-help {
  margin: 5px 0 12px;
  color: #718079;
  font-size: 12px;
}

.bmq-upload input {
  max-width: 100%;
  color: #55645f;
  font: inherit;
  font-size: 13px;
}

.bmq-upload-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #55645f;
  font-size: 12px;
}

.bmq-summary {
  margin-top: 20px;
  padding: 15px;
  border-left: 3px solid var(--bmq-accent);
  background: #f5faf8;
  color: #55645f;
  font-size: 13px;
}

.bmq-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.bmq-summary-edit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--bmq-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.bmq-summary strong {
  color: var(--bmq-ink);
}

.bmq-response-time {
  margin: 18px 0 0;
  color: #718079;
  font-size: 13px;
  text-align: center;
}

.bmq-availability-note {
  margin: 8px 0 0;
  color: #718079;
  font-size: 12px;
  line-height: 1.45;
}

.bmq-actions {
  padding-top: 32px;
}

.bmq-button {
  display: block;
  width: min(100%, 250px);
  min-height: 50px;
  margin: 0 auto;
  border: 0;
  background: var(--bmq-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 160ms ease, opacity 160ms ease;
}

.bmq-app .bmq-button,
.bmq-app a.bmq-button,
.bmq-app button.bmq-button {
  border: 0 !important;
  background: var(--bmq-accent) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none;
}

.bmq-button:hover {
  background: var(--bmq-accent-dark);
}

.bmq-app .bmq-button:hover,
.bmq-app a.bmq-button:hover,
.bmq-app button.bmq-button:hover {
  background: var(--bmq-accent-dark) !important;
  color: #fff !important;
}

.bmq-button:disabled {
  background: #f7c5c9;
  cursor: not-allowed;
  opacity: 0.82;
}

.bmq-app .bmq-button:disabled {
  background: #f7c5c9 !important;
  color: #fff !important;
}

.bmq-back {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: var(--bmq-accent-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.bmq-app .bmq-back,
.bmq-app button.bmq-back,
.bmq-app a.bmq-back {
  border: 0 !important;
  background: transparent !important;
  color: var(--bmq-accent-dark) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.bmq-footer {
  margin: 28px 0 0;
  color: #a4aeaa;
  font-size: 13px;
  text-align: center;
}

.bmq-footer a {
  color: inherit;
  text-decoration: none;
}

.bmq-error {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--bmq-error);
  font-size: 13px;
  text-align: center;
}

.bmq-success {
  padding-top: 22px;
  text-align: center;
}

.bmq-success-card {
  display: grid;
  gap: 18px;
  padding: 8px 0 0;
}

.bmq-success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 2px;
  place-items: center;
  border-radius: 50%;
  background: var(--bmq-accent-soft);
  color: var(--bmq-accent-dark);
  font-size: 31px;
  font-weight: 700;
}

.bmq-success-kicker {
  margin: 0;
  color: var(--bmq-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bmq-success-next {
  display: grid;
  gap: 10px;
  margin: 4px 0 2px;
  text-align: left;
}

.bmq-success-next span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(65, 142, 103, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(196, 229, 218, 0.42), rgba(255, 255, 255, 0.92));
  color: #29312e;
  font-size: 14px;
  line-height: 1.35;
}

.bmq-success-next strong {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--bmq-accent);
  color: #fff;
  font-size: 13px;
}

.bmq-success .bmq-summary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(65, 142, 103, 0.1);
  border-left: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f6fbf9 0%, #eff8f5 100%);
}

.bmq-success .bmq-summary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--bmq-accent);
}

.bmq-success-actions {
  display: grid;
  width: min(100%, 640px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin: 10px auto 0;
  align-items: center;
}

.bmq-success-actions .bmq-button,
.bmq-app .bmq-success-actions a.bmq-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  margin: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 81, 94, 0.22);
}

.bmq-success-actions .bmq-back,
.bmq-app .bmq-success-actions button.bmq-back {
  display: flex;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 81, 94, 0.18) !important;
  border-radius: 999px;
  background: #fff !important;
  color: var(--bmq-accent-dark) !important;
  box-shadow: 0 10px 24px rgba(19, 41, 75, 0.06) !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.bmq-success-actions .bmq-back:hover,
.bmq-success-actions .bmq-back:focus {
  border-color: rgba(255, 81, 94, 0.42) !important;
  background: var(--bmq-accent-soft) !important;
}

.bmq-success-note {
  margin: 0;
  color: #6c7773;
  font-size: 13px;
  line-height: 1.45;
}

.bmq-success-note a {
  color: var(--bmq-accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.bmq-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.bmq-layout-compact .bmq-shell {
  width: min(100%, 650px);
  min-height: 650px;
  padding: 24px 20px 20px;
}

.bmq-layout-compact .bmq-logo-link {
  width: 174px;
  margin-bottom: 28px;
}

.bmq-layout-compact .bmq-progress {
  margin-bottom: 22px;
}

.bmq-layout-compact .bmq-progress-label {
  font-size: 18px;
}

.bmq-layout-compact .bmq-progress-map {
  gap: 6px;
  margin-top: 12px;
}

.bmq-layout-compact .bmq-progress-step {
  padding: 7px;
}

.bmq-layout-compact .bmq-progress-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.bmq-layout-compact .bmq-progress-icon svg {
  width: 16px;
  height: 16px;
}

.bmq-layout-compact .bmq-progress-step small {
  display: none;
}

.bmq-layout-compact .bmq-welcome {
  padding-top: 48px;
}

.bmq-layout-compact .bmq-title {
  font-size: clamp(30px, 6vw, 38px);
}

.bmq-layout-compact .bmq-choice-grid {
  gap: 9px;
  margin-top: 20px;
}

.bmq-layout-compact .bmq-choice {
  min-height: 94px;
  padding: 11px 8px 10px;
  gap: 6px;
}

.bmq-layout-compact .bmq-choice-icon {
  width: 44px;
  height: 44px;
}

.bmq-layout-compact .bmq-field {
  margin-top: 20px;
}

.bmq-layout-compact .bmq-actions {
  padding-top: 22px;
}

.bmq-layout-compact .bmq-footer {
  margin-top: 20px;
}

.bmq-layout-premium {
  padding: 28px 14px;
  background: linear-gradient(145deg, #fff5f5 0%, #f6fbf9 54%, #eef7f4 100%);
}

.bmq-layout-premium .bmq-shell {
  width: min(100%, 680px);
  min-height: 750px;
  padding: 38px 36px 28px;
  border: 1px solid rgba(255, 81, 94, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 56px rgba(49, 74, 66, 0.12);
}

.bmq-layout-premium .bmq-logo-link {
  width: 205px;
  margin-bottom: 38px;
}

.bmq-layout-premium .bmq-progress-track {
  height: 7px;
}

.bmq-layout-premium .bmq-progress-step {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
}

.bmq-layout-premium .bmq-choice,
.bmq-layout-premium .bmq-priority-card,
.bmq-layout-premium .bmq-service,
.bmq-layout-premium .bmq-upload,
.bmq-layout-premium .bmq-summary {
  border-radius: 14px;
}

.bmq-layout-premium .bmq-field input,
.bmq-layout-premium .bmq-field select,
.bmq-layout-premium .bmq-field textarea {
  border-radius: 12px;
  background: #f5f8f7;
}

.bmq-layout-premium .bmq-button {
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(232, 64, 77, 0.2);
}

.bmq-layout-premium .bmq-back {
  color: #b72f3a;
}

.bmq-layout-quick {
  padding: 24px 14px;
  background: linear-gradient(145deg, #f4fbf8 0%, #fff6f7 100%);
}

.bmq-layout-quick .bmq-shell {
  width: min(100%, 760px);
  min-height: auto;
  padding: 34px 34px 28px;
  border: 1px solid rgba(255, 81, 94, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(19, 41, 75, 0.1);
}

.bmq-layout-quick .bmq-logo-link {
  width: 200px;
  margin-bottom: 28px;
}

.bmq-layout-quick .bmq-title {
  max-width: 620px;
  font-size: clamp(32px, 5vw, 44px);
}

.bmq-layout-quick .bmq-lead {
  max-width: 560px;
  margin-bottom: 8px;
}

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

.bmq-layout-quick .bmq-field {
  margin-top: 18px;
}

.bmq-layout-quick .bmq-field input,
.bmq-layout-quick .bmq-field select,
.bmq-layout-quick .bmq-field textarea {
  border-radius: 12px;
  background: #f8faf9;
}

.bmq-layout-quick .bmq-field textarea {
  min-height: 118px;
}

.bmq-layout-quick .bmq-actions {
  padding-top: 22px;
}

.bmq-layout-quick .bmq-button {
  width: min(100%, 320px);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(232, 64, 77, 0.18);
}

.bmq-layout-home {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  --bmq-ink: #111318;
  --bmq-muted: #757f8a;
  --bmq-line: #eceff2;
  font-family: "Poppins", "Raleway", Arial, sans-serif;
}

/* Old Elementor/custom quote-card wrappers should not squeeze the home layout. */
.quote-form-card:has(.bmq-layout-home) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

.elementor-widget-container:has(> .bmq-layout-home) {
  width: 100% !important;
  max-width: none !important;
}

.bmq-layout-home .bmq-shell {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 34px 40px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 81, 94, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #fff8f8 100%);
  box-shadow: 0 18px 46px rgba(18, 24, 32, 0.12), 0 0 0 10px rgba(255, 81, 94, 0.035);
}

.bmq-layout-home .bmq-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff515e 0%, #ff7a83 100%);
}

.bmq-layout-home .bmq-logo-link {
  width: 170px;
  margin: 0 auto 20px;
}

.bmq-home-kicker {
  margin: 0 0 8px;
  color: var(--bmq-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.bmq-layout-home .bmq-title {
  width: 100%;
  max-width: 390px;
  margin: 0 auto 10px;
  font-family: "Poppins", "Raleway", Arial, sans-serif;
  font-size: clamp(32px, 4.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-align: center !important;
}

.bmq-layout-home .bmq-lead {
  max-width: 390px;
  margin-bottom: 16px;
  color: #4e5965;
  font-size: 12px;
  line-height: 1.55;
}

.bmq-layout-home .bmq-quick-grid {
  gap: 0 12px;
}

.bmq-layout-home .bmq-field {
  margin: 10px 0 0;
}

.bmq-layout-home .bmq-field input,
.bmq-layout-home .bmq-field select,
.bmq-layout-home .bmq-field textarea {
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f5f7f7;
  color: #111318;
  font-size: 12.5px;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.015);
}

.bmq-layout-home .bmq-field input,
.bmq-layout-home .bmq-field select {
  height: 48px;
  padding: 19px 14px 7px;
}

.bmq-layout-home .bmq-field textarea {
  min-height: 108px;
  padding: 21px 14px 11px;
}

.bmq-layout-home .bmq-field label {
  top: 6px;
  left: 15px;
  color: #7a858f;
  font-size: 9px;
  font-weight: 600;
}

.bmq-layout-home .bmq-field input:focus,
.bmq-layout-home .bmq-field select:focus,
.bmq-layout-home .bmq-field textarea:focus {
  border-color: rgba(255, 81, 94, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 81, 94, 0.08);
}

.bmq-layout-home .bmq-availability-note {
  margin: 10px 0 0;
  color: #6b747e;
  font-size: 10.5px;
  line-height: 1.45;
}

.bmq-layout-home .bmq-consent {
  margin-top: 13px;
  color: #6b747e;
  font-size: 10.5px;
  line-height: 1.45;
}

.bmq-layout-home .bmq-actions {
  padding-top: 16px;
  text-align: center;
}

.bmq-layout-home .bmq-button {
  width: min(100%, 300px);
  min-height: 48px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(255, 81, 94, 0.28);
}

.bmq-layout-home .bmq-button:hover:not(:disabled) {
  box-shadow: 0 15px 32px rgba(255, 81, 94, 0.34);
}

.bmq-layout-home .bmq-button:disabled {
  background: #f7c5cb;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 81, 94, 0.14);
}

.bmq-layout-home .bmq-error {
  font-size: 11px;
}

.bmq-layout-home .bmq-footer {
  margin-top: 22px;
  color: #89929b;
  font-size: 11px;
  line-height: 1.4;
}

.bmq-layout-home .bmq-footer a {
  color: #747d87;
}

@media (min-width: 782px) {
  .bmq-layout-classic .bmq-shell {
    width: min(100%, 900px);
    min-height: auto;
    padding: 54px 56px 42px;
    border: 1px solid rgba(255, 81, 94, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, #fff 0%, #fff 74%, #fff8f8 100%);
    box-shadow: 0 26px 74px rgba(18, 24, 32, 0.12), 0 0 0 12px rgba(255, 81, 94, 0.035);
  }

  .bmq-layout-classic .bmq-logo-link {
    width: 210px;
    margin-bottom: 42px;
  }

  .bmq-layout-classic .bmq-content,
  .bmq-layout-classic .bmq-progress {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }

  .bmq-layout-classic .bmq-progress {
    margin-bottom: 36px;
  }

  .bmq-layout-classic .bmq-progress-map {
    gap: 12px;
  }

  .bmq-layout-classic .bmq-progress-step {
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .bmq-layout-classic .bmq-progress-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
  }

  .bmq-layout-classic .bmq-progress-step strong {
    font-size: 13px;
  }

  .bmq-layout-classic .bmq-title {
    max-width: 760px;
    font-size: clamp(42px, 3.6vw, 56px);
    letter-spacing: -0.035em;
  }

  .bmq-layout-classic .bmq-lead {
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
  }

  .bmq-layout-classic .bmq-choice-grid {
    gap: 16px;
  }

  .bmq-layout-classic .bmq-choice {
    min-height: 150px;
    border-radius: 20px;
  }

  .bmq-layout-classic .bmq-field input,
  .bmq-layout-classic .bmq-field select,
  .bmq-layout-classic .bmq-field textarea {
    border-radius: 14px;
  }

  .bmq-layout-classic .bmq-actions {
    padding-top: 38px;
  }

  .bmq-layout-classic .bmq-button {
    width: min(100%, 340px);
    min-height: 56px;
    border-radius: 999px;
    box-shadow: 0 15px 32px rgba(255, 81, 94, 0.24);
  }

  .bmq-layout-classic .bmq-success {
    padding-top: 8px;
  }

  .bmq-layout-classic .bmq-success-card {
    gap: 20px;
  }

  .bmq-layout-classic .bmq-success-next {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .bmq-layout-classic .bmq-success-next span {
    min-height: 86px;
    align-items: flex-start;
    padding: 16px;
  }

  .bmq-layout-classic .bmq-summary {
    max-width: 780px;
    margin: 4px auto 0;
    padding: 20px 22px;
    font-size: 14px;
    text-align: left;
  }

  .bmq-layout-classic .bmq-success-actions {
    margin: 8px auto 0;
    gap: 16px;
  }

  .bmq-layout-classic .bmq-success-actions .bmq-button,
  .bmq-layout-classic .bmq-success-actions .bmq-back {
    width: 100%;
    margin: 0;
  }

  .bmq-layout-home .bmq-success-actions {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .bmq-shell {
    min-height: 100vh;
    padding: 32px 22px 22px;
  }

  .bmq-logo-link {
    width: 180px;
    margin-bottom: 44px;
  }

  .bmq-progress-map {
    display: flex;
    gap: 8px;
    margin-right: -8px;
    padding-bottom: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    touch-action: pan-x pan-y;
  }

  .bmq-progress-step {
    min-width: 142px;
    flex: 0 0 142px;
    scroll-snap-align: start;
  }

  .bmq-progress-step small {
    display: none;
  }

  .bmq-priority-grid {
    grid-template-columns: 1fr;
  }

  .bmq-priority-card {
    min-height: 92px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-right: 44px;
  }

  .bmq-welcome {
    padding-top: 68px;
  }

  .bmq-layout-compact .bmq-shell {
    min-height: 100vh;
    padding: 24px 18px 18px;
  }

  .bmq-layout-compact .bmq-logo-link {
    width: 164px;
    margin-bottom: 26px;
  }

  .bmq-layout-compact .bmq-welcome {
    padding-top: 44px;
  }

  .bmq-layout-premium {
    padding: 12px;
  }

  .bmq-layout-premium .bmq-shell {
    min-height: calc(100vh - 24px);
    padding: 28px 20px 22px;
    border-radius: 18px;
  }

  .bmq-layout-premium .bmq-logo-link {
    width: 180px;
    margin-bottom: 34px;
  }

  .bmq-layout-quick {
    padding: 12px;
  }

  .bmq-layout-quick .bmq-shell {
    padding: 26px 18px 20px;
    border-radius: 18px;
  }

  .bmq-layout-quick .bmq-logo-link {
    width: 174px;
    margin-bottom: 24px;
  }

  .bmq-layout-home {
    width: 100%;
  }

  .bmq-layout-home .bmq-shell {
    padding: 26px 18px 22px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(18, 24, 32, 0.1), 0 0 0 7px rgba(255, 81, 94, 0.03);
  }

  .bmq-layout-home .bmq-logo-link {
    width: 150px;
  }

  .bmq-app .bmq-layout-home .bmq-title {
    text-align: center !important;
  }

  .bmq-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Theme collision guard: keep the quote form independent from global button/card styles. */
.bmq-app .bmq-shell {
  color: var(--bmq-ink) !important;
  font-family: "Raleway", Arial, sans-serif !important;
}

.bmq-app :where(button, input, select, textarea) {
  font-family: inherit !important;
  text-transform: none;
  letter-spacing: normal;
}

.bmq-app :where(button) {
  -webkit-appearance: none !important;
  appearance: none !important;
}

.bmq-app :where(.bmq-choice, .bmq-priority-card, .bmq-service, .bmq-progress-step) {
  background-color: #fff !important;
  background-image: none !important;
  border-color: var(--bmq-line) !important;
  color: var(--bmq-ink) !important;
  text-decoration: none !important;
}

.bmq-app :where(.bmq-choice, .bmq-priority-card, .bmq-service, .bmq-progress-step):hover,
.bmq-app :where(.bmq-choice, .bmq-priority-card, .bmq-service, .bmq-progress-step):focus {
  border-color: rgba(255, 81, 94, 0.42) !important;
  background-color: #fff !important;
  background-image: linear-gradient(180deg, #fff 0%, #fff8f8 100%) !important;
  color: var(--bmq-accent-dark) !important;
  outline: none !important;
  box-shadow: 0 14px 28px rgba(255, 81, 94, 0.1) !important;
}

.bmq-app :where(.bmq-choice.is-selected, .bmq-priority-card.is-selected, .bmq-service.is-selected, .bmq-progress-step.is-active) {
  border-color: var(--bmq-accent) !important;
  background-color: var(--bmq-accent-soft) !important;
  background-image: linear-gradient(180deg, #fff7f8 0%, #fff0f1 100%) !important;
  color: var(--bmq-accent-dark) !important;
  box-shadow: 0 16px 34px rgba(255, 81, 94, 0.14) !important;
}

.bmq-app :where(.bmq-progress-step.is-locked) {
  background-color: #fff !important;
  background-image: none !important;
  color: #9ba7a2 !important;
  opacity: 0.55 !important;
  box-shadow: none !important;
}

.bmq-app :where(.bmq-progress-step.is-active .bmq-progress-icon, .bmq-progress-step.is-done .bmq-progress-icon) {
  background: var(--bmq-accent) !important;
  color: #fff !important;
}

.bmq-app :where(.bmq-field input, .bmq-field select, .bmq-field textarea) {
  -webkit-appearance: none;
  appearance: none;
  background-color: #f5f7f7 !important;
  background-image: none !important;
  border-color: transparent !important;
  color: var(--bmq-ink) !important;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.02) !important;
}

.bmq-app :where(.bmq-field input:focus, .bmq-field select:focus, .bmq-field textarea:focus) {
  background-color: #fff !important;
  border-color: rgba(255, 81, 94, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(255, 81, 94, 0.09) !important;
  outline: none !important;
}

.bmq-app :where(.bmq-button, a.bmq-button, button.bmq-button) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background-color: var(--bmq-accent) !important;
  background-image: linear-gradient(135deg, #ff515e 0%, #f04452 100%) !important;
  color: #fff !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: 0 14px 30px rgba(255, 81, 94, 0.24) !important;
}

.bmq-app :where(.bmq-button, a.bmq-button, button.bmq-button):hover,
.bmq-app :where(.bmq-button, a.bmq-button, button.bmq-button):focus {
  background-color: var(--bmq-accent-dark) !important;
  background-image: linear-gradient(135deg, #ff5865 0%, #e8404d 100%) !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: 0 18px 36px rgba(255, 81, 94, 0.3) !important;
}

.bmq-app :where(.bmq-button:disabled, button.bmq-button:disabled) {
  background-color: #f7c5cb !important;
  background-image: none !important;
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 10px 22px rgba(255, 81, 94, 0.14) !important;
}

.bmq-app :where(.bmq-back, button.bmq-back, a.bmq-back) {
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  color: var(--bmq-accent-dark) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.bmq-app .bmq-success {
  color: var(--bmq-ink) !important;
}

.bmq-app .bmq-success-next span {
  border-color: rgba(255, 81, 94, 0.13) !important;
  background-color: #fff8f8 !important;
  background-image: linear-gradient(135deg, #fff8f8 0%, #f7fbf9 100%) !important;
  color: #29312e !important;
  box-shadow: 0 10px 24px rgba(19, 41, 75, 0.045) !important;
}

.bmq-app .bmq-success .bmq-summary {
  border: 1px solid rgba(255, 81, 94, 0.12) !important;
  border-left: 0 !important;
  background-color: #f6fbf9 !important;
  background-image: linear-gradient(135deg, #f7fbf9 0%, #fff8f8 100%) !important;
  color: #4d5a56 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68) !important;
}

.bmq-app .bmq-summary-row {
  color: inherit !important;
}

.bmq-app .bmq-summary strong {
  color: #111318 !important;
}

.bmq-app .bmq-success-actions .bmq-back,
.bmq-app .bmq-success-actions button.bmq-back {
  background-color: #fff !important;
  background-image: linear-gradient(180deg, #fff 0%, #fff8f8 100%) !important;
  border: 1px solid rgba(255, 81, 94, 0.2) !important;
  color: var(--bmq-accent-dark) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(19, 41, 75, 0.06) !important;
}

.bmq-app .bmq-success-actions .bmq-back:hover,
.bmq-app .bmq-success-actions .bmq-back:focus {
  background-color: var(--bmq-accent-soft) !important;
  background-image: linear-gradient(180deg, #fff7f8 0%, #fff0f1 100%) !important;
  border-color: rgba(255, 81, 94, 0.42) !important;
  outline: none !important;
}

/* Dedicated layout for the /darmowa-wycena/ quote page. */
.bmq-layout-quote-page {
  width: min(100%, 100vw);
  box-sizing: border-box;
  isolation: isolate;
  padding: clamp(18px, 3vh, 42px) clamp(14px, 3vw, 38px);
  background:
    radial-gradient(circle at 10% 6%, rgba(255, 81, 94, 0.12), transparent 29%),
    radial-gradient(circle at 90% 12%, rgba(196, 229, 218, 0.34), transparent 34%),
    linear-gradient(135deg, #fff8f8 0%, #f8fbfa 44%, #ffffff 100%);
}

.bmq-layout-quote-page,
.bmq-layout-quote-page * {
  box-sizing: border-box;
}

.quote-form-card:has(.bmq-layout-quote-page),
.elementor-widget-container:has(.bmq-layout-quote-page),
.elementor-shortcode:has(.bmq-layout-quote-page),
.elementor-widget:has(.bmq-layout-quote-page),
.elementor-element:has(.bmq-layout-quote-page) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

@media (min-width: 900px) {
  .bmq-layout-quote-page .bmq-shell {
    position: relative;
    display: grid;
    width: min(100%, 1280px);
    min-height: clamp(560px, 70vh, 640px);
    padding: 0;
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "brand content"
      "steps content"
      "aside content"
      "footer actions";
    overflow: hidden;
    border: 1px solid rgba(255, 81, 94, 0.12);
    border-radius: 34px;
    background:
      radial-gradient(circle at 13% 18%, rgba(255, 81, 94, 0.1), transparent 27%),
      radial-gradient(circle at 95% 8%, rgba(196, 229, 218, 0.38), transparent 25%),
      linear-gradient(90deg, rgba(255, 248, 248, 0.97) 0%, rgba(255, 248, 248, 0.97) 32%, #fff 32%, #fff 100%);
    box-shadow: 0 34px 88px rgba(18, 24, 32, 0.13), 0 0 0 12px rgba(255, 81, 94, 0.035);
  }

  .bmq-layout-quote-page .bmq-shell::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff515e 0%, #ff7a83 42%, #c4e5da 100%);
  }

  .bmq-layout-quote-page .bmq-logo-link {
    width: 186px;
    margin: 38px 34px 20px 42px;
    grid-area: brand;
  }

  .bmq-layout-quote-page .bmq-progress {
    margin: 0 32px 16px 42px;
    grid-area: steps;
  }

  .bmq-layout-quote-page .bmq-progress-label {
    margin-bottom: 12px;
    text-align: left;
  }

  .bmq-layout-quote-page .bmq-progress-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 12px;
  }

  .bmq-layout-quote-page .bmq-progress-step {
    min-height: 52px;
    padding: 8px 11px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72) !important;
  }

  .bmq-layout-quote-page .bmq-progress-step.is-active {
    background-color: var(--bmq-accent-soft) !important;
    background-image: linear-gradient(180deg, #fff7f8 0%, #fff0f1 100%) !important;
    border-color: var(--bmq-accent) !important;
  }

  .bmq-layout-quote-page .bmq-progress-step strong {
    font-size: 12px;
  }

  .bmq-layout-quote-page .bmq-progress-step small {
    font-size: 11px;
    white-space: normal;
  }

  .bmq-layout-quote-page .bmq-progress-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 13px;
  }

  .bmq-layout-quote-page .bmq-quote-aside {
    display: grid;
    margin: 4px 32px 18px 42px;
    grid-area: aside;
    align-self: end;
    gap: 10px;
  }

  .bmq-layout-quote-page .bmq-quote-eyebrow {
    margin: 0;
    color: var(--bmq-accent-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .bmq-layout-quote-page .bmq-quote-aside h2 {
    margin: 0;
    color: #17191f;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .bmq-layout-quote-page .bmq-quote-aside p {
    margin: 0;
    color: #66706d;
    font-size: 13px;
    line-height: 1.55;
  }

  .bmq-layout-quote-page .bmq-quote-highlights {
    display: grid;
    gap: 8px;
  }

  .bmq-layout-quote-page .bmq-quote-highlights span {
    display: block;
    padding: 11px 12px;
    border: 1px solid rgba(255, 81, 94, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 24px rgba(18, 24, 32, 0.04);
  }

  .bmq-layout-quote-page .bmq-quote-highlights strong {
    display: block;
    color: #17191f;
    font-size: 18px;
    line-height: 1.1;
  }

  .bmq-layout-quote-page .bmq-quote-highlights small {
    display: block;
    margin-top: 3px;
    color: #78817e;
    font-size: 12px;
    line-height: 1.35;
  }

  .bmq-layout-quote-page .bmq-quote-call {
    display: block;
    padding: 13px 14px;
    border: 1px solid rgba(255, 81, 94, 0.18);
    border-radius: 18px;
    background: #fff;
    color: #4f5b57 !important;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none !important;
    box-shadow: 0 16px 30px rgba(255, 81, 94, 0.09);
  }

  .bmq-layout-quote-page .bmq-quote-call strong {
    color: var(--bmq-accent-dark);
  }

  .bmq-layout-quote-page .bmq-content {
    position: relative;
    display: flex;
    min-height: 430px;
    padding: clamp(72px, 10vh, 116px) 60px 24px;
    grid-area: content;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }

  .bmq-layout-quote-page .bmq-content::before {
    content: "Wycena przeprowadzki";
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    margin: 0 0 18px;
    padding: 8px 13px;
    align-items: center;
    border: 1px solid rgba(255, 81, 94, 0.18);
    border-radius: 999px;
    background: #fff7f8;
    color: var(--bmq-accent-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
  }

  .bmq-layout-quote-page .bmq-content::after {
    content: "";
    position: absolute;
    top: 38px;
    right: 42px;
    width: 170px;
    height: 170px;
    border-radius: 48px;
    background:
      radial-gradient(circle at 28% 24%, rgba(255, 81, 94, 0.11), transparent 45%),
      linear-gradient(135deg, rgba(196, 229, 218, 0.2), rgba(255, 248, 248, 0.78));
    opacity: 0.72;
    pointer-events: none;
    transform: rotate(8deg);
  }

  .bmq-layout-quote-page .bmq-content > * {
    position: relative;
    z-index: 1;
  }

  .bmq-layout-quote-page .bmq-title {
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(36px, 3vw, 48px);
    letter-spacing: -0.04em;
    text-align: left;
  }

  .bmq-layout-quote-page .bmq-lead {
    max-width: 620px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .bmq-layout-quote-page .bmq-choice-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .bmq-layout-quote-page .bmq-choice {
    min-height: 124px;
    border-radius: 20px;
  }

  .bmq-layout-quote-page .bmq-choice-icon {
    width: 56px;
    height: 56px;
  }

  .bmq-layout-quote-page .bmq-field {
    margin-top: 22px;
  }

  .bmq-layout-quote-page .bmq-field input,
  .bmq-layout-quote-page .bmq-field select,
  .bmq-layout-quote-page .bmq-field textarea {
    border-radius: 15px;
  }

  .bmq-layout-quote-page .bmq-actions {
    padding: 0 60px 36px;
    grid-area: actions;
  }

  .bmq-layout-quote-page .bmq-button {
    width: min(100%, 340px);
    min-height: 54px;
    border-radius: 999px;
  }

  .bmq-layout-quote-page .bmq-back {
    margin-top: 18px;
  }

  .bmq-layout-quote-page .bmq-footer {
    margin: auto 32px 30px 42px;
    grid-area: footer;
    text-align: left;
  }

  .bmq-layout-quote-page .bmq-success {
    text-align: left;
  }

  .bmq-layout-quote-page .bmq-success-mark {
    margin-left: 0;
  }

  .bmq-layout-quote-page .bmq-success-next {
    grid-template-columns: 1fr;
  }

  .bmq-layout-quote-page .bmq-success-actions {
    margin-left: 0;
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  .bmq-layout-quote-page {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .bmq-layout-quote-page .bmq-shell {
    min-height: min(620px, calc(100vh - 48px));
    grid-template-columns: minmax(286px, 326px) minmax(0, 1fr);
    border-radius: 30px;
  }

  .bmq-layout-quote-page .bmq-logo-link {
    width: 164px;
    margin-top: 26px;
    margin-bottom: 12px;
  }

  .bmq-layout-quote-page .bmq-progress {
    margin-right: 26px;
    margin-bottom: 12px;
  }

  .bmq-layout-quote-page .bmq-progress-label {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.15;
  }

  .bmq-layout-quote-page .bmq-progress-map {
    gap: 5px;
    margin-top: 9px;
  }

  .bmq-layout-quote-page .bmq-progress-step {
    min-height: 40px;
    padding: 5px 9px;
    border-radius: 14px;
  }

  .bmq-layout-quote-page .bmq-progress-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 11px;
  }

  .bmq-layout-quote-page .bmq-progress-step strong {
    font-size: 11px;
    line-height: 1.08;
  }

  .bmq-layout-quote-page .bmq-progress-step small {
    font-size: 10px;
    line-height: 1.1;
  }

  .bmq-layout-quote-page .bmq-quote-aside {
    display: none;
  }

  .bmq-layout-quote-page .bmq-content {
    min-height: auto;
    padding-top: clamp(58px, 8vh, 74px);
    padding-bottom: 12px;
  }

  .bmq-layout-quote-page .bmq-content::before {
    margin-bottom: 12px;
    padding: 7px 12px;
  }

  .bmq-layout-quote-page .bmq-title {
    font-size: clamp(34px, 2.8vw, 44px);
  }

  .bmq-layout-quote-page .bmq-choice {
    min-height: 112px;
  }

  .bmq-layout-quote-page .bmq-choice-icon {
    width: 50px;
    height: 50px;
  }

  .bmq-layout-quote-page .bmq-actions {
    align-self: start;
    padding-bottom: 28px;
  }
}

@media (max-width: 899px) {
  .bmq-layout-quote-page {
    padding: 12px;
  }

  .bmq-layout-quote-page .bmq-quote-aside {
    display: none;
  }

  .bmq-layout-quote-page .bmq-shell {
    min-height: auto;
    padding: 30px 20px 24px;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(18, 24, 32, 0.1), 0 0 0 8px rgba(255, 81, 94, 0.03);
  }

  .bmq-layout-quote-page .bmq-logo-link {
    width: 176px;
    margin-bottom: 30px;
  }
}

.bmq-layout-quote-page .bmq-seo-intro {
  max-width: 720px;
  padding-top: 8px;
}

.bmq-layout-quote-page .bmq-seo-intro .bmq-title {
  max-width: 680px;
  margin-bottom: 14px;
  color: #30343a;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
}

.bmq-layout-quote-page .bmq-seo-intro .bmq-lead {
  max-width: 680px;
  color: #65706d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.bmq-layout-quote-page .bmq-seo-intro .bmq-actions {
  margin-top: 30px;
}

@media (min-width: 900px) {
  .bmq-layout-quote-page .bmq-seo-intro {
    padding-top: 0;
    text-align: left;
  }

  .bmq-layout-quote-page .bmq-seo-intro .bmq-title,
  .bmq-layout-quote-page .bmq-seo-intro .bmq-lead {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

.bmq-app .bmq-choice.is-selected,
.bmq-app button.bmq-choice.is-selected,
.bmq-app .bmq-service.is-selected,
.bmq-app button.bmq-service.is-selected,
.bmq-app .bmq-priority-card.is-selected,
.bmq-app button.bmq-priority-card.is-selected {
  background-color: #fff7f8 !important;
  background-image: linear-gradient(135deg, #fff7f8 0%, #f7fbf9 100%) !important;
  border-color: var(--bmq-accent) !important;
  color: #17191f !important;
  box-shadow: 0 18px 34px rgba(255, 81, 94, 0.13) !important;
}

.bmq-app .bmq-choice.is-selected .bmq-choice-label,
.bmq-app .bmq-service.is-selected .bmq-service-label,
.bmq-app .bmq-priority-card.is-selected strong,
.bmq-app .bmq-priority-card.is-selected small {
  color: #17191f !important;
}

.bmq-app .bmq-choice.is-selected .bmq-choice-icon,
.bmq-app .bmq-service.is-selected .bmq-service-icon,
.bmq-app .bmq-priority-card.is-selected .bmq-priority-icon {
  filter: none !important;
}

.bmq-layout-quote-page .bmq-button:not(:disabled),
.bmq-layout-quote-page button.bmq-button:not(:disabled) {
  background-color: var(--bmq-accent) !important;
  background-image: linear-gradient(135deg, #ff515e 0%, #ff6b76 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(255, 81, 94, 0.26) !important;
}

.bmq-layout-quote-page .bmq-button:disabled,
.bmq-layout-quote-page button.bmq-button:disabled {
  background-color: #f7c9cf !important;
  background-image: none !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.bmq-layout-quote-page .bmq-back,
.bmq-layout-quote-page button.bmq-back {
  background-color: #ffffff !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%) !important;
  border: 1px solid rgba(255, 81, 94, 0.2) !important;
  color: var(--bmq-accent-dark) !important;
}
