/* =============================================================
   Tbilisi Property Invest — "Dark Atlas" design system
   Deep space navy × antique gold. Luxury investment aesthetic.
   ============================================================= */

:root {
  /* === Dark base palette === */
  --bg-void:    #030810;
  --bg-base:    #06101c;
  --bg-raised:  #0a1828;
  --bg-high:    #0f2038;
  --bg-card:    #0d1e36;

  /* Typography */
  --ink:   #dce8f5;
  --text:  #dce8f5;
  --muted: #7090b8;

  /* Legacy compat aliases */
  --navy-900: #030810; --navy-800: #06101c; --navy-700: #0a1828;
  --sand: #0a1828; --cream: #0d1e36;
  --line: rgba(240, 192, 48, 0.16);
  --ink-2: #0a1828;

  /* Gold — brighter, shinier */
  --coral:     #f0c030;
  --flame:     #f0d060;
  --gold:      #f0c030;
  --gold-deep: #b07010;
  --gold-hi:   #fff5a0;
  --mint:      #1f8f80;
  --violet:    #4466b0;

  /* Gradients — metallic sheen (shadow→bright→white highlight→bright→shadow) */
  --grad-gold:   linear-gradient(115deg, #a86010 0%, #f0c030 28%, #fff5a0 50%, #f0c030 72%, #a86010 100%);
  --grad-sunset: linear-gradient(115deg, #a86010 0%, #f0c030 28%, #fff5a0 50%, #f0c030 72%, #a86010 100%);
  --grad-ink:    linear-gradient(160deg, #0d1e38 0%, #06101c 55%, #020609 100%);
  --c-sale:      linear-gradient(120deg, #a86010, #f0c030);
  --c-rent:      linear-gradient(120deg, #1a3060, #2d4f8a);
  --c-daily:     linear-gradient(120deg, #0d4c44, #1a7a6e);

  /* Glow — stronger, dual-layer */
  --glow:    0 0 28px rgba(240, 192, 48, 0.72), 0 0 60px rgba(240, 192, 48, 0.22);
  --glow-sm: 0 4px 18px rgba(240, 192, 48, 0.46), 0 0 8px rgba(240, 192, 48, 0.22);
  --glow-lg: 0 14px 56px rgba(240, 192, 48, 0.55), 0 0 100px rgba(240, 192, 48, 0.18);

  /* Shadows */
  --shadow-sm:  0 2px 10px rgba(0, 0, 0, 0.40);
  --shadow-md:  0 10px 36px rgba(0, 0, 0, 0.58);
  --shadow-lg:  0 22px 72px rgba(0, 0, 0, 0.78);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 26px;

  --container: 1220px;
  --header-h:  72px;

  --font-sans:       "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display:    "Fraunces", "Noto Serif Georgian", Georgia, serif;
  --font-ka:         "Noto Sans Georgian", var(--font-sans);
  --font-ka-display: "Noto Serif Georgian", "Fraunces", serif;
}

/* ── Reset & base ─────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 900px 600px at 85% -5%, rgba(180,130,40,.07) 0%, transparent 55%),
    radial-gradient(ellipse 1100px 700px at -8% 30%, rgba(40,70,130,.09) 0%, transparent 55%),
    var(--bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
html.lang-ka body { font-family: var(--font-ka); }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
html.lang-ka h1, html.lang-ka h2, html.lang-ka h3 { font-family: var(--font-ka-display); letter-spacing: 0; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg-void); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-raised); }
::-webkit-scrollbar-thumb { background: rgba(240,192,48,.25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(240,192,48,.45); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 16, 28, 0.97);
  border-bottom: 1px solid rgba(240,192,48,.09);
  box-shadow: 0 1px 0 rgba(240,192,48,.06), 0 4px 24px rgba(0,0,0,.35);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(240,192,48,.12), 0 6px 32px rgba(0,0,0,.55);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.header-secondary { display: contents; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid rgba(240,192,48,.52);
  box-shadow: 0 0 24px rgba(240,192,48,.42), 0 0 8px rgba(240,192,48,.20), var(--shadow-sm);
  overflow: hidden; flex: none;
  transition: box-shadow .3s ease;
}
.brand .logo:hover { box-shadow: 0 0 40px rgba(240,192,48,.70), 0 0 16px rgba(240,192,48,.35), var(--shadow-sm); }
.brand .logo svg { width: 34px; height: 34px; }

.brand-text { display: flex; flex-direction: column; line-height: 1; max-width: 17ch; }
.brand-text b { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
html.lang-ka .brand-text b { font-family: var(--font-ka-display); }
.brand-text small { font-size: .66rem; color: var(--muted); font-weight: 600; margin-top: 4px; letter-spacing: .02em; }
@media (max-width: 520px) { .brand-text { max-width: 11ch; } .brand-text small { display: none; } }
.header-spacer { flex: 1; }

.lang-switch {
  display: inline-flex; border-radius: 999px; padding: 4px;
  background: rgba(240,192,48,.07);
  border: 1px solid rgba(240,192,48,.13);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 13px; border-radius: 999px;
  font-weight: 700; font-size: .78rem; transition: all .2s ease;
}
.lang-switch button.is-active { background: var(--grad-gold); color: var(--bg-void); box-shadow: var(--glow-sm); }
.lang-switch button:hover:not(.is-active) { color: var(--gold-hi); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  transition: transform .16s cubic-bezier(0.34,1.56,0.64,1), box-shadow .2s ease, background .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--grad-gold); color: var(--bg-void); box-shadow: var(--glow-sm); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.28) 50%, transparent 100%);
  transform: translateX(-115%); transition: transform .75s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-lg); }
.btn-primary:hover::after { transform: translateX(115%); }

.btn-accent { background: rgba(240,192,48,.10); color: var(--gold-hi); border-color: rgba(240,192,48,.22); }
.btn-accent:hover { background: rgba(240,192,48,.18); border-color: rgba(240,192,48,.50); transform: translateY(-2px); box-shadow: var(--glow-sm); }

.btn-ghost { background: rgba(220,232,245,.05); border-color: rgba(240,192,48,.14); color: var(--muted); }
.btn-ghost:hover { border-color: rgba(240,192,48,.36); color: var(--gold-hi); background: rgba(240,192,48,.06); }

.btn-danger { background: rgba(255,80,80,.10); border-color: rgba(255,90,90,.35); color: #ff8a8a; }
.btn-danger:hover { background: rgba(255,80,80,.20); border-color: #ff5a5a; color: #fff; }

.btn-block { width: 100%; }
.add-btn svg { width: 18px; height: 18px; }
@media (max-width: 680px) { .add-btn .btn-label { display: none; } .add-btn { padding: 12px; } }

/* ── Admin mode badge (header) ───────────────────────────── */
.admin-badge {
  display: none; align-items: center; gap: 8px;
  padding: 6px 8px 6px 12px; border-radius: 20px;
  background: rgba(255,90,90,.12); border: 1px solid rgba(255,90,90,.35);
  color: #ff9a9a; font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.admin-badge .adm-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 8px #ff5a5a; flex-shrink: 0; }
.admin-badge a { color: #ffb8b8; text-decoration: underline; }
.admin-badge button {
  border: 0; background: rgba(255,255,255,.08); color: inherit;
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; cursor: pointer;
}
.admin-badge button:hover { background: rgba(255,255,255,.18); }
@media (max-width: 860px) { .admin-badge .adm-label { display: none; } }

/* Header wraps onto extra rows once it can no longer fit on one line.
   Row 1: brand — add button. Row 2: admin badge (if shown), centered.
   Row 3: services — language switch. */
@media (max-width: 640px) {
  .header-inner { height: auto; flex-wrap: wrap; row-gap: 10px; padding-block: 14px; }
  .header-spacer { display: none; }
  .add-btn { order: 1; margin-left: auto; }
  .admin-badge { order: 2; flex-basis: 100%; justify-content: center; }
  .header-secondary {
    display: flex; order: 3; flex-basis: 100%;
    align-items: center; justify-content: space-between; gap: 10px;
  }
}
@media (max-width: 360px) {
  .lang-switch button { padding: 6px 10px; font-size: .72rem; }
}

/* ── Delete-listing button on card (admin mode) ──────────── */
.card-del {
  position: absolute; bottom: 13px; right: 13px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(20,8,8,.75); border: 1px solid rgba(255,90,90,.5);
  color: #ff9a9a; font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .18s, transform .18s, color .18s;
}
.card-del:hover { background: #ff4d4d; color: #fff; transform: scale(1.08); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0d1e3a 0%, #07121e 55%, #020b14 100%);
  color: var(--ink); padding: 88px 0 76px;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,192,48,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,192,48,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(115% 80% at 50% 0%, #000 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(115% 80% at 50% 0%, #000 15%, transparent 80%);
}

/* Floating orbs — parent blur keeps it light on the renderer */
.hero-aura { position: absolute; inset: 0; pointer-events: none; overflow: hidden; filter: blur(10px); }
.hero-aura span {
  position: absolute; border-radius: 50%; opacity: .7; mix-blend-mode: screen;
  animation: drift 20s ease-in-out infinite;
}
.hero-aura span:nth-child(1) {
  width: 560px; height: 560px; left: -150px; top: -240px;
  background: radial-gradient(circle, rgba(240,192,48,.35) 0%, transparent 65%);
}
.hero-aura span:nth-child(2) {
  width: 640px; height: 640px; right: -200px; top: -160px;
  background: radial-gradient(circle, rgba(68,102,176,.28) 0%, transparent 65%);
  animation-delay: -7s;
}
.hero-aura span:nth-child(3) {
  width: 480px; height: 480px; right: 18%; bottom: -280px;
  background: radial-gradient(circle, rgba(31,143,128,.24) 0%, transparent 65%);
  animation-delay: -13s;
}
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,40px) scale(1.07); }
  66%      { transform: translate(-18px,16px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aura span { animation: none; }
  .reveal { animation: none; opacity: 1; }
}

.hero-inner { position: relative; z-index: 2; }

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 10px rgba(240,192,48,.90), 0 0 20px rgba(240,192,48,.30); transform: scale(1); }
  50%      { box-shadow: 0 0 24px rgba(240,192,48,1), 0 0 48px rgba(240,192,48,.50), 0 0 6px #fff5a0; transform: scale(1.35); }
}
/* Subtle slide-up for hero elements — no opacity change so content is always visible */
@keyframes heroSlide { from { transform: translateY(16px); } to { transform: none; } }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-hi);
  background: rgba(240,192,48,.08); border: 1px solid rgba(240,192,48,.24);
  padding: 7px 16px; border-radius: 999px;
  animation: heroSlide .65s cubic-bezier(0.16,1,0.3,1) both;
}
.kicker i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-gold); box-shadow: 0 0 16px rgba(240,192,48,1), 0 0 6px #fff5a0;
  animation: glowPulse 2.8s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.0;
  margin: 22px 0 14px; font-weight: 600; color: #fff;
  animation: heroSlide .7s .08s cubic-bezier(0.16,1,0.3,1) both;
}
.hero h1 .accent { font-style: italic; }

.hero p {
  margin: 0 0 32px; color: var(--muted); max-width: 50ch; font-size: 1.05rem;
  animation: heroSlide .7s .16s cubic-bezier(0.16,1,0.3,1) both;
}

.tabs {
  display: inline-flex; gap: 5px;
  background: rgba(240,192,48,.07); padding: 6px; border-radius: 999px;
  border: 1px solid rgba(240,192,48,.16);
  animation: heroSlide .7s .24s cubic-bezier(0.16,1,0.3,1) both;
}
.tab {
  border: 0; background: transparent; color: var(--muted);
  padding: 11px 28px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: all .22s ease;
}
.tab:hover { color: var(--gold-hi); }
.tab.is-active { background: var(--grad-gold); color: var(--bg-void); box-shadow: var(--glow-sm); }

/* ── Search panel ─────────────────────────────────────────── */
.search-panel {
  margin-top: 28px; padding: 24px;
  background: rgba(9, 20, 40, 0.98);
  border: 1px solid rgba(240,192,48,.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(240,192,48,.08);
  color: var(--ink);
  animation: heroSlide .7s .32s cubic-bezier(0.16,1,0.3,1) both;
}
.search-row { display: grid; grid-template-columns: 2.2fr 1.2fr auto; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }

.input, .select {
  width: 100%; border: 1.5px solid rgba(240,192,48,.14);
  border-radius: 12px; padding: 13px 14px;
  font-size: .95rem; background: rgba(12,26,50,.95);
  color: var(--ink); font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: var(--muted); opacity: .7; }
.select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
  padding-right: 42px; cursor: pointer;
  background-color: rgba(12,26,50,.95);
}
.select option { background: #0f2038; color: var(--ink); }
.input:focus, .select:focus {
  border-color: rgba(240,192,48,.55); outline: none;
  box-shadow: 0 0 0 4px rgba(240,192,48,.10);
}

.search-input-wrap { position: relative; }
.search-input-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--gold); opacity: .7; pointer-events: none;
}
.search-input-wrap .input { padding-left: 44px; }
.search-actions { display: flex; align-items: flex-end; }
.search-actions .btn { height: 50px; padding-inline: 28px; }

.filters-toggle {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; color: var(--gold); font-weight: 700; font-size: .88rem;
  transition: color .2s; padding: 0;
}
.filters-toggle:hover { color: var(--gold-hi); }
.filters-toggle svg { width: 16px; height: 16px; transition: transform .28s ease; }
.filters-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.adv-filters { display: none; margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(240,192,48,.12); }
.adv-filters.is-open { display: block; animation: fade .25s ease; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.range { display: flex; align-items: center; gap: 8px; }
.range .input { padding: 11px; }
.range span { color: var(--muted); font-weight: 600; }
.adv-actions { display: flex; gap: 10px; margin-top: 16px; }

@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Trust badges */
.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 24px;
  margin: 28px 0 0; padding: 0; position: relative; z-index: 2;
  animation: heroSlide .7s .4s cubic-bezier(0.16,1,0.3,1) both;
}
.trust li {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted); font-weight: 600; font-size: .88rem; transition: color .22s;
}
.trust li:hover { color: var(--gold-hi); }
.trust .t-ico {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(240,192,48,.10); color: var(--gold); font-size: .8rem;
}

/* ── Results section ─────────────────────────────────────── */
.results-section { padding: 62px 0 82px; }
.results-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.results-count {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 600;
  color: var(--gold-hi);
}
html.lang-ka .results-count { font-family: var(--font-ka-display); }

.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap label { font-size: .84rem; color: var(--muted); font-weight: 700; }
.sort-wrap .select { padding: 10px 42px 10px 14px; min-width: 200px; border-radius: 999px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ── Listing card ────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(240,192,48,.10);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), box-shadow .3s ease, border-color .3s ease;
}

