/* NexusEstate 1.0.0 (γύρος 219) — η δημόσια όψη, πρότυπο «Κάτοψη».
   Αισθητική αρχιτεκτονικού σχεδίου: ασβεστόλιθος, μελάνι, κυπαρισσί. Λεπτές γραμμές αντί για σκιές, γωνίες 2px.
   Γραμματοσειρές του συστήματος (καμία λήψη): τίτλοι με πατούρες, κείμενο sans, αριθμοί tabular.
   Ένα θέμα εφαρμογής (apps/nexusestate/themes/<θέμα>) αλλάζει μόνο τις μεταβλητές πάνω στο [data-theme="<θέμα>"].es. */

.es {
  --bg: #f4f1ea;
  --paper: #fbfaf6;
  --ink: #1d2329;
  --ink-2: #4a525a;
  --ink-3: #7a8087;
  --line: #d9d3c6;
  --line-2: #e8e3d8;
  --main: #2f4a3a;
  --main-2: #23382c;
  --main-tint: #e3e9e4;
  --terra: #b5582f;
  --terra-tint: #f3e3d9;
  --r: 2px;
  --gap: clamp(16px, 2.4vw, 28px);
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --wrap: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); font-feature-settings: "tnum" 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--main); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h3 { font-size: 1.05rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.muted { color: var(--ink-3); }
.small { font-size: .82rem; }
.eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .55rem; }
.code, code { font-family: var(--mono); font-size: .92em; letter-spacing: 0; text-transform: none; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Κουμπιά, πεδία ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.15rem; border: 1px solid transparent;
  border-radius: var(--r); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; background: none; }
