/* Αρχική σελίδα (el/en) */

/* ---------------- Hero ---------------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 48px) 0 clamp(24px, 4vh, 48px); color: #fff; background: var(--navy-900) url("/assets/img/hero-poster.webp") center / cover no-repeat; overflow: hidden; }
@media (max-height: 640px) and (min-width: 768px) { .hero { min-height: 680px; } }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(11,27,43,.6) 0%, rgba(11,27,43,.08) 28%, rgba(11,27,43,.25) 55%, rgba(11,27,43,.88) 100%),
  radial-gradient(ellipse at 15% 85%, rgba(11,27,43,.55), transparent 60%); }
.hero-inner { display: grid; gap: 22px; }
.hero .eyebrow { color: #F2B79B; margin: 0; }
@media (max-width: 479px) { .eb-long { display: none; } }
.hero h1 { color: #fff; margin: 0; max-width: 15ch; font-size: clamp(2.5rem, 1.5rem + 4.6vw, 5.25rem); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(11,27,43,.35); }
.hero h1 em { font-style: normal; color: #F2B79B; }
.hero-sub { margin: 0; max-width: 46ch; font-size: var(--fs-md); color: #E4EAEE; }

/* Φόρμα αναζήτησης */
.hero-search { margin-top: 10px; background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 10px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); max-width: 1080px; }
.hs-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 10px; }
.hs-top .seg { background: var(--bg); }
.hs-hint { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding-right: 8px; }
.hs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hs-field { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--r-md); background: var(--bg); min-width: 0; transition: background var(--dur-fast); }
.hs-field:hover, .hs-field:focus-within { background: var(--bg-deep); }
.hs-field label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hs-field .select { min-height: 30px; padding: 0 26px 0 0; border: 0; background-color: transparent; background-position: right 0 center; font-weight: 700; color: var(--navy-900); box-shadow: none; }
.hs-field .select:focus { box-shadow: none; }
.hs-field:focus-within { outline: 2px solid var(--ring); outline-offset: 0; }
/* Custom dropdown (Περιοχή / Είδος ακινήτου / Εμβαδόν): ίδια «συνταγή» με το μενού πλοήγησης
   (.nav-submenu) — στρογγυλές γωνίες, σκιά, terracotta hover/επιλογή — αντί για το native popup */
