/* ═══════════════════════════════════════════════════════════════════════════
   EnerDom — style.css
   Premium Real Estate · Κοζάνη
   Palette: Apple neutrals (#1d1d1f text · #f5f5f7 bg · #d2d2d7 hairlines)
            + Deep Pine #24433a & Antique Gold #c9a769 as accent tints
   Fonts: Inter (body) · Josefin Sans (headings/display)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  --primary:       #24433a;
  --primary-dark:  #12211b;
  --primary-light: rgba(120,170,150,0.14);
  --secondary:     #c9a769;
  --accent:        #ddc39a;
  --gold-shine:    #f3e4c6;
  /* Dark charcoal scheme (Linear/Vercel register): near-black page,
     slightly lifted panel tone, always-light text, hairline white borders. */
  --bg:            #101012;
  --bg-off:        #17171a;
  --heading:       #f5f5f7;
  --text:          #e8e8ea;
  --text-muted:    #a1a1a6;
  --text-light:    #8e8e93;
  --border:        rgba(255,255,255,0.12);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.45);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-pill:   50px;
  --ease:          cubic-bezier(.4,0,.2,1);

  /* ── Apple-style material system ──────────────────────────────────────
     Two distinct materials, used deliberately:
     1) SOLID + SHEEN — large sections, cards, buttons. Real glass blur does
        nothing over a plain page background, so these stay confidently
        opaque with a soft top highlight and layered shadow for depth.
     2) TRUE GLASS — only where something actually sits behind the surface
        to blur: the sticky navbar over scrolling content, floating
        buttons/toasts over the page, and tinted overlays on photos. */
  --sheen: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 42%);
  --sheen-soft: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%);
  --depth-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 10px 28px rgba(13,31,24,0.22);
  --depth-shadow-sm: 0 1px 0 rgba(255,255,255,0.14) inset, 0 6px 16px rgba(13,31,24,0.18);

  /* "Surface glass" — despite the legacy names these are now the dark
     charcoal glass used by the navbar, drawer, and light-side panels. */
  --glass-white:        rgba(24, 24, 28, 0.62);
  --glass-white-strong: rgba(24, 24, 28, 0.85);
  --glass-white-border: rgba(255, 255, 255, 0.14);
  --glass-dark:         rgba(15, 26, 20, 0.82);
  --glass-dark-border:  rgba(255, 255, 255, 0.14);
  --glass-border:       rgba(255, 255, 255, 0.28);
  --glass-border-soft:  rgba(255, 255, 255, 0.16);
  --glass-highlight:    rgba(255, 255, 255, 0.16);
  --glass-blur:         blur(22px) saturate(180%);
  --glass-blur-sm:      blur(14px) saturate(160%);
  --glass-shadow:       0 8px 32px rgba(13, 31, 24, 0.28);
  --glass-shadow-sm:    0 4px 18px rgba(13, 31, 24, 0.22);

  /* Adaptive green glass. Every selector using these still carries its
     backdrop-filter from the first glass pass, so flipping these from solid
     back to translucent re-glassifies the whole site at once. Opacity is
     kept high (0.88–0.94) so surfaces adapt to what's behind them without
     collapsing into the washed-out look of a low-opacity tint. */
  /* Charcoal with only a faint green undertone — brand hint, not a hue. */
  --glass-green:        rgba(23, 28, 26, 0.88);
  --glass-green-strong: rgba(26, 32, 30, 0.84);
  --glass-green-dark:   rgba(13, 16, 15, 0.9);

  /* ── Liquid-glass rim ─────────────────────────────────────────────────
     Layered inset shadows that read as light catching a curved glass edge:
     a bright streak on the top-left rim, a soft dark line hugging the
     bottom, then a real drop shadow. Two variants: for light (white) glass
     surfaces and for dark (green/charcoal) ones. */
  --lg-light: #ffffff;
  --lg-dark:  #0a1410;
  --liquid-rim:
    inset 0 0 0 1px color-mix(in srgb, var(--lg-light) 8%, transparent),
    inset 1.8px 3px 0 -2px color-mix(in srgb, var(--lg-light) 35%, transparent),
    inset -2px -2px 0 -2px color-mix(in srgb, var(--lg-light) 22%, transparent),
    inset -3px -8px 1px -6px color-mix(in srgb, var(--lg-light) 16%, transparent),
    inset 0 3px 4px -2px color-mix(in srgb, var(--lg-dark) 30%, transparent),
    0 1px 5px 0 color-mix(in srgb, var(--lg-dark) 25%, transparent),
    0 6px 16px 0 color-mix(in srgb, var(--lg-dark) 20%, transparent);
  --liquid-rim-dark:
    inset 0 0 0 1px color-mix(in srgb, var(--lg-light) 8%, transparent),
    inset 1.5px 2.5px 0 -1.5px color-mix(in srgb, var(--lg-light) 32%, transparent),
    inset -1.5px -1.5px 0 -1.5px color-mix(in srgb, var(--lg-light) 18%, transparent),
    inset 0 3px 4px -2px color-mix(in srgb, var(--lg-dark) 40%, transparent),
    0 1px 5px 0 color-mix(in srgb, var(--lg-dark) 25%, transparent),
    0 8px 24px 0 color-mix(in srgb, var(--lg-dark) 22%, transparent);
}

.glass-pill {
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--liquid-rim-dark);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  /* Fallback for browsers without backdrop-filter support: a slightly more
     opaque flat tint keeps contrast/legibility without the frosted look. */
  .glass-pill { background: var(--primary); }
  .back-to-top, .cookie-banner, .toast { background: rgba(15,26,20,0.95); }
}

/* No overflow-x on <html>: pairing clip with auto computes to hidden, which
   turns the root into a scroll container and breaks position:sticky on the
   header in Safari/Edge (header drifts half off-screen). Horizontal overflow
   is clipped on <body> instead, which stays a non-scroll container. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
@media (max-width:991px) { html { scroll-padding-top: 80px; } }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography helpers ─────────────────────────────────────────────────── */
.serif { font-family: 'Josefin Sans', sans-serif; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ── Common buttons ─────────────────────────────────────────────────────── */
/* Glass button: a gold gradient base + a soft sheen streak across the top,
   like light catching a curved glass surface. The sheen (not the blur) is
   what sells "glass" here — backdrop-filter is along for the ride for the
   rare case a button floats over a photo, but does little on solid ground. */
.btn-primary {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 50px;
  background: var(--secondary);
  color: #141416;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: var(--liquid-rim), 0 8px 24px rgba(196,168,130,0.35);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  backdrop-filter: blur(6px) saturate(160%);
  transition: all 0.25s; cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--liquid-rim), 0 12px 28px rgba(196,168,130,0.45); }
.btn-primary:disabled, .btn-primary[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: 8px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: white;
  border-radius: 50%; animation: btnSpin 0.7s linear infinite; vertical-align: -2px;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 1.4s; } }

.btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 50px;
  background: transparent; color: var(--heading);
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  border: 2px solid var(--primary);
  transition: all 0.25s var(--ease);
}
.btn-outline-dark:hover {
  background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm);
  border-color: var(--glass-border); color: white;
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(36,67,58,0.25);
}

.w-full { width: 100%; }

/* ── Icon button ────────────────────────────────────────────────────────── */
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--text-muted); border: none; background: none;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.icon-btn:hover { color: var(--heading); background: var(--primary-light); }

/* ── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border-bottom: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 0;
  letter-spacing: 0.3px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.8); text-decoration: none;
  transition: color 0.2s;
}
.topbar-link:hover { color: white; }
.topbar-whatsapp { color: #7cfc00 !important; }
.topbar-whatsapp:hover { color: #9fff35 !important; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
.topbar-tagline { color: rgba(255,255,255,0.5); }

/* ── Site header ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; width: 100%; z-index: 1020;
  background: transparent;
}
.topbar { transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease; overflow: hidden; max-height: 120px; }
.site-header.scrolled .topbar { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
.main-nav { padding: 12px 0; transition: padding 0.3s var(--ease); }
.site-header.scrolled .main-nav { padding: 6px 0 12px; }

/* The floating glass pill — this is the real "glass" surface of the site:
   it sits sticky over scrolling page content, so the blur has something to
   actually blur. Gets more opaque, tighter, and more blurred once scrolled. */