.btn-main { background: var(--main); color: #fff; }
.btn-main:hover { background: var(--main-2); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--main); }
.btn-ghost { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 0 .5rem; }
.btn-small { min-height: 34px; padding: 0 .8rem; font-size: .85rem; }
.btn-block { width: 100%; }
.fld { display: flex; flex-direction: column; gap: .3rem; }
.fld > span, fieldset legend { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
textarea { resize: vertical; }
select { appearance: none; padding-inline-end: 2rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d2329' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right .75rem center / 11px 8px; }
input:focus, select:focus, textarea:focus { border-color: var(--main); outline: none; box-shadow: 0 0 0 3px var(--main-tint); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: .45rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { width: 100%; }
.chips label input, .seg input, .checks input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 38px; min-width: 44px; padding: 0 .75rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: .88rem; cursor: pointer; line-height: 1.1; }
.chips label span b { font-weight: 400; font-size: .75rem; color: var(--ink-3); }
.chips input:checked + span { border-color: var(--main); background: var(--main); color: #fff; }
.chips input:checked + span b { color: #dfe7e1; }
.chips input:focus-visible + span, .seg input:focus-visible + span, .checks input:focus-visible + span { outline: 2px solid var(--main); outline-offset: 2px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.checks legend { grid-column: 1 / -1; }
.checks label { cursor: pointer; font-size: .9rem; }
.checks span, .check1 span { display: inline-flex; align-items: center; gap: .5rem; }
.checks span::before { content: ""; width: 16px; height: 16px; border: 1px solid var(--ink-3); border-radius: 1px; flex: none; background: var(--paper); }
.checks input:checked + span::before { background: var(--main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px; border-color: var(--main); }
.check1 { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.check1 input { margin: .2rem 0 0; accent-color: var(--main); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; inset-inline-start: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Κεφαλίδα ---------- */
.top { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
@media (min-width: 768px) { .top-in { gap: 24px; } }
/* 1.1.0: μακρύ όνομα γραφείου → αποσιωπητικά, τα εργαλεία μένουν πάντα μέσα στην οθόνη (375px) */
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand-mark { width: 26px; height: 26px; border: 1.6px solid var(--ink); position: relative; flex: none; }
.brand-mark::before { content: ""; position: absolute; inset-inline-start: 4px; inset-inline-end: 4px; bottom: 4px; height: 11px; border: 1.6px solid var(--main); border-bottom: 0; }
.brand-mark::after { content: ""; position: absolute; inset-inline-start: 50%; top: -1px; bottom: 15px; border-inline-start: 1.6px solid var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 420px) { .brand-name { font-size: 1.12rem; } .top-in { gap: 10px; } }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a[aria-current] { border-bottom-color: var(--main); color: var(--main); }
.top-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.tool { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .55rem; text-decoration: none; font-size: .9rem; position: relative; }
.tool .cnt { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--terra); color: #fff; font-size: .7rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.tool .cnt[hidden] { display: none; }
.lang { font-size: .78rem; letter-spacing: .1em; text-decoration: none; border: 1px solid var(--line); padding: 4px 7px; border-radius: var(--r); margin-inline-start: 4px; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.burger > span:first-child, .burger > span:first-child::before, .burger > span:first-child::after { position: absolute; inset-inline-start: 11px; width: 20px; height: 1.6px; background: var(--ink); content: ""; }
.burger > span:first-child { top: 20px; }
.burger > span:first-child::before { top: -6px; inset-inline-start: 0; }
.burger > span:first-child::after { top: 6px; inset-inline-start: 0; }
@media (max-width: 1023px) { .tool-l { display: none; } }
@media (max-width: 819px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav a[aria-current] { border-bottom-color: var(--line-2); }
}

/* ---------- Αρχική ---------- */
.lead { display: grid; gap: var(--gap); padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .lead { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; gap: 48px; } }
.lead-h { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; max-width: 13ch; }
.lead-p { margin-top: 1rem; color: var(--ink-2); max-width: 46ch; font-size: 1.02rem; }
.qs { margin-top: 1.75rem; background: var(--paper); border: 1px solid var(--line); padding: 18px; display: grid; gap: 14px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); border-radius: var(--r); }
.seg label { position: relative; }
.seg label + label { border-inline-start: 1px solid var(--ink); }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; font-size: .92rem; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.qs-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .qs-row { grid-template-columns: 1fr 1fr; } .fld-where { grid-column: 1 / -1; } }
.qs-go { width: 100%; min-height: 50px; font-size: 1rem; }
.week { display: grid; text-decoration: none; background: var(--paper); border: 1px solid var(--line); align-self: start; }
.week:hover { color: inherit; }
.week-fig { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line-2); }
.week-fig .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.week:hover .ph { transform: scale(1.02); }
.week-cap { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.week-t { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; }
.week-p { margin-top: .6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.week-p b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.sec { padding-top: clamp(28px, 4vw, 56px); padding-bottom: 8px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; margin-bottom: 20px; }
.more { font-size: .9rem; text-decoration: none; }
/* ευρετήριο περιοχών με αποσιωπητικά (σαν πίνακας περιεχομένων) */
.index { columns: 1; column-gap: 48px; }
@media (min-width: 640px) { .index { columns: 2; } }
@media (min-width: 1024px) { .index { columns: 3; } }
.index-grp { break-inside: avoid; margin-bottom: 18px; }
.index-top, .index-row { display: flex; align-items: baseline; gap: 8px; text-decoration: none; padding: 3px 0; }
.index-top { font-family: var(--serif); font-size: 1.15rem; }
.index-row { color: var(--ink-2); padding-inline-start: 14px; font-size: .95rem; }
.index-top i, .index-row i { flex: 1; border-bottom: 1px dotted var(--ink-3); transform: translateY(-4px); opacity: .6; }
.index-top b, .index-row b { font-weight: 400; font-variant-numeric: tabular-nums; font-family: var(--sans); font-size: .9rem; }
.index a:hover span { color: var(--main); text-decoration: underline; }

.owners { background: var(--main); color: #eef2ee; margin-top: clamp(36px, 5vw, 64px); }
.owners-in { display: grid; gap: 28px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .owners-in { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; } }
.owners h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.owners p { margin: .9rem 0 1.4rem; max-width: 44ch; color: #d6dfd8; }
.legend { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); }
.legend li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.legend b { font-family: var(--mono); font-weight: 400; color: #a9bdb0; font-size: .9rem; padding-top: 3px; }
.legend strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.legend span { color: #cfd9d2; font-size: .95rem; }

.agents { display: grid; gap: 12px; }
@media (min-width: 640px) { .agents { grid-template-columns: repeat(3, 1fr); } }
.agent { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }
.agent:hover { border-color: var(--ink); color: inherit; }
.agent strong { display: block; font-weight: 600; }
.agent small { display: block; color: var(--ink-2); font-size: .85rem; }
.mono { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--main-tint); color: var(--main); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .04em; border: 1px solid #c9d6cd; }
.mono-xl { width: 112px; height: 112px; font-size: 2.2rem; }

/* ---------- Κάρτα ακινήτου ---------- */
.grid { display: grid; gap: var(--gap); }
@media (min-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.card:hover { border-color: #b9b2a3; }
.card-fig { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line-2); }
.ph { width: 100%; height: 100%; object-fit: cover; }
.card-fig .ph { transition: transform .5s ease; }
.card:hover .card-fig .ph { transform: scale(1.025); }
.card.is-sold .card-fig .ph, .card.is-rented .card-fig .ph { filter: grayscale(.7); opacity: .8; }
.badges { position: absolute; inset-inline-start: 10px; top: 10px; display: flex; gap: 6px; }
.badge { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--r); font-weight: 600; background: var(--paper); color: var(--ink); }
.b-new { background: var(--paper); color: var(--main); }
.b-drop { background: var(--terra); color: #fff; }
.b-ink { background: var(--ink); color: #fff; }
.card-media { position: absolute; inset-inline-end: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgba(29,35,41,.78); color: #fff; font-size: .75rem;
  padding: 3px 7px; border-radius: var(--r); font-variant-numeric: tabular-nums; }
.card-media .ic { width: 14px; height: 14px; }
.card-media i { width: 1px; height: 12px; background: rgba(255,255,255,.4); margin: 0 3px; }
.fav { position: absolute; inset-inline-end: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(251,250,246,.92); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fav .ic { width: 19px; height: 19px; }
.fav.on { color: var(--terra); }
.fav.on .ic { fill: var(--terra); }
.card-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.card-price b { font-size: 1.2rem; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.card-price b small, .price-now small { font-size: .78rem; font-weight: 400; color: var(--ink-3); }
.card-price span { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card-title { font-size: 1.04rem; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }   /* όλη η κάρτα πατιέται */
.card-place { font-size: .85rem; color: var(--ink-2); }
.card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fav, .card-media { z-index: 2; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .84rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.facts li + li::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--line); margin: 0 9px; vertical-align: -1px; }
.facts-inline { color: var(--ink-2); }

/* Ενεργειακή κλάση — τα επίσημα χρώματα της κλίμακας */
.en-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding-block: 0; padding-inline: 5px 6px; color: #fff; font-size: .74rem; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); padding-inline-end: 10px; flex: none; }
.en-ap { background: #00843d; } .en-a { background: #00a651; } .en-bp { background: #4cb848; } .en-b { background: #bed630; color: var(--ink); }
.en-c { background: #fff200; color: var(--ink); } .en-d { background: #fdb913; color: var(--ink); } .en-e { background: #f37021; }
.en-z { background: #ed1c24; } .en-h { background: #b31b1b; }

/* ---------- Αποτελέσματα ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--ink-3); padding-top: 22px; margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.res-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.res-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 20px; padding: 10px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.res-count { margin-inline-end: auto; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.res-sort select { min-height: 38px; width: auto; min-width: 190px; }
.btn-filters { min-height: 38px; }
.res { display: grid; gap: 28px; padding-bottom: 24px; }
@media (min-width: 1024px) { .res { grid-template-columns: 288px minmax(0, 1fr); align-items: start; } .btn-filters, .flt-x { display: none; } }
.flt form { display: grid; gap: 18px; }
.flt-head { display: flex; justify-content: space-between; align-items: center; }
.flt-head h2 { font-size: 1.2rem; }
.flt-x { border: 0; background: none; width: 42px; height: 42px; cursor: pointer; }
.fld-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.fld-pair legend { grid-column: 1 / -1; }
.fld-pair i { color: var(--ink-3); font-style: normal; }
.flt-go { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--bg); padding-bottom: 6px; }
@media (min-width: 1024px) { .flt { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-inline-end: 6px; } }
@media (max-width: 1023px) {
  .flt { position: fixed; inset: auto 0 0 0; max-height: 88vh; overflow: auto; background: var(--bg); z-index: 40; padding: 14px 16px 0; border-top: 1px solid var(--ink);
    transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
  .flt.open { transform: none; visibility: visible; }
  body.sheet-on::after { content: ""; position: fixed; inset: 0; background: rgba(29,35,41,.42); z-index: 30; }
}
.card-wide .card-body { padding: 16px 18px; }
.empty { padding: 32px; border: 1px dashed var(--line); text-align: center; color: var(--ink-2); background: var(--paper); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0 8px; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------- Σελίδα ακινήτου ---------- */
.p-title { display: grid; gap: 16px; padding-bottom: 20px; }
@media (min-width: 900px) { .p-title { grid-template-columns: 1fr auto; align-items: end; } }
.p-title h1 { max-width: 24ch; }
.p-place { display: flex; align-items: center; gap: 6px; color: var(--ink-2); margin-top: .6rem; }
.p-price { text-align: start; position: relative; }
@media (min-width: 900px) { .p-price { text-align: end; } }
.p-price .badges { position: static; margin-bottom: 8px; }
@media (min-width: 900px) { .p-price .badges { justify-content: flex-end; } }
.price-now { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.015em; line-height: 1.1; }
.price-was { margin-top: 4px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.drop { color: var(--terra); font-weight: 600; }

.gal { display: grid; gap: 6px; position: relative; }
.gal-i { padding: 0; border: 0; cursor: zoom-in; background: var(--line-2); overflow: hidden; position: relative; aspect-ratio: 3 / 2; display: block; width: 100%; }
.gal-i .ph { transition: transform .5s ease, opacity .2s; }
.gal-i:hover .ph { transform: scale(1.02); }
.gal-i.is-plan { background: #f8f6f0; }
.gal-i.is-plan .ph { object-fit: contain; }
.gal-tag { position: absolute; inset-inline-start: 10px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; background: var(--paper); font-size: .78rem; padding: 4px 8px; border: 1px solid var(--line); }
.gal-all { position: absolute; inset-inline-end: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ink); background: var(--paper); padding: 8px 12px; font-size: .88rem; cursor: pointer; border-radius: var(--r); }
.gal-all:hover { background: var(--ink); color: #fff; }
@media (max-width: 767px) {
  .gal { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; gap: 0; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal-i { scroll-snap-align: start; }
  .gal-all { position: sticky; inset-inline-end: 12px; }
  .gal-strip { display: flex; justify-content: center; gap: 5px; padding: 10px 0 0; }
  .gal-strip span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
  .gal-strip span.on { background: var(--ink); }
  .gal-all { display: none; }
}
@media (min-width: 768px) {
  .gal-strip { display: none; }
  .gal-n5, .gal-n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.4 / 1; }
  .gal-n5 .gal-i, .gal-n4 .gal-i, .gal-n3 .gal-i { aspect-ratio: auto; height: 100%; }
  .gal-n5 .gal-i:first-child, .gal-n4 .gal-i:first-child { grid-row: 1 / 3; }
  .gal-n4 .gal-i:nth-child(4) { grid-column: 2 / 4; }
  .gal-n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.2 / 1; }
  .gal-n3 .gal-i:first-child { grid-row: 1 / 3; }
  .gal-n2 { grid-template-columns: 1fr 1fr; }
  .gal-n1 { max-width: 900px; }
}

.p-body { display: grid; gap: 40px; padding-top: 24px; }
@media (min-width: 1024px) { .p-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
.p-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.p-actions .fav, .act { position: static; width: auto; height: 38px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px; font-size: .88rem; cursor: pointer; color: var(--ink); }
.act.on { border-color: var(--main); color: var(--main); }
.blk { padding: 26px 0; border-bottom: 1px solid var(--line); }
.blk:last-child { border-bottom: 0; }
.blk-h { font-size: 1.3rem; margin-bottom: 16px; }
.prose { max-width: 66ch; color: var(--ink-2); font-size: 1.03rem; line-height: 1.7; }
/* «γραμμή διάστασης» σαν σε σχέδιο */
.dim { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-family: var(--mono); font-size: .85rem; margin: -4px 0 16px; max-width: 520px; }
.dim i { flex: 1; height: 1px; background: var(--ink-3); position: relative; }
.dim i::before { content: ""; position: absolute; top: -6px; height: 13px; border-inline-start: 1px solid var(--ink-3); }
.dim i:first-child::before { inset-inline-start: 0; }
.dim i:last-child::before { inset-inline-end: 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.kv > div { padding-block: 12px; padding-inline: 0 12px; border-bottom: 1px solid var(--line-2); }
.kv dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }
.kv dd small { color: var(--ink-3); }
.kv-tight { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 18px; }
.feats { display: grid; gap: 20px; }
@media (min-width: 600px) { .feats { grid-template-columns: 1fr 1fr; } }
.feats h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.feats ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.feats li { display: flex; align-items: center; gap: 8px; }
.feats .ic { color: var(--main); width: 16px; height: 16px; }
.escale { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; max-width: 360px; }
.escale li { display: flex; }
.escale li span { display: inline-flex; align-items: center; height: 22px; padding-inline-start: 8px; color: #fff; font-size: .78rem; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); background: inherit; }
.escale li { background: none !important; }
.escale li:nth-child(1) span { width: 34%; } .escale li:nth-child(2) span { width: 41%; } .escale li:nth-child(3) span { width: 48%; }
.escale li:nth-child(4) span { width: 55%; } .escale li:nth-child(5) span { width: 62%; } .escale li:nth-child(6) span { width: 69%; }
.escale li:nth-child(7) span { width: 76%; } .escale li:nth-child(8) span { width: 83%; } .escale li:nth-child(9) span { width: 90%; }
.escale .en-ap span { background: #00843d; } .escale .en-a span { background: #00a651; } .escale .en-bp span { background: #4cb848; } .escale .en-b span { background: #bed630; color: var(--ink); }
.escale .en-c span { background: #fff200; color: var(--ink); } .escale .en-d span { background: #fdb913; color: var(--ink); } .escale .en-e span { background: #f37021; }
.escale .en-z span { background: #ed1c24; } .escale .en-h span { background: #b31b1b; }
.escale li:not(.on) span { opacity: .28; }
.escale li.on { position: relative; }
.escale li.on span { height: 28px; font-size: .9rem; margin: -3px 0; opacity: 1; }
.escale li.on::after { content: "◂"; margin-inline-start: 8px; color: var(--ink); line-height: 22px; }

.map { border: 1px solid var(--line); background: var(--paper); }
.map-draw { width: 100%; height: auto; display: block; aspect-ratio: 2 / 1; }
.map-live { width: 100%; aspect-ratio: 2 / 1; }
.map-cap { display: grid; gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.map-cap strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.map-cap .btn { justify-self: start; margin-top: 4px; }
.map-cap small { color: var(--ink-3); font-size: .78rem; }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 700px) { .calc-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.calc-out { margin: 16px 0 6px; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-variant-numeric: tabular-nums; }
.hist { width: 100%; max-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hist td { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.hist td.num { text-align: end; }

.p-side .contact { background: var(--paper); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
@media (min-width: 1024px) { .p-side { position: sticky; top: 84px; } }
.c-agent { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.c-agent strong { display: block; font-weight: 600; }
.c-agent small { color: var(--ink-2); font-size: .85rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; min-height: 42px; cursor: pointer; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ink-2); }
.tabs button[aria-selected="true"] { border-bottom-color: var(--main); color: var(--ink); font-weight: 600; }
.c-form { display: grid; gap: 12px; }
.c-form[hidden] { display: none; }
.chips-days label span { min-width: 54px; padding: 4px .5rem; }

.mbar { display: none; }
@media (max-width: 1023px) {
  .pg-prop .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: sticky; bottom: 0; z-index: 15; background: var(--bg); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); margin-top: 24px; }
}

/* ---------- Μεσίτης, σύγκριση ---------- */
.ag-head { display: grid; gap: 24px; padding-top: 36px; }
@media (min-width: 720px) { .ag-head { grid-template-columns: 112px 1fr; gap: 36px; } }
.ag-head .prose { margin-top: .8rem; }
.agents-big .agent { align-items: flex-start; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: start; vertical-align: top; font-weight: 400; }
.cmp thead th { width: 23%; }
.cmp thead a { display: grid; gap: 8px; text-decoration: none; font-family: var(--serif); font-size: 1rem; line-height: 1.25; }
.cmp thead .ph { aspect-ratio: 3 / 2; }
.cmp tbody th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); width: 150px; position: sticky; inset-inline-start: 0; background: var(--paper); }

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: #14181c; color: #fff; }
.lb[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lb::backdrop { background: rgba(20,24,28,.94); }
.lb-fig { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; display: grid; gap: 10px; justify-items: center; padding: 56px 0 24px; max-height: 100vh; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #ece7dc; }
.lb-fig figcaption { font-size: .85rem; color: #b9bfc4; font-variant-numeric: tabular-nums; }
.lb-nav, .lb-x { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; justify-self: center; }
.lb-x { position: absolute; inset-inline-end: 14px; top: 12px; }
.lb .ic { width: 22px; height: 22px; }
@media (max-width: 600px) { .lb[open] { grid-template-columns: 0 1fr 0; } .lb-nav { position: absolute; bottom: 18px; } .lb-prev { inset-inline-start: calc(50% - 56px); } .lb-next { inset-inline-end: calc(50% - 56px); } }

/* ---------- Υποσέλιδο ---------- */
.foot { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--ink); padding: 32px 0 40px; font-size: .9rem; color: var(--ink-2); }
.foot-in { display: grid; gap: 22px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1fr 1fr 1.4fr; } }
.foot-brand { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 6px; }
.foot-h { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.foot-legal { font-size: .8rem; color: var(--ink-3); }

/* ---------- Hub: μηνύματα, κενά, φωτογραφία μεσίτη, σχέδιο χάρτη ---------- */
.flash { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-inline-start: 3px solid var(--main); background: var(--paper); }
.flash-err { border-inline-start-color: var(--terra); color: #7a2e12; }
.week-empty .week-cap { display: grid; gap: 6px; }
img.mono-img { object-fit: cover; border-radius: 50%; padding: 0; }
.md-bg { fill: #ece7dc; }
.md-sea { fill: #d7e0dc; }
.md-road { fill: none; stroke: var(--ink); stroke-opacity: .28; stroke-width: 2; }
.md-lane { fill: none; stroke: var(--ink); stroke-opacity: .12; stroke-width: 1; }
.md-zone { fill: var(--main); fill-opacity: .14; stroke: var(--main); stroke-width: 2; stroke-dasharray: 6 6; }
.md-dot { fill: var(--main); }
.map-live .leaflet-container { font: inherit; }
.p-side .btn-main.btn-block { margin-top: -4px; }

/* ---------- 1.1.0 (γύρος 223): χάρτης λίστας, ειδοποιήσεις, προώθηση ---------- */
.b-promo { background: var(--main); color: #fff; }
.map-live.leaflet-container, .resmap-live.leaflet-container { font: inherit; background: var(--line-2); }
.leaflet-container .leaflet-control-attribution { font-size: .7rem; background: rgba(255,255,255,.86); }
.leaflet-container .leaflet-control-attribution a { color: var(--ink-2); }
.res-bar .btn-small { min-height: 40px; }
.resmap { margin-top: 14px; border: 1px solid var(--line); background: var(--paper); }
.resmap-live { width: 100%; height: 340px; }
@media (min-width: 900px) { .resmap-live { height: 440px; } }
.resmap-note { margin: 0; padding: 8px 12px; border-top: 1px solid var(--line); }
.es-pop { display: grid; gap: 2px; min-width: 160px; max-width: 230px; font-size: .86rem; line-height: 1.35; }
.es-pop b { font-variant-numeric: tabular-nums; }
.es-pop a { color: var(--main); text-decoration: underline; text-underline-offset: 2px; }
.es-pop code { font-size: .74rem; color: var(--ink-3); }
.alert-box { scroll-margin-top: 84px; margin-top: 28px; padding: 18px 16px; border: 1px solid var(--line); border-top: 2px solid var(--main); background: var(--paper); }
.alert-box h2 { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.alert-box > p { margin: 0 0 12px; }
.al-form { display: grid; gap: 12px; }
@media (min-width: 700px) { .al-form { grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; } .al-form .chips { margin: 0; } }
.narrow { max-width: 720px; }
.al-page h1, .pr-page h1 { font-family: var(--serif); font-weight: 400; }
.al-what { font-size: 1.08rem; padding: 12px 14px; border-inline-start: 3px solid var(--main); background: var(--paper); }
.al-act { margin: 16px 0; display: grid; gap: 10px; justify-items: start; }
.al-del { padding-top: 16px; border-top: 1px solid var(--line-2); }
.pr-card { margin: 20px 0; }
.pr-card .card { max-width: 520px; }
.pr-what { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.pr-what li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.pr-what .ic { color: var(--main); flex: none; margin-top: 2px; }
.pr-price { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0 0 12px; }
.pr-price b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.pr-price span { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .top, .foot, .p-side, .mbar, .p-actions, .gal-all, .map-cap .btn, .calc, .sec { display: none !important; }
  body { background: #fff; }
}

/* ---------- Δεξιά-προς-αριστερά (RTL κύκλος 6, estate 1.1.3): μόνο ό,τι δεν κάνουν οι λογικές ιδιότητες. Σε LTR δεν ισχύει τίποτα. ---------- */
[dir="rtl"] select { background-position: left .75rem center; }
[dir="rtl"] .en-tag { clip-path: polygon(7px 0, 100% 0, 100% 100%, 7px 100%, 0 50%); }
[dir="rtl"] .escale li span { clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%); }
[dir="rtl"] .escale li.on::after { content: "▸"; }
[dir="rtl"] .escale li span, [dir="rtl"] .en-tag { unicode-bidi: plaintext; }   /* «A+» να μη γίνεται «+A» */
[dir="rtl"] .lb-nav .ic { transform: scaleX(-1); }
[dir="rtl"] .leaflet-container { direction: ltr; }
[dir="rtl"] .leaflet-popup-content { direction: rtl; }
