/* ============================================================
   interest.css — «Εκδήλωση ενδιαφέροντος συνεργασίας» (page_kind=interest)
   Διαδραστικές κάρτες υπηρεσιών + dual-range budget + φόρμα.
   Χρησιμοποιεί τα design tokens του site (--ink,--teal,--mist,--line,...).
   ============================================================ */
.if-wrap{max-width:var(--maxw);margin:0 auto}   /* ίδιο πλάτος με το wrap του τίτλου */
.if-block{margin:0 0 30px}
.if-block-head{margin:0 0 18px}
.if-block-head.center{text-align:center}
.if-block-head h2{font-size:clamp(21px,2.6vw,27px);color:var(--ink);margin:0 0 6px;letter-spacing:-.01em}
.if-block-head p{color:#5b6b68;font-size:15.5px;margin:0}

/* ---- Κάρτες υπηρεσιών ---- */
.if-services{display:flex;flex-direction:column;gap:13px}
.if-card{
  background:#fff;border:1.5px solid var(--line);border-radius:var(--r-md,16px);
  overflow:hidden;box-shadow:0 2px 10px rgba(9,63,59,.04);
  transition:border-color .35s var(--ease,ease),box-shadow .35s var(--ease,ease),transform .35s var(--ease,ease)
}
.if-card:hover{box-shadow:0 10px 30px rgba(9,63,59,.10);transform:translateY(-2px)}
.if-card.on{border-color:var(--teal,#12B5AC);box-shadow:0 12px 34px rgba(18,181,172,.18)}
.if-card-head{
  width:100%;display:flex;align-items:center;gap:16px;padding:17px 20px;
  background:none;border:none;cursor:pointer;text-align:left;font:inherit;outline:none
}
.if-card-head:focus,.if-card-head:focus-visible{outline:none}
.if-dot{
  flex:none;width:26px;height:26px;border-radius:50%;border:2px solid #cfe0dd;
  display:grid;place-items:center;transition:.35s var(--ease,ease);background:#fff
}
.if-dot svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .4s ease .05s}
.if-card.on .if-dot{background:var(--teal,#12B5AC);border-color:var(--teal,#12B5AC)}
.if-card.on .if-dot svg{stroke-dashoffset:0}
.if-label{flex:1;font-weight:700;font-size:17px;color:var(--ink);transition:color .3s}
.if-card.on .if-label{color:var(--teal-deep,#0c7a73)}
.if-ic{
  flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:#e9f6f4;transition:.4s var(--ease,ease)
}
.if-ic svg{width:24px;height:24px;fill:none;stroke:var(--teal,#12B5AC);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:stroke .35s}
.if-card.on .if-ic{background:var(--teal,#12B5AC);transform:scale(1.06)}
.if-card.on .if-ic svg{stroke:#fff}

/* ---- Budget panel (collapsible) ---- */
.if-budget{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease,ease)}
.if-card.on .if-budget{grid-template-rows:1fr}
.if-budget-in{overflow:hidden;min-height:0}
.if-budget .if-budget-pad{}
.if-card.on .if-budget-in{padding:4px 20px 22px}
.if-budget-in>*{opacity:0;transition:opacity .35s ease}
.if-card.on .if-budget-in>*{opacity:1;transition-delay:.15s}
.if-budget-lbl{display:block;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7d8c89;margin:6px 0 16px}

/* ---- «Άλλο» -> Περιγραφή Project (mint panel + textarea) ---- */
.if-note .if-budget-in{background:var(--mist,#eef6f4)}
.if-card.on .if-note .if-budget-in{padding:16px 20px 22px}
.if-note-lbl{display:block;color:var(--teal-deep,#0c7a73);font-weight:700;font-size:15px;margin:4px 0 12px}
.if-note-ta{width:100%;border:none;background:transparent;padding:0;font:inherit;font-size:15px;line-height:1.55;color:var(--ink);resize:vertical;min-height:92px;outline:none}
.if-note-ta::placeholder{color:#8aa39e}

/* ---- Dual range slider ---- */
.if-range{position:relative;height:34px}
.if-range-track{position:absolute;top:50%;left:9px;right:9px;height:5px;transform:translateY(-50%);border-radius:6px;background:#d7e7e4}
.if-range-fill{position:absolute;top:0;bottom:0;border-radius:6px;background:linear-gradient(90deg,var(--teal,#12B5AC),var(--teal-deep,#0c7a73))}
.if-range input[type=range]{
  position:absolute;top:0;left:0;width:100%;height:34px;margin:0;background:none;pointer-events:none;
  -webkit-appearance:none;appearance:none
}
.if-range input[type=range]::-webkit-slider-runnable-track{background:none;height:34px}
.if-range input[type=range]::-moz-range-track{background:none;height:34px}
.if-range input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;pointer-events:auto;width:20px;height:20px;border-radius:50%;
  background:#fff;border:2px solid var(--teal,#12B5AC);box-shadow:0 2px 8px rgba(9,63,59,.22);cursor:grab;
  margin-top:7px;transition:transform .15s,box-shadow .2s
}
.if-range input[type=range]::-moz-range-thumb{
  pointer-events:auto;width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--teal,#12B5AC);
  box-shadow:0 2px 8px rgba(9,63,59,.22);cursor:grab
}
.if-range input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.14)}
.if-range input[type=range]::-webkit-slider-thumb:active{cursor:grabbing;box-shadow:0 0 0 6px rgba(18,181,172,.18)}
.if-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 6px rgba(18,181,172,.28)}

/* ---- ΑΠΟ / ΕΩΣ number inputs ---- */
.if-range-io{display:flex;justify-content:space-between;gap:14px;margin-top:12px}
.if-io{position:relative;display:flex;align-items:center;gap:8px;flex:1}
.if-io span{font-size:12px;font-weight:700;color:#8a9895;letter-spacing:.06em}
.if-io input{
  flex:1;min-width:0;border:1.5px solid var(--line);border-radius:10px;padding:9px 26px 9px 12px;
  font:600 15px/1 inherit;color:var(--ink);background:#fff;transition:border-color .25s,box-shadow .25s;-moz-appearance:textfield
}
.if-io input::-webkit-outer-spin-button,.if-io input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.if-io input:focus{outline:none;border-color:var(--teal,#12B5AC);box-shadow:0 0 0 3px rgba(18,181,172,.14)}
.if-io i{position:absolute;right:11px;font-style:normal;color:#8a9895;font-weight:700;pointer-events:none}

/* ---- Φόρμα ---- */
/* ---- Φόρμα σε full-width teal band (χωρίς border/card) ---- */
.if-contact{
  margin:44px calc(50% - 50vw) 0;              /* full-bleed: πιάνει όλο το πλάτος οθόνης */
  background:var(--teal,#12B5AC);border:0;border-radius:0;box-shadow:none;
  padding:clamp(40px,6vw,64px) 0 clamp(46px,7vw,72px)   /* το οριζόντιο padding το δίνει το εσωτερικό .wrap */
}
.if-contact-in{width:100%}                       /* εσωτερικό wrap -> ευθυγράμμιση με τον τίτλο */
.if-fields{max-width:none;margin:0}              /* πλήρες πλάτος wrap — ίδιο με κάρτες/τίτλο */
/* newsletter box + κουμπί ΑΠΟΣΤΟΛΗ: normal width, αριστερή στοίχιση (όχι full-width) */
.if-contact .if-news{max-width:520px}
.if-contact .if-send{width:auto;min-width:240px;margin-left:0}
.if-contact .if-block-head h2{color:#fff}
.if-contact .ct-field label{color:#fff;font-weight:600}
.if-contact .req{color:#ffe08a}
.if-contact .ct-input{
  background:transparent;border:0;border-bottom:2px solid rgba(255,255,255,.45);border-radius:0;
  color:#fff;padding:10px 2px;transition:border-color .25s
}
.if-contact .ct-input::placeholder{color:rgba(255,255,255,.7)}
.if-contact .ct-input:focus{outline:none;border-bottom-color:#fff;box-shadow:none}
.if-contact textarea.ct-input{border:2px solid rgba(255,255,255,.4);border-radius:12px;background:rgba(255,255,255,.08);padding:12px 14px}
.if-contact .if-reqnote{color:rgba(255,255,255,.82)}
.if-contact .ct-consent,.if-contact .ct-consent span{color:#fff}
.if-contact .ct-consent a{color:#fff;text-decoration:underline;font-weight:600}
.if-contact .if-news{background:rgba(255,255,255,.15);color:#fff}
.if-contact .if-news:hover{background:rgba(255,255,255,.22)}
.if-contact .if-news input{accent-color:#fff}
.if-contact .if-send{background:#fff;color:var(--teal-deep,#0c7a73)}
.if-contact .if-send:hover{background:#eefaf8}
/* custom dropdown κλάδων -> underline πάνω στο teal (το panel μένει λευκό) */
.if-contact .if-ind-trigger{background:transparent;border:0;border-bottom:2px solid rgba(255,255,255,.45);border-radius:0;color:#fff;padding:11px 2px}
.if-contact .if-ind-trigger:hover{border-bottom-color:rgba(255,255,255,.75)}
.if-contact .if-ind.open .if-ind-trigger{border-bottom-color:#fff;box-shadow:none}
.if-contact .if-ind-value.ph{color:rgba(255,255,255,.72)}
.if-contact .if-ind-chev{stroke:#fff}
.if-contact .ct-ok{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.32)}
.if-contact .ct-ok.ct-ok--err{background:rgba(214,69,69,.92);border-color:transparent}
/* λίγο μεγαλύτερες γραμματοσειρές στη φόρμα */
.if-contact .ct-field label{font-size:16px}
.if-contact .ct-input,.if-contact .if-ind-trigger,.if-contact .if-ind-value{font-size:16.5px}
.if-contact .if-opt,.if-contact .if-grp-head{font-size:15.5px}
.if-contact .ct-consent,.if-contact .ct-consent span,.if-contact .if-news{font-size:15px}
.if-contact .if-reqnote{font-size:13.5px}
.if-contact .if-block-head h2{font-size:clamp(24px,3vw,31px)}

/* ---- anti-spam honeypot (κρυφό από χρήστες) ---- */
.if-hp{position:absolute!important;left:-9999px;top:-9999px;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
/* ---- loading spinner στο κουμπί ΑΠΟΣΤΟΛΗ ---- */
.if-send.if-loading{pointer-events:none;opacity:.92}
.if-spin{display:inline-block;width:16px;height:16px;border:2px solid rgba(12,122,115,.3);border-top-color:var(--teal-deep,#0c7a73);border-radius:50%;vertical-align:-3px;margin-right:9px;animation:if-spin .7s linear infinite}
@keyframes if-spin{to{transform:rotate(360deg)}}
.if-reqnote{font-size:12.5px;color:#9aa7a4;margin:2px 0 20px}
.if-news{display:flex;gap:11px;align-items:flex-start;margin:14px 0 4px;padding:12px 14px;border-radius:12px;background:var(--mist,#eef6f4);cursor:pointer;font-size:14.5px;color:var(--ink);transition:background .25s}
.if-news:hover{background:#e4f1ee}
.if-news input{margin-top:2px;accent-color:var(--teal,#12B5AC);width:17px;height:17px;flex:none}
.if-send{width:100%;justify-content:center;margin-top:22px;letter-spacing:.04em}
.if-err{color:var(--coral,#ff5a5f);font-size:14px;font-weight:600;margin:12px 2px 0}

/* ---- Custom ιεραρχικό dropdown κλάδων (multi-select) ---- */
.if-ind{position:relative}
.if-ind-trigger{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;
  font:inherit;font-size:15.5px;color:var(--ink);cursor:pointer;text-align:left;transition:border-color .25s,box-shadow .25s
}
.if-ind-trigger:hover{border-color:#bcd6d1}
.if-ind.open .if-ind-trigger{border-color:var(--teal,#12B5AC);box-shadow:0 0 0 3px rgba(18,181,172,.12)}
.if-ind-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.if-ind-value.ph{color:#8a9895}
.if-ind-chev{width:20px;height:20px;flex:none;fill:none;stroke:#7d8c89;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease,ease)}
.if-ind.open .if-ind-chev{transform:rotate(180deg)}
.if-ind-panel{
  position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:40;
  background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(9,63,59,.16);
  max-height:330px;overflow:auto;padding:6px;
  opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .25s,transform .25s,visibility .25s
}
.if-ind.open .if-ind-panel{opacity:1;visibility:visible;transform:translateY(0)}
.if-opt{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;cursor:pointer;font-size:14.5px;color:var(--ink);transition:background .18s}
.if-opt:hover{background:var(--mist,#eef6f4)}
.if-opt.sub{padding-left:26px;font-size:14px}
.if-check{flex:none;width:20px;height:20px;border-radius:6px;border:2px solid #cfe0dd;display:grid;place-items:center;background:#fff;transition:.25s}
.if-check svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .3s}
.if-opt.on .if-check{background:var(--teal,#12B5AC);border-color:var(--teal,#12B5AC)}
.if-opt.on .if-check svg{stroke-dashoffset:0}
.if-opt.on .if-opt-t{color:var(--teal-deep,#0c7a73);font-weight:600}
.if-grp-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;background:none;border:none;font:inherit;font-size:14.5px;font-weight:700;color:var(--ink);cursor:pointer;border-radius:9px;transition:background .18s}
.if-grp-head:hover{background:var(--mist,#eef6f4)}
.if-grp-chev{width:18px;height:18px;flex:none;fill:none;stroke:#7d8c89;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.if-grp.open .if-grp-chev{transform:rotate(180deg)}
.if-grp-sub{max-height:0;overflow:hidden;transition:max-height .35s var(--ease,ease)}
.if-grp.open .if-grp-sub{max-height:360px}
.if-ind-trigger.err{border-color:var(--coral,#ff5a5f)}

@media (max-width:560px){
  .if-card-head{padding:15px 16px;gap:12px}
  .if-ic{width:40px;height:40px}.if-ic svg{width:21px;height:21px}
  .if-range-io{flex-direction:column;gap:10px}
}