.nav-grid {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center; gap: 12px;
  background: var(--glass-white);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-white-border);
  border-radius: 20px;
  padding: 10px 18px;
  box-shadow: var(--liquid-rim);
  transition: padding 0.3s var(--ease), border-radius 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-grid { background: var(--glass-white-strong); }
}
.site-header.scrolled .nav-grid {
  background: var(--glass-white-strong);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  padding: 7px 16px;
  box-shadow: var(--liquid-rim), 0 12px 36px rgba(10,20,16,0.14);
}
@media (min-width:1024px) {
  .nav-grid { grid-template-columns: auto 1fr auto; gap: 32px; padding: 10px 26px; }
  .site-header.scrolled .nav-grid { padding: 7px 22px; }
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.18em; text-decoration: none;
  white-space: nowrap; text-transform: uppercase;
}
.logo-ener { color: var(--heading); }
.logo-dom  { color: var(--secondary); }
.site-footer .logo-ener { color: var(--accent); }
.site-footer .logo-dom  { color: rgba(255,255,255,0.6); }

/* Desktop nav links */
.nav-links { display: none; }
@media (min-width:1024px) {
  .nav-links {
    display: flex; align-items: center; justify-content: center;
    gap: 4px;
  }
}
.nav-link {
  position: relative;
  padding: 8px 14px; border-radius: 50px;
  font-size: 0.87rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s, background 0.25s var(--ease); white-space: nowrap;
}
.nav-link:hover { color: var(--heading); background: rgba(36,67,58,0.06); }
.nav-link.active { color: var(--heading); font-weight: 600; background: var(--primary-light); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.nav-hamburger { display: flex; }
@media (min-width:1024px) { .nav-hamburger { display: none !important; } }

.nav-cta-tel, .nav-cta-assignment {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.nav-cta-tel {
  background: var(--secondary);
  color: #141416;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--liquid-rim-dark);
}
.nav-cta-tel:hover { transform: translateY(-1px); box-shadow: var(--liquid-rim-dark), 0 6px 16px rgba(201,167,105,0.35); }
.nav-cta-assignment {
  background: var(--glass-green-strong);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--liquid-rim-dark);
  color: white;
}
.nav-cta-assignment:hover, .nav-cta-assignment.active { background: var(--glass-green-dark); color: white; transform: translateY(-1px); }
@media (max-width:1023px) {
  .nav-cta-tel, .nav-cta-assignment { display: none; }
}
@media (min-width:1024px) {
  .nav-cta-tel, .nav-cta-assignment { padding: 9px 20px; border-radius: 50px; }
}

/* ── Mobile drawer ──────────────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(8,16,12,0.5);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  z-index: 1040;
}
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: 85%; max-width: 340px;
  background: var(--glass-white-strong); z-index: 1050;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-right: 1px solid var(--glass-white-border);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-drawer { background: #1a1a1e; }
}
.mobile-drawer.drawer-open { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--glass-white-border);
}
.drawer-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; font-weight: 500; font-size: 0.9rem;
  color: var(--text); border-bottom: 1px solid var(--bg-off);
  text-decoration: none; transition: all 0.2s;
}
.drawer-link:hover { color: var(--heading); background: var(--primary-light); padding-left: 28px; }
.drawer-link i { color: var(--secondary); width: 18px; text-align: center; }
.drawer-link-sub { padding-left: 52px; font-size: 0.85rem; color: var(--text-muted); }
.drawer-link-sub:hover { padding-left: 60px; }
.drawer-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.drawer-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 50px;
  background: var(--glass-green-strong);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  color: white;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: background 0.2s;
}
.drawer-cta:hover { background: var(--glass-green-dark); }
/* Phone CTA in its own tone: solid gold with dark text, next to the
   green-glass assignment button above it. */
.drawer-cta-tel {
  background: var(--secondary);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-color: rgba(255,255,255,0.3);
  color: #141416;
}
.drawer-cta-tel:hover { background: var(--accent); }
.drawer-cta-wa { background: #25d366; border-color: rgba(255,255,255,0.3); }
.drawer-cta-wa:hover { background: #1ebe5b; }


/* ── Section headers ────────────────────────────────────────────────────── */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.section-header-light { flex-direction: column; align-items: center; text-align: center; }
.section-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--secondary);
  margin-bottom: 8px; display: block;
}
.section-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600; color: var(--heading);
  line-height: 1.2; letter-spacing: -0.01em;
}
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--secondary); font-weight: 600; font-size: 0.88rem;
  text-decoration: none; white-space: nowrap;
  transition: gap 0.2s;
}
.section-link:hover { gap: 10px; }
.section-eyebrow-light {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px;
}
.section-title-light {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: white; line-height: 1.2; letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Featured Properties section ────────────────────────────────────────── */
.featured-section { padding: 80px 0; background: var(--bg-off); }

/* ── Property grid ──────────────────────────────────────────────────────── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.property-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width:1023px) { .property-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:639px)  { .property-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── Property card ──────────────────────────────────────────────────────── */
.property-card {
  display: block; text-decoration: none; color: inherit;
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.property-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.property-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--primary-light); }
.property-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.property-card:hover .property-card-img img { transform: scale(1.05); }
.property-card-no-img { width: 100%; height: 100%; background: var(--primary-light); min-height: 180px; display: flex; align-items: center; justify-content: center; }
.property-card-no-img::after { content: 'EnerDom'; font-family: 'Josefin Sans', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--heading); opacity: 0.25; letter-spacing: 2px; }
.property-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge-listing {
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-sale {
  background: var(--glass-green-strong);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  color: white;
}
.badge-rent { background: var(--secondary); color: #141416; }
.badge-featured {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}
.badge-category {
  padding: 4px 12px; border-radius: 50px;
  background: var(--primary-light); color: var(--heading);
  font-size: 0.72rem; font-weight: 700;
}
.property-card-body { padding: 18px 20px 16px; }
.property-card-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); margin-bottom: 5px; }
.property-card-title { font-family: 'Josefin Sans', sans-serif; font-size: 1rem; font-weight: 400; color: var(--heading); margin-bottom: 6px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; }
.property-card-location { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.property-card-specs { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin-bottom: 14px; }
.property-card-specs span { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.property-card-specs span + span::before { content: '·'; margin: 0 7px; color: var(--border); }
.property-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.property-card-price { font-family: 'Josefin Sans', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--secondary); letter-spacing: 0.02em; }
.property-card-arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--heading); font-size: 1.1rem; line-height: 1; transition: all 0.25s; }
.property-card:hover .property-card-arrow { background: var(--secondary); color: white; }

/* ── Prop Card ───────────────────────────────────────────────────────────── */
.prop-card {
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--liquid-rim-dark);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s ease;
}
.prop-card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: var(--liquid-rim-dark), 0 22px 56px rgba(0,0,0,0.32);
  border-color: rgba(255,255,255,0.14);
}

/* Image */
.prop-card-media {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; flex-shrink: 0;
}
.prop-card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.65s ease;
}
.prop-card:hover .prop-card-media img { transform: scale(1.08); }
.prop-card-media::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 72px; z-index: 1;
  background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
  pointer-events: none;
}
.prop-card-no-img {
  width: 100%; height: 100%; min-height: 190px;
  background: color-mix(in srgb, var(--primary) 80%, black 20%);
  display: flex; align-items: center; justify-content: center;
}
.prop-card-no-img::after {
  content: 'ENERDOM';
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 4px;
  color: rgba(176,141,87,0.2);
}

