.contact-modal {
  max-width: 580px;
}
.contact-modal [hidden] {
  display: none !important;
}
.contact-fields {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 15px;
}
.contact-modal select {
  width: 100%;
  display: block;
  margin-top: 8px;
  padding: 12px 10px;
  background: #0c080a;
  color: #f7f5f6;
  border: 1px solid #59333d;
  border-radius: 9px;
  font: inherit;
  min-height: 47px;
}
.contact-modal select:focus-visible {
  outline: 2px solid #fa4a65;
  outline-offset: 3px;
}
.quote-data-note,
.quote-hint {
  color: #b7a2af;
  font-size: 12px;
  line-height: 1.65;
  margin-top: 18px;
}
.quote-hint a {
  color: #ff7b96;
}
.quote-progress,
.quote-accepted {
  padding-top: 35px;
  text-align: center;
}
.quote-progress h3,
.quote-error h3,
.quote-accepted h3 {
  font-size: 23px;
  margin: 20px 0 15px;
  line-height: 1.25;
}
.quote-progress p,
.quote-error p,
.quote-accepted p {
  color: #cbb8c3;
  font-size: 14px;
  line-height: 1.7;
}
.quote-loader {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto;
  border: 2px solid #632235;
  border-right-color: #ff526f;
  border-top-color: #ff526f;
  border-radius: 50%;
  animation: quote-spin 1.5s linear infinite;
  box-shadow: 0 0 25px #fa284929;
}
@keyframes quote-spin {
  to {
    transform: rotate(360deg);
  }
}
.quote-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  gap: 12px;
  margin-top: 30px;
  color: #947b89;
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
}
.quote-steps li {
  flex: 1;
  padding-top: 12px;
  border-top: 1px solid #683040;
}
.quote-steps li:first-child,
.quote-steps[data-stage="analyzing"] li:nth-child(2) {
  color: #ff8099;
  border-color: #ed3a5c;
}
.quote-error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.quote-text-button {
  background: transparent;
  padding: 10px 0;
  color: #d8acbf;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.quote-text-button:hover {
  color: #ff8ca5;
}
.quote-success-mark {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid #bd3757;
  border-radius: 50%;
  color: #ff8ca5;
  background: #501325;
  font-size: 30px;
}
.quote-accepted .button {
  margin-top: 28px;
}
.contact-modal.is-quote-ready {
  max-width: 1120px;
}
.proposal-title {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 25px;
}
.proposal-summary {
  font-size: 14px;
  color: #cab6c2;
  line-height: 1.7;
  margin-top: 15px;
}
.proposal-notice {
  color: #c68ea3;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 14px;
  padding: 12px 15px;
  border: 1px solid #79304677;
  border-radius: 10px;
  background: #3d102047;
}
.proposal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.proposal-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px 22px 16px;
  border: 1px solid #71304466;
  border-radius: 17px;
  background: #0e080c88;
}
.proposal-card.is-recommended {
  border-color: #ed395b;
  background: linear-gradient(160deg, #43112166, #10080d);
  box-shadow: 0 0 25px #d8234322;
}
.proposal-badge {
  align-self: flex-start;
  color: #ff9ab1;
  background: #66172d;
  border: 1px solid #bf3456;
  font-size: 9px;
  line-height: 1.4;
  padding: 5px 9px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.proposal-card h4 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
}
.proposal-price {
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 750;
  margin-top: 15px;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.proposal-plan-copy {
  font-size: 12px;
  line-height: 1.65;
  color: #bfa5b4;
  margin-top: 13px;
}
.proposal-includes {
  padding-left: 18px;
  margin: 19px 0;
  color: #d3bdc9;
  font-size: 12px;
  line-height: 1.65;
}
.proposal-includes li + li {
  margin-top: 8px;
}
.proposal-breakdown {
  padding-top: 14px;
  border-top: 1px solid #65304066;
  margin-top: auto;
  font-size: 10px;
  line-height: 1.9;
  color: #b892a4;
}
.proposal-card .proposal-accept {
  width: 100%;
  padding-inline: 12px;
  font-size: 13px;
  min-height: 46px;
  margin-top: 18px;
  border-radius: 12px;
}
.proposal-discuss {
  align-self: center;
  margin-top: 5px;
}
.proposal-action-status {
  margin-top: 15px;
  color: #ff91ac;
  font-size: 13px;
  line-height: 1.6;
}
.proposal-discussion {
  margin-top: 20px;
  border: 1px solid #93405b88;
  border-radius: 14px;
  padding: 22px;
  background: #3b10215c;
}
.proposal-discussion h4 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.proposal-discussion p {
  font-size: 13px;
  line-height: 1.7;
  color: #d6b6c7;
}
.proposal-details {
  border-top: 1px solid #71304466;
  margin-top: 25px;
  padding-top: 20px;
  font-size: 13px;
  color: #c4a5b6;
  line-height: 1.7;
}
.proposal-details summary {
  cursor: pointer;
  color: #e6c7d8;
}
.proposal-details h4 {
  margin-bottom: 0;
  color: #ecd4e1;
}
.quote-restart {
  display: block;
  margin: 20px auto 0;
}
.contact-modal button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
@media (max-width: 760px) {
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .proposal-grid {
    grid-template-columns: 1fr;
  }
  .proposal-card {
    padding: 25px;
  }
  .proposal-price {
    font-size: 32px;
  }
  .contact-modal.is-quote-ready {
    padding: 34px 20px 24px;
  }
  .quote-error-actions {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quote-loader {
    animation: none;
  }
}