/* Gold top-edge shimmer on hover */
.card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%;
  height: 1px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(240,192,48,.70), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,.70), 0 0 28px rgba(240,192,48,.07);
  border-color: rgba(240,192,48,.28);
}

.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-raised); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(0.16,1,0.3,1); }
.card:hover .card-media img { transform: scale(1.07); }

.card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,8,16,.78) 0%, rgba(3,8,16,.20) 45%, transparent 100%);
}

.card-tags { position: absolute; top: 13px; left: 13px; display: flex; gap: 7px; z-index: 2; }
.tag { font-size: .70rem; font-weight: 800; letter-spacing: .03em; padding: 5px 12px; border-radius: 999px; color: #fff; box-shadow: var(--shadow-sm); }
.tag-sale  { background: var(--c-sale); color: var(--bg-void); }
.tag-rent  { background: var(--c-rent); }
.tag-daily { background: var(--c-daily); }
.tag-type  { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.20); }

.badge-lister {
  position: absolute; top: 13px; right: 13px; z-index: 2;
  font-size: .68rem; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  background: rgba(5,12,28,.88); color: var(--ink);
  border: 1px solid rgba(240,192,48,.22);
}
.badge-lister.is-agency { color: var(--gold); }

.card-price-pill {
  position: absolute; left: 13px; bottom: 13px; z-index: 2;
  display: flex; align-items: baseline; gap: 6px;
  background: var(--grad-gold); padding: 9px 16px; border-radius: 13px;
  box-shadow: var(--glow), var(--shadow-md);
  transition: transform .25s cubic-bezier(0.34,1.56,0.64,1);
}
.card:hover .card-price-pill { transform: translateY(-4px); }
.card-price-pill b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--bg-void); letter-spacing: -.01em; }
html.lang-ka .card-price-pill b { font-family: var(--font-ka-display); }
.card-price-pill .per { font-size: .74rem; color: rgba(3,8,16,.60); font-weight: 700; }