/* Badges */
.prop-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.prop-badge { padding: 4px 11px; border-radius: 50px; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.prop-badge--sale { background: var(--secondary); color: #1a2e27; }
.prop-badge--rent {
  background: var(--glass-dark); color: white;
  border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm);
}
.prop-badge--star { background: rgba(176,141,87,0.2); color: var(--secondary); border: 1px solid var(--secondary); padding: 4px 8px; }

/* Body */
.prop-card-body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; gap: 0; }
.prop-card-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--secondary); opacity: 0.85; margin-bottom: 6px; }
.prop-card-title { font-family: 'Josefin Sans', sans-serif; font-size: 1rem; font-weight: 400; color: white; line-height: 1.45; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; flex: 1; }
.prop-card-loc { font-size: 0.75rem; color: rgba(255,255,255,0.38); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.prop-card-loc i { color: var(--secondary); opacity: 0.6; font-size: 0.68rem; flex-shrink: 0; }
.prop-card-specs { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.prop-card-specs span { font-size: 0.73rem; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.prop-card-specs span i { color: var(--secondary); font-size: 0.63rem; opacity: 0.75; }

/* Footer: price + CTA */
.prop-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prop-card-price {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.45rem; font-weight: 600;
  color: var(--secondary); letter-spacing: 0.01em;
  line-height: 1;
}
.prop-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  padding: 7px 14px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s;
}
.prop-card:hover .prop-card-cta {
  color: var(--primary-dark);
  background: var(--secondary);
  border-color: var(--secondary);
}
/* Wide variant (viles-eksoxika) */
@media (min-width: 640px) {
  .prop-card--wide { flex-direction: row; }
  .prop-card--wide .prop-card-media { width: 46%; flex-shrink: 0; aspect-ratio: unset; min-height: 220px; }
  div:has(> .prop-card--wide) { grid-column: span 2; }
}
@media (max-width: 639px) {
  div:has(> .prop-card--wide) { grid-column: span 1; }
}

/* ── Why section ────────────────────────────────────────────────────────── */
.why-section {
  padding: 100px 0;
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border-soft);
  border-bottom: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width:1279px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:767px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:767px)  { .why-grid .why-card:last-child { grid-column: 1 / -1; aspect-ratio: 16/7; } }
@media (max-width:479px)  { .why-grid { grid-template-columns: 1fr; } }
@media (max-width:479px)  { .why-grid .why-card:last-child { aspect-ratio: 3/4; } }
.why-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--glass-green-dark); cursor: default; }
.why-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.why-card:hover .why-card-img { transform: scale(1.07); }
.why-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,46,39,0.96) 0%, rgba(26,46,39,0.52) 52%, rgba(26,46,39,0.16) 100%); transition: background 0.3s; }
.why-card:hover .why-card-overlay { background: linear-gradient(to top, rgba(26,46,39,0.98) 0%, rgba(26,46,39,0.65) 55%, rgba(26,46,39,0.26) 100%); }
.why-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 22px; }
.why-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: rgba(196,168,130,0.25); border: 1px solid rgba(196,168,130,0.45); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.25rem; color: var(--accent); transition: all 0.3s; }
.why-card:hover .why-icon-wrap { background: var(--secondary); border-color: var(--secondary); color: white; }
.why-card h3 { font-family: 'Josefin Sans', sans-serif; font-size: 0.95rem; font-weight: 400; color: white; margin-bottom: 8px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; }
.why-card p { font-size: 0.82rem; color: rgba(255,255,255,0.58); line-height: 1.75; }

/* ── Renovation teaser ──────────────────────────────────────────────────── */
.reno-teaser-section { padding: 100px 0; background: var(--bg-off); overflow: hidden; }
.reno-teaser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width:1023px) { .reno-teaser-inner { grid-template-columns: 1fr; gap: 40px; } }
.reno-teaser-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 700; color: var(--heading); line-height: 1.15; margin-bottom: 20px; }
.reno-teaser-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.reno-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.reno-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); font-weight: 500; }
.reno-feature i { color: var(--secondary); font-size: 0.8rem; }
.reno-teaser-visual { border-radius: var(--radius-lg); overflow: hidden; height: 420px; }
.reno-teaser-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.reno-teaser-visual:hover img { transform: scale(1.04); }

/* ── Contact section ────────────────────────────────────────────────────── */
.contact-section {
  padding: 100px 0;
  background:
    linear-gradient(180deg, rgba(10,20,15,0.88) 0%, rgba(10,20,15,0.93) 100%),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  border-top: 1px solid var(--glass-border-soft);
}
.contact-section-header { text-align: center; margin-bottom: 56px; }
.contact-section-header .contact-title { margin-bottom: 12px; }
.contact-section-header .contact-subtitle { max-width: 560px; margin: 0 auto; margin-bottom: 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: stretch; }
@media (max-width:1023px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } }
.contact-info-col { display: flex; flex-direction: column; }
.contact-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; color: white; margin-bottom: 16px; line-height: 1.2; }
.contact-subtitle { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.8; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width:639px) { .contact-details { grid-template-columns: 1fr; } }
/* Frosted chips over the section's photo background */
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--liquid-rim-dark);
  text-decoration: none; color: white;
  transition: all 0.2s var(--ease);
}
.contact-item:hover { background: rgba(255,255,255,0.14); transform: translateX(4px); }
.contact-item-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: radial-gradient(circle at 35% 30%, rgba(201,167,105,0.32), rgba(201,167,105,0.16) 70%);
  border: 1px solid rgba(201,167,105,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 3px 8px rgba(201,167,105,0.18);
  display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-icon-wa {
  background: radial-gradient(circle at 35% 30%, rgba(37,211,102,0.3), rgba(37,211,102,0.13) 70%);
  border-color: rgba(37,211,102,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 3px 8px rgba(37,211,102,0.18);
  color: #25d366;
}
.contact-item-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.contact-item-value { display: block; font-size: 0.95rem; font-weight: 600; color: white; }
.contact-map {
  flex: 1;
  margin-top: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 220px;
  max-height: 300px;
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 240px; filter: grayscale(25%) contrast(1.05); }
/* Sits over the contact section's photo background — real glass territory */
.contact-form-wrap {
  background: rgba(20,20,24,0.6);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--liquid-rim), var(--shadow-lg);
  height: 100%; display: flex; flex-direction: column; box-sizing: border-box;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .contact-form-wrap { background: #1a1a1e; }
}
.contact-form-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--heading); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:639px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.form-input {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14); font-family: inherit;
  font-size: 0.92rem; color: var(--text); outline: none;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.form-input:focus { border-color: rgba(201,167,105,0.6); box-shadow: 0 0 0 4px rgba(201,167,105,0.14); background: rgba(255,255,255,0.1); }
.form-input::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ── Page hero ──────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  padding: 60px 0; margin-bottom: 0;
}
/* Photo heroes: a vignette carries the legibility, with just a whisper of
   blur (not the heavy kind) so the photo stays recognisable underneath. */
.page-hero--img {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 84px 0;
}
.page-hero--img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 25%, rgba(8,16,12,0.48) 100%),
    linear-gradient(to bottom, rgba(8,16,12,0.5) 0%, transparent 40%, transparent 60%, rgba(8,16,12,0.5) 100%);
  -webkit-backdrop-filter: blur(0.5px) saturate(115%);
  backdrop-filter: blur(0.5px) saturate(115%);
}
.page-hero--img > * { position: relative; z-index: 1; }
.page-hero-inner { max-width: 700px; margin: 0 auto; text-align: center; }

/* Split hero: page text on the left, big brand mark on the right */
.page-hero-split { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.page-hero-text { max-width: 680px; text-align: left; }
.page-hero-text .page-hero-eyebrow { justify-content: flex-start; }
.page-hero-brandmark { display: flex; flex-direction: column; align-items: center; gap: 18px; flex-shrink: 0; padding-right: 12px; }
.page-hero-brandmark img {
  width: clamp(100px, 12vw, 150px); height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 14px rgba(0,0,0,0.35));
  opacity: 0.95;
}
.page-hero-brandmark-text { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; line-height: 1; }
.page-hero-brandmark .logo-ener { color: white; }
.page-hero-brandmark .logo-dom { color: var(--accent); }
@media (max-width: 767px) {
  .page-hero-split { flex-direction: column; gap: 30px; }
  .page-hero-text { text-align: center; }
  .page-hero-text .page-hero-eyebrow { justify-content: center; }
  .page-hero-brandmark { padding-right: 0; gap: 12px; }
  .page-hero-brandmark img { width: 88px; }
  .page-hero-brandmark-text { font-size: 1.1rem; }
}
.page-hero-eyebrow { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-shadow: 0 1px 12px rgba(0,0,0,0.4); margin-bottom: 10px; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.page-hero-eyebrow a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero-eyebrow a:hover { color: var(--accent); }
.page-hero-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2.2rem,4.5vw,3.8rem); font-weight: 600; color: white; line-height: 1.15; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero-banner-brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 18px; }
.hero-banner-logo-img { width: 38px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }
.hero-banner-logo-text { font-family: 'Josefin Sans', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1; }
.hero-banner-brand .logo-ener { color: white; }
.hero-banner-brand .logo-dom { color: var(--accent); }

