/* ==========================================================================
   Prantsidis Real Estate — design system (redesign 2026)
   Palette «Αιγαίο & Terracotta» · Noto Serif Display + Manrope (both with Greek)
   Loaded ONLY by the redesigned el/en pages. de/bg/tr + admin keep /style.css.
   ========================================================================== */

:root {
  --navy-950: #0B1B2B;
  --navy-900: #10263B;
  --navy-800: #16314B;
  --navy-700: #1D3A56;
  --navy-500: #3C5C78;
  --navy-300: #7C93A6;
  --navy-100: #E4EAEE;

  --terra: #C2542D;          /* CTA background (white text 4.57:1) */
  --terra-ink: #A8441F;      /* hover bg + terracotta TEXT on light bg (5.4:1) */
  --terra-tint: #F3E1D8;
  --terra-soft: #FBF1EC;

  --bg: #F7F3EE;             /* linen */
  --bg-deep: #EFE8DF;
  --card: #FFFFFF;
  --text: #1B2733;
  --muted: #5E6B78;
  --line: #E4DCD1;
  --line-strong: #CFC4B5;

  --success: #2F7A4D; --success-bg: #E6F1E9;
  --danger: #B3261E;  --danger-bg: #FBEAEA;
  --warning-bg: #FDF3DC; --warning: #7A4B00;
  --viber: #7360F2; --whatsapp: #1FA855;

  --ring: #A8441F;
  --ring-dark: #F2B79B;

  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16,38,59,.06), 0 1px 1px rgba(16,38,59,.04);
  --shadow-md: 0 10px 30px -12px rgba(16,38,59,.22);
  --shadow-lg: 0 28px 60px -20px rgba(16,38,59,.35);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --font-display: 'Noto Serif Display', 'Georgia', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1rem; --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.35rem + 2.2vw, 2.875rem);
  --fs-3xl: clamp(2.25rem, 1.4rem + 3.8vw, 4.25rem);

  --dur-fast: 150ms; --dur: 250ms; --dur-slow: 450ms;
  --ease: cubic-bezier(.2,.7,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --z-sticky: 10; --z-drawer: 1500; --z-modal: 2000; --z-lightbox: 2500; --z-toast: 2700; --z-nav: 100000;

  --nav-h: 84px;
  --container: 1240px;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (max-width: 1023px) { :root { --nav-h: 72px; } }

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 500; }
h4 { font-size: var(--fs-md); font-weight: 500; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .navbar :focus-visible, .site-footer :focus-visible { outline-color: var(--ring-dark); }
::selection { background: var(--terra-tint); color: var(--navy-950); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: calc(var(--z-nav) + 1); background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform var(--dur) var(--ease); }
.skip-link:focus { transform: none; }

/* ---------------- Icons ---------------- */
.i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }
.i-xl { width: 32px; height: 32px; stroke-width: 1.5; }

