.quote-configurator {
  min-height: 100vh;
  background: #10131a;
  color: #e0e2ec;
  font-family: var(--ydea-font-sans);
}

.quote-configurator [hidden] {
  display: none !important;
}

.quote-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 96px 24px 84px;
  overflow: hidden;
  text-align: center;
}

.quote-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.08), rgba(16, 19, 26, 0.84) 58%, #10131a),
    url("../images/cnc.jpg") center / cover;
  opacity: 0.42;
  filter: grayscale(0.35);
}

.quote-hero-content {
  position: relative;
  width: min(100%, 780px);
}

.quote-hero-copy {
  display: block;
}

.quote-hero-content span {
  display: block;
  margin-bottom: 18px;
  color: #FF914D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-hero h1 {
  margin: 0 auto 24px;
  color: #fff;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.quote-hero p {
  max-width: 650px;
  margin: 0 auto 34px;
  color: #c1c6d5;
  font-size: 19px;
  line-height: 1.6;
}

.quote-hero-action,
.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 34px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #FF914D, #f97316);
  color: #10131a;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-hero-action:hover,
.quote-submit:hover {
  box-shadow: 0 0 24px rgba(255, 145, 77, 0.34);
  transform: translateY(-1px);
}

.quote-stepper {
  width: calc(100% - 48px);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
}

.quote-stepper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.quote-stepper div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.quote-stepper strong {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: #272a31;
  color: #8b919f;
}

.quote-stepper span {
  color: #8b919f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-stepper .is-active strong {
  border-color: #FF914D;
  background: #FF914D;
  color: #10131a;
  box-shadow: 0 0 18px rgba(255, 145, 77, 0.36);
}

.quote-stepper .is-active span {
  color: #FF914D;
}

.quote-builder {
  width: calc(100% - 48px);
  margin: 0 auto;
  padding-bottom: 92px;
}

.quote-section {
  margin-bottom: 40px;
}

.quote-section > h2,
.quote-section-title h2 {
  margin: 0 0 30px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.quote-glass {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.quote-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.quote-section-title span {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(92px, 7vw, 128px);
  height: clamp(92px, 7vw, 128px);
}

.quote-section-title span::before,
.service-icon::before,
.quote-upload span::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 145, 77, 0.26), transparent 68%);
  filter: blur(16px);
}

.quote-section-title img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 145, 77, 0.2));
}

.quote-section-title h2 {
  margin: 0;
  font-size: 22px;
  text-align: left;
}

.quote-section-title--center {
  justify-content: center;
  text-align: center;
}

.quote-section-title--center h2 {
  font-size: clamp(28px, 2.65vw, 38px);
  text-align: center;
}

.quote-section-title--contact span {
  width: clamp(126px, 9vw, 170px);
  height: clamp(126px, 9vw, 170px);
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition: opacity 0.26s ease, transform 0.26s ease;
  will-change: opacity, transform;
}

.service-choice-grid.is-exiting-left {
  opacity: 0;
  transform: translateX(-34px);
}

.service-choice-grid.is-exiting-right {
  opacity: 0;
  transform: translateX(34px);
}

.service-choice-grid.is-entering-left {
  opacity: 0;
  transform: translateX(-34px);
}

.service-choice-grid.is-entering-right {
  opacity: 0;
  transform: translateX(34px);
}

.service-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

.service-category {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.3), rgba(16, 19, 26, 0.88)),
    radial-gradient(circle at top right, rgba(255, 145, 77, 0.16), transparent 15rem),
    rgba(255, 255, 255, 0.035);
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 145, 77, 0.14), transparent 46%);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-category::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 20px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 145, 77, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.service-category > * {
  position: relative;
  z-index: 1;
}

.service-category strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 19px;
  line-height: 1.22;
}

.service-category span {
  display: block;
  color: #8b919f;
  font-size: 14px;
  line-height: 1.45;
}

.service-category:hover,
.service-category.is-active {
  border-color: rgba(255, 145, 77, 0.62);
  background: rgba(255, 145, 77, 0.09);
  box-shadow: 0 16px 34px rgba(255, 145, 77, 0.1);
  transform: translateY(-1px);
}

.service-category:hover::before,
.service-category.is-active::before {
  opacity: 0.74;
  transform: scale(1.02);
}

.service-category.is-active::after {
  width: 72px;
  background: #FF914D;
  box-shadow: 0 0 18px rgba(255, 145, 77, 0.35);
}

.service-category.is-active span {
  color: #ffd3ba;
}