/* Brand mark on light backgrounds (about, detail pages) */
.brand-inline { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.brand-inline img { width: 30px; height: 30px; object-fit: contain; }
.brand-inline span { font-family: 'Josefin Sans', sans-serif; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1; }
.brand-inline .logo-ener { color: var(--heading); }
.brand-inline .logo-dom { color: var(--secondary); }
.brand-inline--sm { margin-bottom: 10px; }
.brand-inline--sm img { width: 24px; height: 24px; }
.brand-inline--sm span { font-size: 0.78rem; }

/* ── Filters bar ────────────────────────────────────────────────────────── */
.filters-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-group { display: flex; gap: 6px; }
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  font-family: inherit; font-size: 0.83rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer; text-decoration: none;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: var(--heading); background: rgba(255,255,255,0.12); }
.filter-btn.active { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border-color: var(--glass-border); color: white; }
.filter-select-wrap {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.7); border-radius: 50px;
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  padding: 0 14px 0 16px; height: 42px; min-width: 180px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  position: relative;
}
.filter-select-wrap:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(201,167,105,0.16); }
.filter-select-wrap > i:first-child { color: var(--secondary); font-size: 0.82rem; flex-shrink: 0; }
.filter-select-wrap select { flex: 1; border: none; background: transparent; font-family: inherit; font-size: 0.87rem; font-weight: 600; color: var(--text); cursor: pointer; appearance: none; outline: none; padding-right: 24px; }
.filter-chevron { position: absolute; right: 14px; font-size: 0.7rem; color: #aaa; pointer-events: none; }
.filter-count { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-left: 4px; }

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
/* ── About Page ──────────────────────────────────────────────────────────── */
.about-page-section { padding: 80px 0 100px; }
.about-page-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width:767px) { .about-page-inner { grid-template-columns: 1fr; gap: 40px; } }
.about-page-img-wrap { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.about-page-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-page-content p { font-size: 0.97rem; color: var(--text-light); line-height: 1.85; margin-bottom: 16px; }
.about-page-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--heading); margin-bottom: 28px; line-height: 1.2; }
.about-page-title span { color: var(--secondary); }
.about-page-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.btn-outline-dark { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border: 2px solid var(--primary); color: var(--heading); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.05em; border-radius: var(--radius); text-decoration: none; transition: all 0.2s; }
.btn-outline-dark:hover { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border-color: var(--glass-border); color: white; }

.breadcrumb-bar { background: transparent; border-bottom: 1px solid var(--border); padding: 14px 0; }
.breadcrumb-nav { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: var(--secondary); }
.breadcrumb-nav i { font-size: 0.55rem; opacity: 0.6; }
.breadcrumb-nav span { color: var(--heading); font-weight: 700; }

/* ── Property detail ────────────────────────────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 40px; align-items: start; }
@media (max-width:1023px) {
  /* A bare 1fr track keeps the grid spec's default min-width:auto, so any
     wide content in either column (an unbroken long word/URL in the
     description, a long title) forces the single-column track past the
     viewport and drags the gallery/sidebar with it. minmax(0,1fr) removes
     that auto-minimum, matching what the desktop track already does. */
  .detail-layout { grid-template-columns: minmax(0,1fr); }
  .detail-main { order: 1; min-width: 0; }
  .detail-sidebar { order: 2; min-width: 0; }
}

.detail-gallery { margin-bottom: 36px; min-width: 0; overflow: hidden; }
.detail-swiper { border-radius: var(--radius-lg); overflow: hidden !important; aspect-ratio: 16/10; width: 100%; position: relative; box-shadow: 0 24px 64px rgba(28,43,36,0.16); }
.detail-swiper::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); pointer-events: none; z-index: 15; }
.detail-swiper .swiper-wrapper { height: 100%; }
/* Swiper slides must be position:relative for absolute children */
.detail-swiper .swiper-slide,
.reno-detail-swiper .swiper-slide { position: relative; height: 100%; }
.detail-gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-swiper .swiper-button-next,
.detail-swiper .swiper-button-prev,
.reno-detail-swiper .swiper-button-next,
.reno-detail-swiper .swiper-button-prev {
  color: white !important;
  z-index: 20 !important;
  --swiper-navigation-size: 15px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(26,46,39,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.25s, border-color 0.25s;
}
.detail-swiper .swiper-button-next:hover,
.detail-swiper .swiper-button-prev:hover,
.reno-detail-swiper .swiper-button-next:hover,
.reno-detail-swiper .swiper-button-prev:hover { background: rgba(26,46,39,0.75); border-color: rgba(255,255,255,0.5); }
.detail-swiper .swiper-pagination-bullet { background: white; opacity: 0.5; }
.detail-swiper .swiper-pagination-bullet-active,
.reno-detail-swiper .swiper-pagination-bullet-active { background: var(--secondary) !important; opacity: 1; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.detail-thumb { width: 84px; height: 58px; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: 0.45; border: 2px solid transparent; flex-shrink: 0; transition: opacity 0.25s, border-color 0.25s, transform 0.25s; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumb.active, .detail-thumb:hover { opacity: 1; border-color: var(--secondary); }
.detail-thumb:hover { transform: translateY(-2px); }
.detail-no-img { border-radius: var(--radius-lg); aspect-ratio: 16/10; background: var(--primary-light); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--heading); opacity: 0.3; }
.detail-no-img p { margin-top: 12px; font-size: 0.9rem; }

/* ── Property video embed (YouTube/Vimeo) ──────────────────────────────── */
.detail-video-wrap { width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 64px rgba(28,43,36,0.16); background: #000; text-align: center; }
.detail-video-wrap video { display: block; width: 100%; height: auto; max-height: 70vh; }

/* ── Logo watermark (cards + gallery) ──────────────────────────────────── */
.card-watermark { position: absolute; bottom: 10px; right: 10px; z-index: 5; pointer-events: none; }
.card-watermark img { height: 22px; width: auto; opacity: 0.72; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.55)); display: block; }
.gallery-watermark { position: absolute; bottom: 14px; right: 14px; z-index: 10; pointer-events: none; }
.gallery-watermark img { height: 32px; width: auto; opacity: 0.78; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6)); display: block; }

/* ── Sidebar brand logo ─────────────────────────────────────────────────── */
.detail-info-logo { display: flex; justify-content: center; align-items: center; gap: 12px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.detail-info-logo img { height: 40px; width: auto; flex-shrink: 0; }
.detail-info-logo-text { font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1; }
.detail-info-logo .logo-ener { color: var(--heading); }
.detail-info-logo .logo-dom { color: var(--secondary); }

.detail-desc-section { background: transparent; padding-top: 8px; }
.detail-desc-title {
  font-family: 'Josefin Sans', sans-serif; color: var(--heading);
  font-size: 1.15rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0 0 14px; margin-bottom: 22px; position: relative;
}
.detail-desc-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--secondary); }
.detail-desc-body { padding: 0; font-size: 0.96rem; line-height: 1.95; color: var(--text-light); max-width: 68ch; overflow-wrap: break-word; }

/* ── Before / After slider ──────────────────────────────────────────────── */
.ba-list { display: flex; flex-direction: column; gap: 32px; }
.ba-slider {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius-lg);
  overflow: hidden; cursor: ew-resize; user-select: none;
  box-shadow: 0 20px 50px rgba(28,43,36,0.14);
  touch-action: pan-y;
  margin: 0;
}
.ba-slider:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: white; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ba-handle-grip {
  width: 40px; height: 40px; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center;
  color: #1d1d1f; font-size: 0.9rem; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ba-tag {
  position: absolute; top: 14px; z-index: 2;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px; color: white;
  background: var(--glass-dark); border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm);
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-caption { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
@media (max-width: 639px) { .ba-slider { aspect-ratio: 4/3; } }

.detail-info-card {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 30px; margin-bottom: 20px; position: sticky; top: 100px;
  box-shadow: var(--liquid-rim-dark);
}
.detail-badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-info-card .badge-listing,
.detail-info-card .badge-category {
  background: transparent; padding: 5px 14px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid; border-radius: 50px;
}
.detail-info-card .badge-sale { color: var(--heading); border-color: rgba(255,255,255,0.3); }
.detail-info-card .badge-rent { color: var(--secondary); border-color: rgba(201,167,105,0.5); }
.detail-info-card .badge-category { color: var(--text-muted); border-color: var(--border); }
.detail-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--heading); line-height: 1.3; margin-bottom: 10px; text-wrap: balance; }
.detail-location { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 22px; display: flex; align-items: center; gap: 7px; }
.detail-location i { color: var(--secondary); }
.detail-price {
  font-family: 'Josefin Sans', sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--heading);
  padding: 18px 0; margin-bottom: 22px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.detail-price::before {
  content: 'Τιμή'; display: block; width: 100%;
  font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--secondary);
  margin-bottom: 2px;
}
.detail-price-neg { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; background: var(--primary-light); color: var(--heading); letter-spacing: 0.03em; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 26px; }
.detail-spec { display: flex; align-items: center; gap: 13px; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.detail-spec:nth-last-child(-n+2):nth-child(odd) { border-bottom: none; }
.detail-spec:last-child:nth-child(even) { border-bottom: none; }
.detail-spec i { color: var(--secondary); width: 20px; text-align: center; font-size: 1.05rem; }
.spec-value { display: block; font-weight: 700; font-size: 0.97rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.spec-label { display: block; font-size: 0.66rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }
.detail-ctas { display: flex; flex-direction: column; gap: 10px; }
.detail-cta-phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px; border-radius: 50px;
  background: var(--glass-green-strong);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--liquid-rim-dark);
  color: white;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.detail-cta-phone:hover { background: var(--glass-green-dark); transform: translateY(-2px); box-shadow: var(--liquid-rim-dark), 0 10px 28px rgba(26,46,39,0.28); }
.detail-cta-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 50px;
  background: #25d366; color: white;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.detail-cta-wa:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 24px rgba(37,211,102,0.3); }

.inquiry-card {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--liquid-rim-dark);
}
.inquiry-title {
  font-family: 'Josefin Sans', sans-serif; font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading);
  padding-bottom: 14px; margin-bottom: 22px; position: relative;
}
.inquiry-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--secondary); }
.inquiry-success { text-align: center; padding: 20px; }
.inquiry-success i { font-size: 2.5rem; color: #25d366; margin-bottom: 12px; display: block; }
.inquiry-success p { font-size: 0.9rem; color: var(--text-muted); }
.inquiry-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; font-size: 0.87rem; margin-bottom: 14px; }

