.quote-page {
  min-height: 100vh;
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, #f4f8f7 0%, #f9f4fb 100%);
}

.quote-page .quote-shell {
  max-width: 980px;
  margin: 0 auto;
}

.quote-page .quote-heading {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.quote-page .quote-heading .eyebrow {
  color: #911aad;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quote-page .quote-heading h1 {
  margin: .35rem 0 .45rem;
  color: #26302f;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -.045em;
}

.quote-page .quote-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid rgba(25, 107, 97, .09);
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(35, 72, 67, .11);
}

.quote-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
  color: #596663;
  font-size: .82rem;
  font-weight: 650;
}

.quote-progress {
  height: 8px;
  margin-bottom: 1.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8efed;
}

.quote-progress span {
  display: block;
  width: calc(100% / 14);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #196b61, #01ddba);
  transition: width .35s ease;
}

.quote-step { display: none; }
.quote-step.is-active { display: block; animation: quoteStepIn .35s ease both; }

@keyframes quoteStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-step h2 {
  margin-bottom: .15rem;
  color: #26302f;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 750;
}

.quote-step > p { margin-bottom: 1rem; color: #6b7775; line-height: 1.4; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
}

.quote-field { min-width: 0; }
.quote-field.full { grid-column: 1 / -1; }

.quote-field > label,
.quote-field > legend {
  display: block;
  margin-bottom: .3rem;
  color: #303b39;
  font-size: .9rem;
  font-weight: 650;
}

.quote-field input[type="text"],
.quote-field input[type="email"],
.quote-field input[type="tel"],
.quote-field input[type="number"],
.quote-field input[type="date"],
.quote-field input[type="file"],
.quote-field textarea {
  width: 100%;
  min-height: 42px;
  padding: .55rem .8rem;
  border: 1px solid #cbd9d6;
  border-radius: .75rem;
  outline: none;
  background: #fbfdfc;
  color: #26302f;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.quote-field textarea { min-height: 82px; resize: vertical; }

.quote-field input:focus,
.quote-field textarea:focus {
  border-color: #45c5af;
  box-shadow: 0 0 0 4px rgba(69, 197, 175, .14);
}


.quote-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem .7rem;
}

.quote-options.single-column { grid-template-columns: 1fr; }

.quote-option {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  min-height: 38px;
  padding: .48rem .7rem;
  border: 1px solid #d9e3e1;
  border-radius: .75rem;
  background: #fbfdfc;
  color: #44504e;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.quote-option:hover { border-color: #45c5af; background: #f2fbf8; }
.quote-option input { margin-top: .2rem; accent-color: #196b61; }

.quote-conditional {
  display: none;
  grid-column: 1 / -1;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #f5faf8;
}

.quote-conditional.is-visible { display: block; }

.quote-help {
  margin-top: .55rem;
  color: #75817f;
  font-size: .78rem;
}

.quote-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e8efed;
}

.quote-actions button {
  min-width: 140px;
  padding: .68rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.quote-prev { color: #196b61; background: #e8f5f2; }
.quote-next, .quote-submit { color: #164a43; background: #01ffcd; }
.quote-prev[hidden], .quote-next[hidden], .quote-submit[hidden] { display: none; }

.quote-success { max-width: 620px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 1rem; text-align: center; }
.quote-success[hidden] { display: none; }
.quote-success-icon { display: grid; width: 74px; height: 74px; margin: 0 auto 1.25rem; place-items: center; border-radius: 50%; background: #01ffcd; color: #196b61; font-size: 2.25rem; font-weight: 800; }
.quote-success h2 { margin-bottom: .75rem; color: #26302f; font-size: clamp(1.75rem, 4vw, 2.35rem); font-weight: 750; }
.quote-success p { margin: 0 auto 1.5rem; color: #66726f; line-height: 1.65; }

.form-api-status { display: none; width: 100%; margin-top: .75rem; padding: .75rem 1rem; border-radius: .7rem; font-size: .88rem; }
.form-api-status.is-success { display: block; background: #e9f8ee; color: #166534; }
.form-api-status.is-error { display: block; background: #fdecec; color: #991b1b; }


@media (max-width: 767.98px) {
  .quote-page { padding: 8rem 0 3.5rem; }
  .quote-page .quote-card { padding: 1.35rem; border-radius: 1.25rem; }
  .quote-grid, .quote-options { grid-template-columns: 1fr; }
  .quote-field { grid-column: 1 / -1; }
  .quote-actions button { min-width: 0; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-step.is-active { animation: none; }
  .quote-progress span { transition: none; }
}