.service-flow-line {
  --flow-left: 16.66%;
  --flow-width: 180px;
  position: relative;
  height: 22px;
  margin: 0 0 16px;
}

.service-flow-line__track,
.service-flow-line__active {
  position: absolute;
  top: 10px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
}

.service-flow-line__track {
  left: 0;
  right: 0;
  background: rgba(148, 163, 184, 0.18);
}

.service-flow-line__active {
  left: var(--flow-left);
  width: var(--flow-width);
  background: #FF914D;
  box-shadow: 0 0 14px rgba(255, 145, 77, 0.28);
  transition: left 0.24s ease, width 0.24s ease;
}

.service-choice {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 14px 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, rgba(255, 145, 77, 0.1), transparent 15rem);
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-choice::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.18), rgba(16, 19, 26, 0.72)),
    radial-gradient(circle at top right, rgba(0, 151, 178, 0.08), transparent 15rem);
  pointer-events: none;
}

.service-choice > * {
  position: relative;
  z-index: 1;
}

.service-choice:hover,
.service-choice.is-active {
  border-color: rgba(255, 145, 77, 0.62);
  background: rgba(255, 145, 77, 0.08);
  box-shadow: 0 22px 46px rgba(255, 145, 77, 0.11);
}

.service-choice.is-active {
  border-color: rgba(255, 145, 77, 0.92);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 145, 77, 0.18), transparent 18rem),
    rgba(255, 145, 77, 0.1);
  box-shadow:
    0 24px 54px rgba(255, 145, 77, 0.18),
    inset 0 0 0 1px rgba(255, 145, 77, 0.28);
  transform: translateY(-4px);
}

.service-choice:hover::before,
.service-choice.is-active::before {
  opacity: 0.25;
  transform: scale(1.03);
}

.service-choice:active {
  transform: scale(0.98);
}

.service-icon {
  position: relative;
  isolation: isolate;
  width: clamp(108px, 7.4vw, 146px);
  height: clamp(108px, 7.4vw, 146px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 145, 77, 0.22));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.service-choice:hover .service-icon img,
.service-choice.is-active .service-icon img {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 28px rgba(255, 145, 77, 0.42));
}

.service-choice strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.22;
}

.service-choice p {
  min-height: 48px;
  margin: 0 0 12px;
  color: #8b919f;
  font-size: 13px;
  line-height: 1.45;
}

.service-choice.is-active p {
  color: #ffd3ba;
}

.service-choice em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(255, 145, 77, 0.32);
  border-radius: 999px;
  background: rgba(255, 145, 77, 0.08);
  color: #FF914D;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-choice.is-active em {
  border-color: rgba(255, 145, 77, 0.72);
  background: #FF914D;
  color: #10131a;
  box-shadow: 0 0 22px rgba(255, 145, 77, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .service-choice-grid {
    transition: none;
  }
}

.quote-config-grid,
.quote-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.config-stack,
.quote-details-grid .quote-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label,
.quantity-row > span {
  color: #FF914D;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field select,
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
}

.form-field textarea {
  resize: none;
}

.form-field select {
  color-scheme: dark;
}

.form-field select:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.form-field select option {
  background: #1c2026;
  color: #e0e2ec;
}

.form-field select option:checked {
  background: #FF914D;
  color: #10131a;
}

.form-field select:focus,
.form-field input:focus,
.form-field textarea:focus {
  border-color: #FF914D;
  box-shadow: 0 0 0 3px rgba(255, 145, 77, 0.12);
}

.material-custom-hint {
  margin: 2px 0 0;
  color: #d9edf7;
  font-size: 14px;
  line-height: 1.45;
}

.material-custom-hint-link {
  color: #FF914D;
  font-weight: 800;
  text-decoration: none;
}

.material-custom-hint-link:hover,
.material-custom-hint-link:focus {
  color: #FF914D;
  text-decoration: underline;
}

.post-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-process-field {
  padding: 22px;
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(255, 145, 77, 0.12), transparent 15rem),
    rgba(255, 145, 77, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 145, 77, 0.16);
}

.post-process-field > p {
  margin: -2px 0 4px;
  color: #c1c6d5;
  font-size: 14px;
  line-height: 1.45;
}

.post-process-field > label {
  font-size: 14px;
}

.post-process-grid label,
.urgent-check,
.privacy-check {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e2ec;
  font-size: 14px;
  cursor: pointer;
}