.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { margin: 0; font-size: 1.14rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.card-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.card-loc svg { width: 15px; height: 15px; flex: none; color: var(--gold); opacity: .8; }
.card-specs {
  margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px 14px;
  padding-top: 13px; border-top: 1px solid rgba(240,192,48,.10);
  color: var(--muted); font-size: .84rem;
}
.card-specs .spec { display: inline-flex; align-items: center; gap: 6px; }
.card-specs svg { width: 15px; height: 15px; color: var(--muted); opacity: .65; }
.card-ppsqm { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--gold); }

/* Staggered reveal */
.reveal { opacity: 0; animation: rise .55s cubic-bezier(0.16,1,0.3,1) forwards; }
.reveal:nth-child(1){animation-delay:.04s}.reveal:nth-child(2){animation-delay:.09s}
.reveal:nth-child(3){animation-delay:.13s}.reveal:nth-child(4){animation-delay:.17s}
.reveal:nth-child(5){animation-delay:.21s}.reveal:nth-child(6){animation-delay:.25s}
.reveal:nth-child(7){animation-delay:.29s}.reveal:nth-child(8){animation-delay:.33s}
.reveal:nth-child(n+9){animation-delay:.37s}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.empty {
  grid-column: 1/-1; text-align: center; padding: 80px 20px; color: var(--muted);
  background: rgba(10,22,42,.60);
  border: 1px dashed rgba(240,192,48,.15);
  border-radius: var(--radius);
}
.empty h3 { color: var(--ink); margin: 0 0 8px; font-size: 1.5rem; }

