/* ═══════════════════════════════════════════════════════════════
   offer.agirosis.gr — Ζήτησε προσφορά (landing + φόρμα RFQ)
   Οικογένεια: my.agirosis.gr / eKentro / rSchool / eLeni
   ═══════════════════════════════════════════════════════════════ */
:root {
  --brand: #ED1D24;
  --brand-dark: #c8151b;
  --brand-soft: #fdeaea;
  --ink: #16181d;
  --text: #24262c;
  --muted: #6b7280;
  --line: #e6e8ee;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ok: #16a34a;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(22, 24, 29, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); background: var(--surface);
  font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; }
a { color: inherit; }

/* ─── Top bar ─── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.bar .logo { height: 34px; display: block; }
.tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink);
  padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.tel:hover { border-color: var(--brand); color: var(--brand); }
.tel i { width: 17px; height: 17px; color: var(--brand); }
.tel .tel-sub { display: none; }
@media (min-width: 640px) {
  .tel { padding: 8px 16px; }
  .tel .tel-sub { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); }
  .tel .tel-wrap { display: flex; flex-direction: column; line-height: 1.25; }
}

/* ─── Hero ─── */
.hero {
  background:
    radial-gradient(56% 90% at 85% -10%, rgba(237, 29, 36, .09), transparent 60%),
    radial-gradient(40% 70% at -5% 20%, rgba(237, 29, 36, .05), transparent 55%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 34px; padding: 44px 0 54px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 460px; gap: 48px; padding: 58px 0 72px; align-items: start; }
  .form-col { position: sticky; top: 82px; }
}
.overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--brand);
  text-transform: uppercase; margin-bottom: 14px;
}
.overline::before { content: ''; width: 22px; height: 2.5px; background: var(--brand); border-radius: 2px; }
h1 { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.12; letter-spacing: -.022em; color: var(--ink); font-weight: 800; }
h1 .red { color: var(--brand); }
.lead { font-size: clamp(16px, 2.4vw, 18.5px); color: var(--muted); margin: 16px 0 22px; max-width: 46ch; }
.benefits { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; color: var(--ink); }
.benefits i { width: 19px; height: 19px; color: var(--ok); flex: none; margin-top: 2px; }
.benefits li span b { color: var(--brand); }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero-note i { width: 15px; height: 15px; }