.dd-btn { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 30px; padding: 0; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--navy-900); text-align: left; cursor: pointer; }
.dd-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn .i { flex-shrink: 0; margin-left: auto; color: var(--muted); transition: transform var(--dur-fast); }
.dd.open .dd-btn .i { transform: rotate(180deg); }
.dd-panel { position: fixed; z-index: var(--z-modal); min-width: 220px; max-width: min(320px, calc(100vw - 32px)); max-height: 320px; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.dd-group { padding: 10px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dd-option { padding: 10px 14px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; color: var(--text); cursor: pointer; }
.dd-option:hover { background: var(--bg); color: var(--navy-900); }
.dd-option[aria-selected="true"] { background: var(--terra-soft); color: var(--terra-ink); }
.hs-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hs-price-row output { font-size: 12.5px; font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-field-price .range { width: 100%; height: 30px; margin: 0; padding: 0; accent-color: var(--terra); cursor: pointer; }
.hs-field-price .range:disabled { accent-color: var(--navy-300); cursor: not-allowed; }
.hs-submit { grid-column: 1 / -1; min-height: 56px; border-radius: var(--r-md); }
@media (min-width: 900px) {
  .hs-fields { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0; background: var(--bg); border-radius: var(--r-md); }
  .hs-field { border-radius: 0; background: transparent; }
  .hs-field + .hs-field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line-strong); }
  .hs-field:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
  .hs-submit { grid-column: auto; min-height: 64px; padding: 0 32px; border-radius: var(--r-md); margin: 4px; min-height: 60px; }
}
@media (max-width: 480px) { .hs-top .seg { width: 100%; } .hs-top .seg label { flex: 1; padding: 0 10px; } .hs-hint { display: none; } }

.hero-foot { position: absolute; right: 0; left: 0; top: calc(var(--nav-h) + 12px); display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.hero-foot > * { pointer-events: auto; }
.hero-ctrl, .video-credit { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(11,27,43,.5); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: var(--fs-xs); font-weight: 700; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-ctrl { width: 40px; padding: 0; justify-content: center; }
.hero-ctrl .i, .video-credit .i { width: 16px; height: 16px; }
.hero-ctrl:hover, .video-credit:hover { background: rgba(11,27,43,.75); border-color: #fff; }
@media (max-width: 600px) { .video-credit span { display: none; } .video-credit { width: 40px; padding: 0; justify-content: center; } }

/* ---------------- Κατηγορίες ---------------- */
.quick { padding-block: clamp(36px, 4vw, 56px) 0; }
.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(196px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.quick-grid::-webkit-scrollbar { display: none; }
.quick-grid li { scroll-snap-align: start; }
.quick-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.quick-card:hover { border-color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quick-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--terra-soft); color: var(--terra-ink); transition: background var(--dur), color var(--dur); }
.quick-card:hover .quick-icon { background: var(--navy-900); color: #fff; }
.quick-name { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .35vw, 1.3rem); font-weight: 500; line-height: 1.15; }
.quick-count { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.quick-count .i { width: 18px; height: 18px; color: var(--navy-900); transition: transform var(--dur) var(--ease); }
.quick-card:hover .quick-count .i { transform: translateX(3px); }

/* ---------------- Πρόσφατα (carousel) ---------------- */
.carousel-nav { display: flex; align-items: center; gap: 8px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel { grid-auto-columns: calc((100% - 2 * var(--gutter) - 18px) / 2); } }
@media (min-width: 1024px) { .carousel { grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * 24px) / 4); gap: 24px; } }
@media (max-width: 639px) { .carousel-nav .icon-btn { display: none; } }
.carousel .state { grid-column: 1 / -1; width: calc(100vw - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); }

/* ---------------- Ανάθεση ---------------- */
.assign-card { display: grid; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--terra-soft); border: 1px solid var(--terra-tint); position: relative; overflow: hidden; }
.assign-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 320px; border-radius: 999px 999px 0 0; border: 1px solid rgba(168,68,31,.18); transform: rotate(18deg); pointer-events: none; }
@media (min-width: 960px) { .assign-card { grid-template-columns: 1.05fr 1fr; align-items: center; } }
.assign-copy h2 { max-width: 16ch; }
.assign-copy > p { color: var(--text); max-width: 48ch; }
.assign-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.assign-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; z-index: 1; }
.assign-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--terra-tint); }
.assign-steps li:first-child { border-top: 0; }
.step-n { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--terra-ink); }
.assign-steps h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 800; margin: 2px 0 4px; color: var(--navy-900); }
.assign-steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------------- Χάρτης ---------------- */
.map-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .map-layout { grid-template-columns: .8fr 1.6fr; align-items: stretch; gap: 48px; } }
.map-copy { display: flex; flex-direction: column; justify-content: center; }
.map-copy h2 { max-width: 14ch; }
.map-legend { list-style: none; display: flex; gap: 18px; margin: 4px 0 24px; padding: 0; font-size: var(--fs-sm); font-weight: 700; }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-legend .pin-price { transform: none; height: 26px; }
.map-copy .btn { align-self: flex-start; }
.home-map { min-height: 400px; }
@media (min-width: 960px) { .home-map { min-height: 540px; } }
#homeMap { position: absolute; inset: 0; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); margin: 0; }

/* ---------------- Αριθμοί ---------------- */
.stats { background: var(--navy-900); padding-block: clamp(48px, 6vw, 88px); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 0 clamp(16px, 2.5vw, 36px); border-left: 1px solid rgba(255,255,255,.14); text-decoration: none; color: #B8C4CF; font-size: var(--fs-sm); }
.stat-num { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); font-weight: 500; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat-num .i { width: .6em; height: .6em; color: #F2B79B; fill: #F2B79B; }
a.stat:hover .stat-label { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Η εταιρεία ---------------- */
.about-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.about-media { margin: 0; position: relative; max-width: 460px; }
.about-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.about-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-strong); border-radius: 999px 999px var(--r-lg) var(--r-lg); z-index: -1; }
.about-media figcaption { margin-top: 28px; font-size: var(--fs-xs); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.about-copy h2 { max-width: 18ch; }
.about-copy p { color: var(--text); line-height: 1.8; }
.about-copy .lead { color: var(--navy-700); }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding: 0; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900); }
.values .i { width: 16px; height: 16px; color: var(--terra-ink); }
.about-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-meta a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy-900); font-weight: 700; text-decoration: none; }
.about-meta a:hover { color: var(--terra-ink); text-decoration: underline; text-underline-offset: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--terra); }
.stars .i { width: 18px; height: 18px; fill: currentColor; }