/* ── Detail page ─────────────────────────────────────────── */
.detail { padding: 28px 0 82px; }

.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-weight: 700; font-size: .88rem; margin-bottom: 22px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(240,192,48,.06); border: 1px solid rgba(240,192,48,.14);
  transition: all .22s ease;
}
.breadcrumb svg { width: 16px; height: 16px; }
.breadcrumb:hover { color: var(--gold-hi); border-color: rgba(240,192,48,.34); background: rgba(240,192,48,.10); }

.detail-hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 21/9; background: var(--bg-raised);
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,8,16,.90) 0%, rgba(3,8,16,.28) 50%, transparent 100%);
}
.detail-hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; color: var(--ink); }
.detail-hero-content .card-tags { position: static; margin-bottom: 16px; }
.detail-hero-content h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); margin: 0 0 12px;
  font-weight: 600; max-width: 22ch; color: #fff;
}
.detail-hero-content .card-loc { color: #8fa8cc; font-size: 1rem; }
.detail-hero-content .card-loc svg { color: var(--gold); }

.detail-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 34px; align-items: start; margin-top: 34px; }

.section-title {
  display: flex; align-items: center; gap: 11px; font-size: 1.35rem;
  margin: 32px 0 14px; font-weight: 600; color: var(--ink);
}
.section-title:first-child { margin-top: 0; }
.section-title .tick {
  width: 22px; height: 4px; border-radius: 999px;
  background: var(--grad-gold); box-shadow: 0 0 10px rgba(240,192,48,.40);
}

