/* Offerte page */
.q-intro { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); background: var(--mint); }
.q-intro h1 { font-size: clamp(2.6rem, 5.5vw, 4.25rem); margin-bottom: 1rem; }
.q-intro .lead { max-width: 52ch; margin: 0; }
.q-layout { display: grid; gap: 3rem; padding-block: clamp(40px, 5vw, 64px) var(--section); }
@media (min-width: 1024px) { .q-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; align-items: start; } .q-side { position: sticky; top: 100px; } }

/* Progress */
.progress { margin-bottom: 2rem; }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.progress li { padding-top: .75rem; border-top: 4px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--muted); }
.progress li.is-done { border-top-color: var(--sage); color: var(--ink); }
.progress li.is-current { border-top-color: var(--green); color: var(--green-dark); }
.progress__label { display: none; margin: .75rem 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 639px) { .progress li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .progress__label { display: block; } }

.q-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); background: #fff; box-shadow: 0 1px 2px rgba(10, 61, 38, .04); }
.step h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: .4rem; outline: none; }
.step .intro { color: var(--muted); margin-bottom: 2rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
legend { padding: 0; margin-bottom: .75rem; }

/* Choice tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { position: relative; }
.tile input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.tile span { display: flex; align-items: center; height: 100%; min-height: 54px; padding: .65rem .9rem; border: 1.5px solid #c7d3cb; border-radius: var(--radius); font-weight: 500; line-height: 1.25; color: var(--ink); background: #fff; transition: border-color .15s, background-color .15s; }
.tile input:hover + span { border-color: var(--green); }
.tile input:checked + span { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); color: var(--green-deep); font-weight: 600; }
.tile input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.tiles--tech { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles--tech { grid-template-columns: 1fr 1fr; } }
.tiles--tech span { flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; padding: .85rem 1rem; }
.tiles--tech b { font: 600 1.2rem/1.1 var(--f-head); }
.tiles--tech small { font-size: .88rem; color: var(--muted); font-weight: 400; }

/* Positions */
.positions { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .positions { grid-template-columns: 1fr 1fr; align-items: start; } }
.garments { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: 1rem; background: var(--mint); border-radius: var(--radius); }
.garments figure { margin: 0; text-align: center; }
.garments svg { width: 100%; height: auto; }
.garments figcaption { font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.shirt { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.zone { fill: transparent; stroke: var(--sage); stroke-width: 1.3; stroke-dasharray: 3 3; cursor: pointer; transition: fill .2s; }
.zone:hover { fill: rgba(19, 117, 71, .15); }
.zone.on { fill: var(--green); stroke: var(--green); stroke-dasharray: none; }
.pos-list { display: grid; gap: .55rem; }

/* Upload */
.drop { position: relative; display: grid; justify-items: center; gap: .4rem; text-align: center; padding: 2.5rem 1rem; border: 2px dashed #a9bcb1; border-radius: var(--radius); background: var(--mint); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--green); background: var(--mint-2); }
.drop:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
.drop svg { width: 40px; height: 40px; color: var(--green); }
.drop strong { font: 600 1.4rem/1.15 var(--f-head); color: var(--ink); }
.drop u { color: var(--green); text-underline-offset: .2em; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.files { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.files li { display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.files .ext { flex: none; min-width: 44px; padding: .3rem .4rem; border-radius: 3px; background: var(--green); color: #fff; font-weight: 600; font-size: .75rem; text-align: center; text-transform: uppercase; }
.files .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.files .size { color: var(--muted); white-space: nowrap; }
.files button { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--muted); font: 600 .9rem var(--f-body); cursor: pointer; text-decoration: underline; }
.files button:hover { color: #b42318; }

/* Nav */
.step-nav { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step-nav .spacer { flex: 1; }
.back { min-height: 44px; border: 0; background: none; padding: 0; font: 600 1rem var(--f-body); color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.back:hover { color: var(--green); }

/* Summary */
.summary { margin-bottom: 2rem; padding: 1.25rem 1.5rem; background: var(--mint); border-radius: var(--radius); }
.summary h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; font-size: .97rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Thank-you */
.done h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: .75rem; outline: none; }
.next { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0; }
.next li { position: relative; padding: 0 0 1.75rem 2.25rem; }
.next li::before { content: ""; position: absolute; left: 0; top: .4rem; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--mint-2); }
.next li::after { content: ""; position: absolute; left: 6px; top: 1.6rem; bottom: 0; width: 2px; background: var(--mint-2); }
.next li:last-child::after { display: none; }
.next h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.next p { margin: 0; color: var(--muted); }

/* Side */
.side { background: var(--green-deep); color: #d5e3da; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); }
.side h2 { color: #fff; font-size: 1.9rem; margin-bottom: 1.25rem; }
.side ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.side li { padding-left: 1.5rem; position: relative; line-height: 1.5; }
.side li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.side li b { display: block; color: #fff; font-weight: 600; }
.side__direct { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.5rem; }
.side__direct p { margin-bottom: .4rem; }
.side__phone { display: block; font: 600 2.4rem/1 var(--f-head); color: #fff; text-decoration: none; margin-bottom: 1.25rem; }
.side__phone:hover { color: #fff; text-decoration: underline; }
.side .btn { width: 100%; }
.side__mail { display: inline-block; margin-top: 1rem; color: #fff; }
.side__mail:hover { color: #fff; }
.side-photo { margin-top: 1.5rem; --ar: 4 / 3; --pos: 50% 20%; }
@media (max-width: 1023px) { .side-photo { display: none; } }
