/* Ασφαλιστική Συνείδηση — κοινό φύλλο στυλ (ελληνικά και αγγλικά)
   Οπτική κατεύθυνση «Δ» (minimal, χαρούμενη) με τα χρώματα της εφαρμογής Insurance (2026-11-09). Γραμματοσειρά Manrope (OFL), τοπικά στο assets/fonts/.
   Εικόνες στο assets/img/. Τα χρώματα ορίζονται ΜΟΝΟ εδώ ως tokens. Έλεγχος αντίθεσης: node tools/contrast-check.mjs */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-03FF, U+1F00-1FFF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  /* Φωτεινό θέμα: χρώματα της εφαρμογής Insurance (2026-11-09, εντολή του Φώτη): μπλε #1E40AF και #2563EB, φόντο #F5F7FA, κείμενο #0F172A.
     Παράγωγα (όχι από την εφαρμογή, για αντίθεση WCAG): --field-line #64748B (περίγραμμα πεδίων). Σκούρο θέμα: ΔΕΝ υπάρχει (αφαιρέθηκε 2026-11-09, εντολή Φώτη «α»). Παλιό «σούρουπο»: στο git, commit ea8bc21. */
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --mist: #EFF6FF;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --field-line: #64748B;
  --brand: #2563EB;          /* σύνδεσμοι / κείμενο σε έντονο χρώμα */
  --brand-strong: #1E40AF;   /* hover συνδέσμων */
  --btn: #2563EB;            /* κύριο κουμπί (μπλε) */
  --btn-hover: #1E40AF;
  --on-btn: #FFFFFF;
  --panel-btn: #FFFFFF;      /* κουμπί πάνω στο σκούρο πάνελ κλεισίματος της αρχικής (μπλε σε ναυτικό δεν φτάνει 3:1) */
  --panel-btn-hover: #DBEAFE;
  --on-panel-btn: #0F172A;
  --coral: #2563EB;          /* μόνο διακόσμηση */
  --on-coral: #FFFFFF;
  --rose: #DBEAFE;
  --peach: #EFF6FF;
  --hill: #2563EB;           /* μόνο διακόσμηση */
  --mark-sun: #DBEAFE;
  --mark-hill: #1E40AF;
  --focus: #2563EB;
  --on-image: #FFFFFF;       /* κείμενο πάνω σε φωτογραφία, πάντα με scrim */
  --scrim: #0F172A;
  --scrim-strength: .74;     /* ελάχιστη αδιαφάνεια του scrim πίσω από το κείμενο */
  --band-ink: #0F172A;
  --footer-bg: #0F172A;
  --footer-ink: #F5F7FA;
  --footer-muted: #CBD5E1;
  --footer-link: #FFFFFF;
  --footer-line: rgba(255, 255, 255, .14);
  --footer-focus: #DBEAFE;
  --card-shadow: 0 18px 44px rgba(15, 23, 42, .10);
  /* Placeholders: αμετάβλητα */
  --ph-bg: #FFF1C2;
  --ph-border: #C99A16;
  --ph-ink: #4A3600;
  --ok: #065F46;
  --err: #B91C1C;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 72rem;
  --radius: 24px;
  --header-h: 4.15rem;      /* ύψος κεφαλίδας (= 66,4px) */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.75rem); }
/* Στις εσωτερικές σελίδες (μακριά νομικά κείμενα) ο τίτλος μένει μεγάλος αλλά πιο ήρεμος. */
main:not(.home) h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 0; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }

p, ul, ol, dl { margin: 0 0 1em; }
strong { font-weight: 700; }

a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 1.5rem; } }

/* Skip link */
.skip {
  position: absolute; left: .5rem; top: -5rem;
  background: var(--btn); color: var(--on-btn);
  padding: .8rem 1.2rem; border-radius: 999px; z-index: 100; font-weight: 700;
}
.skip:focus { top: .5rem; color: var(--on-btn); }

