html:not(.quote-request-active) #request-quote {
  display: none;
}

html.quote-request-active #customer-screen > :not(#request-quote) {
  display: none;
}

.quote-request-section {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(145deg, #f3fbff, #fff 72%);
}

html.quote-request-active .quote-request-section {
  padding-top: 0;
}

html:not(.quote-request-active) .quote-request-experience {
  display: none;
}

.quote-request-experience {
  margin-bottom: 34px;
}

.quote-request-experience .hero {
  padding: 66px 0 56px;
}

.quote-request-experience .hero-actions {
  gap: 12px;
}

.quote-request-experience .hero-booking-note {
  color: #31516a;
  font-size: 15px;
  font-weight: 800;
}

.quote-request-reviews {
  padding: 56px 0;
}

.quote-request-anchor {
  position: absolute;
  top: 0;
}

.quote-request-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.quote-request-start {
  max-width: 760px;
  margin: 0 0 24px;
}

.quote-request-support {
  margin-bottom: 12px;
}

.quote-request-help {
  margin: 0 0 10px;
}

.quote-request-help p {
  margin: 0;
}

.quote-request-help p + p {
  margin-top: 4px;
}

.quote-request-project-note {
  margin: 0 0 16px;
  padding: 0 4px;
  color: #456079;
}

.quote-request-project-note .painting-team-note {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.45;
}

.quote-request-project-note .calculator-minimum-notice {
  margin: 0 0 4px;
  color: #456079;
  font-size: 14px;
  line-height: 1.45;
}

.quote-request-hero-card {
  margin: 0;
  padding: 20px 18px 18px;
  border: 1px solid #ccdfec;
  border-top: 5px solid #438bec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9,61,96,.035);
}

.quote-request-hero-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.18;
}

.quote-request-hero-card p {
  max-width: 620px;
  margin: 0;
  color: #45627a;
  font-size: 15px;
  line-height: 1.45;
}

.quote-request-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.quote-request-copy p:last-child {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
}

.quote-request-form {
  display: grid;
  gap: 17px;
  min-width: 0;
  padding: 26px;
  border: 1px solid #cddfeb;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-request-form input[name="website"] {
  position: absolute;
  left: -9999px;
}

.quote-request-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-request-options legend {
  width: 100%;
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.quote-request-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #c9dfec;
  border-radius: 999px;
  background: #f5fbff;
  font-size: 14px;
  line-height: 1.2;
}

.quote-request-options input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

.quote-request-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.quote-request-form label small,
.quote-contact-group p {
  color: #5a7890;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.quote-request-form input,
.quote-request-form select,
.quote-request-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 11px 12px;
  border: 2px solid #aac7dc;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}

.quote-request-form [data-custom-date][hidden] {
  display: none;
}

.quote-request-form [data-budget-amount][hidden] {
  display: none;
}

.quote-request-form select,
.quote-request-form input[type="date"] {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.quote-request-form textarea {
  resize: vertical;
}

.quote-contact-group {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #d4e6ef;
  border-radius: 13px;
  background: #f8fdff;
}

.quote-contact-group h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.quote-contact-group p {
  margin: -6px 0 0;
}

.quote-photo-upload {
  padding: 13px;
  border: 1px dashed #9fcfe3;
  border-radius: 12px;
  background: #f5fcff;
}

.quote-photo-upload small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quote-video-note {
  margin: -8px 0 0;
  padding: 11px 13px;
  border: 1px solid #f1dc82;
  border-radius: 10px;
  background: #fff9d9;
  color: #6a5a16;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.request-status {
  min-height: 22px;
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.quote-request-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.quote-request-photos a {
  display: block;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid #c8dfea;
  border-radius: 10px;
  background: #eef8ff;
}

.quote-request-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .quote-request-section {
    padding: 52px 0;
  }

  html.quote-request-active .quote-request-section {
    padding-top: 0;
  }

  .quote-request-experience {
    margin-bottom: 24px;
  }

  .quote-request-experience .hero {
    padding: 42px 0 38px;
  }

  .quote-request-experience .hero-actions .button {
    width: 100%;
  }

  .quote-request-reviews {
    padding: 42px 0;
  }

  .quote-request-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quote-request-start {
    margin-bottom: 20px;
  }

  .quote-request-form {
    padding: 22px 18px;
  }

}

/* One quote entrance, two ways to tell us about the project. */
html.quote-options-active #request-quote > .container { display: none; }
html.quote-form-active .quote-request-experience,
html.quote-form-active .quote-request-start { display: none; }
html.quote-form-active .quote-request-section { padding: 32px 0 56px; }
.quote-methods { display: grid; gap: 14px; margin: 24px 0; }
.quote-method { display: grid; grid-template-columns: 34px 1fr; gap: 7px 12px; padding: 22px; background: #fff; border: 1px solid #c7dced; border-radius: 16px; text-decoration: none; color: #072d64; box-shadow: 0 6px 20px #072d6409; }
.quote-method strong { font-size: 20px; line-height: 1.3; }
.quote-method > span:not(.quote-method-icon), .quote-method > b { grid-column: 2; }
.quote-method > span:not(.quote-method-icon) { font-size: 16px; line-height: 1.5; color: #385f73; }
.quote-method > b { color: #0878ed; font-size: 15px; margin-top: 5px; }
.quote-method-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 38px; color: #0878ed; grid-row: span 3; }
.quote-method-icon svg { display: block; width: 30px; height: 30px; flex: none; }
.quote-method:hover { border-color: #0878ed; }
.quote-method:focus-visible { outline: 3px solid #0878ed; outline-offset: 4px; }
.quote-method-back { grid-column: 1 / -1; color: #0878ed; font-weight: 700; }
html.quote-form-active .quote-request-layout { gap: 20px 40px; }
@media(min-width: 761px) { .quote-method-back { margin-bottom: 0; } }
