/* ==========================================================================
   Request a Quote (design coordinates: 1rem = 10px at 1728px)
   01 hero = shared hero-box · 02 wizard · 03 what you get
   ========================================================================== */

/* ---------- 02 Quote wizard ---------- */
.rq { position: relative; padding: 12rem 0 15rem; color: #fff; overflow: clip;
	background: radial-gradient(51.84rem 64.4rem at 164.16rem 103.04rem, rgba(249, 112, 20, .08), transparent),
		radial-gradient(51.84rem 64.4rem at 8.64rem 90.16rem, rgba(110, 194, 227, .08), transparent),
		radial-gradient(86.4rem 51.52rem at 86.4rem 0, rgba(249, 112, 20, .14), transparent),
		var(--canvas); }
/* Left column 1000px, right column 300px, 40px between (matches x 194 / 1234). */
.rq__grid { display: grid; grid-template-columns: 100rem 30rem; column-gap: 4rem; align-items: start; }
.rq-stepper { grid-column: 1; grid-row: 1; }
.rq-card { grid-column: 1; grid-row: 2; margin-top: 5rem; }
.rq__aside { grid-column: 2; grid-row: 2; margin-top: 5rem; position: sticky; top: 11rem; }

/* Stepper: four 250px columns, circles centred, line runs centre to centre */
.rq-stepper { position: relative; height: 9rem; }
.rq-stepper__track { position: absolute; left: 12.5rem; right: 12.5rem; top: 2.3rem; height: 2px; background: var(--line-inv); }
.rq-stepper__fill { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.rq-stepper__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.rq-stepper__btn { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; width: 100%; cursor: default; }
.rq-stepper__btn:not(:disabled) { cursor: pointer; }
.rq-stepper__circle { position: relative; display: grid; place-items: center; width: 4.8rem; height: 4.8rem; border-radius: 80px; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--line-inv); transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.rq-stepper__num { font-family: var(--f-head); font-weight: 600; font-size: 2rem; line-height: 2.6rem; letter-spacing: -.01em; color: var(--text-muted-inv); transition: color .4s, opacity .3s, transform .5s var(--ease-out); }
.rq-stepper__check { position: absolute; inset: 0; opacity: 0; transform: scale(.4) rotate(-45deg); transition: opacity .3s, transform .6s var(--ease-out); }
.rq-stepper__check svg { display: block; width: 100%; height: 100%; }
.rq-stepper__label { font-size: var(--t-small); line-height: 2rem; color: var(--text-muted-inv); white-space: nowrap; transition: color .4s; }
.rq-stepper__item.is-current .rq-stepper__circle { box-shadow: inset 0 0 0 2px var(--orange); }
.rq-stepper__item.is-current .rq-stepper__circle::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(249, 112, 21, .45); animation: rq-pulse 2.2s var(--ease-out) infinite; }
@keyframes rq-pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 112, 21, .45); } 100% { box-shadow: 0 0 0 1.4rem rgba(249, 112, 21, 0); } }
.rq-stepper__item.is-current .rq-stepper__num { color: var(--orange); }
.rq-stepper__item.is-current .rq-stepper__label, .rq-stepper__item.is-done .rq-stepper__label { color: #fff; }
.rq-stepper__item.is-done .rq-stepper__circle { box-shadow: none; background: transparent; }
.rq-stepper__item.is-done .rq-stepper__num { opacity: 0; transform: scale(.5); }
.rq-stepper__item.is-done .rq-stepper__check { opacity: 1; transform: none; }
.rq-stepper__item.is-done .rq-stepper__btn:hover .rq-stepper__circle { transform: scale(1.1); }
.rq-stepper__item.is-done .rq-stepper__btn:hover .rq-stepper__label { color: var(--orange); }

/* Card (glass) */
.rq-card { position: relative; padding: 5.2rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: hidden; }
.rq-card.is-shake { animation: rq-shake .5s var(--ease-out); }
@keyframes rq-shake { 20% { transform: translateX(-1rem); } 40% { transform: translateX(.8rem); } 60% { transform: translateX(-.5rem); } 80% { transform: translateX(.3rem); } }
.rq-form { position: relative; }
.rq-step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 2.8rem; }
.rq-step[hidden] { display: none; }
.rq-step__head { display: flex; flex-direction: column; gap: 2.8rem; }
.rq-step__title { font-family: var(--f-head); font-weight: 600; font-size: 4.4rem; line-height: 4.8rem; letter-spacing: -.025em; color: #fff; outline: 0; }
.rq-step__text { width: 82rem; max-width: 100%; font-size: var(--t-body-lg); line-height: 2.8rem; color: var(--text-muted-inv); }

/* Chips on the dark card */
.rq-groups { display: flex; flex-direction: column; gap: 2.8rem; }
.rq-group { display: flex; flex-direction: column; gap: 1.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line-inv); }
.rq-group__title { display: flex; align-items: center; gap: 1.2rem; font-family: var(--f-head); font-weight: 600; font-size: max(2rem, 16px); line-height: 2.6rem; letter-spacing: -.01em; }
.rq-group__icon { width: 3.2rem; height: 3.2rem; flex: none; }
.rq-group__icon img { width: 100%; height: 100%; object-fit: contain; }
.rq-chips span { position: relative; display: inline-flex; align-items: center; gap: 0; border-color: var(--line-inv); color: #fff; background: rgba(255, 255, 255, .03); transition: background .35s, color .35s, border-color .35s, gap .45s var(--ease-out), padding .45s var(--ease-out); }
.rq-chips span i { display: inline-block; width: 0; height: 1rem; overflow: hidden; flex: none; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transform-origin: center; margin-top: -.3rem; transition: width .45s var(--ease-out), transform .45s var(--ease-out); }
.rq-chips label:hover span { border-color: var(--orange); background: rgba(249, 112, 21, .08); }
.rq-chips input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; gap: 1rem; }
.rq-chips input:checked + span i { width: .55rem; transform: rotate(45deg) scale(1); }
.rq-chips input:checked + span { animation: rq-pop .45s var(--ease-out); }
@keyframes rq-pop { 40% { transform: scale(1.06); } }