/* Placeholders (αμετάβλητη εμφάνιση) */
.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  border: 1.5px dashed var(--ph-border);
  border-radius: 4px;
  padding: 0 .25em;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Header: μόνο η μάρκα (κείμενο) και EN/EL. Χωρίς μενού. ---------- */
.site-header { background: var(--bg); }
.header-inner {
  display: flex; align-items: center; gap: .6rem;
  min-height: var(--header-h); padding-top: .7rem; padding-bottom: .7rem;
}
.brand {
  display: inline-flex; align-items: center;
  min-height: 44px; color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.1;
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
@media (max-width: 24rem) { .brand { font-size: 1.02rem; } }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 .75rem;
  border: 1.5px solid var(--field-line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem;
}
.lang-switch:hover { background: var(--mist); color: var(--ink); }

/* ---------- Κουμπιά ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; padding: 13px 26px;
  border-radius: 999px; border: 2px solid var(--btn);
  background: var(--btn); color: var(--on-btn);
  font: inherit; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer;
  text-align: center; letter-spacing: -.005em;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--on-btn); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }

/* Κουμπί πάνω σε φωτογραφία */
.btn-on-image { background: transparent; color: var(--on-image); border-color: var(--on-image); }
.btn-on-image:hover { background: rgba(255, 255, 255, .14); color: var(--on-image); border-color: var(--on-image); }

/* ---------- Ενότητες ---------- */
main { display: block; }
.section { padding: 3rem 0; }
.section + .section { border-top: 1px solid var(--line); }
main.home .section + .section { border-top: 0; }
@media (min-width: 48rem) { .section { padding: 4.5rem 0; } }
.eyebrow {
  color: var(--muted); font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.narrow { max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Κάρτες (υπόλοιπες σελίδες) ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1.25rem; }

/* ---------- Αρχική (σχέδιο ιδιοκτήτη, 2026-10-26) ----------
   Hero (κείμενο + φωτογραφία, ΧΩΡΙΣ κείμενο πάνω στη φωτογραφία) → 5 θέματα → σκούρο πάνελ κλεισίματος.
   Μόνο EN/EL στην κεφαλίδα, χωρίς μάρκα και footer. */
.header-inner-end { justify-content: flex-end; }
.btn-large { min-height: 58px; padding: 16px 34px; font-size: 1.15rem; }

.hero { padding: .25rem 0 2.5rem; }
.hero-grid { display: grid; gap: 1.75rem; align-items: center; }
/* Η φωτογραφία φαίνεται ΟΛΟΚΛΗΡΗ σε κάθε οθόνη: το πλαίσιο έχει ακριβώς την αναλογία του αρχείου (1600×951). */
.hero-media {
  order: -1; overflow: hidden; border-radius: 28px; aspect-ratio: 1600 / 951; height: auto;
  width: 100%; max-width: 45rem; justify-self: center; background: var(--mist);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-text h1 { margin-bottom: .45em; line-height: 1.04; }
.hero-title-line { display: block; }
.hero-sub {
  text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .95rem;
  color: var(--ink); line-height: 1.6; margin-bottom: 1.25rem;
}
.hero-sub::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 1.25rem; background: var(--brand); border-radius: 2px; }
.hero-lead { font-size: 1.15rem; color: var(--ink); max-width: 30rem; margin-bottom: 1.75rem; }

.topics-wrap { position: relative; z-index: 1; }
.topics {
  list-style: none; margin: 0; padding: .5rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--card-shadow);
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.topics > li { border-top: 1px solid var(--line); }
.topics > li:first-child { border-top: 0; }
/* Ευθυγράμμιση πάνω: σε κάθε θέμα το κείμενο ξεκινά στο ίδιο ύψος, όσες γραμμές κι αν έχει. */
.topic {
  display: flex; align-items: flex-start; gap: 1rem; min-height: 44px; height: 100%;
  padding: 1rem .5rem; border-radius: 20px; color: var(--ink); text-decoration: none;
}
.topic:hover { color: var(--ink); background: var(--mist); }
.topic-icon { flex: none; width: 44px; height: 44px; color: var(--brand); }
.topic-text { display: grid; gap: .15rem; }
.topic-title { font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.topic-line { color: var(--muted); font-size: .92rem; line-height: 1.4; }

.closing-wrap { padding: 3rem 0 3.5rem; }
.closing {
  display: grid; gap: 2rem; padding: 2rem 1.5rem;
  background: var(--footer-bg); color: var(--on-image);
  border: 1px solid var(--line); border-radius: 28px;
}
.closing :focus-visible { outline-color: var(--footer-focus); }
.closing .btn { background: var(--panel-btn); border-color: var(--panel-btn); color: var(--on-panel-btn); }
.closing .btn:hover { background: var(--panel-btn-hover); border-color: var(--panel-btn-hover); color: var(--on-panel-btn); }
.closing-tag {
  font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; letter-spacing: -.02em;
  color: var(--on-image); margin-bottom: 1.75rem;
}
.closing-tag::after {
  content: ""; display: block; width: 72%; max-width: 15rem; height: 2px; margin-top: .9rem;
  background: var(--on-image); opacity: .7; border-radius: 2px; transform: rotate(-2deg); transform-origin: left;
}
.closing-media { overflow: hidden; border-radius: 20px; aspect-ratio: 798 / 398; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; }
.values {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.values li {
  display: flex; align-items: center; gap: .55rem; padding: .7rem .75rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.values li:nth-child(even) { border-left: 1px solid var(--footer-line); }
.values li:nth-child(n+3) { border-top: 1px solid var(--footer-line); }
.value-icon { flex: none; width: 22px; height: 22px; }

@media (min-width: 37.5rem) {
  .closing-media { max-width: 34rem; }
  /* 2 στήλες (600–1099px): λίγο λιγότερο κενό στα πλάγια, ώστε «Προστασία Περιουσίας» να χωρά σε μία γραμμή ήδη από τα 600px */
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; padding-left: .75rem; padding-right: .75rem; }
  .topics > li:nth-child(2) { border-top: 0; }
  .topics > li:nth-child(even) { border-left: 1px solid var(--line); }
  .topic { gap: .75rem; padding-left: .4rem; padding-right: .4rem; }
  /* Το μοναχικό τελευταίο θέμα (5ο) πιάνει όλο το πλάτος, ώστε η γραμμή πάνω του να μη σταματά στη μέση */
  .topics > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 56.25rem) {
  .hero { padding: 1.5rem 0 3rem; }
  .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; }
  .hero-media { order: 0; max-width: none; }
  .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 3rem; padding: 3rem; }
  .values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .values li { justify-content: flex-start; padding: .5rem .4rem; flex-direction: column; text-align: center; gap: .45rem; letter-spacing: .06em; }
  .values li:nth-child(n+3) { border-top: 0; }
  .values li + li { border-left: 1px solid var(--footer-line); }
}
/* Ζώνη θεμάτων σε 5 στήλες ΜΟΝΟ από 1100px. Μέχρι τα 1099px μένει η διάταξη tablet (2 στήλες, εικονίδιο στο πλάι),
   ώστε όλοι οι τίτλοι να χωρούν σε μία γραμμή (απόφαση 2026-10-30). */
@media (min-width: 68.75rem) {
  /* 5 στήλες: λιγότερο εσωτερικό κενό και τίτλος 1px μικρότερος, ώστε «Προστασία Περιουσίας» να χωρά σε μία γραμμή */
  .topics { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 1.25rem .5rem; }
  .topics > li, .topics > li:nth-child(2) { border-top: 0; border-left: 1px solid var(--line); }
  .topics > li:first-child { border-left: 0; }
  .topics > li:last-child:nth-child(odd) { grid-column: auto; }
  .topic { flex-direction: column; text-align: center; justify-content: flex-start; padding: 1rem .35rem; gap: 1rem; }
  .topic-title { font-size: 1.02rem; }
  .topic-text { justify-items: center; }
}

/* ---------- Ανάλυση αναγκών (anagkes.html / en/needs.html) ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
main.needs-page .needs-section { padding-top: 1.5rem; }
@media (min-width: 48rem) { main.needs-page .needs-section { padding-top: 3rem; } }
.needs-wrap { max-width: 46rem; }
.needs-progress { display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.needs-progress-text { margin: 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.needs-bar {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--mist); color: var(--btn);
}
.needs-bar::-webkit-progress-bar { background: var(--mist); border-radius: 999px; }
.needs-bar::-webkit-progress-value { background: var(--btn); border-radius: 999px; }
.needs-bar::-moz-progress-bar { background: var(--btn); border-radius: 999px; }
.needs-bar.is-open { visibility: hidden; }   /* σύνολο άγνωστο ακόμα (π.χ. sp1): χωρίς μπάρα, χωρίς μετακίνηση */
main.needs-page h1.needs-q { font-size: clamp(1.7rem, 4.8vw, 2.6rem); line-height: 1.18; margin-bottom: .55em; }
.needs-q:focus { outline: none; }
.needs-hint { color: var(--muted); }
.needs-options { display: grid; gap: .8rem; grid-template-columns: minmax(0, 1fr); margin: 1.25rem 0 1.5rem; }
@media (min-width: 36rem) {
  .needs-topics, .needs-yn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Επιλογές (κατεύθυνση «Α – καθαρή λίστα», 2026-11-08): μία επιλογή (single / yn) = στρογγυλός δείκτης αριστερά·
   πολλές επιλογές (θέματα, multi: .needs-opt-multi) = τετράγωνο κουτάκι με σημάδι ✓ δεξιά (μόνο CSS).
   Η επιλογή δεν φαίνεται μόνο από το χρώμα: αλλάζει ο δείκτης και το πάχος των γραμμάτων. */
.needs-opt {
  position: relative;
  display: flex; align-items: center; gap: .85rem;
  min-height: 64px; padding: 1rem 1.25rem; width: 100%;
  font: inherit; font-weight: 700; font-size: 1.1rem; line-height: 1.3; text-align: left;
  color: var(--ink); background: var(--surface);
  border: 2px solid var(--field-line); border-radius: 20px; cursor: pointer;
}
.needs-opt::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--field-line); background: var(--surface);
}
.needs-opt:hover { background: var(--mist); }
.needs-opt[aria-pressed="true"] { background: var(--btn); border-color: var(--ink); color: var(--on-btn); font-weight: 800; }
.needs-opt[aria-pressed="true"]:hover { background: var(--btn-hover); }
.needs-opt[aria-pressed="true"]::before { background: var(--on-btn); border-color: var(--on-btn); box-shadow: inset 0 0 0 4px var(--btn); }
/* Πολλές επιλογές: ::after = το κουτάκι (στο τέλος της γραμμής), ::before = το σημάδι ✓ πάνω του. */
.needs-opt-multi { padding-right: calc(1.25rem + 24px + .85rem); }
.needs-opt-multi::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 7px; border: 2px solid var(--field-line); background: var(--surface);
}
.needs-opt-multi::before {
  position: absolute; z-index: 1; right: calc(1.25rem + 8px); top: 50%; width: 8px; height: 14px; margin-top: -9px;
  border: solid transparent; border-width: 0 3px 3px 0; border-radius: 0; background: none; transform: rotate(45deg);
}
.needs-topic-icon { flex: none; width: 24px; height: 24px; }   /* εικονίδιο θέματος: παίρνει το χρώμα του κειμένου */
.needs-opt-multi[aria-pressed="true"]::after { background: var(--on-btn); border-color: var(--on-btn); }
.needs-opt-multi[aria-pressed="true"]::before { background: none; border-color: var(--btn); box-shadow: none; }
/* plain (needs-data.js, σήμερα μόνο h7): η επιλεγμένη γραμμή μένει ίδια με τις άλλες (λευκή, ίδιο περίγραμμα και γράμματα)·
   η επιλογή φαίνεται ΜΟΝΟ από το κουτάκι δεξιά: γεμάτο με το χρώμα του σάιτ και λευκό ✓. */