/* ─── Κάρτα φόρμας ─── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.form-card { padding: 26px 24px 24px; }
.form-head { margin-bottom: 18px; }
.form-head h2 { font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.form-head p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.f-sec {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 20px 0 10px; display: flex; align-items: center; gap: 8px;
}
.f-sec::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.f-sec:first-of-type { margin-top: 0; }

/* γραμμές προϊόντων */
.item-row { position: relative; display: flex; gap: 8px; margin-bottom: 8px; }
.item-row .ac-box { position: relative; flex: 1; min-width: 0; }
.inp {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 11px; background: var(--surface);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none;
}
.inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(237, 29, 36, .12); }
.inp::placeholder { color: #a6adba; }
.qty { width: 82px; flex: none; text-align: center; }
.row-x {
  flex: none; width: 42px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--surface); color: var(--muted); font-size: 17px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.row-x:hover { color: var(--brand); border-color: var(--brand); }
.ac-list {
  position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 30;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(22, 24, 29, .14); overflow: hidden; max-height: 264px; overflow-y: auto;
}
.ac-item { padding: 10px 13px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.ac-item:hover, .ac-item.sel { background: var(--brand-soft); }
.ac-item .t { font-weight: 600; font-size: 14px; color: var(--ink); }
.ac-item .s { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.ac-empty { padding: 12px 13px; font-size: 13px; color: var(--muted); }
/* επιλεγμένο προϊόν */
.item-row.picked .ac-box {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  border: 1.5px solid var(--line); border-radius: 11px; background: var(--surface-2);
}
.picked .p-sku {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
  color: var(--brand); background: var(--brand-soft); border-radius: 7px; padding: 3px 8px; flex: none;
}
.picked .p-name { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.add-row {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 2px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--brand);
  background: none; border: none; cursor: pointer; padding: 7px 4px;
}
.add-row:hover { text-decoration: underline; }
.add-row i { width: 16px; height: 16px; }
.add-row.alt { color: var(--muted); }
.add-row.alt:hover { color: var(--ink); }
.paste-box { margin: 8px 0 4px; padding: 12px; background: var(--surface-2); border: 1px dashed var(--line); border-radius: 12px; }
.paste-box textarea { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; }
.paste-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.btn-go.sm { width: auto; margin: 0; padding: 10px 16px; font-size: 13.5px; border-radius: 10px; box-shadow: none; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* στοιχεία */
.f-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.f-grid .full { grid-column: 1 / -1; }
label.fld { display: block; }
label.fld .lab { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
label.fld .lab small { font-weight: 500; color: var(--muted); }
textarea.inp { resize: vertical; min-height: 74px; }
/* honeypot */
.hp-field { position: absolute; left: -6000px; top: -6000px; opacity: 0; height: 0; overflow: hidden; }

.btn-go {
  width: 100%; margin-top: 18px; padding: 15px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 16.5px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #f5343a, var(--brand) 55%, var(--brand-dark));
  border: none; border-radius: 13px; cursor: pointer;
  box-shadow: 0 8px 22px rgba(237, 29, 36, .32);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn-go:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-go:active { transform: translateY(0); }
.btn-go:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-go i { width: 19px; height: 19px; }
.sla { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.sla i { width: 15px; height: 15px; color: var(--brand); }
.privacy { margin-top: 9px; text-align: center; font-size: 11.8px; color: var(--muted); }

/* ─── Βήματα (multi-step) ─── */
.prog { margin-bottom: 16px; }
.prog-bar { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
.prog-bar span {
  display: block; height: 100%; width: 33.3%; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #f5343a); transition: width .3s ease;
}
.prog-lab { margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.panel { animation: pin .22s ease; }
@keyframes pin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.q-lab { font-size: 13.5px; font-weight: 800; color: var(--ink); margin: 4px 0 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips button {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 15px; cursor: pointer; transition: all .13s; min-height: 44px;
}
.chips button i { width: 16px; height: 16px; color: var(--muted); }
.chips button:hover { border-color: #cfd3dc; }
.chips button.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.chips button.on i { color: var(--brand); }
.chips.small button { padding: 8px 14px; min-height: 40px; font-size: 13.5px; }
.nav2 { display: flex; gap: 10px; align-items: stretch; margin-top: 16px; }
.nav2 .back {
  flex: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted);
  background: none; border: 1.5px solid var(--line); border-radius: 13px; padding: 0 16px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.nav2 .back:hover { color: var(--ink); border-color: #cfd3dc; }
.nav2 .btn-go { margin-top: 0; flex: 1; }
.micro { display: block; margin-top: 5px; font-size: 11.8px; color: var(--muted); }
.panel .btn-go { margin-top: 16px; }
.panel .privacy { margin-top: 10px; }

/* ─── Επιτυχία ─── */
.ok-card { padding: 34px 26px; text-align: center; }
.ok-ic {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(22, 163, 74, .35);
}
.ok-ic i { width: 32px; height: 32px; }
.ok-card h2 { font-size: 23px; color: var(--ink); letter-spacing: -.015em; }
.ok-ref {
  display: inline-block; margin: 10px 0 18px; font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 6px 14px; border-radius: 999px;
}
.ok-steps { text-align: left; display: grid; gap: 13px; margin: 6px auto 20px; max-width: 360px; }
.ok-step { display: flex; gap: 12px; align-items: flex-start; }
.ok-step .n {
  flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.ok-step.done .n { background: var(--ok); color: #fff; }
.ok-step .t { font-size: 14px; color: var(--ink); }
.ok-step .t b { display: block; }
.ok-step .t small { color: var(--muted); }
.ok-tel { font-size: 13.5px; color: var(--muted); }
.ok-tel a { color: var(--brand); font-weight: 700; text-decoration: none; }

/* ─── Πώς δουλεύει ─── */
section.how { padding: 58px 0; }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(23px, 3.6vw, 30px); letter-spacing: -.02em; color: var(--ink); }
.sec-head p { color: var(--muted); margin-top: 6px; }
.steps { display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; }
.step .num {
  position: absolute; top: -13px; left: 20px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 13px rgba(237, 29, 36, .35);
}
.step i { width: 26px; height: 26px; color: var(--brand); margin-bottom: 11px; }
.step h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 5px; }
.step p { font-size: 13.8px; color: var(--muted); }

/* ─── Εμπιστοσύνη ─── */
section.trust { background: var(--ink); color: #fff; padding: 52px 0; }
.trust-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 46px; } }
.trust h2 { font-size: clamp(21px, 3.2vw, 27px); letter-spacing: -.02em; margin-bottom: 12px; }
.trust p { color: #c6c9d2; font-size: 14.5px; max-width: 52ch; }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.tstat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 13px; padding: 14px 12px; }
.tstat b { display: block; font-size: 21px; letter-spacing: -.02em; color: #fff; }
.tstat b span { color: var(--brand); }
.tstat small { font-size: 11.8px; color: #b9bdc9; }
.t-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px; }
.t-card .row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 14px; color: #e6e8ef; }
.t-card .row i { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.t-card .row a { color: #fff; font-weight: 600; text-decoration: none; }
.t-card .row a:hover { text-decoration: underline; }

/* ─── FAQ ─── */
section.faq { padding: 58px 0 66px; background: var(--surface-2); border-top: 1px solid var(--line); }
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 0 18px; overflow: hidden;
}
details summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding: 15px 0; font-weight: 700; font-size: 15px; color: var(--ink);
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 20px; font-weight: 500; color: var(--brand); transition: transform .18s; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 0 16px; font-size: 14px; color: var(--muted); }

/* ─── Footer ─── */
footer { padding: 26px 0 34px; }
.foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 12.8px; color: var(--muted); }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--brand); }

/* ─── Toast ─── */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 80px); z-index: 90;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
  opacity: 0; transition: transform .25s, opacity .25s; max-width: 90vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.err { background: var(--brand-dark); }

/* κινητό: κολλητό κουμπί κλήσης κάτω δεν χρειάζεται — η φόρμα είναι ψηλά */
@media (max-width: 400px) {
  .f-grid { grid-template-columns: 1fr; }
  .qty { width: 72px; }
}
