/* ==========================================================================
   Realitná Sonda — design system v3 „JustHome"
   Podľa referencie justhome.framer.website: biely podklad, tmavé foto hero,
   zlatý akcent (výraznejší a tmavší než predloha), pill buttony, karty 16 px,
   krémová sekcia, tmavý zaoblený footer.
   ========================================================================== */

:root {
  --ink: #141414;
  --ink-2: #4c4c4c;
  --ink-3: #8a8a8a;
  --bg: #ffffff;
  --cream: #faf5ee;
  --surface: #ffffff;
  --line: #e9e7e2;
  --line-2: #dcd9d2;
  --gold: #d9a43b;
  --gold-2: #c08c25;
  --gold-soft: #f7edd8;
  --green-dark: #1e453e;
  --green: #2e7d5b;
  --green-soft: #e7f1ec;
  --red: #c0392b;
  --r-s: 8px;
  --r: 12px;
  --r-l: 16px;
  --r-xl: 24px;
  --shadow-s: 0 1px 3px rgba(20, 20, 20, .06);
  --shadow-m: 0 4px 12px rgba(20, 20, 20, .08), 0 16px 40px rgba(20, 20, 20, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Navigácia
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 26px; height: 68px;
}
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.logo .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--gold); display: inline-block; }
.logo sup { font-size: .56rem; font-weight: 700; letter-spacing: .08em; color: var(--gold-2); border: 1px solid var(--gold); border-radius: 999px; padding: 1px 6px; margin-left: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
  font-weight: 600; font-size: .93rem; color: var(--ink-2); padding: 8px 14px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: #f2f0eb; color: var(--ink); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-ctrl { display: flex; align-items: center; gap: 8px; }
.nav select, .pill-btn {
  border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px;
  padding: 7px 12px; font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
/* natívny select: vlastná šípka namiesto OS-kreslenej (tá vedela „uchádzať“ mimo pill) */
.nav select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c4c4c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 11px;
}
.nav select:focus { outline: none; border-color: var(--gold-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 650; font-size: .94rem;
  padding: 12px 24px; transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-2); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: .86rem; }

/* SVG ikony — zarovnanie s textom */
.ico { display: inline-block; vertical-align: -.16em; flex: none; }
.btn .ico, .pill-btn .ico { vertical-align: -.18em; }
.pill-btn.icon-only { padding: 7px 9px; display: inline-flex; align-items: center; }
.pill-btn.user-chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.pill-btn.user-chip.active { border-color: var(--ink); color: var(--ink); }
.pill-btn .mini-star { color: var(--gold-2); display: inline-flex; }
.flag-chip {
  display: inline-block; font-size: .6rem; font-weight: 800; letter-spacing: .04em;
  padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink);
  box-shadow: var(--shadow-s);
}