.needs-opt-plain[aria-pressed="true"] { background: var(--surface); border-color: var(--field-line); color: var(--ink); font-weight: 700; }
.needs-opt-plain[aria-pressed="true"]:hover { background: var(--mist); }
.needs-opt-plain[aria-pressed="true"]::after { background: var(--btn); border-color: var(--btn); }
.needs-opt-plain[aria-pressed="true"]::before { border-color: var(--on-btn); }
.needs-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.needs-nav-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem; margin-left: auto; }
.needs-skip {
  font: inherit; font-weight: 700; color: var(--brand); background: none; border: 0;
  min-height: 48px; padding: 0 .9rem; border-radius: 999px; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em;
}
.needs-skip:hover { color: var(--brand-strong); }
.needs-textarea { min-height: 7rem; }
.needs-line { margin: 1.25rem 0 1.5rem; max-width: 40rem; }   /* μία γραμμή (ΤΚ, είδος επιχείρησης): ίδια εμφάνιση με τα πεδία της φόρμας */
.needs-next:disabled { opacity: .5; cursor: not-allowed; }       /* π.χ. ΤΚ με λιγότερα από 5 ψηφία */
.needs-count { font-size: .9rem; color: var(--muted); margin: .4rem 0 0; }
.needs-consent { display: grid; gap: .8rem; background: var(--mist); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 1rem 0; }
.needs-consent p { margin: 0; }
.needs-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.needs-fieldset legend { padding: 0; margin-bottom: .35rem; }
.needs-radios { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.needs-checks { display: grid; gap: .25rem; }   /* ώρες επικοινωνίας: κουτάκια το ένα κάτω από το άλλο (≥ 44px το καθένα) */
/* Οθόνη τέλους (2026-11-11): στρογγυλή φωτογραφία ασφαλιστή (μόνο αν υπάρχει το αρχείο), ώρες, «Τι γίνεται μετά». */
.needs-agent { margin: 0 0 1rem; }
.needs-agent.is-loading { display: none; }
.needs-agent-photo { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); background: var(--mist); }
.needs-hours { font-weight: 700; margin: 1rem 0 0; }
.needs-next-title { font-size: 1.3rem; margin-top: 2rem; }
.needs-next-steps { margin: .5rem 0 0; padding-left: 1.4rem; display: grid; gap: .4rem; }
.needs-prefer { margin-top: 1.5rem; }
.needs-summary-title { font-size: 1.3rem; margin-top: 2rem; }
.needs-summary { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.needs-summary > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.needs-summary dt { font-weight: 700; color: var(--muted); font-size: .95rem; }
.needs-summary dd { margin: .15rem 0 0; }

/* Κινητό (έως 767px): πιο πυκνές γραμμές και σταθερή μπάρα ενεργειών (Πίσω / Παράλειψη / Συνέχεια) στο κάτω άκρο
   της οθόνης σε κάθε βήμα. Από 48rem και πάνω όλα μένουν όπως πριν. */
@media (max-width: 47.9375rem) {
  .needs-options { gap: .5rem; }
  .needs-opt { min-height: 56px; padding-top: .75rem; padding-bottom: .75rem; }
  main.needs-page .needs-section { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .needs-nav {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; margin: 0;
    flex-wrap: nowrap; gap: .5rem;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line);
  }
  .needs-nav-right { flex-wrap: nowrap; gap: .5rem; }
  .needs-nav .btn { padding-left: 22px; padding-right: 22px; }
  .needs-skip { padding: 0 .6rem; }
  /* Πεδίο με εστίαση (π.χ. στην επικοινωνία) δεν κρύβεται πίσω από τη μπάρα. */
  html:has(main.needs-page) { scroll-padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  main.needs-page input, main.needs-page select, main.needs-page textarea, main.needs-page button, main.needs-page a { scroll-margin-bottom: calc(7rem + env(safe-area-inset-bottom)); }
  /* Το μήνυμα cookies μένει από πάνω και χρησιμοποιήσιμο, πάνω από τη μπάρα. */
  main.needs-page ~ .cookie-notice { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
/* Πολύ στενά κινητά (έως 384px, π.χ. 360px): «Πίσω / Παράλειψη / Συνέχεια» χωράνε σε μία γραμμή (πριν: το «Συνέχεια»
   έβγαινε έξω από την οθόνη στα ελληνικά, 2026-11-11). Τα κουμπιά μένουν ≥ 44×44px. */
@media (max-width: 24rem) {
  .needs-nav .btn { padding-left: 14px; padding-right: 14px; }
  .needs-skip { padding: 0 .35rem; }
}

/* ---------- Κίνηση (μόνο CSS, απαλή) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: background-color .2s ease, border-color .2s ease; }
  /* Αρχική: απαλή εμφάνιση του κειμένου, ανασήκωμα θεμάτων (η φωτογραφία ΔΕΝ κινείται: δεν κόβεται ποτέ) */
  .hero-text > * { animation: hero-fade .9s ease-out both; }
  .hero-text > :nth-child(2) { animation-delay: .12s; }
  .hero-text > :nth-child(3) { animation-delay: .24s; }
  .hero-text > :nth-child(4) { animation-delay: .36s; }
  .topic { transition: transform .2s ease, background-color .2s ease; }
  .topic:hover { transform: translateY(-3px); }
}
@keyframes hero-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Αριθμημένα βήματα (σελίδα παραπόνων) ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.25rem; }
.steps > li { counter-increment: step; position: relative; padding-top: 92px; }
.steps > li::before {
  content: counter(step);
  position: absolute; top: 28px; left: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--btn); color: var(--on-btn);
  display: grid; place-items: center; font-weight: 800; font-size: 20px; line-height: 1;
}
.steps.steps-vertical { grid-template-columns: 1fr; }
.steps.steps-vertical h2 { font-size: 1.35rem; }
.steps.steps-vertical ul { padding-left: 1.25rem; }

.note { background: var(--mist); border-radius: 20px; padding: 1.1rem 1.4rem; }
.info-box { background: var(--mist); border-radius: var(--radius); padding: 28px; }

/* ---------- FAQ / details ---------- */
details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; margin-bottom: .9rem;
}
summary {
  cursor: pointer; padding: .9rem 1.4rem; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; list-style: none; border-radius: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 13px 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 13px no-repeat,
    var(--mist);
}
details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 13px 2.5px no-repeat, var(--mist);
}
details > div { padding: 0 1.4rem 1.2rem; }
details > div p:last-child { margin-bottom: 0; }

