/* ==============================================================
   CityOn Access — Public site redesign
   Φορτώνεται ΜΟΝΟ στις δημόσιες σελίδες (header_public.php, login.php),
   μετά το style.css. Το admin panel δεν επηρεάζεται.
   ============================================================== */

:root {
  --text-muted: #4B5E6E;   /* πιο σκούρο για αντίθεση AA */
}

html { scroll-padding-top: 88px; }
body { font-size: 16px; line-height: 1.6; }

/* ορατό focus: διπλό δαχτυλίδι (σκούρο + λευκό) που φαίνεται σε κάθε φόντο */
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.topbar :focus-visible, .site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--secondary); }

/* ------------ Header: κουμπί Σύνδεσης ως λευκό pill ------------ */
.nav-links a.nav-login { background: #fff; color: var(--secondary); font-weight: 600; margin-left: .25rem; }
.nav-links a.nav-login:hover { background: var(--primary-soft); color: var(--secondary); }

/* Συνδεδεμένος χρήστης: το pill οδηγεί στη διαχείριση, η αποσύνδεση είναι ξεχωριστό κουμπί */
.nav-links .nav-account { display: flex; align-items: center; gap: .5rem; margin-left: .25rem; }
.nav-links .nav-user { display: flex; align-items: center; gap: .6rem; padding: .3rem 1rem .3rem .3rem; background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.nav-links a.nav-user:hover { background: rgba(255,255,255,.22); color: #fff; }
.nav-links a.nav-logout { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.nav-links a.nav-logout:hover { background: #fff; color: var(--secondary); }
.nav-logout svg { width: 20px; height: 20px; }
.nav-logout__text { display: none; }
@media (max-width: 750px) {
  .nav-links .nav-account { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-links .nav-user { background: none; border-radius: 0; padding: .9rem 1.25rem; }
  .nav-links a.nav-user:hover { background: rgba(255,255,255,.12); }
  .nav-links a.nav-logout { width: auto; height: auto; display: flex; align-items: center; gap: .6rem; padding: .9rem 1.25rem; border-radius: 0; background: none; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links a.nav-logout:hover { background: rgba(255,255,255,.12); color: #fff; }
  .nav-logout__text { display: inline; }
}

/* ------------ Buttons (δημόσιο site) ------------ */
.btn {
  justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: none; box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
/* κύριο: σκούρο μπλε + λευκά (αντίθεση 11.5:1) */
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--primary-darker); color: #fff; }
/* δευτερεύον: λευκό + σκούρο μπλε */
.btn-light { background: #fff; color: var(--secondary); border-color: var(--secondary); }
.btn-light:hover { background: var(--secondary-soft); color: var(--secondary); }
/* Υποβολή αναφοράς: μπλε/γαλάζιο παλέτας + λευκά στο κέντρο (αντίθεση 7:1) */
.btn-submit { background: var(--primary-darker); color: #fff; width: 100%; }
.btn-submit:hover { background: var(--secondary); color: #fff; }
/* Σύνδεση: σκούρο μπλε + λευκά στο κέντρο */
.btn-login { background: var(--secondary); color: #fff; width: 100%; }
.btn-login:hover { background: var(--primary-darker); color: #fff; }

/* ------------ Εσωτερικές σελίδες: περιθώρια κάτω από μενού / πάνω από footer ------------ */
.page-content { padding-top: 48px; padding-bottom: 72px; }
@media (max-width: 720px) { .page-content { padding-top: 32px; padding-bottom: 56px; } }

/* ------------ Φόρμες: βελτιωμένα dropdown ------------ */
.input, .select, .textarea { min-height: 48px; border: 1.5px solid #B8C6D1; border-radius: 10px; font-size: 1rem; }
.textarea { min-height: 110px; }
.input:hover, .select:hover, .textarea:hover { border-color: #8FA3B3; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px var(--secondary-soft); }
.select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: .65rem 2.75rem .65rem .9rem;          /* χώρος δεξιά για το βέλος */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003B5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;       /* κάθετα κεντραρισμένο με το κείμενο */
  background-size: 18px 18px;
  cursor: pointer; line-height: 1.4;
}
.select::-ms-expand { display: none; }
.form-row label { font-size: .9375rem; }


/* ==============================================================
   ΑΡΧΙΚΗ
   ============================================================== */
main.home { padding: 0; }
.home-flash { padding-top: 1rem; }
.home-sec { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin: 0 0 10px; color: var(--secondary); letter-spacing: -.3px; line-height: 1.25; }
.section-head p { margin: 0; color: var(--text-muted); font-size: 1.0625rem; }

/* ------------ Hero ------------ */
.hero {
  position: relative; margin: 0; border-radius: 0; overflow: visible;
  padding: 48px 0 56px;
  background: radial-gradient(900px 400px at 85% 10%, var(--primary-soft), transparent 70%), #fff;
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.1; margin: 0 0 18px; color: var(--secondary); letter-spacing: -.5px; }
.hero h1 .hl { color: var(--primary-darker); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.hero p.lead { font-size: 1.125rem; color: var(--text-muted); margin: 0 0 28px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.map-link { margin: 0 0 28px; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--primary-darker); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 0 6px; }
.link-arrow:hover { color: var(--secondary); text-decoration-color: var(--primary); }

/* Στατιστικά: μία λωρίδα με δύο ίσα μέρη, πλάτος όσο το κείμενο */
.stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 520px; list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat { --c: var(--coa-full); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 28px 18px 24px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat .num { font-size: 2.5rem; font-weight: 800; color: var(--secondary); line-height: 1; letter-spacing: -1px; min-width: 1ch; }
.stat .lbl { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.stat .tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--secondary); font-size: .9375rem; }
.stat .tag .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; flex: none; }
.stat .tag .dot svg { width: 13px; height: 13px; }
.stat .sub { font-size: .875rem; color: var(--text-muted); }
@media (max-width: 420px) {
  .stats { display: flex; flex-direction: column; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .stat { flex-direction: row; align-items: center; gap: 16px; }
}

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 36px rgba(0,59,92,.16)); }

@media (min-width: 961px) and (min-height: 620px) {
  .hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; padding: 40px 0 104px; }
  .hero > .container { width: 100%; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .hero-art { transform: scale(1.06); transform-origin: center; }
  .hero h1 { font-size: min(3.25rem, 4.2vw, 6.4vh); }
  .hero p.lead { margin-bottom: 24px; }
  .cta-row { margin-bottom: 12px; }
  .map-link { margin-bottom: 24px; }
  .scroll-cue.is-visible { display: flex; }
}

/* Βελάκι "υπάρχει κι άλλο": εμφανίζεται μία φορά, κρύβεται με κλικ ή scroll */
.scroll-cue { display: none; position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: var(--secondary); padding: 4px; border-radius: 50%; transition: opacity .3s; }
.scroll-cue.is-hiding { opacity: 0; pointer-events: none; }
.scroll-cue .circle { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--secondary); display: grid; place-items: center; box-shadow: var(--shadow); }
.scroll-cue svg { width: 20px; height: 20px; }
.scroll-cue:hover { color: var(--secondary); }
.scroll-cue:hover .circle { background: var(--secondary); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue .circle { animation: cue 2s ease-in-out infinite; } }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ------------ Εργαλεία: κάρτες με εικόνα, όλη η κάρτα clickable ------------ */
.sec-tools { background: var(--bg); }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tool { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-art { position: relative; height: 180px; overflow: hidden; }
.tool-art svg { width: 100%; height: 100%; display: block; transition: transform .4s ease; }
.tool-tag { align-self: flex-start; font-size: .8125rem; font-weight: 700; letter-spacing: .3px; color: var(--primary-darker); margin-bottom: 6px; }
.tool-body { padding: 24px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.tool h3 { margin: 0 0 8px; font-size: 1.375rem; }
.tool-link { color: var(--secondary); text-decoration: none; }
.tool-link:hover { color: var(--secondary); }
.tool-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tool-link:focus-visible { outline: none; box-shadow: none; }
.tool:focus-within { outline: 3px solid var(--secondary); outline-offset: 3px; }
.tool p { margin: 0 0 14px; color: var(--text-muted); }
.tool-feats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tool-feats li { font-size: .8125rem; font-weight: 600; color: var(--primary-darker); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.tool-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-darker); }
.tool-cta .arr { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); transition: transform .2s ease, background .2s ease, color .2s ease; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.tool:hover .tool-art svg { transform: scale(1.04); }
.tool:hover .tool-cta { color: var(--secondary); }
.tool:hover .tool-cta .arr { background: var(--secondary); color: #fff; transform: translateX(4px); }

/* ------------ Αρχική: παλέτα, "για ποιους", χάρτης με αναζήτηση/φίλτρα ------------ */
:root {
  --lvl-full: #119113;
  --lvl-partial: #B45309;
  --lvl-none: #DC2626;
  --lvl-unknown: #94A3B8;
  --obstacle: #FACC15;
}
/* Στατιστικά hero */
.stat.is-total { --c: var(--secondary); }
.stat.is-report { --c: var(--obstacle); }
.stat.is-report .tag .dot { color: #003B5C; }

/* ===== ΝΕΑ ΕΝΟΤΗΤΑ ΧΑΡΤΗ (αναζήτηση + φίλτρα) ===== */
.coa-map {
  --navy: #003B5C; --teal: #005F73; --text: #0F2A3D; --muted: #4A5D6B; --border: #DCE5EB; --soft: #F1F5F8;
  --lvl-full: #119113; --lvl-partial: #B45309; --lvl-none: #DC2626; --lvl-unknown: #94A3B8;
  --obstacle: #FACC15; --obstacle-ink: #003B5C;
}

/* ===== Ενότητα χάρτη ===== */
.coa-map *, .coa-map *::before, .coa-map *::after { box-sizing: border-box; }

/* Εργαλεία: αναζήτηση + επίπεδο */
.coa-map .coa-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.coa-map .coa-search { position: relative; flex: 999 1 320px; }
.coa-map .coa-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.coa-map .coa-search input {
  width: 100%; min-height: 46px; padding: 0 44px 0 48px;
  font: inherit; font-size: 16px; color: var(--text);
  border: 2px solid #C9D6DF; border-radius: 14px; background: #fff;
}
.coa-map .coa-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,95,115,.18); }
.coa-map .coa-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent;
  color: var(--muted); font-size: 22px; cursor: pointer; display: none;
}
.coa-map .coa-clear.is-visible { display: block; }
.coa-map .coa-clear:hover { background: var(--soft); }
.coa-map .coa-level { flex: 1 1 220px; }
.coa-map .coa-level select {
  width: 100%; min-height: 46px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--text);
  border: 2px solid #C9D6DF; border-radius: 14px; background: #fff; cursor: pointer;
}
.coa-map .coa-level select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,95,115,.18); }
.coa-map .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Φίλτρα κατηγορίας */
.coa-map .coa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.coa-map .coa-chip {
  font: inherit; font-size: 15px; font-weight: 600; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 2px solid #C9D6DF; background: #fff; color: var(--navy); cursor: pointer;
}
.coa-map .coa-chip:hover { border-color: var(--navy); }
.coa-map .coa-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.coa-map .coa-chip:focus-visible, .coa-map .coa-item:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px;
}

/* Διάταξη: λίστα + χάρτης */
.coa-map .coa-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.coa-map .coa-panel {
  flex: 1 1 300px; min-width: 0; max-width: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  display: flex; flex-direction: column; height: 480px; overflow: hidden;
}
.coa-map .coa-mapbox { flex: 999 1 560px; min-width: 0; position: relative; height: 480px; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: #E9EFEC; }
.coa-map #public-map { position: absolute; inset: 0; }

.coa-map .coa-panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--muted);
}
.coa-map .coa-panel-head strong { color: var(--navy); font-size: 16px; }
.coa-map .coa-reset { font: inherit; font-size: 15px; font-weight: 600; color: var(--teal); background: none; border: 0; padding: 6px 4px; cursor: pointer; text-decoration: underline; }
.coa-map .coa-reset[hidden], .coa-map .coa-panel-head[hidden] { display: none; }
.coa-map .coa-panel-head { justify-content: flex-end; }

.coa-map .coa-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; }
.coa-map .coa-item {
  width: 100%; text-align: left; font: inherit; color: inherit;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
}
.coa-map .coa-item:hover { background: var(--soft); }
.coa-map .coa-item.is-active { background: #E3F1F3; box-shadow: inset 0 0 0 2px var(--teal); }
.coa-map .coa-sym {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 15px; line-height: 1;
}
.coa-map .coa-sym.is-obstacle { border-radius: 8px; color: var(--obstacle-ink); box-shadow: inset 0 0 0 1.5px rgba(0,59,92,.35); }
.coa-map .coa-item-name { display: block; font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.3; }
.coa-map .coa-item-meta { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.coa-map .coa-item-addr { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.coa-map .coa-empty { padding: 32px 20px; text-align: center; color: var(--muted); font-size: 16px; }
.coa-map .coa-empty button { margin-top: 12px; }

/* Υπόμνημα κάτω από τον χάρτη */
.coa-map .coa-legend { margin-top: 14px; }
.coa-map .coa-legend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted); }
.coa-map .coa-legend li { display: flex; align-items: center; gap: 7px; }
.coa-map .coa-legend .coa-sym { width: 20px; height: 20px; font-size: 11px; }
.coa-map .coa-legend .coa-sym.is-obstacle { border-radius: 5px; }

.coa-map .coa-status { display: flex; justify-content: center; align-items: center; gap: 14px; margin: -12px 0 14px; font-size: 15px; color: var(--muted); }
.coa-map .coa-count:empty { display: none; }
.coa-map .coa-mapbox { flex: 1 1 100% !important; height: 540px !important; }
@media (max-width: 900px) { .coa-map .coa-mapbox { height: 400px !important; } }

.coa-map .coa-list-link { margin: 24px 0 0; text-align: center; font-size: 17px; color: var(--text); }
.coa-map .coa-list-link a { font-weight: 700; color: var(--teal); }
.coa-map .coa-note + .coa-list-link { margin-top: 8px; }
/* Δείκτες χάρτη */
.coa-map .coa-marker {
  width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 13px; line-height: 1;
  transition: transform .15s ease;
}
.coa-map .coa-marker.is-obstacle { border-radius: 8px; color: var(--obstacle-ink); box-shadow: 0 0 0 1.5px rgba(0,59,92,.55), 0 2px 6px rgba(0,0,0,.28); }
.coa-map .coa-marker.is-unknown { width: 22px; height: 22px; }
.coa-map .is-highlight .coa-marker { transform: scale(1.35); box-shadow: 0 0 0 4px rgba(0,95,115,.35), 0 2px 6px rgba(0,0,0,.28); }
.coa-map .leaflet-div-icon { background: none; border: 0; }

/* Popup */
.coa-map .leaflet-popup-content-wrapper { border-radius: 16px; }
.coa-map .leaflet-popup-content { margin: 14px 16px; font: inherit; font-size: 15px; line-height: 1.45; color: var(--text); }
.coa-map .coa-pop-title { font-weight: 800; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.coa-map .coa-pop-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.coa-map .coa-badge { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.coa-map .coa-badge.lvl { color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.coa-map .coa-pop-feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.coa-map .coa-pop-feats li { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #E6F4E6; color: #0B6E0D; }
.coa-map .coa-pop-row { font-size: 14px; color: var(--muted); margin-top: 4px; }
.coa-map .coa-pop-img { width: 100%; max-height: 140px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 10px; }

.coa-map .coa-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

/* Κινητό: χάρτης πάνω, λίστα κάτω */
@media (max-width: 900px) {
  .coa-map .coa-mapbox { order: -1; height: 360px; flex-basis: 100%; }
  .coa-map .coa-panel { height: auto; max-height: 420px; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .coa-map .coa-marker { transition: none; }
}

/* ===== Ενωμένη ενότητα: για ποιους + εργαλεία ===== */
.coa-aud { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.coa-aud-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #DCE5EB; border-radius: 18px; padding: 18px; }
.coa-aud-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #003B5C; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.coa-aud-ico svg { width: 22px; height: 22px; }
.coa-aud-item h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.3; color: #003B5C; }
.coa-aud-item p { margin: 0; font-size: .9375rem; line-height: 1.45; color: #4A5D6B; }
@media (max-width: 1000px) { .coa-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .coa-aud { grid-template-columns: 1fr; } }

/* ===== Πιο "ανάλαφρη" εμφάνιση στις 2 ενότητες: κεντραρισμένοι τίτλοι, ομαλή μετάβαση φόντου ===== */
#tools { background: linear-gradient(#FFFFFF 0, #F4F8FB 180px); padding: 80px 0 56px; }
#map-section { background: linear-gradient(#F4F8FB 0, #FFFFFF 260px); padding: 56px 0 88px; }
#tools .section-head, #map-section .section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
#tools .section-head h2, #map-section .section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
#tools .section-head p, #map-section .section-head p { font-size: 1.125rem; line-height: 1.55; color: #4A5D6B; max-width: 600px; margin: 0 auto; }

/* Κάρτες "για ποιους": κεντραρισμένες, χωρίς πλαίσιο */
.coa-aud { gap: 24px; margin-bottom: 56px; }
.coa-aud-item { flex-direction: column; align-items: center; text-align: center; gap: 14px; background: transparent; border: 0; padding: 8px 12px; }
.coa-aud-ico { width: 64px; height: 64px; border-radius: 50%; background: #DDEFF2; color: #003B5C; }
.coa-aud-ico svg { width: 28px; height: 28px; }
.coa-aud-item h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.coa-aud-item p { max-width: 230px; margin: 0 auto; }

/* Χάρτης: εργαλεία και υπόμνημα στο κέντρο */
.coa-map .coa-tools { max-width: 880px; margin-left: auto; margin-right: auto; }
.coa-map .coa-chips { justify-content: center; margin-bottom: 28px; }
.coa-map .coa-legend ul { justify-content: center; }
.coa-map .coa-note { text-align: center; }
@media (max-width: 700px) {
  #tools { padding: 56px 0 40px; }
  #map-section { padding: 40px 0 64px; }
}

/* Εναλλαγή χρωμάτων στις κάρτες "για ποιους" */
.coa-aud-item { border-radius: 24px; padding: 28px 20px 26px; background: var(--aud-bg); }
.coa-aud-ico { background: #fff; color: var(--aud-ink); box-shadow: 0 4px 14px rgba(0,59,92,.08); }
.coa-aud-item h3 { color: var(--aud-ink); }
.coa-aud-item:nth-child(4n+1) { --aud-bg: #E3F2F4; --aud-ink: #00566A; }
.coa-aud-item:nth-child(4n+2) { --aud-bg: #E8ECF8; --aud-ink: #2F4A8A; }
.coa-aud-item:nth-child(4n+3) { --aud-bg: #F8EDE1; --aud-ink: #8A4B14; }
.coa-aud-item:nth-child(4n+4) { --aud-bg: #E5F2E6; --aud-ink: #1F6B2A; }
.coa-aud-item p { color: #3D5363; }

/* Κάρτα εφαρμογής: πραγματικά screenshots της εφαρμογής CityOn */
.tool-art--phones { position: relative; overflow: hidden; }
.tool-art--phones .tool-phones { position: absolute; left: 50%; top: 14px; width: 210px; max-width: none; height: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(0,20,35,.35)); }

/* ------------ App banner (Ο Δήμος Αμαρουσίου στα χέρια σου) ------------ */
.app-banner-sec { background: #fff; padding: 0 0 72px; }
.app-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: #F1F1F1; color: #3B3B3A;
  font-family: 'Geologica', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 48px 48px 56px;
}
/* Διακοσμητικές μπάρες πάνω δεξιά */
.app-banner__bars { position: absolute; top: 6.7%; right: 0; width: 13.5%; min-width: 120px; height: 40px; }
.app-banner__bars span { position: absolute; right: 0; height: 14px; border-radius: 2px 0 0 2px; background: #1B3D53; opacity: .2; }
.app-banner__bars span:first-child { top: 0; width: 100%; }
.app-banner__bars span:last-child  { top: 26px; width: 72%; }
/* Τεταρτοκύκλιο κάτω αριστερά */
.app-banner__ring { position: absolute; left: -90px; bottom: -40px; width: 180px; height: 180px; border: 20px solid #1B3D53; border-radius: 50%; opacity: .2; }

.app-banner__inner {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px;
}
.app-banner__logos { display: flex; align-items: center; gap: 36px; margin-bottom: 40px; }
.app-banner__logo-dimos  { height: 60px; width: auto; }
.app-banner__logo-cityon { height: 46px; width: auto; }
.app-banner__title { font-size: clamp(1.4rem, 2.4vw, 1.6rem); font-weight: 400; line-height: 1.3; margin: 0 0 40px; color: #3B3B3A; letter-spacing: 0; }
.app-banner__title strong { font-size: 1.36em; font-weight: 700; color: #005582; }
.app-banner__cta { font-size: 1.05rem; color: #005582; margin: 0 0 14px; }
.app-banner__stores { display: flex; flex-wrap: wrap; gap: 14px; }
.app-banner__stores a { display: inline-block; line-height: 0; border-radius: 8px; }
.app-banner__stores img { height: 46px; width: auto; transition: transform .15s; }
.app-banner__stores a:hover img { transform: translateY(-4px); }

.app-banner__visual { position: relative; height: 340px; }
.app-banner :focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.app-banner__circle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, 86vw); aspect-ratio: 1; border-radius: 50%;
  border: 4px solid #124571; background: radial-gradient(circle, rgba(63,101,64,.12) 0 72%, transparent 72.5%);
}
/* Η εικόνα έχει διάφανο περιθώριο γύρω από τα κινητά, γι αυτό είναι absolute και ξεχειλίζει από το πλαίσιο */
.app-banner__phones { position: absolute; left: 50%; top: 50%; width: 390px; max-width: none; height: auto; transform: translate(-50%, -47%); }

.app-banner__powered {
  position: absolute; z-index: 1; right: 4%; bottom: 20px;
  display: flex; align-items: center; gap: 8px;
  font-family: Roboto, sans-serif; font-size: 14px; color: #161616;
}
/* Το crowdpolicy.svg είναι λευκό — εδώ (μόνο στο banner) το κάνουμε μαύρο */
.app-banner__powered img { filter: brightness(0); }
.app-banner__powered-name { font-size: 8px; font-weight: 700; line-height: 1.05; letter-spacing: .04em; }

@media (max-width: 860px) {
  .app-banner-sec { padding-bottom: 48px; }
  .app-banner { padding: 40px 16px 84px; }
  .app-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .app-banner__logos { justify-content: center; gap: 24px; margin-bottom: 28px; }
  .app-banner__logo-dimos  { height: 48px; }
  .app-banner__logo-cityon { height: 36px; }
  .app-banner__title { margin-bottom: 24px; }
  .app-banner__stores { justify-content: center; }
  .app-banner__visual { height: 340px; margin-top: 8px; }
  .app-banner__phones { width: 360px; }
  .app-banner__powered { right: 50%; transform: translateX(50%); }
  .app-banner__bars { top: 14px; width: 30%; }
  .app-banner__logos { margin-top: 40px; }
}

/* ==============================================================
   ΣΗΜΕΙΑ ΠΡΟΣΒΑΣΙΜΟΤΗΤΑΣ (spots.php)
   ============================================================== */
.breadcrumb { font-size: .875rem; color: var(--text-muted); margin: 0 0 12px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary-darker); text-decoration: underline; text-underline-offset: 3px; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 8px; letter-spacing: -.3px; }
.page-head p { margin: 0; color: var(--text-muted); font-size: 1.0625rem; max-width: 620px; }

/* chips επιπέδου με πλήθος */
.level-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 20px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--border); color: var(--secondary); font-weight: 700; font-size: .9375rem; }
.chip:hover { border-color: var(--secondary); color: var(--secondary); }
.chip .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .75rem; font-weight: 800; flex: none; }
.chip .count { font-weight: 400; font-size: .8125rem; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--bg); color: var(--secondary); text-align: center; }
.chip[aria-current="true"] { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.chip[aria-current="true"] .count { background: rgba(255,255,255,.18); color: #fff; }

/* κάρτα φίλτρων */
.filter-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px 22px; margin-bottom: 28px; }
.filter-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 16px; align-items: end; }
.filter-grid label { display: block; font-weight: 700; color: var(--secondary); font-size: .9375rem; margin-bottom: 6px; }
.filter-actions { display: flex; gap: 10px; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; }

.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h2 { font-size: 1.125rem; margin: 0; }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form label { color: var(--text-muted); font-size: .9375rem; white-space: nowrap; }
.sort-form .select { width: auto; min-width: 230px; }

.spots-card { padding: 0; overflow: hidden; border-radius: var(--radius-lg); }
.spots-card table.data th, .spots-card table.data td { padding: .9rem 1.1rem; font-size: .9375rem; }
.spots-card table.data th { font-size: .78rem; }

@media (max-width: 960px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-grid .f-search { grid-column: 1 / -1; }
  .filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .filter-grid { grid-template-columns: 1fr; }
  .filter-actions .btn { flex: 1; }
  .sort-form { width: 100%; }
  .sort-form .select { flex: 1; min-width: 0; }
  .page-head .btn { width: 100%; }
}

/* ==============================================================
   ΑΝΑΦΟΡΑ ΕΜΠΟΔΙΟΥ (report.php)
   ============================================================== */
.report-head { margin-bottom: 24px; }
.report-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); margin: 0 0 6px; }
.report-head p { margin: 0; font-size: 1.0625rem; }
.report-form .card { padding: 1.5rem; border-radius: var(--radius-lg); }

/* ==============================================================
   ΣΥΝΔΕΣΗ (login.php)
   ============================================================== */
.auth-card .btn-login { margin-top: .5rem; }
.auth-card a { color: var(--primary-darker); text-decoration: underline; text-underline-offset: 3px; }

/* ==============================================================
   Responsive
   ============================================================== */
@media (max-width: 960px) {
  /* μικρές οθόνες: τίτλος → εικόνα → περιγραφή → κουμπιά → στατιστικά */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; }
  .hero-art { order: 2; width: 100%; max-width: 560px; margin: 0 auto 24px; }
  .hero p.lead { order: 3; }
  .cta-row { order: 4; }
  .map-link { order: 5; }
  .stats { order: 6; justify-self: start; }
  .tools { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero { padding: 32px 0 40px; }
  .home-sec { padding: 48px 0; }
  .levels { grid-template-columns: 1fr; }
  .tool-body { padding: 20px 20px 22px; }
  .tool-art { height: 150px; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .tool:hover { transform: none; }
  .tool:hover .tool-art svg { transform: none; }
}
@media (max-height: 500px) { .topbar { position: static; } html { scroll-padding-top: 0; } }
@media (forced-colors: active) {
  .btn, .stat, .tool, .coa-aud-item, .chip { border: 2px solid CanvasText; }
  .stat .dot, .coa-aud-ico, .coa-sym, .coa-marker, .chip .ic { forced-color-adjust: none; }
}