/* ---------------- Layout ---------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 5vw + 32px, 112px); }
.section-tight { padding-block: clamp(40px, 3vw + 24px, 72px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4) var(--s6); margin-bottom: clamp(28px, 3vw, 48px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: #F2B79B; }
.lead { font-size: var(--fs-md); color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }
.on-dark { color: #D7DEE5; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.rule { height: 1px; background: var(--line); border: 0; margin: var(--s6) 0; }

/* ---------------- Buttons ---------------- */
.btn {
  --btn-bg: var(--terra); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--terra-ink); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .i { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: var(--fs-base); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.btn-navy { --btn-bg: var(--navy-900); }
.btn-navy:hover { --btn-bg: var(--navy-700); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn-outline:hover { --btn-bg: var(--navy-900); --btn-fg: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: var(--line); }
.btn-light:hover { --btn-bg: #fff; --btn-bd: var(--navy-900); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--terra-ink); padding-inline: 8px; min-height: 44px; }
.btn-ghost:hover { --btn-bg: transparent; text-decoration: underline; text-underline-offset: 4px; }
.on-dark .btn-outline, .btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.on-dark .btn-outline:hover, .btn-outline-light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn-whatsapp { --btn-bg: var(--whatsapp); }
.btn-whatsapp:hover { --btn-bg: #178A45; }
.btn-viber { --btn-bg: var(--viber); }
.btn-viber:hover { --btn-bg: #5B4BD1; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--navy-900); transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.icon-btn:hover { border-color: var(--navy-900); }
.link { color: var(--terra-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); font-weight: 700; text-decoration: none; min-height: 44px; }
.link-arrow .i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:hover { color: var(--terra-ink); }

/* ---------------- Form fields ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: var(--fs-xs); font-weight: 700; color: var(--navy-900); letter-spacing: .02em; }
.label .req, .req { color: var(--terra-ink); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font-size: 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.textarea { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; appearance: base-select; padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310263B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
/* Το popup των επιλογών παίρνει ακριβώς το ίδιο "συνταγή" με τα άλλα dropdown menu του site
   (.nav-submenu / .lang-switcher-menu): στρογγυλές γωνίες, σκιά, λευκό φόντο, terracotta hover/επιλογή.
   appearance: base-select είναι σταθερό σε Chrome/Edge 135+ και σε browsers χωρίς υποστήριξη το select
   παραμένει απλά το κανονικό native (καμία οπισθοδρόμηση). */
.select::picker-icon { display: none; } /* το appearance: base-select προσθέτει δικό του βελάκι· κρατάμε μόνο το δικό μας background-image, ίδιο με τα άλλα εικονίδια του site */
.select::picker(select) { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px; background: #fff; }
.select option { border-radius: var(--r-sm); padding: 10px 14px; min-height: 44px; background: #fff; color: var(--text); font-weight: 600; }
.select option:hover { background: var(--bg); color: var(--navy-900); }
.select option:checked { background: var(--terra-soft); color: var(--terra-ink); }
.input::placeholder, .textarea::placeholder { color: #8A96A2; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(16,38,59,.12); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179,38,30,.1); }
.field-hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.field-error { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--danger); margin: 0; }
.field-error:empty { display: none; }
.input-affix { position: relative; }
.input-affix .input { padding-right: 52px; }
.input-affix .affix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: var(--fs-sm); font-weight: 700; color: var(--muted); pointer-events: none; }

/* Segmented control */
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--bg-deep); border: 1px solid var(--line); }
.seg label, .seg button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; border: 0; background: none; transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked), .seg button[aria-pressed="true"] { background: var(--card); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--card); color: var(--navy-900); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
a.chip:hover, button.chip:hover { border-color: var(--navy-900); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip-remove { padding-right: 6px; }
.chip-remove button { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -4px 0; border-radius: 50%; border: 0; background: transparent; color: inherit; }
.chip-remove button:hover { background: rgba(16,38,59,.08); }

/* Badges — .card-badge .sale/.rent are a CONTRACT with the Cloud Function */
.card-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: var(--navy-900); color: #fff; }
.card-badge.sale { background: var(--navy-900); color: #fff; }
.card-badge.rent { background: var(--terra); color: #fff; }
.card-badge.muted { background: #5E6B78; color: #fff; }
.card-badge.offer { background: var(--terra-tint); color: var(--terra-ink); }
.card-badge.light { background: rgba(255,255,255,.92); color: var(--navy-900); }
.cur { font-family: var(--font-body); font-weight: 700; font-size: .78em; letter-spacing: 0; }
.price-old { display: block; font-family: var(--font-body); font-size: .55em; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(168,68,31,.7); margin-bottom: 2px; letter-spacing: 0; }

/* ---------------- Listing card (cards.js) ---------------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2vw, 28px); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); isolation: isolate; }
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-deep); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.045); }
.pcard-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(11,27,43,.45), transparent); pointer-events: none; }
.pcard-tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-count { position: absolute; bottom: 12px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: #fff; }
.pcard-fav { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--navy-900); box-shadow: var(--shadow-sm); transition: transform var(--dur-fast) var(--ease), color var(--dur-fast); }
.pcard-fav:hover { transform: scale(1.06); }
.pcard-fav[aria-pressed="true"] { color: var(--terra); }
.pcard-fav[aria-pressed="true"] .i { fill: currentColor; }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-900); line-height: 1.15; }
.pcard-price .price-old { flex-basis: 100%; }
.pcard-price small { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pcard-title { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a { text-decoration: none; color: inherit; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable, title stays a real <a> for SEO */
.pcard-loc { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 700; color: var(--navy-700); }
.pcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pcard-meta .i { width: 16px; height: 16px; color: var(--navy-300); }
.pcard.is-unavailable { opacity: .62; }
.pcard.is-unavailable .pcard-media img { filter: grayscale(1); }
.pcard.is-unavailable:hover { transform: none; box-shadow: none; }
.pcard.is-unavailable .pcard-title a::after { display: none; }
.pcard-skel { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.pcard-skel::before { content: ""; display: block; aspect-ratio: 4/3; background: var(--bg-deep); }
.pcard-skel::after { content: ""; display: block; height: 110px; margin: 18px 20px; border-radius: 8px; background: linear-gradient(90deg, var(--bg-deep) 0 40%, #f3ede5 50%, var(--bg-deep) 60% 100%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Empty / status states */
.state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(40px, 6vw, 80px) 20px; color: var(--muted); grid-column: 1 / -1; }
.state .state-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--terra-soft); color: var(--terra-ink); margin-bottom: 4px; }
.state h2, .state h3 { color: var(--navy-900); margin: 0; font-size: var(--fs-xl); }
.state p { max-width: 46ch; margin: 0; }

/* ---------------- Navbar (hooks for /nav.js must stay) ---------------- */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h); background: var(--navy-900); color: #fff; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.navbar.is-overlay:not(.is-scrolled) { background: linear-gradient(to bottom, rgba(11,27,43,.72), rgba(11,27,43,0)); }
body.menu-open .navbar.is-overlay { background: var(--navy-950); }
.navbar.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav-container { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 3; }
.logo img { height: 60px; width: auto; }
@media (max-width: 1023px) { .logo img { height: 52px; } }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0 0 0 20px; padding: 0; flex: 1; }
.nav-links > li { position: relative; }
.nav-links a, .nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; color: #E9EEF2; text-decoration: none; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; background: none; border: 0; border-radius: var(--r-pill); transition: color var(--dur-fast), background var(--dur-fast); }
.nav-links a:hover, .nav-dd-btn:hover, .nav-dropdown.open .nav-dd-btn { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active, .nav-dd-btn.active, .nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #F2B79B; border-radius: 0; }
.nav-dd-btn .i { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.nav-dropdown.open .nav-dd-btn .i { transform: rotate(180deg); }
.nav-submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: 0; min-width: 240px; background: #fff; color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast); }
.nav-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dropdown.open .nav-submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1024px) {
  .nav-dropdown:hover .nav-submenu { opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown:hover .nav-dd-btn .i { transform: rotate(180deg); }
}
.nav-submenu a { display: flex; justify-content: space-between; width: 100%; height: auto; min-height: 44px; padding: 10px 14px; color: var(--text); border-radius: var(--r-sm); font-weight: 600; }
.nav-submenu a:hover { background: var(--bg); color: var(--navy-900); }
.nav-submenu a.active, .nav-submenu a[aria-current="page"] { background: var(--terra-soft); color: var(--terra-ink); box-shadow: none; }
.nav-links .nav-phone { margin-left: auto; }
.nav-phone a { gap: 8px; font-variant-numeric: tabular-nums; color: #fff; }
.nav-phone .i { color: #F2B79B; }
.nav-links .btn-assign { background: var(--terra); color: #fff; padding: 0 20px; font-weight: 700; margin-left: 6px; }
.nav-links .btn-assign:hover { background: var(--terra-ink); color: #fff; }
.nav-links .btn-assign.active, .nav-links .btn-assign[aria-current="page"] { box-shadow: 0 0 0 2px #F2B79B; border-radius: var(--r-pill); }
.nav-portal a { width: 44px; padding: 0; justify-content: center; color: #B8C4CF; }
.nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1180px) { .nav-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .nav-links a, .nav-dd-btn { padding: 0 11px; } }

.lang-switcher { position: relative; }
.lang-switcher-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; }
.lang-switcher-btn:hover, .lang-switcher-btn[aria-expanded="true"] { border-color: #fff; }
.lang-switcher-btn .i { width: 16px; height: 16px; }
.lang-switcher-menu { display: none; position: absolute; right: 0; top: calc(100% + 14px); min-width: 190px; padding: 8px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 5; }
.lang-switcher-menu.open { display: block; }
.lang-switcher-menu a { display: flex; align-items: center; gap: 10px; width: 100%; height: auto; min-height: 44px; padding: 8px 12px; color: var(--text); border-radius: var(--r-sm); font-weight: 600; }
.lang-switcher-menu a:hover { background: var(--bg); color: var(--navy-900); }
.lang-switcher-menu a.active { background: var(--terra-soft); color: var(--terra-ink); box-shadow: none; }
.lang-switcher-menu svg { flex-shrink: 0; border-radius: 2px; }

.nav-call { display: none; }
.nav-toggle { display: none; position: relative; z-index: 3; width: 48px; height: 48px; padding: 0 12px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 6px; border-radius: 50%; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur-fast); }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .nav-call { display: inline-grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; position: relative; z-index: 3; }
  .nav-links { position: fixed; inset: 0; margin: 0; height: 100vh; height: 100dvh; background: var(--navy-950); flex-direction: column; align-items: stretch; gap: 2px; padding: calc(var(--nav-h) + 16px) var(--gutter) 40px; overflow-y: auto; z-index: 1; transform: translateX(100%); visibility: hidden; transition: transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
  .nav-links.open { transform: none; visibility: visible; transition: transform var(--dur-slow) var(--ease-out), visibility 0s; }
  .nav-links > li { width: 100%; }
  .nav-links a, .nav-dd-btn { width: 100%; height: auto; min-height: 56px; padding: 12px 8px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: #fff; justify-content: space-between; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a:hover, .nav-dd-btn:hover, .nav-dropdown.open .nav-dd-btn { background: transparent; color: #F2B79B; }
  .nav-dd-btn .i { width: 22px; height: 22px; }
  .nav-submenu { position: static; min-width: 0; padding: 4px 0 12px 12px; display: none; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; color: #fff; }
  .nav-submenu::before { display: none; }
  .nav-dropdown.open .nav-submenu { display: block; }
  .nav-submenu a { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; min-height: 48px; color: #D7DEE5; border-bottom: 0; }
  .nav-submenu a:hover { background: transparent; color: #fff; }
  .nav-submenu a.active, .nav-submenu a[aria-current="page"] { background: transparent; color: #F2B79B; }
  .nav-links .nav-phone { margin: 16px 0 0; }
  .nav-phone a { font-family: var(--font-body); font-size: 1.1rem; justify-content: flex-start; gap: 12px; border-bottom: 0; }
  .nav-links .btn-assign { margin: 8px 0 0; justify-content: center; min-height: 56px; border-radius: var(--r-pill); font-family: var(--font-body); font-size: 1.05rem; border-bottom: 0; }
  .nav-links a.active, .nav-links a[aria-current="page"] { box-shadow: none; color: #F2B79B; }
  .nav-portal a { width: 100%; justify-content: flex-start; gap: 12px; font-family: var(--font-body); font-size: 1rem; color: #B8C4CF; border-bottom: 0; }
  .nav-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .lang-switcher { margin-top: 12px; }
  .lang-switcher-btn { width: 100%; justify-content: center; height: 52px; font-size: var(--fs-sm); }
  .lang-switcher-menu { position: static; margin-top: 8px; background: rgba(255,255,255,.05); border: 0; box-shadow: none; }
  .lang-switcher-menu a { color: #fff; font-family: var(--font-body); font-size: 1rem; justify-content: flex-start; border-bottom: 0; min-height: 48px; }
  .lang-switcher-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .lang-switcher-menu a.active { background: rgba(242,183,155,.14); color: #F2B79B; }
}
.page-offset { padding-top: var(--nav-h); }

/* ---------------- Page header (inner pages) ---------------- */
.page-hero { position: relative; background: var(--navy-900); color: #D7DEE5; padding: calc(var(--nav-h) + clamp(36px, 5vw, 72px)) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(242,183,155,.18); box-shadow: 0 0 0 60px rgba(242,183,155,.04), 0 0 0 140px rgba(242,183,155,.03); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 10px; }
.page-hero p { margin: 0; color: #B8C4CF; max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--terra-ink); text-decoration: underline; }
.breadcrumb .i { width: 14px; height: 14px; opacity: .6; }
.page-hero .breadcrumb { color: #B8C4CF; }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-950); color: #B8C4CF; padding-top: clamp(56px, 6vw, 96px); font-size: var(--fs-sm); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top .footer-quote { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.25; color: #fff; margin: 0; max-width: 22ch; }
.footer-top .footer-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr; align-items: end; } .footer-top .footer-cta { justify-content: flex-end; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-block: clamp(36px, 4vw, 56px); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.1fr 1.3fr 1fr 1fr; } }
.footer-brand img { height: 96px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #8FA0B1; max-width: 32ch; }
.site-footer h2, .site-footer h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F2B79B; margin: 0 0 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-list a, .footer-list span { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 36px; padding: 6px 0; color: #D7DEE5; text-decoration: none; line-height: 1.5; }
.footer-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-list .i { width: 18px; height: 18px; margin-top: 2px; color: #7C93A6; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-weight: 700; font-size: var(--fs-xs); }
.footer-social a:hover { border-color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-xs); color: #8FA0B1; }
.footer-legal p { margin: 0; }
.footer-legal button, .footer-list button { background: none; border: 0; padding: 6px 0; min-height: 36px; color: #D7DEE5; text-decoration: none; font-size: inherit; text-align: left; }
.footer-list button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Dialog / drawer / modal ---------------- */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(11,27,43,.55); backdrop-filter: blur(3px); }
.modal { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--card); }
.modal[open] { animation: modal-in var(--dur-slow) var(--ease-out); }
.modal-body { padding: clamp(24px, 4vw, 36px); text-align: center; }
.modal-body h2, .modal-body h3 { font-size: var(--fs-xl); margin-bottom: 8px; }
.modal-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; }
.modal-icon.success { background: var(--success-bg); color: var(--success); }
.modal-icon.error { background: var(--danger-bg); color: var(--danger); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.drawer { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; padding: 0; border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--bg); box-shadow: var(--shadow-lg); }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in var(--dur-slow) var(--ease-out); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: 0; }
.drawer-head h2 { font-size: var(--fs-lg); margin: 0; }
.drawer-body { padding: 20px var(--gutter); overflow-y: auto; display: grid; gap: 16px; }
.drawer-foot { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); display: flex; gap: 10px; }
@keyframes drawer-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---------------- Toast ---------------- */
.toast-region { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--navy-900); color: #fff; font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-lg); animation: toast-in var(--dur) var(--ease-out); }
.toast .i { color: #9FD8B4; }
.toast.is-leaving { animation: toast-out 180ms var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ---------------- Reveal on scroll (site.js adds .js-reveal to <html>) ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------------- Leaflet brand skin ---------------- */
.map-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-deep); isolation: isolate; }
.map-frame .leaflet-container { font-family: var(--font-body); background: var(--bg-deep); }
.pin-wrap { background: none; border: 0; }
.pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--navy-900); border: 2px solid #fff; box-shadow: 0 6px 14px -4px rgba(11,27,43,.6); }
.pin.rent { background: var(--terra); }
.pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.pin-price { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: var(--r-pill); background: var(--navy-900); color: #fff; font: 800 12px/1 var(--font-body); white-space: nowrap; border: 2px solid #fff; box-shadow: 0 6px 14px -4px rgba(11,27,43,.6); width: max-content; transform: translate(-50%, -50%); }
.pin-price.rent { background: var(--terra); }
.leaflet-marker-icon:hover .pin-price, .leaflet-marker-icon:focus .pin-price { background: var(--navy-700); }
.leaflet-popup-content-wrapper { border-radius: var(--r-md) !important; padding: 0 !important; overflow: hidden; box-shadow: var(--shadow-lg) !important; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; }
.map-pop { display: block; text-decoration: none; color: var(--text); }
.map-pop img { width: 100%; height: 130px; object-fit: cover; }
.map-pop-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.map-pop-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy-900); }
.map-pop-price .price-old { display: inline; margin-right: 6px; }
.map-pop-title { font-size: 13px; font-weight: 700; line-height: 1.35; }
.map-pop-link { font-size: 12px; font-weight: 800; color: var(--terra-ink); }
.leaflet-container a.leaflet-popup-close-button { width: 32px; height: 32px; font-size: 22px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ---------------- Cookie banner reskin (script injects its own <style> after ours) ---------------- */
body #cookie-consent-banner { left: 16px; right: 16px; bottom: 16px; max-width: 960px; margin-inline: auto; border-radius: var(--r-lg); background: var(--navy-950); color: #D7DEE5; font-family: var(--font-body); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); padding: 18px 22px; }
body #cookie-consent-banner p { font-size: 14px; }
body #cookie-consent-banner a { color: #F2B79B; }
body #cookie-consent-banner button { min-height: 44px; border-radius: var(--r-pill); padding: 0 22px; font-family: var(--font-body); font-weight: 700; }
body #cookie-consent-banner .cc-accept { background: var(--terra); color: #fff; }
body #cookie-consent-banner .cc-accept:hover { background: var(--terra-ink); }
body #cookie-consent-banner .cc-reject { border-color: rgba(255,255,255,.35); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