.post-process-grid label {
  min-height: 98px;
  padding: 18px 18px;
  background:
    linear-gradient(135deg, rgba(16, 35, 48, 0.78), rgba(12, 22, 34, 0.84)),
    rgba(16, 19, 26, 0.7);
}

.post-process-grid label::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  z-index: 0;
  width: 126px;
  height: 126px;
  background: var(--post-icon) center / contain no-repeat;
  opacity: 0.46;
  filter: drop-shadow(0 0 24px rgba(255, 145, 77, 0.34));
  transform: translateY(-50%);
  pointer-events: none;
}

.post-process-grid label::after {
  content: none;
}

.post-process-grid label > * {
  position: relative;
  z-index: 1;
}

.post-process-grid label:hover,
.urgent-check:hover,
.privacy-check:hover {
  border-color: rgba(255, 145, 77, 0.38);
}

.post-process-grid label:has(input:checked),
.urgent-check:has(input:checked),
.privacy-check:has(input:checked) {
  border-color: rgba(255, 145, 77, 0.52);
  background: rgba(255, 145, 77, 0.12);
  box-shadow: 0 12px 28px rgba(255, 145, 77, 0.1);
}

.post-process-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.post-process-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 145, 77, 0.72);
  border-radius: 4px;
  background: rgba(8, 25, 38, 0.72);
  transform: translateY(-50%);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.post-process-grid input:checked + span::before {
  border-color: #FF914D;
  background: #FF914D;
  box-shadow: 0 0 14px rgba(255, 145, 77, 0.22);
}

.post-process-grid input:checked + span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 10px;
  border: solid #10131a;
  border-width: 0 2px 2px 0;
  transform: translateY(-62%) rotate(45deg);
}

.post-process-grid label:has(input:focus-visible) span::before {
  box-shadow: 0 0 0 3px rgba(255, 145, 77, 0.18);
}

.post-process-grid span {
  position: relative;
  display: block;
  min-width: 0;
  padding-left: 34px;
  padding-right: 0;
  color: #e0e2ec;
  font-size: 11.5px;
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: 0.03em;
}

.color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 66px;
}

.color-field-hint {
  margin: -4px 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.color-grid p {
  margin: 0;
  color: #8b919f;
  font-size: 14px;
}

.color-swatch {
  position: relative;
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(15, 23, 42, 0.92),
    0 8px 18px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.color-grid.has-selection .color-swatch:not(.is-active) {
  opacity: 0.32;
  filter: grayscale(0.45) saturate(0.7);
}

.color-swatch:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(255, 145, 77, 0.24),
    0 10px 22px rgba(0, 0, 0, 0.42);
}

.color-swatch.is-active {
  border-color: #FF914D;
  box-shadow:
    0 0 0 5px rgba(255, 145, 77, 0.26),
    0 0 28px rgba(255, 145, 77, 0.34);
}

.color-swatch.is-unavailable {
  cursor: not-allowed;
  opacity: 0.42;
  filter: grayscale(0.7) saturate(0.5);
}

.color-swatch.is-unavailable::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.55);
  transform: rotate(-35deg);
}

.color-grid.has-selection .color-swatch.is-unavailable {
  opacity: 0.3;
}

.color-swatch span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.quote-upload {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 58px 24px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.quote-upload:hover {
  border-color: rgba(255, 145, 77, 0.5);
}

.quote-upload span {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: clamp(128px, 9vw, 170px);
  height: clamp(128px, 9vw, 170px);
}

.quote-upload span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 145, 77, 0.24));
}

.quote-upload strong {
  color: #fff;
}

.quote-upload p {
  margin: 0;
  color: #8b919f;
  font-size: 14px;
}