/* Text fields on the dark card */
.rq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
.rq-fields .field--full { grid-column: 1 / -1; }
.rq .field label, .rq .field__label { color: #fff; }
.rq .field label small { font-weight: 400; color: var(--text-muted-inv); font-size: var(--t-small); }
.rq .field input, .rq .field textarea, .rq .field select { background: rgba(255, 255, 255, .05); border-color: var(--line-inv); color: #fff; }
.rq .field input::placeholder, .rq .field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.rq .field input:hover, .rq .field textarea:hover, .rq .field select:hover { border-color: rgba(255, 255, 255, .35); }
.rq .field input:focus, .rq .field textarea:focus, .rq .field select:focus { border-color: var(--orange); background: rgba(255, 255, 255, .08); }
.rq .field textarea { min-height: 12rem; }
.rq-select { position: relative; display: block; }
.rq-select select { appearance: none; -webkit-appearance: none; padding-right: 5rem; cursor: pointer; }
.rq-select select option { color: var(--text-strong); }
.rq-select::after { content: ""; position: absolute; right: 2.2rem; top: 50%; width: .9rem; height: .9rem; border: solid var(--orange); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.rq .is-invalid input, .rq .is-invalid select, .rq .is-invalid textarea, .rq input.is-invalid, .rq select.is-invalid { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, .14); }
.rq .is-invalid .rq-chips span, .rq-groups.is-invalid .rq-chips span { border-color: rgba(248, 113, 113, .6); }

/* Drop zone */
.rq-drop { position: relative; display: flex; flex-direction: column; align-items: center; height: 26rem; padding-top: 4.65rem; text-align: center; cursor: pointer; border: 1.5px dashed var(--orange);
	background: radial-gradient(44.7rem 9.29rem at 50% 50%, rgba(249, 112, 20, .14), rgba(249, 112, 20, .02));
	transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.rq-drop::before { content: ""; position: absolute; inset: 0; background: rgba(249, 112, 21, .12); opacity: 0; transition: opacity .4s; pointer-events: none; }
.rq-drop:hover::before { opacity: .5; }
.rq-drop.is-over { border-style: solid; transform: scale(1.01); }
.rq-drop.is-over::before { opacity: 1; }
.rq-drop__icon { display: block; width: 7.2rem; height: 7.2rem; transition: transform .6s var(--ease-out); }
.rq-drop__icon svg { display: block; width: 100%; height: 100%; }
.rq-drop:hover .rq-drop__icon { transform: translateY(-.6rem); }
.rq-drop.is-over .rq-drop__icon { animation: rq-bob .9s var(--ease-io) infinite alternate; }
@keyframes rq-bob { to { transform: translateY(-1.2rem) scale(1.06); } }
.rq-drop__title { margin-top: 2rem; font-family: var(--f-head); font-weight: 600; font-size: max(2rem, 16px); line-height: 2.6rem; letter-spacing: -.01em; }
.rq-drop__text { margin-top: .8rem; font-size: var(--t-small); line-height: 2rem; color: var(--text-muted-inv); white-space: pre; }
.rq-drop input:focus-visible ~ .rq-drop__title { text-decoration: underline; text-underline-offset: 4px; }
.rq-drop__msg { font-size: var(--t-small); line-height: 2rem; color: #fca5a5; margin-top: -1.6rem; }
.rq-drop__msg:empty { display: none; }

/* File rows */
.rq-files { display: flex; flex-direction: column; gap: 2.8rem; }
.rq-files:empty { display: none; }
.rq-file { display: flex; align-items: center; gap: 1.8rem; padding: 1.8rem 2rem; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-inv); transition: border-color .4s, background .4s; }
.rq-file:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.rq-file__badge { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; flex: none; background: rgba(249, 112, 20, .18); color: var(--orange); font-size: var(--t-caption); line-height: 1.6rem; text-transform: uppercase; }
.rq-file__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .8rem; }
.rq-file__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.rq-file__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: max(2rem, 15px); line-height: 2.6rem; letter-spacing: -.01em; }
.rq-file__meta { flex: none; font-size: var(--t-small); line-height: 2rem; color: var(--text-muted-inv); white-space: pre; transition: color .4s; }
.rq-file.is-ready .rq-file__meta { color: var(--orange); }
.rq-file__bar { position: relative; height: 4px; border-radius: 4px; background: var(--line-inv); overflow: hidden; }
.rq-file__bar span { position: absolute; inset: 0; border-radius: 4px; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.rq-file__remove { position: relative; width: 3.6rem; height: 3.6rem; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-inv); transition: background .35s, box-shadow .35s, transform .5s var(--ease-out); }
.rq-file__remove::before, .rq-file__remove::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.4rem; height: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.rq-file__remove::after { transform: translate(-50%, -50%) rotate(-45deg); }
.rq-file__remove:hover { background: var(--orange); box-shadow: none; transform: rotate(90deg); }

/* Back / Continue row */
.rq-nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 0; }
.rq-nav__right { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.rq-nav__error { font-size: var(--t-small); line-height: 2rem; color: #fca5a5; text-align: right; }
.rq-nav__error:empty { display: none; }
.rq-nav__skip { position: relative; font-family: var(--f-head); font-weight: 600; font-size: max(1.6rem, 14px); line-height: 2rem; letter-spacing: -.005em; color: var(--text-muted-inv); transition: color .3s; }
.rq-nav__skip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.rq-nav__skip:hover { color: #fff; }
.rq-nav__skip:hover::after { transform: scaleX(1); transform-origin: left; }
.rq .btn--secondary { padding: 1.6rem 3.2rem; }
.btn__arrow--back span + span { transform: translateX(120%); }
.btn:hover .btn__arrow--back span:first-child { transform: translateX(-120%); }
.btn:hover .btn__arrow--back span + span { transform: translateX(0); }
.rq .btn:disabled { opacity: .6; pointer-events: none; }
.rq-step[data-step="1"] .rq-nav > span:first-child { display: none; }
.rq-small { font-size: var(--t-small); line-height: 2rem; color: var(--text-muted-inv); }
.rq-small a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.rq-form .form-msg { margin-top: -1.2rem; color: var(--text-muted-inv); }
.rq-form .form-msg:empty { display: none; }
.rq-form .form-msg.is-error { color: #fca5a5; }
.rq-form .form-msg.is-success { color: #86efac; }

/* Thank-you state */
.rq-success { display: flex; flex-direction: column; align-items: flex-start; gap: 2.8rem; padding: 2rem 0 1rem; }
.rq-success[hidden] { display: none; }
.rq-success__icon { display: block; width: 9.6rem; height: 9.6rem; }
.rq-success__icon svg { display: block; width: 100%; height: 100%; }
.rq-success .btn-row { margin-top: .8rem; }

/* Summary card (orange) */
.rq-summary { display: flex; flex-direction: column; gap: 2.2rem; padding: 4rem 3.6rem; background: linear-gradient(116.68deg, #f97014 0%, #b84705 71.429%); color: #fff; }
.rq-summary__title { font-family: var(--f-head); font-weight: 600; font-size: max(2.6rem, 19px); line-height: 3.2rem; letter-spacing: -.015em; }
.rq-summary__list { display: flex; flex-direction: column; gap: 2.2rem; margin: 0; }
.rq-summary__list dd { margin: 0; }
.rq-summary__row { display: flex; flex-direction: column; gap: .4rem; }
.rq-summary__row[hidden] { display: none; }
.rq-summary__row dt { font-weight: 600; font-size: var(--t-small); line-height: 2rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.rq-summary__row dd { font-size: var(--t-body); line-height: 2.4rem; overflow-wrap: anywhere; }
.rq-summary__row dd.is-empty { opacity: .6; }
.rq-summary__rule { border: 0; height: 1px; background: rgba(255, 255, 255, .3); margin: 0; }
.rq-summary__next { display: flex; flex-direction: column; gap: .6rem; }
.rq-summary__next h3 { font-size: max(2rem, 16px); line-height: 2.6rem; letter-spacing: -.01em; }
.rq-summary__next p { font-size: var(--t-small); line-height: 2rem; opacity: .9; }

/* Phone card (glass) */
.rq-talk { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2.4rem; padding: 2.8rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); white-space: nowrap; }
.rq-talk__title { font-family: var(--f-head); font-weight: 600; font-size: max(2rem, 16px); line-height: 2.6rem; letter-spacing: -.01em; }
.rq-talk__phone { font-family: var(--f-head); font-weight: 600; font-size: 3rem; line-height: 3.3rem; letter-spacing: -.02em; transition: color .3s; }
.rq-talk__phone:hover { color: var(--orange); }
.rq-talk__hours { font-size: var(--t-small); line-height: 2rem; color: var(--text-muted-inv); }

/* ---------- 03 What you get ---------- */
.rq-get { position: relative; padding: 12rem 0 11rem;
	background: radial-gradient(51.84rem 24.5rem at 17.28rem 9.8rem, rgba(110, 194, 227, .2), transparent),
		radial-gradient(77.76rem 39.2rem at 86.4rem 24.5rem, rgba(249, 112, 20, .18), transparent), #fff; }
.rq-get__grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 26rem; }
.rq-get__item { position: relative; padding-left: 4rem; color: var(--text-strong); }
.rq-get__item:first-child { padding-left: 0; }
.rq-get__item + .rq-get__item::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 22rem; background: rgba(0, 0, 0, .1); transform-origin: top; transition: background .5s; }
.rq-get__num { font-family: var(--f-head); font-weight: 600; font-size: 6.4rem; line-height: 7rem; letter-spacing: -.03em; color: var(--orange); transition: transform .7s var(--ease-out); }
.rq-get__title { width: 25.5rem; max-width: 100%; margin-top: 3rem; font-size: max(2.6rem, 19px); line-height: 3.2rem; letter-spacing: -.015em; }
.rq-get__text { width: 25.5rem; max-width: 100%; margin-top: 1rem; font-size: var(--t-body); line-height: 2.4rem; opacity: .75; }
.rq-get__item:hover .rq-get__num { transform: translateX(.8rem); }
.rq-get__item:hover::before { background: var(--orange); }

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
	.rq { padding: 6rem 0 8rem; }
	.rq__grid { grid-template-columns: minmax(0, 1fr); }
	.rq-stepper, .rq-card, .rq__aside { grid-column: 1; }
	.rq-stepper { grid-row: 1; height: auto; }
	.rq-card { grid-row: 2; margin-top: 3.2rem; padding: 2.8rem 2rem; }
	.rq__aside { grid-row: 3; position: static; margin-top: 2.4rem; }
	.rq-stepper__track { left: 12.5%; right: 12.5%; top: 2rem; }
	.rq-stepper__circle { width: 4rem; height: 4rem; }
	.rq-stepper__num { font-size: 16px; }
	.rq-stepper__label { font-size: 11px; white-space: normal; text-align: center; line-height: 1.3; }
	.rq-stepper__btn { gap: .8rem; }
	.rq-step, .rq-step__head { gap: 2rem; }
	.rq-step__title { font-size: 28px; line-height: 1.15; }
	.rq-step__text { font-size: 15px; line-height: 1.6; }
	.rq-fields { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.rq-drop { height: auto; padding: 3.2rem 2rem; }
	.rq-drop__icon { width: 5.6rem; height: 5.6rem; }
	.rq-drop__text { white-space: normal; }
	.rq-files { gap: 1.2rem; }
	.rq-file { padding: 1.4rem; gap: 1.2rem; }
	.rq-file__top { flex-direction: column; gap: .2rem; }
	.rq-nav { flex-wrap: wrap; }
	.rq-nav__right { flex-wrap: wrap; justify-content: flex-end; }
	.rq-nav__error { width: 100%; }
	.rq-summary { padding: 3.2rem 2.4rem; }
	.rq-talk__phone { font-size: 26px; }
	.rq-success__icon { width: 7.2rem; height: 7.2rem; }
	.rq-get { padding: 7rem 0; }
	.rq-get__grid { grid-template-columns: 1fr 1fr; gap: 4rem 0; min-height: 0; }
	.rq-get__item:nth-child(3) { padding-left: 0; }
	.rq-get__item:nth-child(3)::before { display: none; }
	.rq-get__item + .rq-get__item::before { height: 100%; }
	.rq-get__num { font-size: 44px; line-height: 1.1; }
	.rq-get__title { margin-top: 1.6rem; width: auto; }
	.rq-get__text { width: auto; }
	.rq-get__item { padding-left: 2rem; }
}
@media (max-width: 600px) {
	.rq-get__grid { grid-template-columns: minmax(0, 1fr); }
	.rq-get__item, .rq-get__item:nth-child(3) { padding-left: 0; padding-top: 2.4rem; }
	.rq-get__item:first-child { padding-top: 0; }
	.rq-get__item + .rq-get__item::before, .rq-get__item:nth-child(3)::before { display: block; width: 100%; height: 1px; }
	.rq-nav .btn { padding-left: 2.4rem; padding-right: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
	.rq-stepper__item.is-current .rq-stepper__circle::after, .rq-drop.is-over .rq-drop__icon { animation: none; }
}
