/* Contact / Get a quote page */

.quote { scroll-margin-top: 100px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.quote-form, .sent { grid-column: 1; }
.quote h1 { margin: 12px 0 10px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.quote .lead { margin: 0 0 26px; color: var(--muted); }

/* Reference picked from the portfolio ("Get one like this") */
.ref { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 10px 14px 10px 10px; border-radius: 18px; border: 1px solid rgba(41, 182, 236, 0.35); background: rgba(6, 151, 196, 0.12); }
.ref img { width: 44px; height: 60px; object-fit: cover; border-radius: 10px; }
.ref small { display: block; color: var(--muted); font-size: 0.78rem; }
.ref b { font-size: 0.95rem; }
.ref button { margin-left: auto; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--glass); cursor: pointer; color: var(--muted); }

/* ---------- Fields ---------- */
.field { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font: 600 0.72rem "Space Grotesk", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field legend { margin-bottom: 10px; padding: 0; }
.field small { font: 500 0.78rem Urbanist, sans-serif; letter-spacing: 0; text-transform: none; color: var(--muted); opacity: 0.8; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.field input, .field select, .field textarea, .ref-link {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--field);
  color: var(--text);
  font: 500 0.98rem Urbanist, sans-serif;
  outline: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--bg-raised); color: var(--text); }
.field input::placeholder, .field textarea::placeholder, .ref-link::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus, .ref-link:focus { border-color: rgba(41, 182, 236, 0.6); box-shadow: 0 0 0 4px rgba(41, 182, 236, 0.12); }
.field .invalid, .field.invalid .chips { border-color: rgba(255, 107, 107, 0.7) !important; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12); }
.counter { justify-self: end; }

/* Service picker: chips that can be toggled on/off */
.chips.pick { gap: 10px; padding: 2px; border-radius: 18px; }
.chips.pick .chip { height: 42px; padding: 0 16px; }
.chips.pick .chip::before { content: "+"; margin-right: 6px; opacity: 0.6; }
.chips.pick .chip[aria-pressed="true"]::before { content: "✓"; opacity: 1; }

/* Drag & drop upload */
.drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 26px 16px;
  border: 1.5px dashed rgba(41, 182, 236, 0.4);
  border-radius: 20px;
  background: rgba(6, 151, 196, 0.06);
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--spring);
}
.drop:hover, .drop.over { background: rgba(6, 151, 196, 0.14); border-color: var(--blue-bright); }
.drop.over { transform: scale(1.01); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 30px; height: 30px; color: var(--blue-bright); }
.drop strong { font-size: 0.95rem; }
.file-list { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--glass); font-size: 0.85rem; }
.file-list li small { color: var(--muted); }
.ref-link { margin-top: 4px; }

/* Honeypot: off-screen for people, still "visible" to bots that fill every field */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.consent a { color: var(--blue-bright); }
.consent.invalid { color: #ff8f8f; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-big { height: 54px; padding: 0 1.7rem; font-size: 1rem; }
.form-error { margin: 14px 0 0; color: #ff8f8f; font-weight: 600; }

/* Success state */
.sent { padding: 40px 0; text-align: center; }
.sent-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent-grad); color: #02121b; box-shadow: 0 16px 40px -10px rgba(41, 182, 236, 0.7); animation: pop 0.7s var(--spring); }
.sent-icon svg { width: 36px; height: 36px; }
.sent h2 { font-size: 2rem; }
.sent p { max-width: 440px; margin: 12px auto 26px; color: var(--muted); }
.sent .cta-actions { justify-content: center; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* ---------- What happens next ---------- */
.next { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 110px; padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--field); }
.next h2 { font-size: 1.25rem; margin-bottom: 18px; }
.steps { display: grid; gap: 16px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 2px; padding-left: 46px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-grad); color: #02121b; font-weight: 700; font-size: 0.9rem; }
.steps b { font-size: 0.95rem; }
.steps span { font-size: 0.85rem; color: var(--muted); }
.facts { display: grid; gap: 8px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--field); transition: background 0.3s, border-color 0.3s; }
.faq details[open] { background: var(--glass-strong); border-color: rgba(41, 182, 236, 0.3); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.1rem; transition: transform 0.45s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { overflow: hidden; }
.faq .answer p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

@media (max-width: 1180px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .next { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 720px) {
  .row-2 { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }
}
