/* Quote page: put the working form in the first viewport. */
.pdl-quote-first-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 0 56px;
  color: #17384f;
  background-color: #e9f2f7;
}

.pdl-quote-first-screen::before,
.pdl-quote-first-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.pdl-quote-first-screen::after {
  z-index: -2;
  background-image: url("../../images/hero/packaging-family.webp");
  background-repeat: no-repeat;
  background-position: center 58%;
  background-size: cover;
}

.pdl-quote-first-screen::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 252, 254, .86) 0%, rgba(246, 251, 254, .78) 44%, rgba(237, 247, 252, .65) 100%);
}

.pdl-quote-first-screen * {
  box-sizing: border-box;
}

.pdl-quote-first-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(580px, 1.18fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.pdl-quote-first-screen-copy {
  min-width: 0;
  max-width: 32rem;
  padding: clamp(48px, 5vw, 76px) 0 32px;
}

.pdl-quote-first-screen-copy .pdl-eyebrow {
  margin-bottom: 18px;
  color: #0870d1;
}

.pdl-quote-first-screen-copy h1 {
  max-width: 9.5em;
  margin: 0 0 24px;
  color: #0a304b;
  font-size: clamp(2.75rem, 3.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.pdl-quote-first-screen-lead {
  max-width: 31rem;
  margin: 0;
  color: #4f6a7d;
  font-size: 1.04rem;
  line-height: 1.8;
}

.pdl-quote-direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 86, 132, .17);
}

.pdl-quote-direct-contact a {
  display: inline-flex;
  min-width: 0;
  gap: 7px;
  align-items: center;
  color: #17384f;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.pdl-quote-online-chat {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 12px;
  gap: 7px;
  cursor: pointer;
  align-items: center;
  border: 1px solid #0870d1;
  border-radius: 5px;
  color: #fff;
  background: #0870d1;
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.pdl-quote-online-chat:hover,
.pdl-quote-online-chat:focus-visible {
  border-color: #075eaf;
  background: #075eaf;
  transform: translateY(-1px);
}

.pdl-quote-direct-contact svg,
.pdl-quote-online-chat svg {
  width: 17px;
  height: 17px;
  color: #0870d1;
}

.pdl-quote-online-chat svg {
  color: #fff;
}

.pdl-quote-first-form {
  min-width: 0;
  padding: 26px 28px 24px;
  border-top: 4px solid #0a74d2;
  border-radius: 8px;
  color: #16364e;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 73, 108, .18);
}

.pdl-quote-first-form-heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin: -26px -28px 20px;
  padding: 20px 28px 18px;
  border-bottom: 1px solid #dce7ee;
  border-radius: 5px 5px 0 0;
  background: #f1f7fb;
}

.pdl-quote-first-form-heading span,
.pdl-quote-first-form-heading strong {
  display: block;
}

.pdl-quote-first-form-heading span {
  margin-bottom: 4px;
  color: #0870d1;
  font-size: .82rem;
  font-weight: 850;
}

.pdl-quote-first-form-heading strong {
  color: #12334b;
  font-size: 1.45rem;
}

.pdl-quote-first-form-heading small {
  max-width: 16em;
  color: #73889a;
  font-size: .8rem;
  line-height: 1.45;
  text-align: right;
}

.pdl-quote-first-form .pdl-form-group {
  margin-bottom: 14px;
}

.pdl-quote-first-form .pdl-form-group legend,
.pdl-quote-first-form .pdl-form-optional summary {
  margin-bottom: 9px;
  font-size: .9rem;
}

.pdl-quote-first-form .pdl-form-grid {
  gap: 11px 12px;
}

.pdl-quote-first-form .pdl-field {
  gap: 5px;
}

.pdl-quote-first-form .pdl-field span {
  font-size: .86rem;
  font-weight: 750;
}

.pdl-quote-first-form fieldset .pdl-field span {
  font-size: .94rem;
}

.pdl-quote-first-form .pdl-field input,
.pdl-quote-first-form .pdl-field select,
.pdl-quote-first-form .pdl-field textarea {
  min-height: 48px;
  padding: 11px 12px;
  border-color: #cfdde7;
  background: #f8fbfd;
  font-size: .95rem;
}

.pdl-quote-first-form .pdl-form-optional {
  margin-bottom: 0;
  padding-top: 7px;
}

.pdl-quote-first-form .pdl-form-optional summary {
  min-height: 44px;
  margin-bottom: 0;
}

.pdl-quote-first-form .pdl-form-optional[open] summary {
  margin-bottom: 10px;
}

.pdl-quote-first-form .pdl-button-block {
  min-height: 50px;
  margin-top: 14px;
  font-size: 1rem;
}

.pdl-quote-first-form .pdl-form-note {
  margin: 10px 0 0;
  color: #728697;
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1080px) {
  .pdl-quote-first-screen-grid {
    grid-template-columns: minmax(0, .72fr) minmax(540px, 1.28fr);
    gap: 32px;
  }

  .pdl-quote-first-screen-copy h1 {
    font-size: 2.9rem;
  }
}

@media (max-width: 900px) {
  .pdl-quote-first-screen {
    padding: 34px 0 42px;
  }

  .pdl-quote-first-screen::after {
    background-position: 62% center;
  }

  .pdl-quote-first-screen-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdl-quote-first-screen-copy {
    max-width: none;
    padding: 0;
  }

  .pdl-quote-first-screen-copy h1 {
    max-width: 12em;
  }

}

@media (max-width: 640px) {
  .pdl-quote-first-screen {
    padding: 24px 0 34px;
  }

  .pdl-quote-first-screen-grid {
    gap: 24px;
  }

  .pdl-quote-first-screen-copy .pdl-eyebrow {
    margin-bottom: 10px;
  }

  .pdl-quote-first-screen-copy h1 {
    max-width: 10em;
    margin-bottom: 12px;
    font-size: 2rem;
  }

  .pdl-quote-first-screen-lead {
    font-size: .9rem;
    line-height: 1.65;
  }

  .pdl-quote-direct-contact {
    margin-top: 22px;
    padding-top: 18px;
  }

  .pdl-quote-first-form {
    padding: 20px 16px 18px;
  }

  .pdl-quote-first-form-heading {
    display: block;
    margin: -20px -16px 15px;
    padding: 17px 16px 14px;
  }

  .pdl-quote-first-form-heading strong {
    font-size: 1.1rem;
  }

  .pdl-quote-first-form-heading small {
    display: block;
    max-width: none;
    margin-top: 5px;
    text-align: left;
  }

  .pdl-quote-first-form .pdl-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdl-quote-first-screen .pdl-reveal {
    transition: none;
  }
}
