/* Quote page: numbered form sections and the "What happens next" side panel.
   Loaded by quote.html after contact.css, which holds the shared form language. */

/* ---------- Form sections: a numbered heading for each group of fields ---------- */
.quote-form { counter-reset: quote-section; }
.form-card .form-section { margin: 0; padding: 0 0 32px; counter-increment: quote-section; }
.form-card .form-section + .form-section { padding-top: 32px; border-top: 1px solid var(--line); }
/* Floated so the legend lays out as a normal block instead of sitting on the fieldset edge. */
.form-card .form-section legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 1.15rem; letter-spacing: -.01em; text-transform: none; line-height: 1.3; }
.form-card .form-section legend::before { content: counter(quote-section); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700); font-size: .9rem; }
.form-card .form-section legend + * { clear: both; }
.form-card .form-section:last-of-type { padding-bottom: 0; }

/* ---------- Side panel ---------- */
.quote-aside { gap: 16px; }
@media (min-width: 961px) and (min-height: 800px) { .quote-aside { position: sticky; top: 96px; } }
.quote-next { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--grad-soft); }
.quote-next h2 { margin: 0 0 24px; font-size: 1.3rem; letter-spacing: -.015em; }
.quote-steps { gap: 24px; }
.quote-steps li { gap: 4px; padding-left: 48px; }
.quote-steps li::before { width: 32px; height: 32px; border: 1px solid var(--blue-100); background: #fff; box-shadow: 0 1px 2px rgba(11, 27, 49, .05); }
/* A thin line joins each step to the next. */
.quote-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: -20px; width: 2px; border-radius: 2px; background: var(--blue-100); }
.quote-steps span { line-height: 1.5; }
.quote-aside .channel a + a { margin-top: 2px; }
@media (min-width: 641px) and (max-width: 960px) { .quote-next { grid-column: 1 / -1; } }