/* ---------- Σελίδα ασφαλίσεων ---------- */
.line-section { scroll-margin-top: 1rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .45rem; }
.checklist li::before {
  content: ""; position: absolute; left: .2rem; top: .5em;
  width: .75rem; height: .42rem;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand);
  transform: rotate(-45deg);
}
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  text-decoration: none; font-weight: 600; color: var(--ink);
}
.toc a:hover { background: var(--mist); color: var(--ink); }

/* ---------- Λίστα στοιχείων (Διαφάνεια) ---------- */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: .1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .facts > div { grid-template-columns: 14rem 1fr; gap: 1rem; } }
.facts dt { font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; }

/* ---------- Πίνακες ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 1em; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 700; background: var(--mist); }

/* ---------- Φόρμα ---------- */
.form { display: grid; gap: 1.2rem; max-width: 40rem; }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 700; }
.field .hint { font-size: .9rem; color: var(--muted); }
.req { color: var(--err); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 2px solid var(--field-line); border-radius: 16px;
  padding: .7rem .95rem; min-height: 50px; width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.check { display: flex; gap: .7rem; align-items: flex-start; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: .2rem 0 0; flex: none; accent-color: var(--brand); }
.error { color: var(--err); font-size: .92rem; font-weight: 700; }
.error:empty { display: none; }
.warning {
  background: var(--ph-bg); color: var(--ph-ink); border-left: 4px solid var(--ph-border);
  border-radius: 16px; padding: .7rem 1rem; font-weight: 600; font-size: .95rem; margin: 0;
}
.form-status { border-radius: 20px; padding: 0; }
.form-status:not(:empty) { padding: 1rem 1.25rem; border: 2px solid var(--line); background: var(--surface); }
.form-status.is-ok { border-color: var(--ok); }
.form-status.is-error { border-color: var(--err); }
.form-status p:last-child { margin-bottom: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer: σήμερα μόνο στη σελίδα 404 ----------
   Το μεγάλο footer των άλλων σελίδων αφαιρέθηκε (2026-10-05). Κείμενα και markup: docs/site-plan.md,
   «Removed footer (to decide later)». Το CSS του (.footer-grid, .footer-id, λίστα σελίδων): commit 5403a64. */
.site-footer {
  background: var(--footer-bg); color: var(--footer-ink);
  margin-top: 3rem; padding: 2.5rem 0 1.25rem; font-size: .88rem; line-height: 1.55;
}
.site-footer a { color: var(--footer-link); text-decoration-thickness: 1px; }
.site-footer a:hover { color: var(--footer-ink); }
.site-footer :focus-visible { outline-color: var(--footer-focus); }
.legal-notes { border-top: 1px solid var(--footer-line); margin-top: 1.5rem; padding-top: 1rem; color: var(--footer-muted); font-size: .82rem; }
.legal-notes p { margin-bottom: .45rem; }

/* Διακριτικός σύνδεσμος «Είσοδος ασφαλιστή» (όχι κουμπί) */
.agent-login-line { margin: .25rem 0 0; }
.site-footer .agent-login {
  display: inline-block; padding: .8rem 0; line-height: 1.4; min-height: 44px;
  color: var(--footer-muted); font-size: .82rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.site-footer .agent-login:hover { color: var(--footer-link); }
.site-footer .agent-login:focus-visible { outline: 3px solid var(--footer-focus); outline-offset: 2px; color: var(--footer-link); }
.agent-login[hidden] { display: none; }

/* ---------- Μήνυμα cookies ----------
   sticky (όχι fixed): μένει κολλημένο στο κάτω μέρος της οθόνης, αλλά στο τέλος της σελίδας κάθεται ΚΑΤΩ από
   το περιεχόμενο, ώστε να μην κρύβει ποτέ το τελευταίο στοιχείο (π.χ. «Συνέχεια» στην ανάλυση αναγκών).
   Μέχρι 2026-10-05 αυτόν τον χώρο τον έδινε το footer. */
.cookie-notice {
  position: sticky; bottom: 1rem; z-index: 50;
  width: calc(100% - 2rem); max-width: 34rem; margin: 0 auto 1rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2); padding: 1.1rem 1.4rem;
}
.cookie-notice p { margin: 0 0 .8rem; font-size: .95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cookie-actions .btn { flex: 1 1 12rem; white-space: nowrap; } /* ίσο μέγεθος στα δύο κουμπιά συναίνεσης */
.cookie-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; }

/* ---------- 404 ---------- */
.notfound { padding: 4rem 1rem; }
.notfound section + section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

@media print {
  .header-actions, .cookie-notice, .skip, .needs-nav { display: none !important; }
  .site-footer { background: none; color: #000; }
  .site-footer a, .legal-notes { color: #000; }
}
