/* Approved complete intake: scoped to the estimate cards. */
.complete-estimate-card:not(:has(.confirmation)) {
  position: relative;
  display: block;
  padding: 40px 28px 19px;
  border: 1px solid #cbdcf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px #06234912;
}
.complete-estimate-card .intake-heading {
  margin: 0 0 23px;
  color: #062349;
  font: 700 1.65rem/1.2 Georgia, 'Times New Roman', serif;
  text-align: center;
  letter-spacing: -.03em;
  max-width: none;
}
.opening-card.complete-estimate-card:not(:has(.confirmation)) { padding-top: 43px; }
.opening-card .intake-heading {
  position: absolute;
  left: 50%;
  top: -29px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 95%;
  padding: 13px 45px 10px;
  border-top: 1px solid #cbdcf5;
  border-radius: 60px 60px 0 0;
  background: #fff;
}
.intake-heading span { color: #075ee8; }
.complete-estimate-card .estimate-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px 24px; align-items: end; }
.destination-page .complete-estimate-card .estimate-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.destination-page .complete-estimate-card .field-address,
.destination-page .complete-estimate-card .field-notes { grid-column: 1 / -1; }
.complete-estimate-card .field { min-width: 0; gap: 7px; }
.complete-estimate-card .field label { color: #062349; font-size: .9375rem; line-height: 1.35; font-weight: 650; }
.complete-estimate-card .required-mark { color: #cf2525; margin-left: 3px; }
.complete-estimate-card .input-shell { position: relative; display: block; }
.complete-estimate-card .input-icon { position: absolute; top: 50%; left: 15px; width: 22px; height: 22px; transform: translateY(-50%); color: #075ee8; pointer-events: none; }
.complete-estimate-card .field input,
.complete-estimate-card .field select,
.complete-estimate-card .field textarea {
  display: block; min-width: 0; width: 100%; height: 49px; margin: 0;
  border: 1px solid #c6d8f3; border-radius: 5px;
  background: #fff; color: #062349; font: inherit; font-size: 1rem; line-height: 1.3;
  padding: 12px 14px 12px 48px;
}
.complete-estimate-card .field textarea { resize: vertical; min-height: 49px; max-height: 180px; }
.complete-estimate-card .field input::placeholder,
.complete-estimate-card .field textarea::placeholder { color: #7489aa; opacity: 1; }
.complete-estimate-card .field select { padding-right: 35px; appearance: none; }
.complete-estimate-card .select-chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #075ee8; pointer-events: none; }
.complete-estimate-card input:focus-visible,
.complete-estimate-card select:focus-visible,
.complete-estimate-card textarea:focus-visible { outline: 2px solid #075ee8; outline-offset: 2px; }
.complete-estimate-card .estimate-form > .btn { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 57px; margin: -3px 0 0; padding: 14px 24px; border-radius: 999px; background: #075ee8; color: #fff; font-size: 1.125rem; font-weight: 650; box-shadow: 0 7px 17px #075ee82b; }
.complete-estimate-card .estimate-form > .btn:hover { background: #034fc8; }
.complete-estimate-card .form-error { grid-column: 1 / -1; grid-row: auto; color: #a1262d; margin: 0; }
.complete-estimate-card .estimate-qualification { margin: 13px 0 0; color: #5e7393; font-size: .8125rem; line-height: 1.5; text-align: center; }
.complete-estimate-card .call-note { margin: 5px 0 0; color: #062349; font-size: .9375rem; text-align: center; }
.complete-estimate-card .call-note .text-link { color: #075ee8; font-weight: 650; }
.final-card.complete-estimate-card:not(:has(.confirmation)) { padding: 26px 24px 20px; }
.final-card.complete-estimate-card .estimate-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.final-card.complete-estimate-card .field-address,
.final-card.complete-estimate-card .field-notes { grid-column: 1 / -1; }
.final-card.complete-estimate-card .field-notes textarea { height: 60px; }
.complete-estimate-card:has(.confirmation) .confirmation-preview-note { margin-top: 18px; }
.complete-estimate-card:has(.confirmation) .restart { margin: 16px auto 0; display: block; }
@media (max-width: 1000px) and (min-width: 721px) {
  .complete-estimate-card .estimate-form { gap: 18px 15px; }
  .complete-estimate-card .field input, .complete-estimate-card .field select, .complete-estimate-card .field textarea { font-size: .875rem; padding-left: 40px; }
  .complete-estimate-card .input-icon { left: 12px; width: 19px; height: 19px; }
  .complete-estimate-card .field label { font-size: .875rem; }
}
@media (max-width: 720px) {
  .opening-wrap:has(.complete-estimate-card:not(:has(.confirmation))) { padding-top: 18px; }
  .complete-estimate-card:not(:has(.confirmation)),
  .opening-card.complete-estimate-card:not(:has(.confirmation)),
  .final-card.complete-estimate-card:not(:has(.confirmation)) { padding: 24px 18px 20px; border-radius: 14px; }
  .opening-card .intake-heading { position: static; transform: none; width: auto; max-width: none; padding: 0; border: 0; border-radius: 0; }
  .complete-estimate-card .intake-heading { margin-bottom: 22px; font-size: 1.6rem; line-height: 1.2; }
  .intake-heading span { display: block; margin-top: 3px; }
  .complete-estimate-card .estimate-form,
  .destination-page .complete-estimate-card .estimate-form,
  .final-card.complete-estimate-card .estimate-form { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .complete-estimate-card .field input, .complete-estimate-card .field select, .complete-estimate-card .field textarea { height: 52px; font-size: 1rem; }
  .complete-estimate-card .field-notes textarea { height: 76px; }
  .complete-estimate-card .estimate-form > .btn { min-height: 54px; font-size: 1.0625rem; margin-top: 2px; }
  .complete-estimate-card .call-note { font-size: .875rem; }
}