/* nav nad tmavým hero na landingu */
body[data-page="landing"] .nav {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; border-bottom: none; backdrop-filter: none;
}
body[data-page="landing"] .nav .logo,
body[data-page="landing"] .nav-links a { color: #fff; }
body[data-page="landing"] .nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
body[data-page="landing"] .nav-links a.active { background: rgba(255,255,255,.18); color: #fff; }
body[data-page="landing"] .nav .logo sup { color: var(--gold); }
body[data-page="landing"] .nav select,
body[data-page="landing"] .nav .pill-btn {
  background-color: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff;
}
body[data-page="landing"] .nav select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 11px;
}
body[data-page="landing"] .nav select option { color: var(--ink); background: #fff; }
body[data-page="landing"] .nav .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
body[data-page="landing"] .nav .btn-dark { background: #fff; color: var(--ink); }

/* --------------------------------------------------------------------------
   Sekcie — spoločné
   -------------------------------------------------------------------------- */
section { padding: 88px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.sec-head p { color: var(--ink-2); margin-top: 10px; font-size: 1rem; }
.sec-head.left { text-align: left; margin-left: 0; }

/* --------------------------------------------------------------------------
   HERO (tmavé foto, centrované)
   -------------------------------------------------------------------------- */
.jh-hero {
  position: relative; min-height: 92vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  color: #fff; overflow: hidden; padding: 140px 24px 110px;
}
.jh-hero .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.jh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.35) 45%, rgba(10,10,12,.65) 100%);
}
.jh-hero .badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  padding: 8px 18px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,0,0,.25); backdrop-filter: blur(4px); margin-bottom: 26px;
}
.jh-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.08; font-weight: 700;
  max-width: 880px; margin: 0 auto 34px; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.jh-search {
  width: 100%; max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: 999px; padding: 7px 7px 7px 12px;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.jh-search .seg { display: flex; gap: 2px; padding: 3px; background: #f1efe9; border-radius: 999px; flex: none; }
.jh-search .seg button {
  border: none; background: transparent; border-radius: 999px; padding: 9px 16px;
  font-weight: 650; font-size: .86rem; color: var(--ink-3);
}
.jh-search .seg button.on { background: var(--ink); color: #fff; }
.jh-search input {
  flex: 1; border: none; outline: none; font-size: .98rem; min-width: 0; color: var(--ink); background: transparent;
}
.jh-search .go {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--gold); color: var(--ink); font-size: 1.05rem; display: grid; place-items: center;
}
.jh-search .go:hover { background: var(--gold-2); color: #fff; }
.jh-hero .stats {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 5vw; font-size: .9rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45));
}
.jh-hero .stats .st { display: flex; align-items: baseline; gap: 8px; }
.jh-hero .stats b { font-size: 1.35rem; font-weight: 800; }
.jh-hero .stats span { opacity: .85; font-weight: 550; }
@media (max-width: 720px) {
  .jh-hero { min-height: 80vh; padding-top: 120px; }
  .jh-hero .stats { justify-content: flex-start; gap: 14px 26px; }
}

/* --------------------------------------------------------------------------
   How it works — 3 prepojené kroky
   -------------------------------------------------------------------------- */
.jh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; position: relative; }
@media (max-width: 820px) { .jh-steps { grid-template-columns: 1fr; gap: 20px; } }
.jh-step {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 32px 26px 28px; transition: box-shadow .2s, transform .2s;
}
.jh-step:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.jh-step .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.jh-step .num { font-size: .82rem; font-weight: 800; color: var(--gold-2); letter-spacing: .03em; }
.jh-step .ic {
  width: 52px; height: 52px; border-radius: var(--r); background: var(--ink);
  display: grid; place-items: center; color: var(--gold);
}
.jh-step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.jh-step p { color: var(--ink-2); font-size: .92rem; }
.jh-step-arrow {
  display: none; position: absolute; top: 48px; right: -34px; width: 28px; height: 28px;
  color: var(--line-2); z-index: 2;
}
@media (min-width: 821px) { .jh-step-arrow { display: grid; place-items: center; } }

/* --------------------------------------------------------------------------
   Typy nehnuteľností / mestá — foto karty
   -------------------------------------------------------------------------- */
.jh-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .jh-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .jh-types { grid-template-columns: 1fr; } }
.photo-card {
  position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/5;
  display: block; background: #333;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.02) 45%, rgba(0,0,0,.35) 100%);
}
.photo-card .pc-label {
  position: absolute; top: 18px; left: 18px; z-index: 2; color: #fff;
}
.photo-card .pc-label small { display: block; font-size: .8rem; font-weight: 550; opacity: .9; margin-bottom: 2px; }
.photo-card .pc-label b { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }

