/* Loaded only on the quote landing page. */
.quote-header-actions, .quote-dialog-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-header-actions { white-space: nowrap; }
.quote-header-actions .btn { padding: 10px 16px; }
.quote-call-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.quote-header-actions .quote-call-link { font-size: 14px; }
.quote-form-section {
  padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 40px);
}
.quote-form-section--sent .quote-form-media img { height: 250px; }
#quote-form { min-width: 0; scroll-margin-top: calc(var(--header-height) + 16px); }
.quote-form-copy { font-size: 1.05rem; line-height: 1.5; max-width: 55ch; }
.quote-next-steps { padding: 0; }
.quote-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 12px;
}
.quote-next-grid img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.quote-next-grid > div { padding: clamp(20px, 3vw, 40px); }
.quote-next-grid .section-title { font-size: clamp(25px, 3vw, 36px); line-height: 1.05; }
.quote-next-grid ol { margin: 18px 0 0; padding-left: 1.4em; }
.quote-next-grid li { padding-left: .35em; }
.quote-next-grid li + li { margin-top: .6em; }
.quote-next-grid li::marker { color: #ae1e1e; font-weight: 700; }
.quote-closing-action { grid-column: 1 / -1; justify-self: end; }
.quote-call-dialog:not([open]) { display: none; }
.quote-call-dialog {
  width: min(26rem, 92vw);
  max-height: 85vh;
  overflow: auto;
  margin: auto;
  padding: 24px;
  color: var(--black);
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.quote-call-dialog h2 { margin: 6px 0; line-height: 1.1; }
.quote-call-dialog p { margin: 0 0 16px; }
.quote-call-dialog::backdrop { background: rgb(0 0 0 / 60%); }
.quote-dialog-actions { flex-wrap: wrap; }
.quote-dialog-actions button { cursor: pointer; }
@media (max-width: 960px) {
  .quote-page .header-inner { gap: 8px; }
  .quote-header-actions { margin-left: auto; }
  .quote-page .nav-toggle { display: block; order: 2; }
  .quote-page .site-nav {
    position: absolute; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 12px;
    max-height: 80vh; overflow: auto; padding: 20px;
    background: white; border: 1px solid var(--gray-300); box-shadow: var(--shadow);
  }
  .quote-page .site-nav.open { display: flex; }
  .quote-page .nav-dropdown-menu {
    position: static; transform: none; width: auto; grid-template-columns: 1fr;
    max-height: 50vh; overflow: auto; padding: 8px;
  }
  .quote-form-media { display: none; }
  .quote-closing-action { justify-self: start; }
}
@media (max-width: 640px) {
  .quote-next-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-next-grid img { height: auto; aspect-ratio: 2.2; object-position: center 60%; }
  .quote-header-actions { gap: 9px; }
  .quote-header-actions .btn { padding: 10px 12px; }
}
@media (max-width: 420px) {
  .quote-page .header-inner { gap: 4px; }
  .quote-page .logo img { width: clamp(64px, 21vw, 86px); }
  .quote-header-actions .btn, .quote-header-actions .quote-call-link { font-size: 12px; }
  .quote-header-actions .btn { min-height: 44px; padding-inline: 9px; }
}
