/* =========================================================
   3KITS — Form extras (Contact + Careers)
   Answer chips (real checkboxes/radios styled as pills), the CV drop zone
   and the submit row. Fields, checkbox and status come from style3.css.
   ========================================================= */

/* a question answered by tapping chips */
.cf-group { min-width: 0; margin: 0 0 clamp(24px, 2.6vw, 36px); padding: 0; border: 0; }
.cf-group legend { margin-bottom: 14px; padding: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cf-group legend b { margin-right: 10px; font-weight: 400; color: var(--orange); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-chip { position: relative; cursor: pointer; }
.cf-chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.cf-chip span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 15px; line-height: 1.2; color: var(--muted); transition: color .3s, border-color .3s, background .3s, transform .5s var(--ease); }
.cf-chip span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.cf-chip:hover span { color: var(--text); border-color: rgba(255, 255, 255, .42); }
.cf-chip input:checked + span { color: var(--text); border-color: var(--orange); background: rgba(242, 117, 26, .12); }
.cf-chip input:checked + span::before { border-color: transparent; background: var(--grad); transform: scale(1.3); }
.cf-chip input:active + span { transform: scale(.96); }
.cf-chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }

/* CV upload: the real file input covers the whole box, so click and drop both work */
.cf-drop { position: relative; display: grid; justify-items: center; gap: 6px; margin-top: 26px; padding: 28px 20px; border: 1.5px dashed var(--line-2); border-radius: 18px; text-align: center; color: var(--muted); font-size: 15px; transition: border-color .3s, background .3s; }
.cf-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cf-drop svg { width: 34px; height: 34px; margin-bottom: 4px; fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.cf-drop strong { font-weight: 500; color: var(--text); }
.cf-drop small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.cf-drop:hover, .cf-drop.is-over { border-color: var(--orange); background: rgba(242, 117, 26, .06); }
.cf-drop:hover svg, .cf-drop.is-over svg { transform: translateY(-4px); }
.cf-drop.has-file { border-style: solid; border-color: var(--green); background: rgba(124, 194, 66, .06); }
.cf-drop.has-file svg { stroke: var(--green); }
.cf-drop.is-error { border-color: var(--pink); }
.cf-drop:focus-within { outline: 2px solid var(--orange); outline-offset: 3px; }

.cf-fields { margin-top: 6px; }
.cf-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cf-submit .btn { gap: 14px; }
.cf-submit .btn svg { position: relative; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.cf-submit .btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.cf-submit .form__note { margin: 0; }

@media (max-width: 700px) {
  .form__grid { grid-template-columns: 1fr; }
  .cf-chip span { padding: 10px 15px; font-size: 14px; }
}