.jh-cities { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr; grid-auto-rows: 250px; gap: 18px; }
.jh-cities .photo-card { aspect-ratio: auto; height: 100%; }
.jh-cities .photo-card:nth-child(4) { grid-column: span 1; }
.jh-cities .photo-card:nth-child(6) { grid-column: span 1; }
@media (min-width: 861px) {
  .jh-cities .c-big { grid-row: span 1; }
}
@media (max-width: 860px) { .jh-cities { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; } }
@media (max-width: 540px) { .jh-cities { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Karta nehnuteľnosti (JustHome štýl)
   -------------------------------------------------------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

.pcard {
  background: var(--surface); border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s; position: relative; display: block;
}
.pcard:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.pcard .ph { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #efece5, #ddd8cd); overflow: hidden; margin: 10px; border-radius: var(--r); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px;
  background: #fff; color: var(--ink);
}
.badge.rent { background: var(--ink); color: #fff; }
.badge.new { background: var(--gold); color: var(--ink); }
.badge.delta-down { background: var(--green-soft); color: var(--green); }
.badge.flag { background: rgba(255,255,255,.95); }
.pcard .save {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.95); display: grid; place-items: center; font-size: .95rem;
  color: var(--ink-2); box-shadow: var(--shadow-s);
}
.pcard .save.on { color: var(--red); }
.pcard .body { padding: 8px 18px 18px; }
.pcard .price { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard .ppm2 { color: var(--ink-3); font-weight: 600; font-size: .78rem; }
.pcard .title { font-weight: 650; font-size: .96rem; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .loc { color: var(--ink-3); font-size: .85rem; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.pcard .loc .ico { color: var(--ink-3); flex: none; }
.pcard .meta {
  display: flex; gap: 16px; color: var(--ink-2); font-size: .82rem; margin-top: 12px; font-weight: 600;
  flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px;
}
.pcard .yield-tag {
  display: inline-flex; align-items: center; gap: 4px; background: var(--green-soft); color: var(--green);
  font-weight: 750; font-size: .76rem; border-radius: 999px; padding: 2px 9px;
}
.blur-lock { filter: blur(5px); user-select: none; pointer-events: none; }
.lockable { position: relative; cursor: pointer; }

/* --------------------------------------------------------------------------
   Why choose us — krémová sekcia
   -------------------------------------------------------------------------- */
.jh-why { background: var(--cream); }
.jh-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .jh-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .jh-why-grid { grid-template-columns: 1fr; } }
.jh-why-item {
  background: var(--surface); border-radius: var(--r-l); padding: 28px 24px; text-align: left;
  box-shadow: var(--shadow-s); transition: box-shadow .2s, transform .2s;
}
.jh-why-item:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.jh-why-item .ic {
  width: 52px; height: 52px; border-radius: var(--r); background: var(--green-dark);
  display: grid; place-items: center; color: var(--gold); margin-bottom: 18px;
}
.jh-why-item .num { font-size: .74rem; color: var(--gold-2); font-weight: 800; letter-spacing: .04em; margin-bottom: 6px; text-transform: uppercase; }
.jh-why-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.jh-why-item p { color: var(--ink-2); font-size: .91rem; }

/* --------------------------------------------------------------------------
   Investor banner (tmavozelená karta ako JustHome „Trusted by“)
   -------------------------------------------------------------------------- */
.jh-invest { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .jh-invest { grid-template-columns: 1fr; } }
.jh-invest .green-card {
  background: var(--green-dark); color: #fff; border-radius: var(--r-xl); padding: 42px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.jh-invest .green-card h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.jh-invest .green-card p { color: rgba(255,255,255,.75); margin-bottom: 22px; }
.jh-invest .feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-bottom: 26px; }
@media (max-width: 560px) { .jh-invest .feats { grid-template-columns: 1fr; } }
.jh-invest .feats span { font-size: .9rem; color: rgba(255,255,255,.9); display: flex; gap: 8px; align-items: flex-start; }
.jh-invest .feats span::before { content: "✓"; color: var(--gold); font-weight: 800; }
.jh-invest .price-line { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 18px; }
.jh-invest .price-line b { color: #fff; font-size: 1.5rem; font-weight: 800; }
.jh-invest .table-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.mini-table { width: 100%; font-size: .84rem; border-collapse: collapse; }
.mini-table th { text-align: left; padding: 10px 12px; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.mini-table td { padding: 10px 12px; border-top: 1px solid var(--line); font-weight: 600; }
.mini-table tr:first-child td { border-top: none; }
.mini-table .pos { color: var(--green); font-weight: 750; }

/* --------------------------------------------------------------------------
   FAQ — dvojstĺpec s akordeónom
   -------------------------------------------------------------------------- */
.jh-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .jh-faq { grid-template-columns: 1fr; gap: 28px; } }
.jh-faq h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 12px; }
.jh-faq .faq-sub { color: var(--ink-2); }
.faq-item { border-bottom: 1px solid var(--line); transition: margin .15s; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 4px; font-weight: 650; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--ink-2); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] {
  background: #faf9f6; border-radius: var(--r); border-bottom-color: transparent;
  margin: 10px 0; box-shadow: var(--shadow-s);
}
.faq-item[open] + .faq-item { border-top: none; }
.faq-item[open] summary { padding-left: 18px; padding-right: 18px; }
.faq-item .faq-a { padding: 0 18px 22px; color: var(--ink-2); font-size: .94rem; max-width: 640px; }

/* --------------------------------------------------------------------------
   Footer — tmavý zaoblený kontajner
   -------------------------------------------------------------------------- */
/* full-width tmavá karta s rovnakým odsadením zo strán ako zo spodu (24 px) */
footer { padding: 24px; background: var(--bg); }
.foot-dark {
  background: #121212; color: #eee; border-radius: var(--r-xl);
  width: 100%; margin: 0; padding: 56px clamp(28px, 5vw, 72px) 32px;
}
@media (max-width: 720px) { footer { padding: 16px; } .foot-dark { padding: 40px 24px 24px; } }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-top .logo { color: #fff; }
.foot-social { display: flex; gap: 10px; align-items: center; }
.foot-social span { font-size: .9rem; color: rgba(255,255,255,.7); margin-right: 6px; }
.foot-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  display: grid; place-items: center; font-size: .85rem; color: #fff;
}
.foot-social a:hover { background: rgba(255,255,255,.1); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding: 36px 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h5 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: rgba(255,255,255,.72); font-size: .92rem; }
.foot-grid a:hover { color: var(--gold); }
.foot-note { color: rgba(255,255,255,.5); font-size: .82rem; max-width: 260px; }
.foot-tagline { color: rgba(255,255,255,.85); font-size: 1.05rem; font-weight: 600; max-width: 280px; line-height: 1.4; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: .84rem; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-fresh { display: inline-flex; align-items: center; gap: 7px; }
.fresh-dot { width: 7px; height: 7px; border-radius: 50%; background: #35c26b; box-shadow: 0 0 0 0 rgba(53,194,107,.5); animation: freshpulse 2s infinite; }
@keyframes freshpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(53,194,107,.5);} 55% { box-shadow: 0 0 0 5px rgba(53,194,107,0);} }
@media (max-width: 540px) { .foot-bottom { justify-content: center; text-align: center; } }

/* --------------------------------------------------------------------------
   Search stránka
   -------------------------------------------------------------------------- */
.search-layout { display: flex; height: calc(100vh - 68px - 57px); }
.search-map { flex: 1; min-width: 0; position: relative; z-index: 1; }
.search-map .leaflet-container { height: 100%; width: 100%; }
.search-panel { width: 46%; max-width: 780px; min-width: 420px; overflow-y: auto; background: var(--bg); border-left: 1px solid var(--line); padding: 18px 20px 40px; }
@media (max-width: 900px) {
  .search-layout { flex-direction: column; height: auto; }
  .search-map { height: 300px; }
  .search-panel { width: 100%; max-width: none; min-width: 0; border-left: none; }
}
.filterbar {
  position: sticky; top: 68px; z-index: 90; background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding: 10px 0;
}
.filterbar-inner { max-width: none; padding: 0 20px; display: flex; gap: 8px; align-items: center; overflow-x: auto; }
.fchip {
  border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 8px 15px;
  font-weight: 620; font-size: .86rem; color: var(--ink-2); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center;
}
.fchip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.fchip.premium-locked { position: relative; }
.fchip.premium-locked .ico-lock { opacity: .7; }
.search-input {
  flex: 1; min-width: 160px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); padding: 0 14px;
}
.search-input input { border: none; outline: none; height: 36px; flex: 1; background: transparent; font-size: .9rem; }

.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.results-head .count { font-weight: 800; font-size: 1.08rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); padding: 3px; }
.view-toggle button {
  border: none; background: transparent; padding: 6px 13px; border-radius: 999px; font-weight: 620; font-size: .82rem; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 5px;
}
.view-toggle button.on { background: var(--ink); color: #fff; }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .results-grid { grid-template-columns: 1fr; } }
.results-grid.list-mode { grid-template-columns: 1fr; }
.list-mode .pcard { display: flex; }
.list-mode .pcard .ph { width: 220px; flex: none; aspect-ratio: auto; }
@media (max-width: 560px) { .list-mode .pcard { flex-direction: column; } .list-mode .pcard .ph { width: auto; aspect-ratio: 4/3; } }

/* tabuľka (premium) */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.dtable { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 860px; }
.dtable th {
  text-align: left; padding: 11px 12px; background: #faf9f6; font-size: .67rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-3); cursor: pointer; white-space: nowrap; position: sticky; top: 0;
  border-bottom: 1px solid var(--line);
}
.dtable th:hover { color: var(--ink); }
.dtable td { padding: 11px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.dtable tr:hover td { background: #faf9f6; }
.dtable .pos { color: var(--green); font-weight: 750; }
.dtable .neg { color: var(--red); font-weight: 750; }
.load-more { display: block; margin: 26px auto 0; }

/* dropdown filter panel */
.fpop {
  position: absolute; z-index: 200; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l);
  box-shadow: var(--shadow-m); padding: 16px; min-width: 260px;
}
.fpop label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); display: block; margin: 10px 0 5px; }
.fpop input, .fpop select { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 8px 10px; }
.fpop .row2 { display: flex; gap: 8px; }
.fpop .actions { display: flex; justify-content: space-between; margin-top: 14px; }

/* --------------------------------------------------------------------------
   Detail nehnuteľnosti
   -------------------------------------------------------------------------- */
.prop-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 12px; gap: 10px; flex-wrap: wrap; }
.crumbs { color: var(--ink-3); font-size: .87rem; }
.crumbs a:hover { color: var(--gold-2); text-decoration: underline; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: var(--r-xl); overflow: hidden; height: 440px; }
.gallery > * { position: relative; overflow: hidden; background: linear-gradient(135deg,#efece5,#ddd8cd); border: none; padding: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery > *:hover img { transform: scale(1.03); }
.gallery .main { grid-row: 1 / 3; }
.gallery .count-pill {
  position: absolute; bottom: 12px; left: 12px; background: rgba(20,20,20,.82); color: #fff;
  font-size: .78rem; font-weight: 650; padding: 6px 13px; border-radius: 999px;
}
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; height: 320px; } .gallery > *:nth-child(n+4) { display: none; } }

