/* Get a Quote: multi-section form + sticky side panel */
.quote-hero .hero-sub { max-width: 760px; }
.quote-section { padding-top: clamp(40px, 5vw, 72px); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(28px, 4vw, 64px); align-items: start; }

.quote-form { gap: 20px; }
.quote-req-note { margin: 0; }
.quote-req-note .req { color: var(--rust); }
.q-step { margin: 0; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); min-width: 0; transition: border-color .3s, box-shadow .3s; }
.q-step:focus-within { border-color: var(--blue); box-shadow: 0 20px 44px -30px rgba(11,37,50,.55); }
.q-step > legend { display: flex; align-items: center; gap: 14px; float: left; width: 100%; margin: 0 0 22px; padding: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 2.2vw, 28px); line-height: 1; text-transform: uppercase; color: var(--navy); }
.q-step > legend + * { clear: both; }
.q-num { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--navy); color: var(--white); font-size: 18px; letter-spacing: .04em; transition: background .3s, color .3s; }
.q-step:focus-within .q-num { background: var(--blue); color: var(--ink); }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field[hidden] { display: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2532' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; cursor: pointer; }
.field-help { margin: -6px 0 0; font-size: 15px; }
.quote-submit { display: grid; gap: 14px; }
.quote-submit .btn { width: 100%; min-height: 58px; font-size: 21px; }

/* side panel */
@media (min-height: 930px) and (min-width: 1001px) { .quote-aside { position: sticky; top: 96px; } }
.quote-panel { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); border-radius: 16px; padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 22px; box-shadow: var(--shadow); }
.quote-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 2px, transparent 2px 22px); }
.quote-panel-lead { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); }
.quote-panel-lead a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.quote-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quote-contacts a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); color: var(--white); font-weight: 600; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.quote-contacts a:hover, .quote-contacts a:focus-visible { background: rgba(79,163,209,.14); border-color: var(--blue); transform: translateX(3px); }
.quote-contacts svg { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 10px; background: var(--blue); color: var(--ink); }
.quote-contacts small { display: block; font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.quote-next-title { font-size: 24px; color: var(--white); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.quote-next { list-style: none; margin: -8px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: qn; }
.quote-next li { position: relative; padding-left: 44px; display: grid; gap: 4px; counter-increment: qn; }
.quote-next li::before { content: counter(qn); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--blue); }
.quote-next b { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; }
.quote-next span { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.75); }
.quote-rating { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-head); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.quote-rating b { font-size: 34px; line-height: 1; color: var(--white); letter-spacing: 0; }
.quote-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

@media (max-width: 1000px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; order: 1; }
}
@media (max-width: 640px) { .form-grid--3 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .q-step, .q-num, .quote-contacts a { transition: none; } }