.similar-section { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border); }
.similar-title {
  font-family: 'Josefin Sans', sans-serif; font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--heading);
  padding-bottom: 14px; margin-bottom: 32px; position: relative;
}
.similar-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--secondary); }

/* ── Search results page ────────────────────────────────────────────────── */
.search-results-page { min-height: 70vh; }
.search-hero {
  background: var(--glass-green-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  padding: 60px 0; margin-bottom: 0;
}
.search-hero-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.search-hero-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2rem,4.5vw,3.5rem); color: white; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.search-hero-title span { color: var(--accent); }
.search-hero-count { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 8px; }

/* ── Empty state ────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(36,67,58,0.1), rgba(36,67,58,0.04) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 3px 10px rgba(36,67,58,0.06);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 1.8rem; color: var(--heading); opacity: 0.6;
}
.empty-state h2 { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; max-width: 380px; margin-left: auto; margin-right: auto; }

/* ── Renovations ────────────────────────────────────────────────────────── */
.reno-services-section { padding: 96px 0 88px; background: var(--bg); }
.reno-services-section .section-header { margin-bottom: 48px; }
.reno-services-strip { display: grid; grid-template-columns: repeat(4,1fr); }
.reno-service { padding: 6px 36px 6px 32px; border-left: 1px solid var(--border); }
.reno-service:first-child { border-left: none; padding-left: 0; }
.reno-service i { display: block; font-size: 1.5rem; color: var(--secondary); margin-bottom: 20px; }
.reno-service h3 {
  font-family: 'Josefin Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--heading);
  line-height: 1.5; padding-bottom: 14px; margin-bottom: 14px; position: relative;
}
.reno-service h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--secondary); }
.reno-service p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.8; }
@media (max-width:1023px) {
  .reno-services-strip { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .reno-service:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width:639px) {
  .reno-services-strip { grid-template-columns: 1fr; gap: 0; }
  .reno-service { border-left: none; padding: 28px 0; border-top: 1px solid var(--border); }
  .reno-service:first-child { border-top: none; padding-top: 0; }
}
.reno-projects-section { padding: 80px 0; }
.reno-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width:1023px) { .reno-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:639px)  { .reno-grid { grid-template-columns: 1fr; } }
.reno-card { display: block; text-decoration: none; color: inherit; background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--liquid-rim-dark); transition: all 0.3s; }
.reno-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.reno-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--primary-light); }
.reno-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.reno-card:hover .reno-card-img img { transform: scale(1.05); }
.reno-card-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--heading); opacity: 0.2; min-height: 180px; }
.reno-badge-featured { position: absolute; top: 12px; left: 12px; background: var(--secondary); color: white; padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.reno-card-body { padding: 20px; }
.reno-card-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.reno-card-summary { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.reno-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.83rem; font-weight: 600; color: var(--secondary); transition: gap 0.2s; }
.reno-card:hover .reno-card-link { gap: 10px; }
.reno-cta-section {
  padding: 100px 0;
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.reno-cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.reno-cta-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; color: white; margin-bottom: 16px; }
.reno-cta-text { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; }
.reno-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Renovation detail — same layout as property detail */
.detail-sub { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.detail-price--reno { font-size: 1.5rem; letter-spacing: 0.02em; }
.detail-price--reno::before { content: 'Δωρεάν Εκτίμηση'; }
.detail-price--reno a { color: inherit; text-decoration: none; transition: color 0.2s; }
.detail-price--reno a:hover { color: var(--secondary); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--glass-green-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  color: rgba(255,255,255,0.7);
}
/* Keep the legal bar visible above the fixed mobile bottom nav */
@media (max-width:1023px) {
  .site-footer { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}
.footer-top { padding: 96px 0 56px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 56px; }
@media (max-width:1023px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width:639px)  { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo-img { height: 52px; width: auto; display: block; flex-shrink: 0; }
.footer-logo-text { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1; }
.footer-tagline { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin: 20px 0 0; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.social-btn:hover { background: var(--secondary); color: white; transform: translateY(-2px); }
.footer-heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,0.9); text-transform: uppercase; margin-bottom: 24px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 13px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.87rem; transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 15px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.87rem; }
.footer-contact-item i { color: var(--accent); width: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-contact-item a:hover { color: white; }
.footer-bottom { padding: 22px 0; background: transparent; border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--text-muted); }
.footer-legal-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--secondary); }
.footer-legal-sep { color: var(--border); }
.footer-poweredby { color: var(--text-muted); font-size: 0.75rem; }
.footer-poweredby a { color: var(--text-light); text-decoration: none; border-bottom: 1px solid var(--border); }
.footer-poweredby a:hover { color: var(--secondary); border-bottom-color: var(--secondary); }

/* ── Mobile bottom nav ──────────────────────────────────────────────────── */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(62px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: white; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 1020;
}
@media (min-width:1024px) { .mobile-bottom-nav { display: none; } }
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center;
  color: var(--text-muted); font-size: 0.62rem; font-weight: 600;
  gap: 4px; cursor: pointer; transition: color 0.2s;
  text-transform: uppercase; letter-spacing: 0.3px;
  background: none; border: none; padding: 0; text-decoration: none;
  font-family: inherit;
}
.bottom-nav-item i { font-size: 1.2rem; transition: transform 0.25s; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--secondary); }
.bottom-nav-item:hover i { transform: translateY(-3px); }

/* ── WhatsApp float ─────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none; z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe5b; }
@media (max-width:1023px) {
  .whatsapp-float { bottom: calc(78px + env(safe-area-inset-bottom)); right: 16px; width: 46px; height: 46px; font-size: 1.35rem; }
}

/* ── Back to top — stacked directly above the WhatsApp float ───────────── */
.back-to-top {
  position: fixed; bottom: 92px; right: 29px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass-dark);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-dark-border);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; cursor: pointer; z-index: 900;
  box-shadow: var(--liquid-rim-dark);
  transition: opacity 0.25s, transform 0.25s, background 0.25s;
  opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--secondary); }
@media (max-width:1023px) {
  .back-to-top { bottom: calc(134px + env(safe-area-inset-bottom)); right: 20px; width: 38px; height: 38px; }
}

/* ── Cookie banner ──────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--glass-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-dark-border);
  box-shadow: var(--liquid-rim-dark);
  color: white; z-index: 2000;
  padding: 16px 20px; animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; margin-bottom: 3px; font-size: 0.95rem; }
.cookie-text p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept { background: var(--secondary); color: white; border: none; padding: 8px 22px; border-radius: 50px; font-weight: 700; cursor: pointer; font-size: 0.87rem; font-family: inherit; }
.cookie-btn-decline { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); border: none; padding: 8px 18px; border-radius: 50px; font-weight: 600; cursor: pointer; font-size: 0.87rem; font-family: inherit; }

/* ── Toast ──────────────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 3000; pointer-events: none; }
@media (min-width:1024px) { .toast-container { bottom: 28px; } }
.toast {
  background: var(--glass-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-dark-border);
  color: white; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--liquid-rim-dark);
  opacity: 0; transform: translateY(20px); transition: all 0.3s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── Sold / Rented overlay ──────────────────────────────────────────────── */