.prop-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: 34px; align-items: start; }
@media (max-width: 900px) { .prop-cols { grid-template-columns: 1fr; } }
.prop-main h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.prop-main .loc { color: var(--ink-2); margin-top: 6px; font-size: 1rem; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; flex-wrap: wrap; }
.price-row .price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.price-row .ppm2 { color: var(--ink-3); font-weight: 620; }
.listed-note { color: var(--ink-3); font-size: .86rem; }

.factgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
@media (max-width: 640px) { .factgrid { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.fact span { display: block; color: var(--ink-3); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.fact b { font-size: 1rem; }

.prop-sec { margin-top: 38px; }
.prop-sec h3 { font-size: 1.3rem; margin-bottom: 14px; }
.desc { color: var(--ink-2); white-space: pre-line; }
.desc.clamped { max-height: 180px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg,#000 60%,transparent); mask-image: linear-gradient(180deg,#000 60%,transparent); }
.show-more { margin-top: 8px; }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-s); }
.side-card h4 { font-size: .98rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.side-card .sub { color: var(--ink-3); font-size: .84rem; margin-bottom: 14px; }
.side-card .bigval { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.calc-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.calc-row:last-of-type { border-bottom: none; }
.calc-row b { font-weight: 700; }
.side-card input[type=range] { width: 100%; accent-color: var(--gold-2); }
.portal-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.portal-row:last-child { border-bottom: none; }
.portal-row .pname { font-weight: 700; font-size: .92rem; }
.portal-row .pprice { color: var(--ink-2); font-size: .86rem; }
.spark { width: 100%; height: 90px; }

.similar-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 18px; overflow-x: auto; padding-bottom: 12px; }

/* --------------------------------------------------------------------------
   Profil
   -------------------------------------------------------------------------- */
.prof-wrap { padding-top: 32px; padding-bottom: 48px; min-height: 60vh; }
.prof-h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }
.prof-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
@media (max-width: 780px) { .prof-layout { grid-template-columns: 1fr; } }
.prof-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 84px; }
@media (max-width: 780px) { .prof-tabs { flex-direction: row; position: static; overflow-x: auto; } }
.prof-tab {
  display: flex; align-items: center; gap: 10px; border: none; background: transparent;
  padding: 11px 14px; border-radius: var(--r); font-weight: 620; font-size: .93rem; color: var(--ink-2);
  text-align: left; white-space: nowrap;
}
.prof-tab:hover { background: #f4f2ed; color: var(--ink); }
.prof-tab.on { background: var(--ink); color: #fff; }
.prof-tab .tab-badge { margin-left: auto; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 2px 7px; border-radius: 999px; }
.prof-tab.on .tab-badge { background: var(--gold); }

.prof-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; margin-bottom: 18px; }
.prof-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.prof-card .fld { margin-bottom: 14px; }
.prof-card .fld label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.prof-card .fld input, .prof-card .fld select { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 13px; font-size: .95rem; background: #fff; }
.prof-card .fld input:disabled { background: #f6f5f2; color: var(--ink-3); }
.pref-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pref-row:last-child { border-bottom: none; }
.pref-row select { border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 7px 10px; font-weight: 600; }
.member-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.plan-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem; }
.plan-pill.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-2); }
.muted { color: var(--ink-3); font-size: .9rem; }

.prof-empty { text-align: center; padding: 70px 20px; color: var(--ink-3); }
.prof-empty .ico { color: var(--line-2); margin-bottom: 14px; }
.prof-empty p { margin-bottom: 18px; }
.prof-loading { display: grid; place-items: center; padding: 40px; color: var(--gold-2); grid-column: 1 / -1; }
.prof-loading .ico { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Investor — locked */
.inv-lock { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); }
.inv-lock-preview { padding: 20px; }
.inv-lock-preview .blurred { filter: blur(6px); pointer-events: none; user-select: none; }
.inv-lock-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.9)); }
.inv-lock-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow-m); padding: 34px; max-width: 440px; text-align: center; }
.inv-lock-card .lock-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; margin: 0 auto 16px; }
.inv-lock-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.inv-lock-card > p { color: var(--ink-2); margin-bottom: 18px; }
.inv-feats { list-style: none; text-align: left; margin: 0 auto 22px; max-width: 320px; display: grid; gap: 10px; }
.inv-feats li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink); }
.inv-feats li .ico { color: var(--green); flex: none; }
.inv-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 6px; }
.inv-price .amt { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.inv-price .per { color: var(--ink-3); font-weight: 600; }
.inv-guarantee { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-2); font-size: .86rem; margin-bottom: 20px; }
.inv-guarantee .ico { color: var(--green); }
.inv-unlock { width: 100%; }

