/* Realico – realitny portal */
:root {
  --ink: #0b0c0b;
  --steel: #1a1c1b;
  --steel-2: #262927;
  --neon: #7be04c;
  --neon-2: #a6f07c;
  --neon-glow: rgba(123, 224, 76, .45);
  --red: #d3191d;
  --red-2: #8d0a0e;
  --gold: #f2c21a;
  --paper: #e6e6e2;
  --card: #f7f7f4;
  --line: #151515;
  --muted: #5e605c;
  --radius: 10px;
  --wrap: 1240px;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f); color: var(--line); background: var(--paper);
  font-size: 16px; line-height: 1.5;
}
body::before { /* papierove zrnko */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- HLAVICKA ---------- */
.top { background: var(--ink); color: #d6d8d4; border-bottom: 1px solid #222; z-index: 50; }
.top .wrap { display: flex; align-items: stretch; gap: 28px; min-height: 76px; }
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: #ecece8; padding: 0 34px 0 22px; margin-left: -20px;
  clip-path: polygon(0 0, 100% 0, 97% 12%, 100% 24%, 96% 40%, 99% 55%, 95% 70%, 98% 84%, 94% 100%, 0 100%);
}
.logo-mark { width: 40px; height: 40px; }
.logo-word { font-weight: 900; font-stretch: 78%; font-size: 40px; letter-spacing: -1.5px; line-height: 1; filter: url(#rough); }
.logo-word b { color: var(--red); font-weight: 900; }
.nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 500; color: #c9ccc7; transition: background .15s, color .15s;
}
.nav a .bub { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #2a2d2b; color: #9a9e98; transition: .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: #171918; }
.nav a:hover .bub, .nav a[aria-current="page"] .bub { background: var(--neon); color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-red {
  color: #fff; background: linear-gradient(180deg, #e8383a 0%, var(--red) 45%, var(--red-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25), 0 0 0 1px #4a0306, 0 6px 18px rgba(211,25,29,.35);
}
.btn-red:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25), 0 0 0 1px #4a0306, 0 8px 26px rgba(211,25,29,.55); }
.btn-ghost { color: #e8eae6; background: transparent; box-shadow: inset 0 0 0 1.5px #3a3e3b; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--neon); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn-line:hover { background: var(--line); color: #fff; }
.fav-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; background: var(--neon); color: var(--ink); display: inline-grid; place-items: center; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  background: var(--ink) url(/img/p/hero-x.webp) center 62% / cover no-repeat;
  color: #fff; text-align: center; padding: 46px 0 92px; position: relative; isolation: isolate;
  z-index: 5;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(10,11,10,.15), rgba(10,11,10,.82) 78%),
    linear-gradient(180deg, rgba(10,11,10,.55), rgba(10,11,10,.2) 40%, rgba(10,11,10,.75));
}
.hero::after { /* jemne vertikalne kable / rebra */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: screen;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(123,224,76,.18) 46px 47px, transparent 47px 140px);
  mask-image: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000);
}
.torn { position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; background: var(--paper); z-index: 1; clip-path: polygon(0 100%, 100% 100%, 100% 16px, 99.45% 16px, 98.68% 22px, 97.31% 14px, 95.12% 5px, 94.32% 16px, 93.17% 18px, 91.7% 7px, 90.6% 20px, 89.2% 11px, 87.6% 3px, 86.3% 19px, 84.9% 14px, 83.1% 8px, 81.9% 21px, 80.2% 12px, 78.8% 4px, 77.5% 17px, 75.9% 23px, 74.3% 10px, 72.6% 15px, 71.2% 6px, 69.8% 19px, 68.1% 13px, 66.7% 2px, 65.2% 18px, 63.5% 22px, 62.1% 9px, 60.4% 16px, 58.9% 5px, 57.3% 20px, 55.8% 12px, 54.2% 7px, 52.7% 21px, 51.1% 15px, 49.6% 4px, 48.0% 17px, 46.4% 11px, 44.9% 22px, 43.3% 8px, 41.8% 14px, 40.1% 3px, 38.6% 19px, 37.0% 13px, 35.5% 6px, 33.9% 21px, 32.3% 16px, 30.8% 9px, 29.2% 2px, 27.7% 18px, 26.1% 12px, 24.5% 23px, 23.0% 7px, 21.4% 15px, 19.9% 4px, 18.3% 20px, 16.8% 10px, 15.2% 17px, 13.6% 6px, 12.1% 22px, 10.5% 13px, 9.0% 3px, 7.4% 16px, 5.8% 9px, 4.3% 21px, 2.7% 12px, 1.2% 5px, 0% 18px); }
.hero .wrap { position: relative; z-index: 3; }
.eyebrow { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--neon-2); font-size: 15px; text-shadow: 0 0 18px var(--neon-glow); margin: 0 0 4px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 78px); font-weight: 800; font-stretch: 92%; letter-spacing: -.02em; line-height: 1.02; margin: 0 0 26px;
  text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 10px 40px rgba(0,0,0,.6);
}
.capsule {
  position: relative; max-width: 1080px; margin: 0 auto; padding: 18px 88px 18px;
  border-radius: 60px;
  background: linear-gradient(180deg, #3a3d3c 0%, #1b1d1c 18%, #0f1110 60%, #1d201e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(255,255,255,.08), 0 0 0 1px #050505, 0 0 0 5px #222524, 0 0 0 6px #050505, 0 24px 60px rgba(0,0,0,.6);
}
.capsule::before, .capsule::after { /* cervene LED */
  content: ""; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0 8%, #ff5a4e 18%, #d3191d 45%, #5a0508 75%);
  box-shadow: 0 0 0 4px #121413, 0 0 0 5px #3a3d3c, 0 0 22px 6px rgba(255,40,30,.55);
  animation: led 3.2s ease-in-out infinite;
}
.capsule::before { left: 28px; }
.capsule::after { right: 28px; animation-delay: 1.6s; }
@keyframes led { 50% { box-shadow: 0 0 0 4px #121413, 0 0 0 5px #3a3d3c, 0 0 10px 2px rgba(255,40,30,.35); } }
.search-row { display: flex; gap: 12px; }
.search-box { flex: 1; position: relative; }
.search-box .ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: #333; }
.search-box input {
  width: 100%; height: 60px; border: 0; border-radius: 999px; padding: 0 24px 0 60px; font-size: 19px;
  background: linear-gradient(180deg, #fff, #e9e9e7); color: #111;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 0 0 2px #0a0a0a, 0 0 0 4px #4a4e4b;
}
.search-box input:focus { outline: none; box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 0 0 2px #0a0a0a, 0 0 0 4px var(--neon); }
.search-row .btn-red { height: 60px; padding: 0 44px; font-size: 21px; min-width: 220px; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; color: #111; border-radius: 16px; text-align: left;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden; z-index: 30; display: none;
}
.suggest.on { display: block; }
.suggest button { display: flex; width: 100%; justify-content: space-between; gap: 12px; padding: 12px 20px; border: 0; background: none; cursor: pointer; text-align: left; }
.suggest button:hover, .suggest button.act { background: #eef6ea; }
.suggest small { color: var(--muted); }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.flt { position: relative; }
.flt > button {
  width: 100%; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 18px; cursor: pointer;
  border-radius: 999px; border: 2px solid var(--neon); color: #f1f3ef; font-weight: 500; font-size: 17px;
  background: linear-gradient(180deg, #1c1f1d, #0d0f0e);
  box-shadow: 0 0 14px var(--neon-glow), inset 0 0 10px rgba(123,224,76,.15);
  transition: box-shadow .15s;
}
.flt > button:hover, .flt.open > button { box-shadow: 0 0 22px rgba(123,224,76,.7), inset 0 0 12px rgba(123,224,76,.25); }
.flt > button .lbl { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flt > button .lbl em { font-style: normal; color: var(--neon-2); }
.flt > button .chev { transition: transform .2s; }
.flt.open > button .chev { transform: rotate(180deg); }
.pop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 100%; background: #121413; border: 1.5px solid #2f3330;
  border-radius: 16px; padding: 10px; z-index: 40; text-align: left; display: none; max-height: 340px; overflow: auto; box-shadow: 0 20px 40px rgba(0,0,0,.6);
}
.flt.open .pop { display: block; }
.pop button.opt { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: #e3e6e1; text-align: left; }
.pop button.opt:hover { background: #1e211f; }
.pop button.opt[aria-pressed="true"] { color: var(--neon-2); }
.pop button.opt[aria-pressed="true"]::after { content: "✓"; }
.pop .range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; }
.pop .range input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #333; background: #0a0b0a; color: #fff; }
.pop .range input:focus { outline: 2px solid var(--neon); }
.pop .apply { width: 100%; margin-top: 6px; }
.hero-tabs { display: inline-flex; gap: 4px; margin-bottom: 14px; background: rgba(0,0,0,.55); padding: 4px; border-radius: 999px; border: 1px solid #2c302d; }
.hero-tabs button { border: 0; background: none; color: #bfc3bd; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.hero-tabs button[aria-pressed="true"] { background: var(--neon); color: var(--ink); }
.hero-stats { margin-top: 26px; display: flex; justify-content: center; gap: 34px; color: #b8bcb6; font-size: 14px; }
.hero-stats b { color: #fff; font-size: 20px; display: block; }

/* ---------- SEKCIE ---------- */
.sec { padding: 36px 0 56px; }
.sec-head { text-align: center; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
.sec-head p { margin: 6px 0 0; font-size: 18px; color: #2c2e2b; }
.sec-head.left { text-align: left; display: flex; align-items: end; justify-content: space-between; gap: 20px; }

/* ---------- KARTY ---------- */
.grid { display: grid; gap: 26px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--card); border-radius: 8px; text-decoration: none; display: flex; flex-direction: column;
  box-shadow: 0 7px 0 -3px rgba(0,0,0,.28), 0 16px 34px rgba(0,0,0,.16);
  transition: transform .18s, box-shadow .18s;
}
.card::after { /* hrube "otrhane" oramovanie */
  content: ""; position: absolute; inset: -2px; border: 4px solid var(--line); border-radius: 9px; pointer-events: none; filter: url(#rough);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 -3px rgba(0,0,0,.3), 0 26px 44px rgba(0,0,0,.22); }
.card .ph { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 7px 7px 0 0; background: #222; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: contrast(1.06) saturate(.92); }
.card:hover .ph img { transform: scale(1.04); }
.card .ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--line); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold); color: #111; font-weight: 800; font-size: 15px; letter-spacing: .02em;
  padding: 5px 13px; border-radius: 999px; text-transform: uppercase; box-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.badge.new { left: auto; right: 58px; background: var(--neon); }
.badge.rent { background: #fff; }
.pcount { position: absolute; bottom: 14px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 999px; }
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(10,11,10,.7); color: #fff; transition: .15s;
}
.fav:hover { background: var(--ink); }
.fav[aria-pressed="true"] { color: var(--red); background: #fff; }
.fav[aria-pressed="true"] .ico { fill: currentColor; }
.card .bd { padding: 16px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.card .loc { color: #2a2c29; margin: 0; }
.card .par { color: #2a2c29; margin: 2px 0 10px; }
.card .pr { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card .pr b { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.card .pr span { color: var(--muted); font-size: 14px; }
.card.sm h3 { font-size: 18px; }
.card.sm .pr b { font-size: 20px; }
.card.sm .bd { padding: 14px 18px 16px; }

/* mesta */
.cities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.city {
  text-decoration: none; padding: 18px; border-radius: 12px; background: var(--ink); color: #fff; position: relative; overflow: hidden;
  border: 1.5px solid #2a2d2b; transition: border-color .15s, transform .15s;
}
.city:hover { border-color: var(--neon); transform: translateY(-2px); }
.city b { font-size: 19px; display: block; }
.city span { color: #a9ada7; font-size: 14px; }
.city::after { content: "→"; position: absolute; right: 16px; top: 16px; color: var(--neon); }

/* CTA pas */
.band { background: var(--ink); color: #fff; padding: 52px 0; position: relative; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; margin: 0 0 12px; letter-spacing: -.02em; }
.band p { color: #b9bdb7; margin: 0 0 20px; font-size: 18px; }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: #141615; border: 1px solid #262927; padding: 16px; border-radius: 12px; }
.step i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--neon); color: var(--neon-2); display: grid; place-items: center; font-weight: 800; flex: none; box-shadow: 0 0 12px var(--neon-glow); }
.step b { display: block; }
.step span { color: #a6aaa4; font-size: 15px; }

/* ---------- PATICKA ---------- */
.foot { background: #070807; color: #9a9e98; padding: 40px 0 26px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--neon-2); }
.foot .copy { grid-column: 1 / -1; border-top: 1px solid #1d201e; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* ---------- VYHLADAVANIE ---------- */
.pagehead { background: var(--ink); color: #fff; padding: 26px 0 50px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 99.45% calc(100% - 12px), 98.68% calc(100% - 6px), 97.31% calc(100% - 14px), 95.12% calc(100% - 23px), 94.32% calc(100% - 12px), 93.17% calc(100% - 10px), 91.7% calc(100% - 21px), 90.6% calc(100% - 8px), 89.2% calc(100% - 17px), 87.6% calc(100% - 25px), 86.3% calc(100% - 9px), 84.9% calc(100% - 14px), 83.1% calc(100% - 20px), 81.9% calc(100% - 7px), 80.2% calc(100% - 16px), 78.8% calc(100% - 24px), 77.5% calc(100% - 11px), 75.9% calc(100% - 5px), 74.3% calc(100% - 18px), 72.6% calc(100% - 13px), 71.2% calc(100% - 22px), 69.8% calc(100% - 9px), 68.1% calc(100% - 15px), 66.7% calc(100% - 26px), 65.2% calc(100% - 10px), 63.5% calc(100% - 6px), 62.1% calc(100% - 19px), 60.4% calc(100% - 12px), 58.9% calc(100% - 23px), 57.3% calc(100% - 8px), 55.8% calc(100% - 16px), 54.2% calc(100% - 21px), 52.7% calc(100% - 7px), 51.1% calc(100% - 13px), 49.6% calc(100% - 24px), 48.0% calc(100% - 11px), 46.4% calc(100% - 17px), 44.9% calc(100% - 6px), 43.3% calc(100% - 20px), 41.8% calc(100% - 14px), 40.1% calc(100% - 25px), 38.6% calc(100% - 9px), 37.0% calc(100% - 15px), 35.5% calc(100% - 22px), 33.9% calc(100% - 7px), 32.3% calc(100% - 12px), 30.8% calc(100% - 19px), 29.2% calc(100% - 26px), 27.7% calc(100% - 10px), 26.1% calc(100% - 16px), 24.5% calc(100% - 5px), 23.0% calc(100% - 21px), 21.4% calc(100% - 13px), 19.9% calc(100% - 24px), 18.3% calc(100% - 8px), 16.8% calc(100% - 18px), 15.2% calc(100% - 11px), 13.6% calc(100% - 22px), 12.1% calc(100% - 6px), 10.5% calc(100% - 15px), 9.0% calc(100% - 25px), 7.4% calc(100% - 12px), 5.8% calc(100% - 19px), 4.3% calc(100% - 7px), 2.7% calc(100% - 16px), 1.2% calc(100% - 23px), 0% calc(100% - 10px)); }
.pagehead h1 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.02em; }
.pagehead p { margin: 4px 0 0; color: #a9ada7; }
.crumbs { font-size: 14px; color: #8f938d; margin-bottom: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--neon-2); }
.layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding: 24px 0 60px; }
.side { position: sticky; top: 16px; background: var(--card); border: 3px solid var(--line); border-radius: 12px; padding: 18px; }
.side h3 { margin: 0 0 12px; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.side h3 button { font-size: 13px; font-weight: 600; border: 0; background: none; text-decoration: underline; cursor: pointer; color: var(--muted); }
.fg { margin-bottom: 16px; }
.fg > label, .fg > .t { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.seg { display: flex; background: #e2e2de; border-radius: 999px; padding: 3px; }
.seg button { flex: 1; border: 0; background: none; padding: 8px 6px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid #c8c8c3; background: #fff; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.inp, .side select, .form input, .form select, .form textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #c8c8c3; background: #fff;
}
.inp:focus, .side select:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(123,224,76,.5); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.resbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.resbar .n { font-size: 18px; } .resbar .n b { font-size: 22px; }
.resbar .r { display: flex; gap: 10px; align-items: center; }
.resbar select { padding: 9px 12px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 600; }
.active-f { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 16px; }
.active-f button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.active-f button::after { content: " ×"; color: var(--neon-2); }
#map { height: 640px; border-radius: 12px; border: 3px solid var(--line); z-index: 1; }
.pin { background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; border: 2px solid var(--neon); box-shadow: 0 3px 8px rgba(0,0,0,.4); transform: translate(-50%, -50%); display: inline-block; }
.pin.top { border-color: var(--gold); }
.leaflet-div-icon { background: none !important; border: 0 !important; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager button { min-width: 42px; height: 42px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.pager button[aria-current="page"] { background: var(--ink); color: #fff; }
.pager button:disabled { opacity: .35; cursor: default; }
.empty { text-align: center; padding: 60px 20px; background: var(--card); border: 3px dashed #b9b9b4; border-radius: 14px; }
.empty b { font-size: 22px; display: block; margin-bottom: 6px; }
.filters-toggle { display: none; }
.skel { background: linear-gradient(90deg, #ddd 0, #eee 40%, #ddd 80%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; min-height: 340px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- DETAIL ---------- */
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 520px; margin-top: 20px; }
.gal button { border: 0; padding: 0; cursor: zoom-in; overflow: hidden; border-radius: 10px; position: relative; background: #222; }
.gal button:first-child { grid-row: 1 / 3; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal button:hover img { transform: scale(1.03); }
.gal .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-weight: 800; font-size: 22px; }
.dgrid { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; padding: 28px 0 60px; }
.dtitle { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.dtitle h1 { margin: 0 0 6px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.02em; }
.dtitle .loc { color: #333; display: flex; gap: 6px; align-items: center; }
.dtags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 800; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: var(--gold); }
.tag.g { background: var(--neon); } .tag.d { background: var(--ink); color: #fff; }
.params { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 22px 0; background: var(--card); border: 3px solid var(--line); border-radius: 12px; overflow: hidden; }
.params div { padding: 14px 16px; border-right: 1px solid #d5d5d0; border-bottom: 1px solid #d5d5d0; }
.params span { display: block; font-size: 13px; color: var(--muted); }
.params b { font-size: 18px; }
.box { background: var(--card); border: 3px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 22px; }
.box h2 { margin: 0 0 12px; font-size: 22px; }
.desc { white-space: pre-line; font-size: 17px; line-height: 1.65; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; }
.feats span { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1.5px solid #cfcfca; padding: 6px 12px; border-radius: 999px; font-size: 15px; }
.feats span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 6px var(--neon); }
.energy { display: flex; gap: 4px; margin-top: 6px; }
.energy i { flex: 1; height: 26px; border-radius: 4px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; opacity: .35; }
.energy i.on { opacity: 1; transform: scaleY(1.2); box-shadow: 0 0 0 2px var(--line); }
#dmap { height: 340px; border-radius: 10px; z-index: 1; }
.aside { position: sticky; top: 16px; }
.pricebox { background: var(--ink); color: #fff; border-radius: 14px; padding: 22px; margin-bottom: 18px; box-shadow: 0 0 0 3px #000, 0 0 0 5px #2d302e; }
.pricebox .p { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pricebox .pm { color: #a6aaa4; margin-top: 6px; }
.agent { display: flex; gap: 12px; align-items: center; margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid #2a2d2b; }
.agent .av { width: 48px; height: 48px; border-radius: 50%; background: var(--neon); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.agent small { color: #a6aaa4; display: block; }
.form { display: grid; gap: 10px; }
.form label { font-size: 14px; font-weight: 600; display: grid; gap: 4px; }
.pricebox .form input, .pricebox .form textarea { background: #151716; border-color: #2e322f; color: #fff; }
.form .hp { display: none; }
.msg { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.msg.ok { background: rgba(123,224,76,.18); color: var(--neon-2); border: 1px solid var(--neon); }
.msg.err { background: rgba(211,25,29,.15); color: #ff8a86; border: 1px solid var(--red); }
.box .msg.ok { color: #22610a; } .box .msg.err { color: #9a0b0f; }
.calc { display: grid; gap: 12px; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; font-weight: 600; }
.calc input[type=range] { grid-column: 1 / -1; accent-color: var(--red); }
.calc .res { background: var(--ink); color: #fff; border-radius: 10px; padding: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.calc .res b { font-size: 26px; color: var(--neon-2); }
.lb { position: fixed; inset: 0; background: rgba(5,6,5,.94); z-index: 1000; display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; font-size: 26px; }
.lb .x { top: 18px; right: 18px; } .lb .pv { left: 18px; } .lb .nx { right: 18px; }
.lb .ct { position: absolute; bottom: 18px; color: #ccc; }
.toolbar { display: flex; gap: 8px; }
.toolbar .btn { padding: 9px 14px; }

/* ---------- ADMIN ---------- */
.admin-wrap { padding: 28px 0 60px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border: 3px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #d5d5d0; vertical-align: middle; font-size: 15px; }
.tbl th { background: var(--ink); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.tbl img { width: 72px; height: 50px; object-fit: cover; border-radius: 6px; }
.tbl .acts { display: flex; gap: 6px; }
.tbl .acts button, .tbl .acts a { padding: 6px 10px; font-size: 13px; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.tabs button { padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.edit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.edit .w2 { grid-column: span 2; } .edit .w4 { grid-column: 1 / -1; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs div { position: relative; }
.thumbs img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid var(--line); }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.thumbs .mv { right: auto; left: 4px; background: var(--ink); }
.login { max-width: 380px; margin: 60px auto; }
.dim { opacity: .45; }

/* ---------- RESPONZIVITA ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(3, 1fr); }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .dgrid { grid-template-columns: 1fr 330px; }
  .nav a { padding: 8px 10px; } .nav a .bub { display: none; }
}
@media (max-width: 900px) {
  .top .wrap { min-height: 64px; gap: 10px; }
  .logo-word { font-size: 32px; } .logo { padding: 0 26px 0 20px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; display: none; border-bottom: 1px solid #222; }
  .nav.on { display: flex; }
  .nav a .bub { display: grid; }
  .top-actions .btn-ghost { display: none; }
  .burger { display: block; }
  .top-actions { margin-left: auto; }
  .resbar .r { flex-wrap: wrap; width: 100%; }
  .resbar select { flex: 1; min-width: 0; }
  .layout > section { min-width: 0; }
  .capsule { padding: 14px; border-radius: 30px; }
  .capsule::before, .capsule::after { display: none; }
  .search-row { flex-direction: column; }
  .search-row .btn-red { min-width: 0; height: 54px; }
  .search-box input { height: 54px; font-size: 17px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .band .wrap { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0; z-index: 900; border-radius: 0; border: 0; overflow: auto; display: none; }
  .side.on { display: block; }
  .filters-toggle { display: inline-flex; }
  .dgrid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .gal { height: 380px; }
  .params { grid-template-columns: repeat(2, 1fr); }
  .edit { grid-template-columns: 1fr 1fr; }
  .tbl .hide-m { display: none; }
}
@media (max-width: 600px) {
  .g3, .g4 { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr 1fr; }
  .hero { padding: 30px 0 70px; }
  .hero-stats { gap: 18px; }
  .flt > button { font-size: 15px; padding: 0 14px; height: 48px; }
  .top-actions .btn-red span { display: none; }
  .gal { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 280px; }
  .gal button:not(:first-child) { display: none; }
  .gal button:first-child { grid-row: auto; }
  .dtitle { flex-direction: column; }
  .foot .wrap { grid-template-columns: 1fr; }
  #map { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== XenoLico doplnky ===== */
.logo-mark { width: 50px; height: 50px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }
.top { position: relative; }
.top::after { /* sliz kvapkajuci z hlavicky */
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; pointer-events: none; z-index: 60;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='18'%3E%3Cpath d='M0 0H240V3C232 3 231 14 226 14S221 3 214 3 200 4 197 4 193 17 188 17 183 4 178 4 160 3 152 3 149 9 145 9 141 3 134 3 112 2 104 2 101 13 96 13 91 3 86 3 70 3 63 3 60 8 56 8 52 3 46 3 30 2 24 2 21 16 16 16 11 3 6 3 0 3 0 3Z' fill='%23356f22'/%3E%3Cpath d='M188 15a2 2 0 1 0 .1 0M96 11a2 2 0 1 0 .1 0M16 14a2 2 0 1 0 .1 0' fill='%237be04c' opacity='.8'/%3E%3C/svg%3E") repeat-x;
}
.hero h1 { animation: flick 6s infinite; }
@keyframes flick { 0%, 92%, 100% { text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 10px 40px rgba(0,0,0,.6), 0 0 24px rgba(123,224,76,.25); } 93% { text-shadow: 0 0 30px rgba(123,224,76,.8); opacity: .85; } 95% { opacity: 1; } }
.peek { position: absolute; width: 74px; top: -58px; left: 96px; z-index: -1; animation: peek 7s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(123,224,76,.5)); }
@keyframes peek { 0%, 55%, 100% { transform: translateY(46px) rotate(-6deg); } 65%, 85% { transform: translateY(0) rotate(4deg); } }
.card:hover { box-shadow: 0 10px 0 -3px rgba(0,0,0,.3), 0 0 0 3px rgba(123,224,76,.55), 0 26px 44px rgba(0,0,0,.25); }
.badge { box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 12px rgba(242,194,26,.45); }
.card .pr b { color: #0b0c0b; }
.band { background: #070907 radial-gradient(ellipse 50% 80% at 85% 50%, rgba(123,224,76,.12), transparent 70%); }
.band::after { content: ""; position: absolute; right: 4%; bottom: -18px; width: 150px; height: 150px; background: url(/img/glorb.svg) center / contain no-repeat; opacity: .9; transform: rotate(-8deg); filter: drop-shadow(0 0 20px rgba(123,224,76,.45)); }
.nav a .bub { color: #7be04c; }
.fav[aria-pressed="true"] { color: #0b0c0b; background: var(--neon); }
.fav[aria-pressed="true"] .ico { fill: none; }
@media (max-width: 900px) { .peek { left: 30px; width: 60px; } .band::after { width: 100px; height: 100px; opacity: .5; } .logo-mark { width: 40px; height: 40px; } }

/* video prehliadka */
.vbadge { position: absolute; bottom: 14px; right: 14px; z-index: 2; font-size: 13px; font-weight: 800; color: #0b0c0b; background: var(--neon); padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 12px rgba(123,224,76,.6); }
.gal { position: relative; }
.vjump { margin-top: 12px; }
.vbox { margin-top: 22px; }
.vbox h2 small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.vbox video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; display: block; box-shadow: 0 0 0 3px #0b0c0b, 0 0 24px rgba(123,224,76,.35); }
