/* Obrazac za upit: zaglavlje s naslovom i odabirom jezika (HR / EN / IT) gore desno. */
.kf__head{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px}
.kf__head .kf__title{grid-column:1;grid-row:1}
.kf__lang{grid-column:2;grid-row:1;justify-self:end}
.kf__langnote{grid-column:1/-1;grid-row:2;margin:0;font-size:14.5px;line-height:1.5;color:#6B6F71}
.kf__lang .wpcf7-form-control-wrap,.kf__lang .wpcf7-radio{display:inline-flex}
.kf__lang .wpcf7-radio{gap:2px;padding:3px;border-radius:999px;background:#F0F8F8;border:1px solid #CDE8EA}
.kf__lang .wpcf7-list-item{margin:0}
.kf__lang label{position:relative;display:inline-flex;cursor:pointer}
.kf__lang input[type=radio]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.kf__lang .wpcf7-list-item-label{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:36px;padding:0 10px;border-radius:999px;font-family:'Sora',system-ui,sans-serif;font-weight:600;font-size:13.5px;letter-spacing:.04em;color:#0F6B75;white-space:nowrap;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}
.kf__lang label:hover .wpcf7-list-item-label{background:#fff}
.kf__lang input:checked + .wpcf7-list-item-label{background:#075A68;color:#fff;box-shadow:0 2px 8px rgba(7,90,104,.25)}
.kf__lang input:focus-visible + .wpcf7-list-item-label{outline:3px solid #075A68;outline-offset:2px}
/* uska kartica (ne ekran!): odabir jezika ide ispod naslova */
.kf{container-type:inline-size}
@container (width < 480px){
  .kf__head{grid-template-columns:minmax(0,1fr)}
  .kf__lang{grid-column:1;grid-row:2;justify-self:start}
  .kf__langnote{grid-row:3}
}
@media (prefers-reduced-motion:reduce){.kf__lang .wpcf7-list-item-label{transition:none}}
/* zastavice uz oznake jezika (ukrasne; čitač ekrana čita HR / EN / IT) */
.kf__lang .wpcf7-list-item-label{gap:7px;padding:0 12px}
.kf__lang .wpcf7-list-item-label::before{content:"";flex:none;width:20px;height:14px;border-radius:3px;background:center/cover no-repeat;box-shadow:0 0 0 1px rgba(31,68,66,.14)}
.kf__lang input:checked + .wpcf7-list-item-label::before{box-shadow:0 0 0 1px rgba(255,255,255,.55)}
.kf__lang input[value=HR] + .wpcf7-list-item-label::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='30' height='20' fill='%23171796'/><rect width='30' height='13.33' fill='%23fff'/><rect width='30' height='6.67' fill='%23FF0000'/><path d='M11.5 5.2h7v6.3a3.5 3.5 0 0 1-7 0z' fill='%23fff' stroke='%23FF0000' stroke-width='.5'/><path d='M11.5 5.2h1.4v1.4h-1.4zM14.3 5.2h1.4v1.4h-1.4zM17.1 5.2h1.4v1.4h-1.4zM12.9 6.6h1.4V8h-1.4zM15.7 6.6h1.4V8h-1.4zM11.5 8h1.4v1.4h-1.4zM14.3 8h1.4v1.4h-1.4zM17.1 8h1.4v1.4h-1.4zM12.9 9.4h1.4v1.4h-1.4zM15.7 9.4h1.4v1.4h-1.4zM14.3 10.8h1.4v1.4h-1.4z' fill='%23FF0000'/></svg>")}
.kf__lang input[value=EN] + .wpcf7-list-item-label::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><clipPath id='a'><path d='M30 15h30v15zv15H0zH0V0zV0h30z'/></clipPath><rect width='60' height='30' fill='%23012169'/><path d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/><path d='M0 0l60 30M60 0L0 30' clip-path='url(%23a)' stroke='%23C8102E' stroke-width='4'/><path d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/><path d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/></svg>")}
.kf__lang input[value=IT] + .wpcf7-list-item-label::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%23009246'/><rect x='1' width='1' height='2' fill='%23fff'/><rect x='2' width='1' height='2' fill='%23CE2B37'/></svg>")}

/* uređeni padajući izbornik (assets/forms/select.js); izgled gumba = ostala polja obrasca */
.csel{position:relative}
.csel__native{position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0;pointer-events:none}
.csel__btn{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:0 14px 0 15px;border:1.5px solid #8B9795;border-radius:12px;background:#fff;font:inherit;font-size:16px;color:#55585A;text-align:left;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}
.csel__btn:hover{border-color:#0F6B75}
.csel__btn:focus-visible,.csel.is-open .csel__btn{outline:none;border-color:#0F6B75;box-shadow:0 0 0 4px rgba(15,107,117,.14)}
.csel.is-invalid .csel__btn{border-color:#C0392B}
.csel__val{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.csel__chev{flex:none;display:inline-flex;color:#0F6B75;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.csel.is-open .csel__chev{transform:rotate(180deg)}
.csel__list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;margin:0;padding:5px;list-style:none;max-height:420px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #E4E1DA;border-radius:16px;box-shadow:0 18px 40px rgba(31,68,66,.16);animation:cselIn .18s cubic-bezier(.2,.7,.2,1)}
.csel.is-up .csel__list{top:auto;bottom:calc(100% + 6px)}
.csel__list[hidden]{display:none}
@keyframes cselIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.csel.is-up .csel__list{animation-name:cselUp}
@keyframes cselUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.csel__opt{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;padding:6px 10px;border-radius:8px;font-size:15px;line-height:1.3;color:#55585A;cursor:pointer}
.csel__opt.is-active{background:#F0F8F8}
.csel__opt[aria-selected=true]{color:#075A68;font-weight:600}
.csel__check{flex:none;display:inline-flex;color:#075A68;opacity:0}
.csel__check svg{width:16px;height:16px}
.csel__opt[aria-selected=true] .csel__check{opacity:1}
@media (prefers-reduced-motion:reduce){.csel__btn,.csel__chev{transition:none}.csel__list{animation:none}}