/* Investor — dashboard */
.inv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.inv-head h2 { font-size: 1.5rem; }
.inv-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.inv-section { margin-bottom: 34px; }
.inv-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.inv-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; }
.inv-section-head h3 { font-size: 1.1rem; }
.inv-table { min-width: 720px; }
.inv-table .cell-title { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------------------------------
   Modály (auth + paywall)
   -------------------------------------------------------------------------- */
.modal-back {
  position: fixed; inset: 0; background: rgba(15, 15, 15, .55); z-index: 1000;
  display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.modal-back.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface); border-radius: var(--r-xl); max-width: 460px; width: 100%; padding: 34px 34px 30px;
  box-shadow: var(--shadow-m); position: relative; transform: translateY(10px); transition: transform .18s;
  max-height: 92vh; overflow-y: auto;
}
.modal-back.open .modal { transform: none; }
.modal .close { position: absolute; top: 18px; right: 20px; border: none; background: none; font-size: 1.25rem; color: var(--ink-3); }
.modal h3 { font-size: 1.55rem; margin-bottom: 8px; }
.modal .msub { color: var(--ink-2); margin-bottom: 22px; }
.paywall-feats { display: flex; flex-direction: column; gap: 15px; margin: 6px 0 24px; }
.paywall-feats .pf { display: flex; gap: 13px; align-items: center; }
.paywall-feats .ic {
  width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--gold-soft);
  display: grid; place-items: center; font-size: 1.05rem; color: var(--gold-2);
}
.paywall-price { text-align: center; margin: 8px 0 6px; }
.paywall-price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; }
.paywall-price .per { color: var(--ink-3); font-weight: 600; }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-2); font-size: .88rem; margin: 10px 0 22px; }
.guarantee .shield { color: var(--green); }
.paywall-actions { display: flex; align-items: center; justify-content: center; gap: 18px; }
.paywall-actions .later { border: none; background: none; font-weight: 650; color: var(--ink-2); font-size: .98rem; }
.modal .fld { margin-bottom: 14px; }
.modal .fld label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 5px; }
.modal .fld input { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 13px; font-size: .96rem; }
.modal .fld input:focus { outline: none; border-color: var(--gold-2); }
.modal .switch-auth { text-align: center; margin-top: 16px; font-size: .88rem; color: var(--ink-2); }
.modal .switch-auth a { color: var(--gold-2); font-weight: 700; cursor: pointer; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px; font-weight: 620; font-size: .92rem;
  z-index: 1200; transition: transform .22s; box-shadow: var(--shadow-m); max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* map popup */
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-content-wrapper { border-radius: var(--r) !important; }
.map-pop { width: 220px; }
.map-pop img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.map-pop .mp-body { padding: 8px 10px 10px; font-family: var(--font); }
.map-pop .mp-price { font-weight: 750; }
.map-pop .mp-t { font-size: .8rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-pop a { color: var(--gold-2) !important; }
.price-marker {
  background: var(--surface); border: 1px solid var(--ink); border-radius: 999px; font-weight: 750; font-size: .72rem;
  padding: 3px 9px; white-space: nowrap; box-shadow: var(--shadow-s); font-family: var(--font);
  display: inline-block; transform: translate(-50%, -50%);
}
.price-marker:hover { background: var(--gold); border-color: var(--gold); }
.dot-marker {
  width: 11px; height: 11px; border-radius: 50%; background: var(--gold-2);
  border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(20,20,20,.3);
  display: inline-block; transform: translate(-50%, -50%); cursor: pointer;
}
.dot-marker:hover { background: var(--ink); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  section { padding: 60px 0; }
}

/* --------------------------------------------------------------------------
   Admin panel
   -------------------------------------------------------------------------- */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink); padding: 20px; }