.file-preview,
.contact-card {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e2ec;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.quantity-control button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.quantity-control input {
  width: 56px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  font-weight: 900;
  -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.urgent-check {
  border-color: rgba(255, 145, 77, 0.2);
  background: rgba(255, 145, 77, 0.07);
}

.urgent-check strong,
.contact-card strong {
  display: block;
  color: #fff;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 145, 77, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 145, 77, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #FF914D, rgba(255, 145, 77, 0.18));
}

.contact-card strong {
  position: relative;
  margin-bottom: 18px;
  padding-left: 14px;
  font-size: 17px;
  line-height: 1.25;
}

.contact-details {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: minmax(118px, 0.46fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  background: rgba(16, 19, 26, 0.48);
}

.contact-details div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.contact-details dt {
  color: #FF914D;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-details dd {
  min-width: 0;
  margin: 0;
  color: #f7f8fb;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: right;
}

.urgent-check small,
.contact-card span,
.privacy-check span {
  color: #8b919f;
  font-size: 13px;
  line-height: 1.5;
}

.privacy-check a {
  color: #FF914D;
  font-weight: 900;
  text-decoration: none;
}

.privacy-check a:hover,
.privacy-check a:focus {
  color: #FF914D;
  text-decoration: underline;
}

.quote-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 145, 77, 0.22);
  border-radius: 12px;
  background: rgba(255, 145, 77, 0.08);
}

.quote-review strong {
  color: #fff;
  font-size: 18px;
}

.quote-review p {
  margin: 8px 0 0;
  color: #8b919f;
}

.quote-message {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 800;
}

.quote-message.is-visible {
  display: block;
}

.quote-message.is-error {
  border: 1px solid rgba(248, 113, 113, 0.32);
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
}

.quote-message.is-success {
  border: 1px solid rgba(74, 222, 128, 0.26);
  background: rgba(20, 83, 45, 0.24);
  color: #bbf7d0;
}

.quote-summary-page {
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 34px 0 96px;
}

.summary-label {
  display: block;
  color: #FF914D;
  font-family: var(--ydea-font-mono);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.95fr);
  gap: 22px;
}

.summary-main {
  display: grid;
  gap: 22px;
}

.summary-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.032);
}

.summary-card::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(255, 145, 77, 0.46);
}

.summary-top-grid,
.summary-detail-grid + .summary-processes,
.summary-contact {
  border-color: rgba(255, 145, 77, 0.2);
}

.summary-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.summary-top-grid section + section {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-card h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-family: var(--ydea-font-mono);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 900;
  line-height: 1.16;
}

.summary-card p {
  margin: 0;
  color: #d6dbe8;
  font-size: 15px;
  line-height: 1.55;
}

.summary-dl {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}

.summary-dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-dl dt {
  color: #9aa4b5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.summary-dl dd {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.summary-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.summary-metric,
.summary-file {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(255, 145, 77, 0.14);
  border-radius: 8px;
  background: rgba(255, 145, 77, 0.065);
}

.summary-metric small,
.summary-file small,
.summary-processes small {
  display: block;
  color: #FF914D;
  font-family: var(--ydea-font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.summary-metric strong,
.summary-file strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.summary-processes {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.summary-processes p,
.summary-process-list p {
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}

.summary-process-list ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.summary-process-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.summary-process-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #FF914D;
  transform: translateY(-50%);
}

.summary-process-list li:last-child {
  border-bottom: 0;
}

.summary-contact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.summary-hint {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 145, 77, 0.2);
  border-radius: 8px;
  background: rgba(255, 145, 77, 0.07);
  color: #ffd3ba;
  font-size: 13px;
  line-height: 1.55;
}

.summary-actions {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.quote-edit-button,
.quote-final-submit {
  width: 100%;
  min-height: 58px;
  font-size: 16px;
}

.quote-edit-button {
  border: 1px solid rgba(255, 145, 77, 0.35);
  border-radius: 6px;
  background: rgba(255, 145, 77, 0.09);
  color: #ffd3ba;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quote-edit-button:hover {
  border-color: rgba(255, 145, 77, 0.7);
  background: rgba(255, 145, 77, 0.16);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .quote-stepper {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    overflow-x: auto;
  }

  .service-choice-grid,
  .service-category-grid,
  .quote-config-grid,
  .quote-details-grid,
  .summary-layout,
  .summary-top-grid {
    grid-template-columns: 1fr;
  }

  .summary-top-grid section + section {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .post-process-grid {
    grid-template-columns: 1fr;
  }

  .post-process-grid label {
    min-height: 92px;
  }

  .quote-review {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .quote-hero {
    min-height: 440px;
    padding: 72px 18px 62px;
  }

  .quote-builder,
  .quote-stepper,
  .quote-summary-page {
    width: calc(100% - 28px);
  }

  .quote-glass,
  .summary-card {
    padding: 24px 18px;
  }

  .quote-section > h2 {
    font-size: 24px;
  }

  .quote-section-title span {
    width: 82px;
    height: 82px;
  }

  .quote-section-title--contact span {
    width: 112px;
    height: 112px;
  }

  .service-icon {
    width: 128px;
    height: 128px;
  }

  .quantity-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-dl div,
  .summary-detail-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .summary-dl div {
    flex-direction: column;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-details dd {
    text-align: left;
  }

  .summary-dl dd {
    text-align: left;
  }
}