.property-card.sold { opacity: 0.82; }
.property-card.sold:hover { transform: none; box-shadow: var(--shadow-sm); }
.sold-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(26,46,39,0.48);
  display: flex; align-items: center; justify-content: center;
}
.sold-badge-stamp {
  background: white; color: var(--heading);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 8px 22px; border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  border: 2px solid white;
  transform: rotate(-8deg);
}

/* ── Pagination ─────────────────────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 40px 0 20px; flex-wrap: wrap;
}
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 8px;
  border-radius: 50px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07); color: var(--text-muted);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  font-family: inherit; font-size: 0.87rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all 0.2s var(--ease);
}
.page-btn:hover { color: var(--heading); background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.page-btn.active { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border-color: var(--glass-border); color: white; }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }
.page-ellipsis { display: flex; align-items: center; padding: 0 4px; color: var(--text-muted); font-size: 0.87rem; }

/* ── Properties map layout ──────────────────────────────────────────────── */
.properties-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  align-items: start;
  min-height: 70vh;
}
.properties-layout.no-map { grid-template-columns: 1fr; }
@media (max-width:1199px) {
  .properties-layout { grid-template-columns: 1fr; }
  .properties-map-col { display: none; }
  .properties-map-col.map-visible { display: block; }
}
.properties-list-col { padding: 0 24px 40px 0; }
@media (max-width:1199px) { .properties-list-col { padding: 0; } }
.properties-map-col {
  position: sticky; top: 80px;
  height: calc(100vh - 80px);
  border-left: 1px solid var(--border);
}
#properties-map {
  width: 100%; height: 100%;
  z-index: 1;
}

/* Mobile map toggle */
.map-toggle-btn {
  display: none;
  align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  font-family: inherit; font-size: 0.83rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  transition: all 0.2s var(--ease);
}
@media (max-width:1199px) { .map-toggle-btn { display: inline-flex; } }
.map-toggle-btn.active { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border-color: var(--glass-border); color: white; }

/* Price/area range inputs */
.filter-range-group {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  border-radius: 50px;
  padding: 0 14px; height: 42px;
  transition: border-color 0.2s, background 0.25s;
}
.filter-range-group:focus-within { border-color: var(--secondary); }
.filter-range-label {
  font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.filter-range-group input[type="number"] {
  width: 68px; border: none; background: transparent;
  font-family: inherit; font-size: 0.87rem; font-weight: 600; color: var(--text);
  outline: none; text-align: right;
  -moz-appearance: textfield;
}
.filter-range-group input[type="number"]::-webkit-inner-spin-button,
.filter-range-group input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.filter-range-sep { color: var(--text-muted); font-size: 0.75rem; }

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  border: 1px solid var(--border);
}
.leaflet-popup-content { margin: 0 !important; }
.map-popup { padding: 14px 16px; min-width: 200px; }
.map-popup-title { font-weight: 700; font-size: 0.88rem; color: var(--heading); margin-bottom: 4px; line-height: 1.3; }
.map-popup-price { font-family: 'Josefin Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--secondary); }
.map-popup-link { display: block; margin-top: 10px; padding: 6px 14px; border-radius: 50px; background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border: 1px solid var(--glass-border); color: white; font-size: 0.78rem; font-weight: 600; text-align: center; text-decoration: none; transition: background 0.2s; }
.map-popup-link:hover { background: var(--secondary); }

/* Custom map marker */
.map-marker-pin {
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  background: var(--primary); transform: rotate(-45deg);
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.map-marker-pin.marker-rent { background: var(--secondary); }

/* ── Share buttons ──────────────────────────────────────────────────────── */
.share-row {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0; border-top: 1px solid var(--border);
  margin-top: 14px;
}
.share-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-decoration: none; border: none;
  font-family: inherit;
}
.share-btn-copy { background: var(--primary-light); color: var(--heading); }
.share-btn-copy:hover { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); color: white; }
.share-btn-wa { background: rgba(37,211,102,0.12); color: #1a8c45; }
.share-btn-wa:hover { background: #25d366; color: white; }

/* ── Valuation page ─────────────────────────────────────────────────────── */
.valuation-page { min-height: 70vh; }
.valuation-layout { display: grid; grid-template-columns: 1fr 460px; gap: 60px; align-items: start; padding: 60px 0 80px; }
@media (max-width:1023px) { .valuation-layout { grid-template-columns: 1fr; gap: 40px; } }
.valuation-info h2 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2rem,4vw,3rem); font-weight: 600; color: var(--heading); margin-bottom: 16px; letter-spacing: -0.01em; }
.valuation-info p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.valuation-benefits { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.valuation-benefit { display: flex; align-items: flex-start; gap: 12px; }
.valuation-benefit-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: radial-gradient(circle at 35% 30%, rgba(36,67,58,0.12), rgba(36,67,58,0.05) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 6px rgba(36,67,58,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--heading); font-size: 0.9rem; flex-shrink: 0;
}
.valuation-benefit h4 { font-size: 0.9rem; font-weight: 700; color: var(--heading); margin-bottom: 3px; }
.valuation-benefit p { font-size: 0.83rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.valuation-form-card { background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--liquid-rim-dark); }
.valuation-form-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--heading); margin-bottom: 24px; }
.valuation-success { text-align: center; padding: 32px 16px; }
.valuation-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(37,211,102,0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.8rem; color: #25d366; }
.valuation-success h3 { font-family: 'Josefin Sans', sans-serif; font-size: 1.2rem; color: var(--heading); margin-bottom: 10px; }
.valuation-success p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Area page ──────────────────────────────────────────────────────────── */
.area-page { min-height: 70vh; }
.area-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.area-nav-link {
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  color: var(--text-muted); text-decoration: none;
  transition: all 0.2s var(--ease);
}
.area-nav-link:hover { color: var(--heading); background: rgba(255,255,255,0.12); }
.area-nav-link.active { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); border-color: var(--glass-border); color: white; }

/* ── Βίλες & Εξοχικά — horizontal card ─────────────────────────────────── */
.property-card--wide { display: flex; flex-direction: row; }
.property-card--wide .property-card-img { width: 48%; min-width: 48%; flex-shrink: 0; aspect-ratio: unset; height: auto; min-height: 180px; }
.property-card--wide .property-card-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
div:has(> .property-card--wide) { grid-column: span 2; }
@media (max-width: 767px) {
  .property-card--wide { flex-direction: column; }
  .property-card--wide .property-card-img { width: 100%; min-width: unset; min-height: 180px; aspect-ratio: 16/10; }
  div:has(> .property-card--wide) { grid-column: span 1; }
}

/* ── AOS overrides: disable translate movement, keep only opacity ──────── */
[data-aos] { transform: none !important; }
[data-aos].aos-animate { transform: none !important; }
/* Faster, subtler fade */
[data-aos^=fade][data-aos^=fade] { opacity: 0; }
[data-aos^=fade][data-aos^=fade].aos-animate { opacity: 1; }
/* Staggered delays feel cheap — reset them */
[data-aos-delay] { transition-delay: 0s !important; }

/* ── 404 page ───────────────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px;
}
.error-content { max-width: 480px; }
.error-num { font-family: 'Josefin Sans', sans-serif; font-size: clamp(6rem,15vw,10rem); font-weight: 700; color: var(--secondary); line-height: 1; opacity: 0.6; }
.error-title { font-family: 'Josefin Sans', sans-serif; font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 12px; }
.error-text { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* ── Nav logo image ─────────────────────────────────────────────────────── */
.nav-logo-img {
  height: 44px; width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 767px) { .nav-logo-img { height: 36px; } }

