body.page-quote .quote-room {
  padding-top: 24px;
}

body.page-quote .quote-room .wrap {
  width: min(560px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

body.page-quote .quote-room h1 {
  max-width: none;
  color: var(--ink);
  font-size: 5.75vw;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

body.page-quote .page-end {
  padding-bottom: 64px;
}

body.page-quote .quote-grid {
  display: flex;
  flex-direction: column;
}

body.page-quote .quote-room .lead-form,
body.page-quote .quote-room .lead-ok {
  width: 100%;
  max-width: none;
  margin-top: 32px;
}

body.page-quote .lead-ok {
  padding: 0;
}

body.page-quote .lead-ok p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.5;
}

body.page-quote .lead-ok p + p {
  margin-top: 16px;
}

body.page-quote .lead-ok a {
  color: var(--gulf-ink);
  font-weight: 700;
}

body.page-quote .lead-error {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.35;
}

body.page-quote .lead-error:empty {
  display: none;
}

body.page-quote .lead-form {
  display: block;
  gap: 0;
  margin-bottom: 0;
}

body.page-quote .lead-form .field-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  line-height: 1;
}

body.page-quote .lead-form .lead-error[data-for="projectType"] + .field-label {
  margin-top: 0;
}

body.page-quote .lead-form input[type="text"],
body.page-quote .lead-form input[type="tel"],
body.page-quote .lead-form input[type="email"] {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d6dee6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.2 Lato, "Lato Fallback", sans-serif;
  box-shadow: none;
}

body.page-quote .lead-form input::placeholder {
  color: var(--mute);
  opacity: 1;
}

body.page-quote .lead-form input.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

body.page-quote .job-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 32px;
}

body.page-quote .lead-form .job-pick {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #d6dee6;
  border-radius: 0.9rem;
  corner-shape: squircle;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  hyphens: none;
  cursor: pointer;
}

body.page-quote .lead-form .job-pick span {
  display: block;
  max-width: 100%;
}

body.page-quote .lead-form .job-pick input,
body.page-quote .lead-form .contact-switch__opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  background: transparent;
}

body.page-quote .lead-form .job-pick input:focus-visible,
body.page-quote .lead-form .contact-switch__opt input:focus-visible {
  outline: none;
}

body.page-quote .lead-form .job-pick:has(input:checked) {
  background: var(--gulf);
  border-color: var(--gulf);
  color: #fff;
}

body.page-quote .lead-form .job-pick:focus-within,
body.page-quote .lead-form .contact-switch__opt:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

body.page-quote .page-end .lead-form > .btn {
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin-top: 24px;
  justify-self: stretch;
  border-radius: 0.9rem;
  corner-shape: squircle;
}

body.page-quote .contact-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}

body.page-quote .lead-form .contact-switch__opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d6dee6;
  border-radius: 0.9rem;
  corner-shape: squircle;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.016em;
  line-height: 1.2;
  cursor: pointer;
}

body.page-quote .lead-form .contact-switch__opt:has(input:checked) {
  background: var(--gulf);
  border-color: var(--gulf);
  color: #fff;
}

body.page-quote .contact-field {
  display: block;
  margin: 12px 0 0;
}

body.page-quote .promise {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.4;
  text-align: left;
}

body.page-quote .lead-status {
  min-height: 0;
  margin: 8px 0 0;
}

body.page-quote .lead-status:empty {
  display: none;
}

body.page-quote .quote-room[data-contact="phone"] .when-email,
body.page-quote .quote-room[data-contact="email"] .when-phone {
  display: none;
}

body.page-quote .quote-room.is-sent .promise,
body.page-quote .quote-room.is-sent .trust-callback {
  display: none;
}

body.page-quote .trust-block {
  margin-top: 56px;
}

body.page-quote .trust-photo {
  width: 100%;
  height: auto;
  margin: 0 0 20px;
  aspect-ratio: 1280 / 550;
  object-fit: cover;
  object-position: center;
  border-radius: 0.9rem;
  corner-shape: squircle;
}

body.page-quote .trust-facts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

body.page-quote .trust-facts h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

body.page-quote .trust-facts p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.5;
}

body.page-quote .talk-now {
  margin-top: 40px;
}

body.page-quote .talk-now > p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.4;
  text-align: left;
}

body.page-quote .quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.page-quote .page-end .quote-actions .btn {
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin-top: 0;
  border-radius: 0.9rem;
  corner-shape: squircle;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #d6dee6;
}

body.page-quote .page-end .quote-actions .btn:hover {
  background: #fff;
  color: var(--ink);
}

body.page-quote .lead-ok .btn,
body.page-quote .lead-ok .btn:hover {
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin-top: 16px;
  border-radius: 0.9rem;
  corner-shape: squircle;
  background: var(--gulf);
  color: #fff;
}

body.page-quote .lead-ok .btn:hover {
  background: var(--gulf-deep);
}

@media (max-width: 768px) {
  body.page-quote .quote-room h1 {
    font-size: 7.7vw;
    line-height: 1.2;
  }
}

@media (max-width: 1023px) {
  body.page-quote .promise,
  body.page-quote .talk-now > p,
  body.page-quote .trust-facts h2,
  body.page-quote .trust-facts p {
    text-align: center;
    text-wrap: balance;
  }

  body.page-quote .trust-facts {
    align-items: center;
  }

  body.page-quote .trust-facts h2,
  body.page-quote .trust-facts p {
    width: min(320px, 100%);
    margin-inline: auto;
  }

  body.page-quote .trust-facts h2 {
    margin-bottom: 6px;
  }

  body.page-quote .quote-room.is-sent h1,
  body.page-quote .quote-room.is-sent .lead-ok,
  body.page-quote .quote-room.is-sent .lead-ok p {
    text-align: center;
    text-wrap: balance;
  }
}

@media (min-width: 1024px) {
  body.page-quote .quote-room {
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
  }

  body.page-quote .quote-room .wrap {
    width: min(1024px, calc(100% - var(--gutter) * 2));
  }

  body.page-quote .quote-room .lead-form,
  body.page-quote .quote-room .lead-ok {
    margin-top: 40px;
  }

  body.page-quote .lead-form .field-label {
    font-size: 15px;
  }

  body.page-quote .lead-form input[type="text"],
  body.page-quote .lead-form input[type="tel"],
  body.page-quote .lead-form input[type="email"] {
    height: 56px;
  }

  body.page-quote .page-end .quote-actions .btn {
    height: 56px;
    min-height: 56px;
  }

  body.page-quote .quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 520fr) minmax(0, 440fr);
    column-gap: 64px;
    align-items: start;
  }

  body.page-quote .quote-grid > .quote-side {
    margin-top: 0;
  }

  body.page-quote .quote-side .trust-block {
    margin-top: 0;
  }

  body.page-quote .quote-side .talk-now {
    margin-top: 32px;
  }
}