.prose { color: var(--muted); font-size: 1.04rem; line-height: 1.78; }

.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(240,192,48,.08);
  border: 1px solid rgba(240,192,48,.10);
  border-radius: var(--radius); overflow: hidden;
}
.spec-cell { background: var(--bg-card); padding: 16px 18px; }
.spec-cell .k { font-size: .7rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.spec-cell .v { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-top: 4px; color: var(--ink); }
html.lang-ka .spec-cell .v { font-family: var(--font-ka-display); }

.features { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.features li {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(240,192,48,.06); border: 1px solid rgba(240,192,48,.16);
  color: var(--muted); padding: 9px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; transition: all .22s ease;
}
.features li:hover { background: rgba(240,192,48,.13); color: var(--gold-hi); border-color: rgba(240,192,48,.34); }
.features svg { width: 15px; height: 15px; color: var(--gold); }

/* Sticky contact card — single position declaration */
.contact-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--bg-card);
  border: 1px solid rgba(240,192,48,.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
/* Top accent line via wrapper trick */
.contact-card::before {
  content: ''; display: block; margin: -28px -28px 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(240,192,48,.45) 50%, transparent 90%);
}

.detail-price { display: flex; align-items: baseline; gap: 10px; }
.detail-price b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; color: var(--gold-hi); }
html.lang-ka .detail-price b { font-family: var(--font-ka-display); }
.detail-price .per { color: var(--muted); font-weight: 700; }
.ppsqm-line { color: var(--gold); font-weight: 700; margin-top: 4px; font-size: .9rem; }