/* ── Loading Screen ─────────────────────────────────────────────────────── */
.loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loading-logo { width: 160px; height: auto; object-fit: contain; }
.loading-tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 300; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary-dark);
}
.loading-bar {
  width: 200px; height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px; overflow: hidden;
}
.loading-bar-fill {
  height: 100%; width: 0;
  background: var(--secondary);
  border-radius: 2px;
  animation: loadFill 1.2s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ── Page Transitions ───────────────────────────────────────────────────── */
body { transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); animation: pageEnter 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
body.page-leaving { opacity: 0; }
@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Collapsible Filters ────────────────────────────────────────────────── */
.filters-header { margin-bottom: 24px; }
.filters-top-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.filters-right { display: flex; align-items: center; gap: 12px; }
.filter-count { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }

.filter-toggle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 3px rgba(0,0,0,0.25);
  color: var(--text);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s var(--ease);
}
.filter-toggle-btn:hover,
.filter-toggle-btn.active { border-color: var(--heading); color: var(--heading); background: var(--primary-light); }
.filter-toggle-chevron { transition: transform 0.25s; font-size: 0.7rem; }
.filter-toggle-btn.active .filter-toggle-chevron { transform: rotate(180deg); }

.filters-panel {
  display: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 12px;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--liquid-rim-dark);
}
.filters-panel.open { display: block; }

.filters-panel-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: end;
}
.filter-panel-group { display: flex; flex-direction: column; gap: 8px; }
.filter-panel-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero-video-section {
  position: relative;
  height: 100vh; min-height: 560px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-dark) center/cover no-repeat;
}
/* Ken Burns: slow zoom on a copy of the hero background */
.hero-video-section::before {
  content: '';
  position: absolute; inset: 0;
  background: inherit;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 0;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
/* Only a whisper of blur — enough to read as "glass" without hiding the
   photo. A vignette (dark top for the logo, dark bottom for the search bar,
   clear centre) does the heavy lifting for legibility. */
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(8,16,12,0.4) 100%),
    linear-gradient(to bottom, rgba(8,16,12,0.55) 0%, transparent 26%, transparent 60%, rgba(8,16,12,0.6) 100%);
  -webkit-backdrop-filter: blur(0.5px) saturate(115%);
  backdrop-filter: blur(0.5px) saturate(115%);
  z-index: 1;
}

/* ── Hero search bar ────────────────────────────────────────────────────── */
.hero-search {
  display: flex; align-items: stretch; gap: 0;
  background: rgba(20,20,24,0.55);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  box-shadow: var(--liquid-rim), 0 18px 50px rgba(13,31,24,0.35);
  padding: 8px;
  width: min(460px, calc(100vw - 40px));
  text-align: left;
  transition: box-shadow 0.25s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-search { background: #1a1a1e; }
}
.hero-search:focus-within { box-shadow: var(--liquid-rim), 0 18px 50px rgba(13,31,24,0.35), 0 0 0 4px rgba(201,167,105,0.28); }
/* ── Custom selects (progressive enhancement of every native select) ────── */
.c-select { position: relative; flex: 1; min-width: 0; }
.c-select select { display: none !important; }
.c-select-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; cursor: pointer; text-align: left;
  font-family: inherit; font-weight: 500; color: var(--text);
}
/* Bare variant (inside pills etc.) — form-input buttons keep the input look */
.c-select-btn:not(.form-input) { background: none; border: none; padding: 0; font-size: 0.87rem; }
.filter-select-wrap .c-select-btn { height: 42px; font-weight: 600; }
.c-select-chevron { font-size: 0.65rem; color: var(--text-muted); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.c-select.open .c-select-chevron { transform: rotate(180deg); }
.c-select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-select-menu {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 200px;
  margin: 0; padding: 6px; list-style: none;
  background: rgba(24,24,28,0.92);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  box-shadow: var(--liquid-rim-dark), 0 18px 44px rgba(0,0,0,0.5);
  z-index: 40;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .c-select-menu { background: #1a1a1e; }
}
.c-select.open .c-select-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.c-select-menu li {
  padding: 10px 14px; border-radius: 9px;
  font-size: 0.87rem; font-weight: 500; color: var(--text);
  cursor: pointer; outline: none;
  transition: background 0.15s;
}
.c-select-menu li:hover, .c-select-menu li:focus { background: rgba(255,255,255,0.08); }
.c-select-menu li[aria-selected="true"] { color: var(--secondary); }

/* ── Hero custom dropdown ───────────────────────────────────────────────── */
.hero-dd { position: relative; }
.hero-dd-toggle {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.9rem; font-weight: 500; color: var(--text);
  padding: 13px 0; text-align: left;
}
.hero-dd-chevron { font-size: 0.68rem; color: var(--text-muted); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.hero-dd.open .hero-dd-chevron { transform: rotate(180deg); }
.hero-dd-menu {
  position: absolute; top: calc(100% + 12px); left: -8px; right: -8px;
  margin: 0; padding: 6px; list-style: none;
  background: rgba(24,24,28,0.92);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  box-shadow: var(--liquid-rim-dark), 0 18px 44px rgba(0,0,0,0.5);
  z-index: 30;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-dd-menu { background: #1a1a1e; }
}
.hero-dd.open .hero-dd-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-dd-menu li {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: 9px;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  cursor: pointer; outline: none;
  transition: background 0.15s;
}
.hero-dd-menu li i { color: var(--secondary); width: 16px; text-align: center; font-size: 0.85rem; flex-shrink: 0; }
.hero-dd-menu li:hover, .hero-dd-menu li:focus { background: rgba(255,255,255,0.08); }
.hero-dd-menu li[aria-selected="true"] { color: var(--secondary); }
.hero-search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  border-left: 1px solid var(--border);
}
.hero-search-field--grow { flex: 1; border-left: none; min-width: 0; }
.hero-search-field i { color: var(--secondary); font-size: 0.9rem; flex-shrink: 0; }
.hero-search-field input {
  width: 100%; border: none; outline: none; background: none;
  font-family: inherit; font-size: 0.92rem; color: var(--text);
  padding: 13px 0;
}
.hero-search-field input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary); color: #141416; border: none;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0 26px; border-radius: 12px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  flex-shrink: 0; margin-left: 8px;
}
.hero-search-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.hero-search-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 18px rgba(201,167,105,0.35); }
@media (max-width: 767px) {
  .hero-search { flex-direction: column; gap: 6px; padding: 12px; border-radius: var(--radius-lg); }
  .hero-search-field { border-left: none; border-bottom: 1px solid var(--border); padding: 0 10px; }
  .hero-search-btn { justify-content: center; padding: 14px; margin-left: 0; }
}

/* ── Instagram feed ─────────────────────────────────────────────────────── */
.ig-section { padding: 88px 0 0; background: var(--bg); }
.ig-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 40px; }
.ig-handle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-family: 'Josefin Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--heading); text-decoration: none;
  border-bottom: 2px solid var(--secondary); padding-bottom: 4px;
  transition: color 0.2s;
}
.ig-handle:hover { color: var(--secondary); }
.ig-handle i { font-size: 1.15rem; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.ig-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.ig-item:hover img { transform: scale(1.06); }
.ig-item-overlay {
  position: absolute; inset: 0;
  background: rgba(26,46,39,0.55);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.8rem;
  opacity: 0; transition: opacity 0.3s;
}
.ig-item:hover .ig-item-overlay { opacity: 1; }
.ig-item-video {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

.hero-video-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}

/* Stagger reveal: children start hidden, JS adds .hero-reveal once the
   loading screen has actually dismissed (see main.js dismissLoading). */
.hero-video-content .hero-video-logo,
.hero-video-content .hero-video-heading,
.hero-video-content .hero-search,
.hero-video-content .hero-scroll-btn { opacity: 0; }
.hero-reveal .hero-video-logo    { animation: heroFadeUp .7s ease forwards; }
.hero-reveal .hero-video-heading { animation: heroFadeUp .7s ease .14s forwards; }
.hero-reveal .hero-search        { animation: heroFadeUp .7s ease .28s forwards; }
.hero-reveal .hero-scroll-btn    { animation: heroFadeUp .7s ease .42s forwards, scrollBounce 2s ease-in-out 1.1s infinite; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-content .hero-video-logo,
  .hero-video-content .hero-video-heading,
  .hero-video-content .hero-search,
  .hero-video-content .hero-scroll-btn { opacity: 1 !important; animation: none !important; transform: none !important; }
}
.hero-eyebrow-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.65; max-width: 500px;
  margin-top: -8px;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary); color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.hero-btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.hero-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.hero-btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero-video-logo {
  display: block; margin: 0 auto;
  width: clamp(84px, 10vw, 120px); height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.35));
  opacity: 0.95;
}
.hero-video-heading { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-video-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
}
.hero-video-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600; color: white;
  line-height: 1.08; letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 8px 40px rgba(0,0,0,0.4);
}
.hero-video-brand {
  color: white;
  display: block;
}
.hero-scroll-btn {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  color: white; font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.hero-scroll-btn:hover { background: rgba(255,255,255,0.15); border-color: white; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@media (max-width:767px) {
  .hero-video-section { height: auto; min-height: 88vh; padding: 110px 0 56px; }
  .hero-video-content { gap: 22px; }
  .hero-video-logo { width: 72px; }
  .hero-scroll-btn { display: none; }
}

/* ── Services Section ───────────────────────────────────────────────────── */
.services-section {
  padding: 80px 0;
  background: var(--bg-off);
}
.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 991px) { .services-grid-3 { grid-template-columns: 1fr; gap: 20px; } }

/* Image card */
.service-img-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--glass-green-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: box-shadow 0.35s, transform 0.35s;
}
.service-img-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 56px rgba(0,0,0,0.32);
}
.service-img-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--secondary); z-index: 4;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-img-card:hover::after { transform: scaleX(1); }
.sic-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}
.service-img-card:hover .sic-bg { transform: scale(1.07); }
.sic-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(8,22,16,0.92) 0%,
    rgba(8,22,16,0.50) 50%,
    rgba(8,22,16,0.15) 100%);
}
.sic-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  flex: 1;
  padding: 32px 28px;
  gap: 8px;
}
.sic-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 6px; align-self: flex-start;
}
.sic-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--secondary); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 10px;
  transition: gap 0.25s;
}
.service-img-card:hover .sic-cta { gap: 14px; }
.sic-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white; font-size: 1.3rem;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 4px;
  transition: background 0.3s;
}
.service-img-card:hover .sic-icon {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}
.sic-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.4rem; font-weight: 600;
  color: white; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sic-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