.admin-login-card { background: var(--surface); border-radius: var(--r-l); padding: 36px 32px; width: 100%; max-width: 360px; box-shadow: var(--shadow-m); }
.admin-login-card .logo { justify-content: center; margin-bottom: 24px; font-weight: 700; }
.admin-login-card .fld { margin-bottom: 14px; }
.admin-login-card .fld label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.admin-login-card .fld input { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 13px; font-size: .95rem; }
.admin-login-card .fld input:focus { outline: none; border-color: var(--gold-2); }
.admin-login-err { color: var(--red); font-size: .85rem; margin-top: 10px; min-height: 1.2em; }
.admin-shell { display: flex; min-height: 100vh; background: var(--cream); }
.admin-sidebar {
  width: 240px; flex: none; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: 22px 16px; position: sticky; top: 0; height: 100vh;
}
.admin-sidebar-logo { color: #fff; font-weight: 700; padding: 0 8px 26px; display: flex; align-items: center; gap: 6px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav button {
  display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; border: none; background: none;
  color: rgba(255,255,255,.68); font-weight: 600; font-size: .92rem; padding: 11px 12px; border-radius: var(--r-s);
  cursor: pointer;
}
.admin-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav button.on { background: rgba(217,164,59,.16); color: var(--gold); }
.admin-nav button .ic { display: flex; flex: none; }
.admin-sidebar-logout {
  display: flex; align-items: center; gap: 10px; border: none; background: none; cursor: pointer;
  color: rgba(255,255,255,.55); font-weight: 600; font-size: .88rem; padding: 11px 12px; border-radius: var(--r-s);
}
.admin-sidebar-logout:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-main { flex: 1; padding: 36px 40px; min-width: 0; }
@media (max-width: 780px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: auto; height: auto; position: static; flex-direction: row; align-items: center; padding: 14px 16px; }
  .admin-sidebar-logo { padding: 0 14px 0 0; }
  .admin-nav { flex-direction: row; flex: 1; }
  .admin-main { padding: 24px 16px; }
}
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; }
.admin-stat b { display: block; font-size: 1.6rem; font-weight: 800; }
.admin-stat span { color: var(--ink-3); font-size: .82rem; font-weight: 600; }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: none; }
.status-row .name { font-weight: 650; font-size: .93rem; }
.status-row .hint { color: var(--ink-3); font-size: .8rem; margin-top: 2px; }
.status-pill { font-size: .74rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.status-pill.ok { background: var(--green-soft); color: var(--green); }
.status-pill.missing, .status-pill.fail { background: #fbe9e7; color: var(--red); }
.status-pill.warn { background: var(--gold-soft); color: var(--gold-2); }
.status-pill.off { background: #f1efe9; color: var(--ink-3); }
.ai-gen-row { display: flex; gap: 10px; margin-bottom: 6px; }
.ai-gen-row input {
  flex: 1; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 13px; font-size: .92rem;
}
.ai-gen-hint { font-size: .82rem; color: var(--ink-3); margin-bottom: 18px; min-height: 1.2em; }
.prof-card .fld textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 13px;
  font-size: .92rem; font-family: ui-monospace, monospace; resize: vertical; line-height: 1.5;
}
.blog-preview {
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--cream);
  max-height: 260px; overflow-y: auto; font-size: .92rem; color: var(--ink-2); line-height: 1.6;
}
.blog-preview h2, .blog-preview h3 { color: var(--ink); margin: 14px 0 6px; }
.blog-preview p { margin-bottom: 10px; }
.admin-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.empty-note { color: var(--ink-3); font-size: .9rem; }
.post-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.post-row:last-child { border-bottom: none; }
.badge.draft { background: var(--gold-soft); color: var(--gold-2); }
.post-row-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.post-row-title b { font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-row-title small { color: var(--ink-3); font-size: .76rem; }
.post-row-actions { display: flex; gap: 6px; flex: none; }
.post-row-actions a, .post-row-actions button {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff;
  display: grid; place-items: center; color: var(--ink-2); cursor: pointer;
}
.post-row-actions a:hover, .post-row-actions button:hover { border-color: var(--ink); color: var(--ink); }

/* --------------------------------------------------------------------------
   Blog (verejné stránky)
   -------------------------------------------------------------------------- */
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-filter-pill {
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 650; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.blog-filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter-pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-search {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; font-size: .9rem; min-width: 220px;
}
.blog-search:focus { outline: none; border-color: var(--gold-2); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.blog-card .cover { aspect-ratio: 16/10; background: linear-gradient(135deg, #efece5, #ddd8cd); overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 18px 20px 22px; }
.blog-card .date { font-size: .76rem; color: var(--gold-2); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; display: block; }
.blog-card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card p { color: var(--ink-2); font-size: .9rem; }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article .date { font-size: .8rem; color: var(--gold-2); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.blog-article h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 10px 0 24px; line-height: 1.25; }
.blog-article .cover { border-radius: var(--r-l); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; }
.blog-article .cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-article .content { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.blog-article .content h2 { color: var(--ink); font-size: 1.35rem; margin: 32px 0 12px; }
.blog-article .content h3 { color: var(--ink); font-size: 1.12rem; margin: 24px 0 10px; }
.blog-article .content p { margin-bottom: 16px; }
.blog-article .content ul { margin: 0 0 16px 20px; }
.blog-article .content li { margin-bottom: 6px; }
.blog-article .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.blog-article .back:hover { color: var(--ink); }