.lister-row {
  display: flex; align-items: center; gap: 13px; margin: 20px 0 18px;
  padding-top: 18px; border-top: 1px solid rgba(240,192,48,.12);
}
.lister-avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--bg-void);
  font-weight: 800; font-size: 1.1rem; background: var(--grad-gold); box-shadow: var(--glow-sm);
}
.lister-meta .who { font-weight: 800; color: var(--ink); }
.lister-meta .kind { font-size: .82rem; color: var(--muted); }
.id-line { margin-top: 16px; font-size: .75rem; color: var(--muted); text-align: center; letter-spacing: .04em; }

.phone-cta {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(240,192,48,.08); border: 1px solid rgba(240,192,48,.24);
  text-decoration: none; color: inherit;
  transition: background .2s, border-color .2s, transform .2s;
}
.phone-cta:hover { background: rgba(240,192,48,.15); border-color: var(--gold); transform: translateY(-1px); }
.phone-cta-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: var(--grad-gold); color: var(--bg-void);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-sm);
}
.phone-cta-icon svg { width: 18px; height: 18px; }
.phone-cta-body { display: flex; flex-direction: column; gap: 1px; }
.phone-cta-label { font-size: .72rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.phone-cta-num { font-size: 1rem; font-weight: 700; color: var(--ink); }

/* ── Modal ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(3,8,16,.78);
  display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 90;
}
.modal-backdrop.is-open { display: flex; }

.modal {
  background: var(--bg-high);
  border: 1px solid rgba(240,192,48,.20);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(240,192,48,.06);
  width: 100%; max-width: 480px; padding: 30px;
  position: relative;
  animation: pop .22s cubic-bezier(0.16,1,0.3,1);
}
.modal::before {
  content: ''; display: block; margin: -30px -30px 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(240,192,48,.45) 50%, transparent 90%);
}
@keyframes pop { from { transform: scale(.95) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal h3 { margin: 0 0 4px; font-size: 1.6rem; color: var(--ink); }
.modal .sub { color: var(--muted); margin: 0 0 20px; font-size: .94rem; }
.modal-close {
  float: right; border: 0; background: rgba(240,192,48,.08); color: var(--muted);
  font-size: 1.4rem; line-height: 1; width: 33px; height: 33px;
  border-radius: 50%; display: grid; place-items: center;
  transition: all .2s; margin: -4px -4px 0 0;
}
.modal-close:hover { background: rgba(240,192,48,.18); color: var(--gold-hi); }

.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .75rem; font-weight: 800; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .05em; }
.form-field textarea { resize: vertical; min-height: 90px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-success {
  background: rgba(240,192,48,.10); border: 1px solid rgba(240,192,48,.32);
  color: var(--gold-hi); padding: 16px; border-radius: 14px; font-weight: 700; text-align: center;
}
.form-success-wa {
  display: block; margin-top: 10px; font-size: .85rem; font-weight: 700;
  color: #25D366; text-decoration: none;
}
.form-success-wa:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(160deg, #040c1e 0%, #030810 100%);
  color: var(--muted); padding: 52px 0 34px;
  margin-top: 64px; position: relative;
  border-top: 1px solid rgba(240,192,48,.09);
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,192,48,.28), transparent);
}
.site-footer .brand { color: var(--ink); margin-bottom: 12px; }
.site-footer .brand .logo { background: #fff; border-color: rgba(240,192,48,.32); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer small { display: block; opacity: .6; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(240,192,48,.08); margin-top: 28px; padding-top: 20px; font-size: .82rem; opacity: .55; }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.footer-contact-link {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 11px;
  border: 1px solid rgba(240,192,48,.12);
  background: rgba(240,192,48,.04);
  text-decoration: none; color: inherit;
  transition: border-color .2s, background .2s, transform .2s;
}
.footer-contact-link:hover { border-color: rgba(240,192,48,.35); background: rgba(240,192,48,.09); transform: translateY(-2px); }
.fcl-icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px;
  background: rgba(240,192,48,.10); display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.fcl-icon svg { width: 16px; height: 16px; }
.fcl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fcl-label { font-size: .72rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.fcl-val { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcl-arrow { font-size: .8rem; color: var(--muted); opacity: .5; flex-shrink: 0; }
.footer-contact-link:hover .fcl-arrow { opacity: 1; color: var(--gold-hi); }
@media (max-width: 520px) { .footer-contact { grid-template-columns: 1fr; } }

/* ── Exchange / Daily tags ───────────────────────────────── */
.tag-exchange { background: linear-gradient(120deg, #4a1080, #8b2fc9); }
.tag-cond     { background: rgba(240,192,48,.14); color: var(--gold-hi); border: 1px solid rgba(240,192,48,.22); }

/* ── Currency toggle ─────────────────────────────────────── */
.currency-toggle { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.currency-toggle > label {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(240,192,48,.22);
  background: rgba(240,192,48,.04);
  color: var(--muted); font-size: .84rem; font-weight: 600;
  transition: all .2s ease; user-select: none;
}
.currency-toggle > label:has(input:checked) {
  background: var(--grad-gold); color: var(--bg-void);
  border-color: var(--gold); font-weight: 700;
}
.currency-toggle input[type="radio"] { display: none; }

/* ── Amenity pill checkboxes ─────────────────────────────── */
.amenity-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.amenity-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(240,192,48,.18);
  background: rgba(240,192,48,.04);
  color: var(--muted); font-size: .8rem; font-weight: 600;
  transition: all .2s ease; user-select: none;
}
.amenity-pill:hover { border-color: rgba(240,192,48,.40); color: var(--gold-hi); background: rgba(240,192,48,.09); }
.amenity-pill:has(input:checked) {
  background: var(--grad-gold); color: var(--bg-void);
  border-color: var(--gold); font-weight: 700;
}
.amenity-pill input[type="checkbox"] { display: none; }

/* Full-width field in adv-grid */
.adv-grid .field.span-full { grid-column: 1 / -1; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { aspect-ratio: 16/10; }
}
@media (max-width: 680px) {
  .search-row { grid-template-columns: 1fr; }
  .search-actions .btn { width: 100%; }
  .tabs { width: 100%; overflow-x: auto; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .brand-text small { display: none; }
  .detail-hero-content { padding: 22px; }
  .trust { gap: 14px; }
  .hero { padding: 62px 0 56px; }
}
@media (max-width: 470px) { .adv-grid { grid-template-columns: 1fr; } }

/* ── Services nav button ──────────────────────────────────── */
.svc-nav-btn {
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  padding: 7px 16px; border-radius: 20px;
  border: 1.5px solid rgba(240,192,48,.30);
  color: var(--gold); background: transparent;
  transition: all .2s; white-space: nowrap;
}
.svc-nav-btn:hover {
  background: rgba(240,192,48,.10);
  border-color: var(--gold);
}

/* ── Services modal ───────────────────────────────────────── */
.svc-modal {
  max-width: 660px;
  background: var(--bg-raised);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid rgba(240,192,48,.13);
  border-radius: 10px;
  padding: 14px 13px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.svc-card.is-selected {
  border-color: var(--gold); background: var(--bg-high);
  box-shadow: 0 0 0 1px rgba(240,192,48,.30);
}
.svc-card:hover {
  border-color: rgba(240,192,48,.35);
  background: var(--bg-high);
}
.svc-icon {
  width: 32px; height: 32px;
  background: rgba(240,192,48,.10);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.svc-icon svg { width: 16px; height: 16px; }
.svc-name {
  font-weight: 700; font-size: .82rem;
  color: var(--ink); line-height: 1.3;
}
.svc-desc {
  font-size: .73rem; color: var(--muted);
  line-height: 1.45;
}
.svc-card-phone {
  margin-top: 4px; padding-top: 10px;
  border-top: 1px solid rgba(240,192,48,.18);
  animation: fade .2s ease;
}
.svc-card-phone-label { display: block; font-size: .72rem; font-weight: 700; color: var(--gold-hi); margin-bottom: 8px; }
.svc-card-phone .phone-cta { padding: 9px 10px; gap: 8px; margin-bottom: 0; }
.svc-card-phone .phone-cta-icon { width: 28px; height: 28px; }
.svc-card-phone .phone-cta-icon svg { width: 14px; height: 14px; }
.svc-card-phone .phone-cta-num { font-size: .84rem; }
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-modal { margin: 12px; max-width: 100%; }
}
@media (max-width: 460px) {
  .svc-grid { grid-template-columns: 1fr; }
}