.sic-arrow {
  display: inline-flex; align-items: center;
  color: var(--secondary); font-size: 0.9rem;
  margin-top: 6px;
  transform: translateX(0);
  transition: transform 0.25s;
}
.service-img-card:hover .sic-arrow { transform: translateX(6px); }

/* ── Page hero subtitle ─────────────────────────────────────────────────── */
.page-hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  margin: 12px auto 0; font-weight: 300;
  line-height: 1.7; max-width: 560px;
}

/* ── Μεσιτικά landing ───────────────────────────────────────────────────── */
.mesitika-landing {
  background: var(--bg-off);
  padding: 48px 0 64px;
}
.mesitika-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-bottom: 20px;
}
@media (max-width: 767px) { .mesitika-grid { grid-template-columns: 1fr; gap: 16px; } }

.mesitika-card {
  position: relative;
  display: flex; flex-direction: column;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none;
  background: var(--glass-green-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: transform 0.35s, box-shadow 0.35s;
}
.mesitika-card:hover { transform: translateY(-7px); box-shadow: 0 22px 56px rgba(0,0,0,0.32); }
.mesitika-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--secondary); z-index: 4;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.mesitika-card:hover::after { transform: scaleX(1); }
.mc-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease; z-index: 0;
}
.mesitika-card:hover .mc-bg { transform: scale(1.07); }
.mc-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(8,22,16,0.92) 0%, rgba(8,22,16,0.50) 50%, rgba(8,22,16,0.15) 100%);
}
.mc-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  flex: 1;
  padding: 36px 32px; gap: 8px;
}
.mc-icon {
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.mesitika-card:hover .mc-icon { color: var(--secondary); }
.mc-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2rem; font-weight: 600;
  color: white; letter-spacing: 0.07em; text-transform: uppercase;
}
.mc-sub { font-size: 0.9rem; color: rgba(255,255,255,0.68); line-height: 1.55; }
.mc-cta {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--secondary); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px;
  transition: gap 0.25s;
}
.mesitika-card:hover .mc-cta { gap: 16px; }

.mesitika-anathesi {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; gap: 20px;
  background: var(--glass-green-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  border-radius: var(--radius-lg);
  text-decoration: none; color: white;
  transition: background 0.25s;
}
.mesitika-anathesi:hover { background: var(--glass-green-strong); -webkit-backdrop-filter: var(--glass-blur-sm); backdrop-filter: var(--glass-blur-sm); }
.ma-left { display: flex; align-items: center; gap: 20px; }
.ma-icon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--secondary);
}
.mesitika-anathesi strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.mesitika-anathesi span { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.5; display: block; }
.ma-arrow { font-size: 1.1rem; opacity: 0.6; flex-shrink: 0; transition: opacity 0.2s, transform 0.2s; }
.mesitika-anathesi:hover .ma-arrow { opacity: 1; transform: translateX(4px); }
@media (max-width: 599px) {
  .mesitika-anathesi { flex-direction: column; align-items: flex-start; }
  .ma-arrow { display: none; }
}

/* ── Category landing (Level 2) ────────────────────────────────────────── */
.cat-landing {
  background: var(--bg-off);
  padding: 48px 0 64px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

.cat-card {
  position: relative; display: flex; flex-direction: column;
  height: 240px; border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none;
  background: var(--glass-green-dark);
  box-shadow: 0 3px 16px rgba(0,0,0,0.15);
  transition: transform 0.32s, box-shadow 0.32s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.28); }
.cat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--secondary); z-index: 4;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.cat-card:hover::after { transform: scaleX(1); }
.cat-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
  transition: transform 0.55s; z-index: 0;
}
.cat-card:hover .cat-bg { transform: scale(1.09); }
.cat-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,22,16,0.92) 0%, rgba(8,22,16,0.45) 55%, rgba(8,22,16,0.10) 100%);
}
.cat-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  flex: 1; padding: 20px 22px; gap: 8px;
}
.cat-icon {
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.cat-card:hover .cat-icon { color: var(--secondary); }
.cat-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: white; letter-spacing: 0.07em; text-transform: uppercase;
  line-height: 1.3;
}

/* "Όλα" special card — σκούρο για συνέπεια με τα υπόλοιπα */
.cat-card--all {
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  align-items: center; justify-content: center;
  gap: 12px; text-align: center; height: 240px;
}
.cat-card--all:hover { border-color: var(--secondary); background: var(--glass-green-dark); }
.cat-card-icon {
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  transition: color 0.3s;
}
.cat-card--all:hover .cat-card-icon { color: var(--accent); }
.cat-card-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: white; letter-spacing: 0.06em; text-transform: uppercase;
}
.cat-card-sub { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

.cat-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-light); font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.cat-back-link:hover { color: var(--heading); }

/* Results count */
.results-count {
  font-size: 0.875rem; color: var(--text-light);
  margin-bottom: 20px; margin-top: -8px;
}

/* ── Properties type selector ───────────────────────────────────────────── */
.prop-type-nav {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.prop-type-nav-inner {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.prop-type-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 28px;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.prop-type-btn:hover { color: var(--heading); }
.prop-type-btn.active {
  color: var(--heading);
  border-bottom-color: var(--heading);
}
.prop-type-btn i { font-size: 0.85rem; }
.prop-type-back { color: var(--heading); opacity: 0.75; }
.prop-type-back:hover { opacity: 1; color: var(--heading); }
.prop-type-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; align-self: center; }
@media (max-width: 479px) { .prop-type-btn { padding: 14px 18px; font-size: 0.8rem; } }

/* ── Privacy Page ───────────────────────────────────────────────────────── */
.privacy-page-header {
  background: var(--glass-green);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-soft);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  padding: 100px 0 60px;
  text-align: center;
}
.privacy-page-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300; color: white;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.privacy-page-sub { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.privacy-page-header .section-eyebrow {
  color: var(--secondary); font-size: 0.72rem;
  letter-spacing: 4px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 10px;
}
.privacy-page-body {
  max-width: 780px;
  padding-top: 64px;
  padding-bottom: 80px;
}
.privacy-block {
  display: flex; gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.privacy-block:last-of-type { border-bottom: none; }
.privacy-block-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(36,67,58,0.12), rgba(36,67,58,0.05) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 8px rgba(36,67,58,0.08);
  color: var(--heading);
  font-size: 1.1rem;
}
.privacy-block-text h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.privacy-block-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }
.privacy-block-text ul {
  list-style: disc; padding-left: 20px;
  color: var(--text-muted); line-height: 2; margin-bottom: 10px;
}
.privacy-block-text a { color: var(--heading); text-decoration: underline; }
.privacy-contact-note {
  margin-top: 48px;
  padding: 32px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.privacy-contact-note p { color: var(--text-muted); margin-bottom: 20px; }
@media (max-width: 767px) {
  .privacy-block { flex-direction: column; gap: 16px; }
  .privacy-page-header { padding: 80px 0 40px; }
}
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
