/* 360 Realty: public website (light only) */
:root {
  --navy: #121B2C; --navy-d: #0B1220; --navy-2: #2A3650;
  --accent: #C19453; --accent-d: #A97E41; --accent-ink: #8C6630; --on-accent: #121B2C; --rust: #8C6630;
  --paper: #F6F4EF; --paper-2: #EEEAE2; --card: #FFFFFF;
  --ink: #121B2C; --ink-2: #4A5262; --ink-3: #868B97; --line: #E4DFD5;
  --gold: #C19453;
  --shadow: 0 1px 2px rgba(18, 27, 44, .05), 0 8px 24px rgba(18, 27, 44, .07);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .22);
  --r: 14px; --r-lg: 22px;
  --head: -.03em;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: 20px; --hdr: 76px;
  color-scheme: light;
}
@media (max-width: 640px) { :root { --gut: 16px; --hdr: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; }
p { margin: 0; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

.pilot { background: #FFF1D6; color: #7A5200; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.pilot a { font-weight: 800; text-decoration: underline; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn.lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-d); }
.btn.accent { background: var(--accent); color: var(--on-accent); }
.btn.accent:hover { background: var(--accent-d); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.light:hover { background: rgba(255, 255, 255, .2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.grow { flex: 1; min-width: 0; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: var(--hdr); }
.brand { flex: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo .mark { width: 50px; height: 28px; flex: none; }
.logo .wm { font-size: 25px; font-weight: 400; letter-spacing: -.03em; line-height: 1; display: flex; flex-direction: column; }
.logo .wm b { font-weight: 800; }
.logo .wt { white-space: nowrap; }
.logo .wm small { font-size: 9.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); margin-top: 4px; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 11px; border-radius: 9px; font-weight: 650; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { color: var(--navy); background: var(--paper); }
.nav a.on { color: var(--navy); background: var(--paper-2); }
.call { flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.burger svg.i { width: 22px; height: 22px; }
@media (max-width: 1180px) { .nav a { padding: 8px 8px; font-size: 14px; } .call span { display: none; } .call { width: 40px; padding: 0; } }
@media (max-width: 1020px) { .nav, .call { display: none; } .burger { display: inline-flex; } }
@media (max-width: 400px) { .logo .wm small { display: none; } .logo .wm { font-size: 23px; } }

.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(11, 18, 32, .4); }
.drawer[hidden] { display: none; }
.drawer-in { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; padding: 12px var(--gut) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; color: var(--navy); }
.drawer nav a svg { color: var(--accent); }
.drawer-contact { display: grid; gap: 10px; margin-top: auto; }
.code-search { display: flex; gap: 8px; }
.code-search input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--paper); }
.code-search button { width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
body.lock { overflow: hidden; }

/* ---------- type ---------- */
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.kicker.light { color: #E3C08A; }
.sec { padding: 72px 0; }
.sec.alt { background: #fff; }
@media (max-width: 640px) { .sec { padding: 48px 0; } }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-h h2 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); }
.more:hover { gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-d); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 18, 32, .88) 0%, rgba(11, 18, 32, .62) 45%, rgba(11, 18, 32, .18) 100%), linear-gradient(0deg, rgba(11, 18, 32, .5), transparent 40%); }
.hero-in { min-height: min(760px, calc(100svh - var(--hdr))); display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-top: 64px; padding-bottom: 96px; }
.hero-copy { max-width: 640px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5.6vw, 66px); line-height: 1.06; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: #E3C08A; }
.hero-copy p { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: #D9DCE3; max-width: 520px; }
.hero-tag { position: absolute; right: var(--gut); bottom: 28px; max-width: 320px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; }
.hero-tag small { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #E3C08A; font-weight: 800; }
.hero-tag b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tag span { font-weight: 700; color: #D9DCE3; font-size: 14px; }
@media (max-width: 900px) { .hero-tag { display: none; } .hero-in { padding-bottom: 48px; } }

.finder { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-lg); max-width: 1000px; display: grid; gap: 14px; }
.finder-f { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.finder-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.codeq { display: flex; align-items: center; gap: 8px; color: var(--ink-2); min-width: 0; flex: 1; max-width: 360px; }
.codeq input { border: 0; border-bottom: 1.5px dashed var(--line); background: transparent; padding: 4px 0; min-width: 0; flex: 1; font-size: 14px; }
.codeq input:focus { outline: none; border-bottom-color: var(--accent); }
@media (max-width: 860px) { .finder-f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .finder-f .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .finder { padding: 14px; } .finder-f { grid-template-columns: minmax(0, 1fr); } }

/* segmented radios */
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--paper); border-radius: 12px; justify-self: start; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 18px; border-radius: 9px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.seg input:checked + span { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.seg.sm span { padding: 7px 14px; font-size: 14px; }

/* fields */
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.f input, .f select, .f textarea { width: 100%; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 0 14px; font-size: 15.5px; transition: border-color .15s; }
.f textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.f select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5A70' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); }
.f.two > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .row2, .row3 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy); }
.check a { color: var(--navy); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-in > div { padding: 26px 12px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.strip-in > div:first-child { border-left: 0; }
.strip b { display: block; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.strip span { font-size: 13px; color: #BBC0CB; font-weight: 600; }
.strip b span { font: inherit; color: inherit; letter-spacing: inherit; }
@media (max-width: 640px) { .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip-in > div:nth-child(3) { border-left: 0; } .strip-in > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 27, 44, .06), 0 18px 40px rgba(18, 27, 44, .12); }
.card .ph { position: relative; height: 240px; background: var(--paper-2); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.04); }
.noph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); }
.noph svg.i { width: 34px; height: 34px; stroke-width: 1.4; }
.noph.big { height: 320px; border-radius: var(--r-lg); background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.deal { display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--navy); color: #fff; }
.deal.rent { background: var(--navy-2); }
.card .deal { position: absolute; left: 12px; top: 12px; }
.flag { display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; background: var(--navy); color: #fff; }
.flag.gold { background: var(--gold); color: var(--on-accent); }
.card .flag { position: absolute; right: 12px; top: 12px; }
.cnt { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(11, 18, 32, .7); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.cnt svg.i { width: 15px; height: 15px; }
.card .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.card .price { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.card .price small, .d-price small { font-size: .62em; font-weight: 600; color: var(--ink-3); }
.card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.loc { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 14px; min-width: 0; }
.loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc svg.i { width: 16px; height: 16px; color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.facts span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.facts svg.i { width: 16px; height: 16px; color: var(--ink-3); }
.code { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .03em; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tile { position: relative; height: 180px; border-radius: var(--r); overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 18, 32, .85), rgba(11, 18, 32, .1) 70%); }
.tile:hover img { transform: scale(1.05); }
.tile span { padding: 16px; display: grid; }
.tile b { font-size: 19px; font-weight: 800; }
.tile small { color: #D9DCE3; font-weight: 600; }
@media (max-width: 480px) { .tile { height: 140px; } .tile b { font-size: 16px; } }

/* why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why-c { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.why-c > svg.i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #F6EEE2; color: var(--accent); stroke-width: 1.7; }
.why-c h3 { font-size: 19px; color: var(--navy); }
.why-c p { color: var(--ink-2); }
.why-c a, .svc-c a { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); }

/* map */
.map { height: 360px; border-radius: var(--r); overflow: hidden; background: var(--paper-2); z-index: 0; }
.map.lg { height: 460px; }
.map.tall { height: calc(100svh - var(--hdr) - 40px); position: sticky; top: calc(var(--hdr) + 20px); }
@media (max-width: 640px) { .map, .map.lg { height: 300px; } }
.pinp { background: var(--navy); color: #fff; font: 800 12px var(--sans); padding: 4px 8px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: translate(-50%, -100%); position: relative; }
.pinp::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.pinp.rent { background: var(--navy-2); }
.pinp.rent::after { border-top-color: var(--navy-2); }
.mpop { width: 220px; font-family: var(--sans); }
.mpop img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.mpop b { display: block; color: var(--navy); font-size: 15px; }
.mpop span { color: var(--ink-2); font-size: 13px; }
.leaflet-popup-content-wrapper { border-radius: 12px; }

/* golden visa teaser */
.gv { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.gv-copy h2 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); color: var(--navy); margin-bottom: 14px; }
.gv-copy p { color: var(--ink-2); margin-bottom: 22px; font-size: 17px; }
.gv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gv-empty { grid-column: 1 / -1; background: #fff; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 36px; display: grid; gap: 6px; justify-items: center; text-align: center; color: var(--ink-2); }
.gv-empty svg.i { width: 36px; height: 36px; color: var(--gold); }
.gv-empty b { color: var(--navy); font-size: 17px; }
@media (max-width: 900px) { .gv { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 560px) { .gv-list { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.band { background: var(--navy) radial-gradient(1000px 300px at 90% 0%, rgba(193, 148, 83, .28), transparent 60%); color: #fff; padding: 56px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); }
.band p { color: #C5D2E4; margin-top: 8px; max-width: 560px; }
.band-act { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 520px) { .band-act, .band-act .btn { width: 100%; } }

/* ---------- page head ---------- */
.phead { padding: 56px 0 40px; background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); }
.phead.slim { padding: 32px 0 20px; }
.phead h1 { font-weight: 800; font-size: clamp(32px, 5vw, 52px); color: var(--navy); }
.phead.slim h1 { font-size: clamp(26px, 3.6vw, 38px); }
.lead { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 720px; }

/* ---------- results ---------- */
.results { padding-top: 22px; padding-bottom: 64px; }
.filters { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr) auto; gap: 12px; align-items: end; background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.filters .seg { align-self: end; height: 48px; }
.filters .seg span { padding: 8px 12px; }
@media (max-width: 1180px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filters .seg { grid-column: 1 / -1; } .filters .btn { align-self: end; } }
@media (max-width: 620px) { .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .filters .f.two, .filters .btn { grid-column: 1 / -1; } .filters .seg { display: flex; } .filters .seg label { flex: 1; text-align: center; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 14px; border-radius: 17px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: 13.5px; color: var(--navy); }
.chip svg.i { width: 15px; height: 15px; color: var(--ink-3); }
.chip.clear { padding: 0 14px; color: var(--accent-ink); }
.tb-r { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.sort select { height: 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 0 12px; font-weight: 650; font-size: 14px; }
.vt { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.vt a { width: 36px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-3); }
.vt a.on { background: var(--navy); color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
.split .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1020px) { .split { grid-template-columns: minmax(0, 1fr); } .map.tall { position: static; height: 380px; } }
@media (max-width: 620px) { .split .cards { grid-template-columns: minmax(0, 1fr); } }
.empty { grid-column: 1 / -1; background: #fff; border-radius: var(--r); padding: 48px 24px; text-align: center; display: grid; justify-items: center; gap: 10px; box-shadow: var(--shadow); }
.empty > svg.i { width: 40px; height: 40px; color: var(--ink-3); stroke-width: 1.4; }
.empty b { font-size: 18px; color: var(--navy); }
.empty p { color: var(--ink-2); max-width: 440px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; padding: 0 10px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- listing detail ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; padding-top: 18px; padding-bottom: 14px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); }
.crumbs b { color: var(--ink-2); }
.gal { position: relative; }
.gal-track { display: flex; gap: 8px; height: 520px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-i { flex: none; height: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; scroll-snap-align: start; width: 100%; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; }
/* desktop: one big photo + a 2×2 mosaic */
@media (min-width: 900px) {
  .gal.multi .gal-track { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); overflow: hidden; }
  .gal.multi .gal-i { width: auto; height: auto; }
  .gal.multi .gal-i:first-child { grid-row: 1 / 3; }
  .gal.multi .gal-i:nth-child(n+6) { display: none; }
  .gal.multi .gal-ctr { display: none; }
}
@media (max-width: 899px) { .gal { padding: 0; } .gal-track { height: 300px; border-radius: 0; gap: 0; } }
.gal-ctr { position: absolute; left: calc(var(--gut) + 12px); bottom: 14px; background: rgba(11, 18, 32, .72); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
@media (max-width: 899px) { .gal-ctr { left: 12px; } }
.gal-all { position: absolute; right: calc(var(--gut) + 14px); bottom: 14px; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 11px; border: 0; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); cursor: pointer; }
@media (max-width: 899px) { .gal-all { right: 12px; height: 36px; font-size: 13px; } }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
@media (max-width: 1020px) { .detail { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.tagc { display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; background: var(--paper-2); color: var(--ink-2); }
.d-main h1 { font-weight: 800; font-size: clamp(28px, 3.8vw, 42px); color: var(--navy); margin-top: 14px; }
.d-main > .loc { margin-top: 8px; font-size: 15.5px; }
.d-price { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-top: 16px; }
.d-price b { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.d-price span { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 24px; }
.keyfacts > div { background: #fff; border-radius: 12px; padding: 14px; display: grid; gap: 2px; box-shadow: var(--shadow); min-width: 0; }
.keyfacts svg.i { color: var(--accent); margin-bottom: 6px; }
.keyfacts b { font-size: 17px; color: var(--navy); overflow-wrap: anywhere; }
.keyfacts span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.blk { margin-top: 36px; }
.blk h2 { font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.desc { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.desc p + p { margin-top: 12px; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; background: #fff; border-radius: var(--r); padding: 6px 20px; box-shadow: var(--shadow); }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.specs dt { color: var(--ink-3); font-size: 14.5px; }
.specs dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 620px) { .specs { grid-template-columns: minmax(0, 1fr); } }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.feats li { display: flex; gap: 8px; align-items: center; color: var(--ink-2); font-weight: 600; font-size: 15px; min-width: 0; }
.feats svg.i { color: var(--accent); width: 18px; height: 18px; }
@media (max-width: 760px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .feats { grid-template-columns: minmax(0, 1fr); } }
.energy { display: flex; gap: 4px; flex-wrap: wrap; }
.energy span { min-width: 40px; height: 34px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: hsl(var(--h) 55% 48%); opacity: .35; }
.energy span.on { opacity: 1; transform: scale(1.12); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.video { position: relative; padding-top: 56.25%; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.d-main .map + p { margin-top: 10px; }

.d-side { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px; }
@media (max-width: 1020px) { .d-side { position: static; } }
.box { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.box.soft { background: var(--paper-2); box-shadow: none; }
.box h2 { font-size: 22px; color: var(--navy); }
.box h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; }
@media (max-width: 480px) { .box { padding: 18px; border-radius: var(--r); } }
.form { display: grid; gap: 14px; align-content: start; }
.form > .seg { justify-self: stretch; display: flex; }
.form > .seg label { flex: 1; text-align: center; }
.form-msg:empty { display: none; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; }
.form-msg.ok { background: #E3F3EA; color: #17603F; }
.form-msg.err { background: #F6EEE2; color: #A2351A; }
.sent { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 18px 6px; }
.sent > svg.i { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: #E3F3EA; color: #1E8A5B; stroke-width: 2.2; }
.sent h3 { font-size: 22px; margin: 0; }
.sent p { color: var(--ink-2); }
.agent { display: grid; gap: 10px; }
.agent-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.agent-top .mark { width: 54px; height: 32px; flex: none; }
.agent-top b { display: block; color: var(--navy); }
.agent-top span { font-size: 13px; color: var(--ink-3); }

.mbar { display: none; }
@media (max-width: 1020px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn.ghost { width: 50px; padding: 0; }
  body:has(.mbar) .ftr { padding-bottom: 90px; }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(11, 18, 32, .96); display: flex; flex-direction: column; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: #fff; font-weight: 700; }
.lb-x { width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: none; width: 100%; height: 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 0 12px 24px; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
@media (max-width: 700px) { .lb-nav { display: none; } }

/* ---------- forms pages ---------- */
.formpage { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
@media (max-width: 960px) { .formpage { grid-template-columns: minmax(0, 1fr); } }
.form.big { gap: 6px; }
fieldset { border: 0; margin: 0; padding: 0 0 22px; display: grid; gap: 14px; min-width: 0; }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 22px; }
legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--navy); padding: 0; margin-bottom: 14px; }
legend b { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 13.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; font-weight: 650; font-size: 14.5px; color: var(--ink-2); }
.pills input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.aside-copy { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 20px); }
@media (max-width: 960px) { .aside-copy { position: static; } }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }
.steps b { color: var(--ink); }
.matches h3 { margin-bottom: 12px; }
.matches .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.matches .card .ph { height: 170px; }

.prose { min-width: 0; }
.prose.narrow { max-width: 780px; padding-top: 36px; padding-bottom: 72px; }
.prose h2 { font-size: 22px; color: var(--navy); margin: 26px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--navy); margin: 22px 0 10px; }
.prose p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose p.big { font-size: clamp(19px, 2vw, 22px); line-height: 1.65; color: var(--ink); font-weight: 500; }
.prose a { color: var(--navy); text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.ticks svg.i { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #F6EEE2; color: var(--accent); stroke-width: 2.4; margin-top: 1px; }
.ticks b { color: var(--ink); }

.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 72px; }
@media (max-width: 960px) { .about { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.svc { display: grid; gap: 16px; align-content: start; }
.svc-c { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.svc-c > svg.i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #ECEDEF; color: var(--navy); }
.svc-c h3 { font-size: 17px; color: var(--navy); }
.svc-c p { color: var(--ink-2); font-size: 15px; }
.faq-w { max-width: 900px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--r); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; color: var(--navy); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 0 18px; color: var(--ink-2); }

.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.cc { display: flex; gap: 14px; align-items: center; padding: 20px; transition: transform .15s; }
.cc:hover { transform: translateY(-2px); }
.cc > svg.i { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: #F6EEE2; color: var(--accent); flex: none; }
.cc span { display: grid; min-width: 0; }
.cc small { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
.cc b { color: var(--navy); font-size: 16px; overflow-wrap: anywhere; }
.cc:last-child { grid-column: 1 / -1; }
@media (max-width: 520px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }

.nf { padding-top: 80px; padding-bottom: 40px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.nf h1 { font-weight: 800; font-size: clamp(32px, 5vw, 50px); color: var(--navy); }

/* ---------- footer ---------- */
.ftr { background: var(--navy-d); color: #BBC0CB; padding-top: 56px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }
.ftr .logo { color: #fff; }
.ftr .logo .wm small { color: #9098A8; }
.ftr-brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.ftr-grid a { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.ftr-grid a:hover { color: #fff; }
.ftr-grid a svg.i { width: 16px; height: 16px; color: var(--accent); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.ftr-bottom a:hover { color: #fff; }

/* partners login */
.partners { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding: 8px 10px; border-radius: 9px; white-space: nowrap; }
.partners:hover { color: var(--navy); background: var(--paper); }
.partners svg.i { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 1500px) { .call span { display: none; } .call { width: 40px; padding: 0; } }
@media (max-width: 1240px) { .hdr-in { gap: 12px; } .partners span { font-size: 13px; } }
@media (max-width: 1020px) { .partners { display: none; } }

/* ---------- motion ("ζωντανό" site) ---------- */
/* hero: crossfading photos with a slow Ken Burns push */
.hero-bg img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg img.on { opacity: 1; animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.1) translate3d(1.5%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero-copy > *, .finder { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.finder { animation-delay: .38s; }
.hero-tag { animation: up .9s .6s cubic-bezier(.2, .7, .2, 1) both; transition: background .2s; }
.hero-tag:hover { background: rgba(255, 255, 255, .2); }
.hero-tag.swap b, .hero-tag.swap > span { animation: fadein .7s ease both; }
.hero-tag .dots { display: flex; gap: 5px; margin-top: 8px; }
.hero-tag .dots em { width: 18px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero-tag .dots em.on::after { content: ''; position: absolute; inset: 0; background: #E3C08A; transform-origin: left; animation: bar 6s linear both; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ticker of the newest listings */
.ticker { display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-k { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 18px 0 var(--gut); background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; position: relative; z-index: 1; }
.ticker-k::after { content: ''; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, var(--accent), transparent); }
.ticker-k i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.ticker-v { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-t { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-t { animation-play-state: paused; }
.ticker-t a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-size: 14px; color: var(--ink-2); white-space: nowrap; border-right: 1px solid var(--line); }
.ticker-t a b { color: var(--navy); font-weight: 800; }
.ticker-t a span { color: var(--accent-ink); font-weight: 800; }
.ticker-t a span small { color: var(--ink-3); }
.ticker-t a:hover { background: var(--paper); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .ticker-k { font-size: 11px; padding-right: 12px; } .ticker-t a { padding: 12px 18px; font-size: 13px; } }

/* sticky header gets a shadow once you scroll */
.hdr { transition: box-shadow .3s, background .3s; }
.hdr.scrolled { box-shadow: 0 6px 24px rgba(18, 27, 44, .08); background: rgba(255, 255, 255, .98); }

/* scroll reveal (only when JS is on; content is visible without it) */
.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .card.rv.in:hover { transform: translateY(-3px); transition-delay: 0s; transition-duration: .2s; }

/* small touches */
.btn svg.i, .more svg.i, .why-c a svg.i, .svc-c a svg.i { transition: transform .2s; }
.btn:hover svg.i:last-child, .more:hover svg.i, .why-c a:hover svg.i, .svc-c a:hover svg.i { transform: translateX(3px); }
.btn.accent { background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; transition: background-position .7s, background-color .15s; }
.btn.accent:hover { background-position: -30% 0; }
.why-c > svg.i, .svc-c > svg.i { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.why-c:hover > svg.i, .svc-c:hover > svg.i { transform: rotate(-8deg) scale(1.12); }
.pinp { animation: drop .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--pd, 0s); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -100%); } }
.card .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 18, 32, .35), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover .ph::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion .rv { opacity: 1; transform: none; }
  .hero-bg img { transition: none; }
}

/* ---------- bilingual + taxonomy ---------- */
/* «Ακίνητα» dropdown with the four previous website categories */
.dd { position: relative; }
.dd > a { display: inline-flex; align-items: center; gap: 4px; }
.dd > a svg.i { width: 15px; height: 15px; transition: transform .2s; }
.dd-menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 50; }
.dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover > a svg.i { transform: rotate(180deg); }
.dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-weight: 650; font-size: 14.5px; color: var(--ink-2); }
.dd-menu a:hover { background: var(--paper); color: var(--navy); }
.dd-menu a svg.i { width: 18px; height: 18px; color: var(--accent); }
.lang { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 800; font-size: 13px; color: var(--navy); }
.lang:hover { border-color: var(--navy); }
.lang svg.i { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 1020px) { .lang { margin-left: auto; } .burger { margin-left: 8px; } }
.drawer-cats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer nav .drawer-cats a { border: 0; padding: 10px 12px; font-size: 15px; background: var(--paper); border-radius: 10px; justify-content: flex-start; gap: 8px; }
.drawer nav .drawer-cats a svg { color: var(--accent); }

/* category tiles with their sub-categories */
.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { height: 240px; }
.tile-a { position: absolute; inset: 0; z-index: 1; }
.tile span { position: relative; z-index: 2; pointer-events: none; }
.tile-subs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; font-style: normal; pointer-events: auto; }
.tile-subs a { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.tile-subs a:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 480px) { .tile { height: 180px; } .tile-subs { display: none; } }

/* more filters */
.filters { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, .7fr) auto; }
.more-f { grid-column: 1 / -1; }
.more-f summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--navy); list-style: none; padding: 4px 2px; }
.more-f summary::-webkit-details-marker { display: none; }
.more-f summary svg.i { color: var(--accent); }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 12px; align-items: end; }
.gvbox { align-self: center; }
@media (max-width: 1180px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .more-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .more-grid .f.two { grid-column: 1 / -1; } }
.finder-f { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr) auto; }
@media (max-width: 860px) { .finder-f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .finder-f { grid-template-columns: minmax(0, 1fr); } }

/* area picker in the forms */
.areapick { display: grid; gap: 12px; }
.areares:empty { display: none; }
.areares { margin-top: -6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.areares button { display: block; width: 100%; text-align: left; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.areares button b { color: var(--navy); }
.areares button:last-child { border-bottom: 0; }
.areares button:hover { background: var(--paper); }
.f select:disabled { background-color: var(--paper); color: var(--ink-3); }
.pills label[hidden] { display: none; }

/* original Greek text under an auto English description */
.orig { margin-top: 14px; background: #fff; border-radius: 12px; padding: 0 16px; box-shadow: var(--shadow); }
.orig summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.orig summary svg.i { color: var(--accent); }
.orig .desc { padding-bottom: 14px; font-size: 15px; }

/* Google Maps embeds */
.gmap { display: block; width: 100%; height: 360px; border: 0; border-radius: var(--r); background: var(--paper-2); }
.contact-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.map.office { height: auto; background: none; }
.map.office .gmap { height: 280px; }
@media (max-width: 640px) { .gmap { height: 300px; } }
/* Google info window */
.gm-style .mpop img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }

/* ---------- phones: the header must always fit (iPhone renders the wordmark wider than desktop emulation) ---------- */
.hdr-in { min-width: 0; }
.brand { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.logo .wm { min-width: 0; }
.logo .wm small { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .hdr-in { gap: 8px; }
  .logo { gap: 8px; }
  .logo .mark { width: 40px; height: 23px; }
  .logo .wm { font-size: 22px; }
  .logo .wm small { display: none; }
  .lang { height: 40px; padding: 0 9px; }
  .burger { margin-left: 0; width: 42px; height: 42px; flex: none; }
}
@media (max-width: 360px) { .lang svg.i { display: none; } .logo .wm { font-size: 20px; } }
/* nothing may push the page sideways */
main, .hdr, .ftr, .pilot { max-width: 100vw; }
.crumbs { overflow-wrap: anywhere; }

/* ---------- 360 Realty logos (image files) ---------- */
img.logo { display: block; height: 58px; width: auto; }
.ftr img.logo { height: 92px; }
.drawer-top img.logo { height: 44px; }
.brand { overflow: visible; }
.agent-top img.mark { width: 64px; height: auto; flex: none; }
@media (max-width: 560px) { img.logo { height: 48px; } .ftr img.logo { height: 84px; } .drawer-top img.logo { height: 42px; } }

/* ---------- header: the logo keeps its size, the menu gives way ---------- */
.brand { flex: none; }
img.logo { max-width: none; }
.hdr-in { gap: 14px; }
.nav a { padding: 8px 8px; font-size: 14px; } .call span { display: none; } .call { width: 40px; padding: 0; }
@media (max-width: 1240px) { .nav, .call { display: none; } .burger { display: inline-flex; margin-left: 0; } .lang { margin-left: auto; } }
