/* ==========================================================================
   Winehills – Matúškova Residence
   Jeden štýl pre celý web. Bez frameworku, bez build kroku.
   ========================================================================== */

/* ---------- Písma (hostované lokálne, latin + latin-ext pre slovenčinu) ---------- */
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-normal-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-normal-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-normal-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ----------
   Farby vychádzajú zo stavby a značky:
   omietka fasády, piesok z kampaní, grafit zo záverečnej karty videa,
   bronz drevených panelov balkónov, réva z viníc nad domom. */
:root {
  --omietka: #f4f3f0;
  --omietka-2: #ecebe6;
  --biela: #ffffff;
  --piesok: #e5dccd;
  --piesok-2: #efe9df;
  --grafit: #33302b;
  --grafit-2: #57524a;
  --grafit-3: #6b655d;
  --linka: #d9d4ca;
  --linka-2: #c7c0b4;
  --bronz: #7a5a3a;
  --bronz-tmavy: #5f4630;
  --bronz-svetly: #c9a983;
  --reva: #4f6136;
  --jantar: #a56f18;
  --sediva: #a8a39a;

  --stav-volny: var(--reva);
  --stav-rezervovany: var(--jantar);
  --stav-predany: var(--sediva);

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --fs-2xl: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-3xl: clamp(2.5rem, 1.5rem + 4.2vw, 5rem);
  --fs-hero: clamp(2.875rem, 1.2rem + 7vw, 7.5rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --gutter: clamp(1rem, 0.4rem + 3vw, 3.5rem);
  --max: 1440px;
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-panel: 0 18px 50px -24px rgba(51, 48, 43, 0.35);
}
@media (max-width: 760px) { :root { --header-h: 64px; } }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--omietka);
  color: var(--grafit);
  font-family: var(--font-text);
  font-size: var(--fs-m);
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--bronz); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .site-header--overlay:not(.is-solid) :focus-visible { outline-color: #fff; }
::selection { background: var(--piesok); color: var(--grafit); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--grafit); color: #fff; padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Typografia ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.005em; }
.h1 { font-size: var(--fs-3xl); line-height: 1.04; }
.h2 { font-size: var(--fs-2xl); line-height: 1.08; }
.h3 { font-size: var(--fs-xl); line-height: 1.15; }
.lead { font-size: var(--fs-l); line-height: 1.5; color: var(--grafit-2); max-width: 38em; }
.muted { color: var(--grafit-2); }
.small { font-size: var(--fs-s); }
.prose { max-width: 36em; }
.prose p { color: var(--grafit-2); }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--grafit); margin: 2em 0 0.6em; line-height: 1.2; }
.prose h2 { font-size: var(--fs-xl); }
.prose h3 { font-size: var(--fs-l); }
.prose ul { padding-left: 1.2em; color: var(--grafit-2); }
.prose li { margin-bottom: 0.4em; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }

/* ---------- Rozloženie ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--sand { background: var(--piesok-2); }
.section--dark { background: var(--grafit); color: #f1ede6; }
.section--dark .muted, .section--dark .lead { color: #c9c2b7; }
.section-head { display: grid; gap: var(--sp-4); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 52rem; }
.section-head p { margin: 0; }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--center { align-items: center; }
}

/* ---------- Tlačidlá a odkazy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-text); font-size: var(--fs-s); font-weight: 600; letter-spacing: 0.01em; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--bronz); color: #fff; }
.btn--primary:hover { background: var(--bronz-tmavy); }
.btn--dark { background: var(--grafit); color: #fff; }
.btn--dark:hover { background: #1f1d1a; }
.btn--outline { border-color: var(--grafit); color: var(--grafit); background: transparent; }
.btn--outline:hover { background: var(--grafit); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: rgba(28, 26, 23, 0.12); }
.btn--light:hover { background: #fff; color: var(--grafit); }
.btn--small { min-height: 40px; padding: 0 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link {
  display: inline-flex; align-items: center; gap: 0.45em;
  color: var(--bronz); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(122, 90, 58, 0.35);
}
.link:hover { text-decoration-color: currentColor; }
.section--dark .link { color: var(--bronz-svetly); text-decoration-color: rgba(201, 169, 131, 0.4); }
.link svg { width: 1em; height: 1em; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(244, 243, 240, 0.94);
  border-bottom: 1px solid var(--linka);
  color: var(--grafit);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(244, 243, 240, 0.86); backdrop-filter: saturate(140%) blur(10px); }
}
.site-header--overlay { position: fixed; left: 0; right: 0; }
.site-header--overlay:not(.is-solid) {
  background: linear-gradient(to bottom, rgba(20, 18, 15, 0.62), rgba(20, 18, 15, 0.25) 70%, rgba(20, 18, 15, 0));
  backdrop-filter: none; border-bottom-color: transparent; color: #fff;
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: inherit; text-decoration: none; flex: none; }
.brand__mono { width: auto; height: 42px; }
.brand__word { width: 150px; height: auto; }
@media (max-width: 760px) {
  .brand__mono { height: 36px; }
  .brand__word { display: none; }
}
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 0.2rem + 1.6vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding: 0.5rem 0;
  font-size: var(--fs-s); font-weight: 500; text-decoration: none; color: inherit;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; gap: var(--sp-2); align-items: center; }
.site-header--overlay:not(.is-solid) .btn--outline { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.site-header--overlay:not(.is-solid) .btn--outline:hover { background: #fff; color: var(--grafit); }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: none; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1099px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .header-actions .btn--small { padding: 0 0.7rem; font-size: 0.8125rem; }
  .site-header__inner { gap: var(--sp-3); }
}

/* Mobilné menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; margin: 0; padding: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  border: 0; background: var(--grafit); color: #f1ede6;
}
.mobile-menu::backdrop { background: rgba(20, 18, 15, 0.4); }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) var(--sp-7); }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__list { list-style: none; margin: var(--sp-6) 0; padding: 0; display: grid; gap: var(--sp-1); }
.mobile-menu__list a { display: block; padding: 0.55rem 0; font-family: var(--font-display); font-size: 2rem; line-height: 1.2; text-decoration: none; }
.mobile-menu__list a[aria-current="page"] { color: var(--bronz-svetly); }
.mobile-menu .actions { margin-top: auto; }
.mobile-menu .actions .btn { flex: 1 1 10rem; }
.mobile-menu__contacts { margin-top: var(--sp-6); display: grid; gap: var(--sp-2); font-size: var(--fs-s); color: #c9c2b7; }
.mobile-menu__contacts a { color: #f1ede6; text-decoration: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%;
}
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: 560px; height: min(90svh, 960px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #3b3a36;
}
.hero__media, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
/* Video je o 2 px nižšie ako náhľad, aby prehliadač nepovažoval jeho prvý snímok za väčší prvok (LCP)
   než náhľadový obrázok, ktorý sa načíta okamžite. Spodný okraj je pod tmavým prechodom, nie je to vidieť. */
.hero__video { bottom: auto; height: calc(100% - 2px); }
.hero__video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(22, 20, 17, 0.84) 0%, rgba(22, 20, 17, 0.55) 32%, rgba(22, 20, 17, 0.12) 68%, rgba(22, 20, 17, 0) 100%),
    linear-gradient(to right, rgba(22, 20, 17, 0.6) 0%, rgba(22, 20, 17, 0.3) 45%, rgba(22, 20, 17, 0) 72%),
    rgba(22, 20, 17, 0.16);
}
.hero__content { padding-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.hero__place { margin: 0 0 var(--sp-4); font-size: var(--fs-s); font-weight: 500; letter-spacing: 0.02em; opacity: 0.92; }
.hero__title {
  font-family: var(--font-display); font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.005em;
  max-width: 11em; text-wrap: balance;
  text-shadow: 0 2px 28px rgba(15, 13, 11, 0.45);
}
.hero__title span { display: block; }
.hero__lead { margin: var(--sp-5) 0 var(--sp-6); max-width: 33em; font-size: var(--fs-l); line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.hero__facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.hero__facts li { padding: 1.1rem 1.25rem 1.3rem 0; font-size: var(--fs-s); line-height: 1.35; color: rgba(255, 255, 255, 0.82); }
.hero__facts li + li { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero__facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-l); color: #fff; margin-bottom: 0.15rem; }
.hero__facts [data-pocet-volnych] { display: inline-block; min-width: 1.4ch; }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; padding-top: calc(var(--header-h) + 34svh); }
  .hero__content { padding-bottom: var(--sp-5); }
  .hero__lead { margin: var(--sp-4) 0 var(--sp-5); }
  .hero__actions .btn { flex: 1 1 9rem; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li { padding: 0.85rem 0.75rem 1rem 0; }
  .hero__facts li + li { padding-left: 0.75rem; }
  .hero__facts li:nth-child(3) { display: none; }
}

/* ---------- Úvod: poloha, výhľad, ponuka ---------- */
.place__figure { margin: 0; }
.place__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.figcap { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--grafit-3); }
.section--dark .figcap { color: #a9a196; }
.place__facts { margin: var(--sp-6) 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--linka); }
.place__facts li { display: grid; grid-template-columns: 9rem 1fr; gap: var(--sp-4); padding: 0.9rem 0; border-bottom: 1px solid var(--linka); font-size: var(--fs-s); }
.place__facts span:first-child { color: var(--grafit-3); }
@media (min-width: 900px) { .place__text { position: sticky; top: calc(var(--header-h) + 3rem); padding-top: 2rem; } }

.view { position: relative; color: #fff; isolation: isolate; }
.view__img { width: 100%; height: clamp(460px, 62vw, 860px); object-fit: cover; }
.view::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 20, 17, 0.78) 0%, rgba(22, 20, 17, 0.35) 30%, rgba(22, 20, 17, 0) 55%);
}
.view__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding-bottom: clamp(1.75rem, 1rem + 3vw, 4rem); }
.view__text .h2 { max-width: 12em; text-wrap: balance; }
.view__text p { max-width: 30em; margin: var(--sp-4) 0 0; color: rgba(255, 255, 255, 0.9); font-size: var(--fs-l); }
.view__text .view__cap { margin-top: var(--sp-4); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.72); }

.offer { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 900px) { .offer { grid-template-columns: 1fr 1fr; } }
.offer__item { display: grid; gap: var(--sp-5); align-content: start; }
.offer__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.offer__title { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; }
.offer__stats { margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--sp-6); }
.offer__stats div { display: grid; gap: 0.15rem; }
.offer__stats dt { font-size: var(--fs-xs); color: var(--grafit-3); }
.offer__stats dd { margin: 0; font-size: var(--fs-l); font-weight: 600; white-space: nowrap; }
.offer__note { font-size: var(--fs-s); color: var(--grafit-2); margin: 0; }
@media (max-width: 480px) { .offer__stats { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }

.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 clamp(2rem, 1rem + 3vw, 4.5rem); }
@media (min-width: 700px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .specs { grid-template-columns: 1fr 1fr 1fr; } }
.specs li { padding: var(--sp-5) 0 var(--sp-6); border-top: 1px solid var(--linka-2); }
.specs h3 { font-family: var(--font-display); font-size: var(--fs-l); line-height: 1.25; margin-bottom: var(--sp-2); }
.specs p { margin: 0; color: var(--grafit-2); font-size: var(--fs-s); max-width: 26em; }

.reel { display: grid; gap: var(--sp-4); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.reel figure { margin: 0; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel__a { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
.reel__b { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }
.reel__c { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.reel__d { grid-column: 5 / span 8; aspect-ratio: 16 / 9; }
.reel figure { display: flex; flex-direction: column; }
.reel figure picture, .reel figure > img { flex: 1; min-height: 0; }
@media (max-width: 760px) {
  .reel { grid-template-columns: 1fr; }
  .reel__a, .reel__b, .reel__c, .reel__d { grid-column: auto; aspect-ratio: 4 / 3; }
}
.reel__cap { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--grafit-3); }

.finance { display: grid; gap: var(--sp-7); align-items: end; }
@media (min-width: 900px) { .finance { grid-template-columns: 1.2fr 1fr; } }
.finance__big { font-family: var(--font-display); font-size: clamp(4.5rem, 2rem + 10vw, 10rem); line-height: 0.9; color: #f1ede6; }
.finance__list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
.finance__list li { padding: 0.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #ddd6cb; }

/* ---------- Makléri ---------- */
.agents { display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .agents { grid-template-columns: 1fr 1fr; } }
.agent { display: grid; grid-template-columns: 112px 1fr; gap: var(--sp-5); align-items: center; padding: var(--sp-5); background: var(--biela); border: 1px solid var(--linka); }
.agent__photo { width: 112px; height: 130px; object-fit: cover; object-position: center 20%; background: var(--piesok-2); }
.agent__name { font-family: var(--font-display); font-size: var(--fs-l); line-height: 1.2; }
.agent__role { margin: 0.1rem 0 var(--sp-3); font-size: var(--fs-xs); color: var(--grafit-3); }
.agent__links { display: grid; gap: 0.35rem; font-size: var(--fs-s); }
.agent__links a { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-weight: 500; overflow-wrap: break-word; min-width: 0; }
.agent__links a:hover { color: var(--bronz); text-decoration: underline; }
.agent__links svg { width: 18px; height: 18px; flex: none; color: var(--bronz); }
@media (max-width: 400px) {
  .agent { grid-template-columns: 84px 1fr; gap: var(--sp-4); padding: var(--sp-4); }
  .agent__photo { width: 84px; height: 100px; }
}
.section--dark .agent { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); }
.section--dark .agent__role { color: #a9a196; }
.section--dark .agent__links svg { color: var(--bronz-svetly); }

/* ---------- Stránkové záhlavie (podstránky) ---------- */
.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-head__title { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.02; max-width: 14em; text-wrap: balance; }
.page-head .lead { margin-top: var(--sp-5); }
.crumbs { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--fs-xs); color: var(--grafit-3); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--linka-2); }
.crumbs a { color: inherit; }

.page-hero { position: relative; }
.page-hero img { width: 100%; height: clamp(300px, 46vw, 640px); object-fit: cover; }

/* ---------- Výber bytu ---------- */
.picker { display: grid; gap: var(--sp-5); }
.picker__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.floors { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--linka-2); background: var(--biela); }
.floors__btn {
  min-height: 52px; padding: 0.4rem 1.15rem; border: 0; border-right: 1px solid var(--linka);
  background: transparent; cursor: pointer; text-align: left; line-height: 1.2;
  display: grid; gap: 0.1rem;
}
.floors__btn:last-child { border-right: 0; }
.floors__btn strong { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; }
.floors__btn span { font-size: var(--fs-xs); color: var(--grafit-3); }
.floors__btn:hover { background: var(--piesok-2); }
.floors__btn[aria-pressed="true"] { background: var(--grafit); color: #fff; }
.floors__btn[aria-pressed="true"] span { color: #d8d1c6; }
.legend { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; font-size: var(--fs-xs); color: var(--grafit-2); }
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }

.dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; background: var(--sediva); }
.dot--volny { background: var(--stav-volny); }
.dot--rezervovany { background: var(--stav-rezervovany); }
.dot--predany { background: var(--stav-predany); }

.picker__body { display: grid; gap: var(--sp-5); align-items: start; }
@media (min-width: 1000px) { .picker__body { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (min-width: 1280px) { .picker__body { grid-template-columns: minmax(0, 1fr) 400px; } }
.plan { position: relative; margin: 0; background: var(--biela); border: 1px solid var(--linka); }
.plan__scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.plan__svg { width: 100%; min-width: 720px; height: auto; display: block; user-select: none; }
.plan__hint { margin: 0; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--linka); font-size: var(--fs-xs); color: var(--grafit-3); display: flex; justify-content: space-between; gap: var(--sp-4); }
.plan__north { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; color: var(--grafit-2); pointer-events: none; }

.unit { cursor: pointer; outline: none; }
.unit__shape { stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill 0.15s ease, fill-opacity 0.15s ease, stroke-width 0.15s ease; }
.unit--volny .unit__shape { fill: var(--stav-volny); fill-opacity: 0.16; stroke: var(--stav-volny); stroke-opacity: 0.75; }
.unit--rezervovany .unit__shape { fill: var(--stav-rezervovany); fill-opacity: 0.26; stroke: var(--stav-rezervovany); stroke-opacity: 0.8; }
.unit--predany .unit__shape { fill: #6f6a62; fill-opacity: 0.42; stroke: #6f6a62; stroke-opacity: 0.55; }
.unit:hover .unit__shape, .unit.is-hover .unit__shape { fill: var(--bronz); fill-opacity: 0.38; stroke: var(--bronz); stroke-opacity: 1; stroke-width: 3; }
.unit.is-active .unit__shape { fill: var(--bronz); fill-opacity: 0.55; stroke: var(--bronz-tmavy); stroke-opacity: 1; stroke-width: 3.5; }
.unit:focus-visible .unit__shape { stroke: var(--grafit); stroke-opacity: 1; stroke-width: 4; }
.unit__label { font-family: var(--font-text); font-size: 17px; font-weight: 700; fill: var(--grafit); paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 4px; pointer-events: none; text-anchor: middle; dominant-baseline: central; }
.unit--predany .unit__label { fill: #4c4741; font-weight: 600; }
.unit.is-active .unit__label { fill: #fff; stroke: var(--bronz-tmavy); }
.unit.is-dimmed { opacity: 0.28; }

.flat-card { background: var(--biela); border: 1px solid var(--linka); padding: var(--sp-5); display: grid; gap: var(--sp-4); }
@media (min-width: 1000px) { .flat-card { position: sticky; top: calc(var(--header-h) + 1rem); } }
.flat-card__empty { color: var(--grafit-2); font-size: var(--fs-s); }
.flat-card__empty strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); color: var(--grafit); margin-bottom: var(--sp-2); }
.flat-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.flat-card__id { font-family: var(--font-text); font-weight: 600; font-size: 2rem; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.flat-card__type { margin: 0.35rem 0 0; font-size: var(--fs-s); color: var(--grafit-2); }
.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-s); font-weight: 600; white-space: nowrap; }
.status--volny { color: var(--stav-volny); }
.status--rezervovany { color: #8a5c12; }
.status--predany { color: var(--grafit-3); }
.params { margin: 0; display: grid; grid-template-columns: 1fr auto; font-size: var(--fs-s); }
.params dt, .params dd { padding: 0.55rem 0; border-top: 1px solid var(--linka); }
.params dt { color: var(--grafit-2); }
.params dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.price { display: grid; gap: 0.1rem; }
.price__value { font-family: var(--font-text); font-weight: 600; font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.price__note { font-size: var(--fs-xs); color: var(--grafit-3); }
.flat-card__plan { background: var(--omietka); padding: var(--sp-3); display: flex; justify-content: center; }
.flat-card__plan img { max-height: 230px; width: auto; mix-blend-mode: multiply; }
.flat-card__actions { display: grid; gap: var(--sp-2); }
.flat-card__actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.similar { display: grid; gap: var(--sp-2); }
.similar h3 { font-size: var(--fs-s); font-weight: 600; font-family: var(--font-text); }
.similar a { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 0.6rem 0.75rem; border: 1px solid var(--linka); text-decoration: none; font-size: var(--fs-s); }
.similar a:hover { border-color: var(--bronz); }
.similar a span:last-child { font-weight: 600; white-space: nowrap; }

/* Na mobile a tablete sa karta bytu otvára vo vysúvacom paneli */
@media (max-width: 999px) { .picker .flat-card { display: none; } }

/* ---------- Cenník ---------- */
.pricelist { display: grid; gap: var(--sp-6); }
.filters { display: grid; gap: var(--sp-4); padding: var(--sp-5); background: var(--biela); border: 1px solid var(--linka); }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); }
.filters__label { min-width: 5.5rem; font-size: var(--fs-xs); font-weight: 600; color: var(--grafit-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  min-height: 40px; min-width: 44px; padding: 0 0.9rem; border: 1px solid var(--linka-2); border-radius: 999px;
  background: transparent; cursor: pointer; font-size: var(--fs-s); line-height: 1;
}
.chip:hover { border-color: var(--grafit); }
.chip[aria-pressed="true"] { background: var(--grafit); border-color: var(--grafit); color: #fff; }
.switch { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: var(--fs-s); font-weight: 500; min-height: 40px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 42px; height: 24px; border-radius: 12px; background: var(--linka-2); position: relative; transition: background-color 0.2s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.switch input:checked + .switch__track { background: var(--reva); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--bronz); outline-offset: 2px; }
.filters__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-3); font-size: var(--fs-s); color: var(--grafit-2); }
.reset { border: 0; background: none; padding: 0.5rem 0; color: var(--bronz); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }

.table-group h2 { font-family: var(--font-display); font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.table-group__note { margin: 0 0 var(--sp-4); font-size: var(--fs-s); color: var(--grafit-2); }
.table-wrap { overflow-x: auto; background: var(--biela); border: 1px solid var(--linka); }
.flats { width: 100%; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.flats caption { text-align: left; }
.flats th, .flats td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--linka); white-space: nowrap; }
.flats thead th { font-size: var(--fs-xs); font-weight: 600; color: var(--grafit-2); background: var(--omietka); position: sticky; top: 0; }
.flats .r { text-align: right; }
.sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; }
.sort svg { width: 12px; height: 12px; opacity: 0.35; }
th[aria-sort="ascending"] .sort svg, th[aria-sort="descending"] .sort svg { opacity: 1; }
th[aria-sort="descending"] .sort svg { transform: rotate(180deg); }
.flats tbody tr { cursor: pointer; transition: background-color 0.12s; }
.flats tbody tr:hover { background: var(--piesok-2); }
.flats tbody tr.is-active { background: #eadfcd; }
.flats tbody tr.is-active .flats__id a { color: var(--bronz-tmavy); }
.flats tbody tr.is-sold td { color: var(--grafit-3); }
.flats tbody tr:last-child td { border-bottom: 0; }
.flats__id a { font-weight: 700; text-decoration: none; }
.flats__id a:hover { text-decoration: underline; }
.flats__price { font-weight: 600; }
.flats__detail { color: var(--bronz); font-weight: 600; }
.empty { padding: var(--sp-6); text-align: center; color: var(--grafit-2); background: var(--biela); border: 1px dashed var(--linka-2); }

/* Mobilný cenník */
@media (max-width: 760px) {
  .filters { padding: var(--sp-4); }
  .filters__row { display: grid; gap: var(--sp-2); }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--sp-4) * -1); padding: 2px var(--sp-4); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .flats .hide-m { display: none; }
  .flats th, .flats td { padding: 0.85rem 0.6rem; }
  .flats th:first-child, .flats td:first-child { padding-left: 0.9rem; }
  .flats th:last-child, .flats td:last-child { padding-right: 0.9rem; }
}

/* Vysúvací panel (mobil) */
.sheet {
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88svh; padding: 0;
  border: 0; border-radius: 14px 14px 0 0; background: var(--biela); color: var(--grafit);
  overflow: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(28, 26, 23, 0.5); }
.sheet[open] { animation: sheet-in 0.32s var(--ease); }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet__grip { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0.5rem 0.2rem 1.25rem; background: var(--biela); }
.sheet__grip::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--linka-2); }
.sheet__body { padding: 0 1.25rem 1.5rem; display: grid; gap: var(--sp-4); }
.sheet .flat-card { border: 0; padding: 0; position: static; display: grid; }
.sheet .flat-card__plan img { max-height: 200px; }
.call-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--sp-2); padding: 0.6rem 0; border-top: 1px solid var(--linka); font-size: var(--fs-s); }
.call-row strong { font-weight: 600; }

/* ---------- Dialóg kontaktu ---------- */
.dialog {
  width: min(760px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0;
  background: var(--omietka); color: var(--grafit); box-shadow: var(--shadow-panel); overflow: auto;
}
.dialog::backdrop { background: rgba(28, 26, 23, 0.55); }
.dialog[open] { animation: fade-up 0.28s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5) var(--sp-5) 0; }
.dialog__title { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; }
.dialog__sub { margin: var(--sp-2) 0 0; color: var(--grafit-2); font-size: var(--fs-s); }
.dialog__body { padding: var(--sp-5); }
@media (max-width: 760px) {
  .dialog { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92svh; border-radius: 14px 14px 0 0; }
  .dialog[open] { animation: sheet-in 0.32s var(--ease); }
  .dialog__head, .dialog__body { padding-inline: 1.25rem; }
}

/* ---------- Detail bytu ---------- */
.detail { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.detail__plan { position: relative; background: var(--biela); border: 1px solid var(--linka); padding: clamp(1rem, 0.5rem + 2vw, 2.5rem); display: flex; justify-content: center; }
.detail__plan img { width: 100%; height: auto; max-height: min(78vh, 900px); object-fit: contain; mix-blend-mode: multiply; }
.detail__plan img + img:not(.plan__north) { margin-top: var(--sp-5); }
.detail__plan { flex-direction: column; align-items: center; }
.detail__plan .plan__north { width: 56px; height: auto; top: 18px; right: 18px; opacity: 0.85; }
.detail__aside { display: grid; gap: var(--sp-5); }
@media (min-width: 1000px) { .detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.detail__title { font-family: var(--font-text); font-weight: 600; font-size: var(--fs-3xl); line-height: 1; letter-spacing: -0.02em; }
.detail__sub { margin: var(--sp-3) 0 0; font-size: var(--fs-l); color: var(--grafit-2); }
.detail__extra { margin: 0; font-size: var(--fs-s); color: var(--grafit-2); }
.detail__pdf { display: inline-flex; align-items: center; gap: 0.5rem; }
.location-mini { background: var(--biela); border: 1px solid var(--linka); }
.location-mini svg { width: 100%; height: auto; }
.location-mini figcaption { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--linka); font-size: var(--fs-xs); color: var(--grafit-3); }
.notice { padding: var(--sp-4) var(--sp-5); background: var(--piesok-2); border: 1px solid var(--piesok); font-size: var(--fs-s); }
.notice p:last-child { margin: 0; }
.cards { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.flat-tile { display: grid; gap: var(--sp-2); padding: var(--sp-5); background: var(--biela); border: 1px solid var(--linka); text-decoration: none; transition: border-color 0.2s; }
.flat-tile:hover { border-color: var(--bronz); }
.flat-tile strong { font-weight: 600; font-size: var(--fs-xl); letter-spacing: -0.01em; }
.flat-tile span { font-size: var(--fs-s); color: var(--grafit-2); }
.flat-tile b { font-size: var(--fs-l); }

/* Štandard */
.standard { display: grid; gap: var(--sp-5); }
@media (min-width: 600px) { .standard { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .standard { grid-template-columns: repeat(4, 1fr); } }
.standard__item { display: grid; grid-template-rows: auto 1fr auto; gap: var(--sp-3); }
.standard__img { width: 100%; aspect-ratio: 378 / 535; object-fit: cover; background: var(--piesok-2); }
.standard__item h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--grafit-3); font-family: var(--font-text); }
.standard__item p { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: var(--fs-l); line-height: 1.25; }
.tech { border-top: 1px solid var(--linka-2); }
.tech summary { cursor: pointer; padding: var(--sp-5) 0; font-family: var(--font-display); font-size: var(--fs-l); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.tech summary::-webkit-details-marker { display: none; }
.tech summary svg { width: 20px; height: 20px; transition: transform 0.2s; flex: none; }
.tech[open] summary svg { transform: rotate(45deg); }
.tech__body { columns: 2 22rem; column-gap: var(--sp-8); font-size: var(--fs-s); color: var(--grafit-2); padding-bottom: var(--sp-6); }
.tech__body p { break-inside: avoid; }

/* ---------- Galéria ---------- */
.film { position: relative; background: #111; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #111; }
.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item { margin: 0; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--piesok-2); cursor: zoom-in; overflow: hidden; }
.gallery__btn img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__btn:hover img { transform: scale(1.03); }
.gallery { list-style: none; margin: 0; padding: 0; }
.gallery__item--wide { grid-column: span 2; }
@media (min-width: 760px) {
  .gallery__item--wide { grid-row: span 2; }
  .gallery__item--wide .gallery__btn { position: relative; height: 100%; }
  .gallery__item--wide .gallery__btn img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.gallery__cap { margin-top: 0.4rem; font-size: var(--fs-xs); color: var(--grafit-3); }
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(18, 17, 15, 0.97); color: #fff; }
.lightbox::backdrop { background: #000; }
.lightbox__inner { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.75rem 0.5rem 1.25rem; font-size: var(--fs-s); color: #cfc8bd; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 3.5rem; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(0, 0, 0, 0.3); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
.lightbox__cap { padding: 0.75rem 1.25rem 1.25rem; text-align: center; font-size: var(--fs-s); color: #cfc8bd; min-height: 3rem; }
@media (max-width: 600px) { .lightbox__stage { padding: 0; } .lightbox__nav { top: auto; bottom: -3.4rem; transform: none; } }

/* ---------- Financovanie, kontakt, GDPR ---------- */
.banks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6) var(--sp-7); }
.banks img { width: auto; height: auto; max-height: 46px; max-width: 150px; filter: grayscale(1); opacity: 0.75; }
.banks img.banks__main { max-width: 190px; filter: none; opacity: 1; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checklist li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--linka); }
.checklist li::before { content: ""; position: absolute; left: 0.15rem; top: 1.2rem; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--reva); border-bottom: 2px solid var(--reva); transform: rotate(-45deg); }
.adviser { display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-5); align-items: center; padding: var(--sp-5); background: var(--biela); border: 1px solid var(--linka); }
.adviser img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.facts-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--linka-2); }
@media (min-width: 800px) { .facts-row { grid-template-columns: repeat(4, 1fr); } }
.facts-row li { padding: var(--sp-5) var(--sp-4) var(--sp-5) 0; border-bottom: 1px solid var(--linka); }
.facts-row strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-2xl); line-height: 1.05; }
.facts-row span { font-size: var(--fs-s); color: var(--grafit-2); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; }
.docs li { border-top: 1px solid var(--linka); }
.docs a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: 1rem 0; text-decoration: none; }
.docs a:hover .docs__name { text-decoration: underline; }
.docs__name { font-weight: 600; }
.docs__meta { font-size: var(--fs-xs); color: var(--grafit-3); white-space: nowrap; }

/* ---------- Pätička ---------- */
.site-footer { background: var(--grafit); color: #ddd6cb; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) var(--sp-6); font-size: var(--fs-s); }
.site-footer a { color: #f1ede6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--sp-7) var(--sp-6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr 1.2fr 0.8fr 0.9fr; } }
.footer-logo { width: 190px; color: #f1ede6; }
.footer-title { margin: 0 0 var(--sp-3); font-size: var(--fs-xs); font-weight: 600; color: #a9a196; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-agent { display: grid; gap: 0.1rem; margin-bottom: var(--sp-4); }
.footer-agent strong { color: #fff; font-weight: 600; }
.footer-bottom { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); color: #a9a196; font-size: var(--fs-xs); }
.social { display: flex; gap: var(--sp-2); }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.social a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.social svg { width: 18px; height: 18px; }

/* ---------- Pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__video { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__place, .hero__title span, .hero__lead, .hero__actions {
    animation: rise 0.9s var(--ease) both;
  }
  .hero__title span:nth-child(2) { animation-delay: 0.08s; }
  .hero__lead { animation-delay: 0.16s; }
  .hero__actions { animation-delay: 0.24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media print {
  .site-header, .site-footer, .hero__video, .btn, .filters, .plan__rotate { display: none !important; }
  body { background: #fff; }
}

/* Doplnky pätičky a mobilného cenníka */
.footer-about { margin-top: var(--sp-5); max-width: 20em; }
.footer-address { font-style: normal; }
.footer-social { margin-top: var(--sp-5); }
.only-m { display: none; }
@media (max-width: 760px) {
  .only-m { display: inline; }
  .flats__state-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.header-sentinel { position: absolute; top: 80px; left: 0; width: 1px; height: 1px; }
.finance__lead { margin: var(--sp-5) 0 var(--sp-5); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

/* Kompaktné záhlavie pre nástroj výberu bytu */
.page-head--compact { padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, 1rem + 1vw, 2rem); }
.page-head--compact .page-head__title { font-size: var(--fs-2xl); }
.page-head--compact .lead { margin-top: var(--sp-3); }
.prose--legal { max-width: 46em; }
.prose--legal h2 { font-size: var(--fs-l); }
.prose--legal ol, .prose--legal ul { color: var(--grafit-2); padding-left: 1.4em; }

/* Mriežky sa nesmú rozťahovať podľa najširšieho obsahu (tabuľka, pôdorys, rad filtrov) */
.picker, .picker__body, .pricelist, .reel, .offer, .split, .detail { grid-template-columns: minmax(0, 1fr); }
.reel figure, .filters__row > *, .chips { min-width: 0; }
@media (max-width: 760px) { .filters__row { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 760px) { .reel { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .offer { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (min-width: 1000px) {
  .picker__body { grid-template-columns: minmax(0, 1fr) 360px; }
  .detail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (min-width: 1280px) { .picker__body { grid-template-columns: minmax(0, 1fr) 400px; } }

/* Mobilné doladenie výberu bytu */
.sheet__grip .icon-btn { margin-left: auto; }
.standard__item { text-decoration: none; }
.standard__item:hover p { text-decoration: underline; text-underline-offset: 0.2em; }
.plan__hint-touch { display: none; }
@media (max-width: 999px) {
  .floors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; }
  .floors__btn { padding: 0.45rem 0.5rem; min-height: 56px; }
  .floors__btn strong { font-size: 1rem; }
  .floors__btn span { font-size: 0.75rem; }
  .plan__hint-mouse { display: none; }
  .plan__hint-touch { display: inline; }
}
@media (max-width: 760px) {
  .flats { font-size: 0.875rem; }
  .flats th, .flats td { padding: 0.8rem 0.45rem; }
  .flats thead th { font-size: 0.75rem; }
}
.agent > div { min-width: 0; }

/* Dotyk, posúvanie v dialógoch, bezpečné okraje displeja (Web Interface Guidelines) */
a, button, summary, label, .unit, .gallery__btn { touch-action: manipulation; -webkit-tap-highlight-color: rgba(122, 90, 58, 0.15); }
.dialog, .mobile-menu, .lightbox, .sheet { overscroll-behavior: contain; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.sheet__body { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
@media (max-width: 760px) { .dialog__body { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); } }
.h1, .h2, .h3, .section-head .h2 { text-wrap: balance; }
.flat-card__plan { min-height: 254px; align-items: center; }
.flat-card__plan img { height: 230px; max-height: none; width: auto; max-width: 100%; object-fit: contain; }
.sheet .flat-card__plan { min-height: 224px; }
.sheet .flat-card__plan img { height: 200px; }

/* Pozastavenie hero videa (WCAG 2.2.2) */
.hero__pause {
  position: absolute; z-index: 2; right: max(var(--gutter), env(safe-area-inset-right)); top: calc(var(--header-h) + 1rem);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(22, 20, 17, 0.35); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.hero__pause:hover { background: rgba(22, 20, 17, 0.6); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause[hidden] { display: none; }
@media (max-width: 760px) {
  .view__img { height: min(620px, 150vw); }
  .view::after { background: linear-gradient(to top, rgba(22, 20, 17, 0.86) 0%, rgba(22, 20, 17, 0.5) 38%, rgba(22, 20, 17, 0) 62%); }
}

/* ---------- Výber bytu v krokoch: 1. podlažie na fasáde, 2. byt v pôdoryse ---------- */
.step + .step { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.step__title { display: flex; align-items: center; gap: 0.85rem; margin-bottom: var(--sp-5); font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; }
.step__num {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--grafit);
  display: inline-grid; place-items: center; font-family: var(--font-text); font-size: 1rem; font-weight: 600;
}
.facade {
  display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: var(--sp-5);
  padding: clamp(1rem, 0.5rem + 2vw, 2rem) clamp(1rem, 0.5rem + 2vw, 2rem) clamp(0.5rem, 0.3rem + 1vw, 1rem);
  background: linear-gradient(to bottom, #e9ecec 0%, var(--omietka-2) 70%); border: 1px solid var(--linka);
}
.facade__svg { width: 100%; height: auto; overflow: visible; }
.facade__floor { cursor: pointer; outline: none; }
.facade__floor path { fill: var(--bronz); fill-opacity: 0; stroke: var(--bronz-tmavy); stroke-opacity: 0; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill-opacity 0.2s ease, stroke-opacity 0.2s ease; }
.facade__floor:hover path, .facade__floor.is-hover path { fill-opacity: 0.42; stroke-opacity: 0.8; }
.facade__floor.is-active path { fill-opacity: 0.55; stroke-opacity: 1; }
.facade__floor:focus-visible path { fill-opacity: 0.32; stroke: var(--grafit); stroke-opacity: 1; stroke-width: 3; }
.facade__labels { position: relative; list-style: none; margin: 0; padding: 0; }
.facade__label {
  position: absolute; left: 0; right: 0; transform: translateY(-50%);
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem;
  padding: 0.3rem 0 0.3rem 0.9rem; border-left: 2px solid var(--linka-2); cursor: pointer;
  font-size: var(--fs-s); color: var(--grafit-2); transition: color 0.2s, border-color 0.2s;
}
.facade__label strong { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; color: var(--grafit); }
.facade__label.is-hover, .facade__label.is-active { border-left-color: var(--bronz); color: var(--bronz-tmavy); }
.facade__label.is-active strong { color: var(--bronz-tmavy); }
.facade__label--5 { top: 10.8%; }
.facade__label--4 { top: 28.5%; }
.facade__label--3 { top: 43.1%; }
.facade__label--2 { top: 57.4%; }
.facade__label--1 { top: 70.4%; }
@media (max-width: 999px) { .facade { grid-template-columns: minmax(0, 1fr) 150px; gap: var(--sp-3); } .facade__label { font-size: 0.8125rem; padding-left: 0.6rem; } }
.facade__frame { min-width: 0; }
/* Mobil: fasáda je viditeľná hneď, bez rozkliknutia. Ukazuje väčší stred bytového domu,
   aby sa podlažia dali pohodlne ťuknúť; názvy podlaží sú na fasáde vpravo, počty voľných bytov
   sú hneď pod fasádou na tlačidlách podlaží. */
@media (max-width: 760px) {
  .step__title { font-size: var(--fs-l); }
  .facade { display: block; position: relative; padding: 0.75rem 0 0.5rem; }
  .facade__frame { overflow: hidden; }
  .facade__svg { width: 150%; max-width: none; margin-left: -25%; }
  .facade__labels { position: absolute; top: 0.75rem; bottom: 0.5rem; right: 0.5rem; width: 0; }
  .facade__label {
    left: auto; right: 0; display: block; white-space: nowrap; padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.92); border-left-width: 3px; line-height: 1.2; box-shadow: 0 1px 4px rgba(22, 20, 17, 0.14);
  }
  .facade__label strong { font-size: 0.875rem; }
  .facade__label span { display: none; }
  .facade__label.is-active { background: var(--grafit); border-left-color: var(--bronz); }
  .facade__label.is-active strong { color: #fff; }
}

/* Značka „otočte telefón“: pôdorys je širší ako displej na výšku */
.plan__rotate { display: none; }
@media (max-width: 719px) and (orientation: portrait) {
  .plan__rotate {
    display: flex; align-items: center; gap: 0.7rem; margin: 0; padding: 0.65rem var(--sp-4);
    border-bottom: 1px solid var(--linka); background: var(--piesok-2); font-size: var(--fs-xs); font-weight: 600; color: var(--grafit-2);
  }
  .plan__rotate svg { flex: none; width: 1.75rem; height: 1.75rem; color: var(--bronz-tmavy); }
}
@media (max-width: 719px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .plan__rotate svg { animation: rotate-hint 3s var(--ease) infinite; }
}
@keyframes rotate-hint {
  0%, 20% { transform: rotate(-90deg); }
  45%, 85% { transform: rotate(0deg); }
  100% { transform: rotate(-90deg); }
}

/* ---------- Hero na desktope na celú výšku ---------- */
@media (min-width: 1000px) {
  .hero { height: 100svh; min-height: 680px; max-height: 1280px; }
  :root { --fs-hero: clamp(3.5rem, 1rem + 6.6vw, 9rem); }
  .hero__content { padding-bottom: clamp(2rem, 1rem + 3vw, 3.75rem); }
}

/* ---------- Časté otázky ---------- */
.faq-group { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.faq-group > .h3 { margin-bottom: var(--sp-4); }
.faq { border-top: 1px solid var(--linka-2); max-width: 54rem; }
.faq__item { border-bottom: 1px solid var(--linka); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 1.1rem 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; flex: none; color: var(--bronz); transition: transform 0.2s var(--ease); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__q { font-family: var(--font-text); font-size: var(--fs-m); font-weight: 600; line-height: 1.4; }
.faq__item summary:hover .faq__q { color: var(--bronz-tmavy); }
.faq__a { padding: 0 2.5rem 1.25rem 0; color: var(--grafit-2); max-width: 46em; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Cookies ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--biela); border-top: 1px solid var(--linka-2); box-shadow: 0 -12px 40px -20px rgba(51, 48, 43, 0.35);
  padding-block: var(--sp-4) max(var(--sp-4), env(safe-area-inset-bottom));
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-6); }
.cookie-bar__text { margin: 0; flex: 1 1 32rem; font-size: var(--fs-s); color: var(--grafit-2); }
.cookie-bar__text strong { color: var(--grafit); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 600px) {
  .cookie-bar__text { font-size: 0.8125rem; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1 1 auto; padding: 0 0.6rem; }
}
.cookie-cats { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.cookie-cats li { padding: var(--sp-4) 0; border-top: 1px solid var(--linka); }
.cookie-cats p { margin: var(--sp-2) 0 0; font-size: var(--fs-s); color: var(--grafit-2); }
.cookie-cats .switch { font-weight: 600; }
.switch input:disabled + .switch__track { opacity: 0.55; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer-cookie-btn { border: 0; background: none; padding: 0; color: #f1ede6; font: inherit; cursor: pointer; }
.footer-cookie-btn:hover { text-decoration: underline; }
.cookie-table td, .cookie-table th { white-space: normal; }
.cookie-bar__text { max-width: 75ch; }
.offer__item picture + .offer__cap { margin: calc(var(--sp-5) * -1 + var(--sp-2)) 0 0; font-size: var(--fs-xs); color: var(--grafit-3); }

/* ---------- Prémiové byty (/exkluzivne-byty/) ---------- */
.premium-hero { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) clamp(1rem, 0.5rem + 2vw, 2.5rem); }
@media (min-width: 1000px) { .premium-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.premium-hero__media { margin: 0; }
.premium-hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.premium-hero__facts { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linka-2); }
.premium-hero__facts li { padding: var(--sp-4) var(--sp-3) 0 0; font-size: var(--fs-s); color: var(--grafit-2); line-height: 1.35; }
.premium-hero__facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); color: var(--grafit); line-height: 1.1; margin-bottom: 0.2rem; }
.premium-list { display: grid; gap: var(--sp-6); }
.premium { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); padding: clamp(1rem, 0.5rem + 2vw, 2rem); background: var(--biela); border: 1px solid var(--linka); scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (min-width: 900px) { .premium { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.premium__plan { position: relative; display: flex; justify-content: center; align-items: center; min-height: 160px; background: var(--omietka); padding: var(--sp-4); }
.premium__plan img:not(.plan__north) { width: 100%; height: auto; max-height: 640px; object-fit: contain; mix-blend-mode: multiply; }
.premium__plan .plan__north { width: 48px; height: auto; top: 14px; right: 14px; opacity: 0.85; }
.premium__noplan { margin: 0; color: var(--grafit-3); font-size: var(--fs-s); }
.premium__info { display: grid; gap: var(--sp-4); }
.premium__title { font-family: var(--font-text); font-weight: 600; font-size: var(--fs-xl); letter-spacing: -0.01em; }
.premium__info .detail__sub { margin: 0; font-size: var(--fs-m); }
.premium--sold { background: transparent; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .premium--sold { grid-template-columns: minmax(0, 1fr); } }
.premium--sold .premium__info { max-width: 40rem; }
.premium--sold .premium__title, .premium--sold .params dd { color: var(--grafit-2); }
.premium--sold .status { padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--omietka-2); color: var(--grafit-2); }
.place__figure .premium__viz { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 600px) { .premium-hero__facts strong { font-size: var(--fs-l); } }

/* ---------- Zlaté pulzujúce tlačidlo (prémiové byty) ----------
   Zlatá vychádza z prémiového tlačidla starého webu (#ffc10b), stlmená do kovového tónu. */
:root { --zlata-svetla: #f7d47c; --zlata: #e9b032; --zlata-tmava: #c98f17; }
.btn--gold {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, var(--zlata-svetla) 0%, var(--zlata) 48%, var(--zlata-tmava) 100%);
  color: var(--grafit); border-color: var(--zlata-tmava);
  box-shadow: 0 6px 22px -10px rgba(201, 143, 23, 0.9);
}
.btn--gold:hover { background: linear-gradient(135deg, #fadf98 0%, #efbb45 48%, #d59a1c 100%); color: #1f1d1a; }
.btn--gold:focus-visible { outline-color: var(--zlata-tmava); }
.hero .btn--gold:focus-visible { outline-color: #fff; }
.btn--pulse::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none;
  border: 3px solid var(--zlata);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--pulse::after { animation: gold-pulse 2s cubic-bezier(0.2, 0.6, 0.35, 1) infinite; }
  .btn--pulse:hover::after, .btn--pulse:focus-visible::after { animation-play-state: paused; opacity: 0; }
}
@keyframes gold-pulse {
  0% { transform: scale(1); opacity: 1; }
  65% { transform: scale(1.16, 1.6); opacity: 0; }
  100% { transform: scale(1.16, 1.6); opacity: 0; }
}
@media (max-width: 760px) { .hero__actions .btn--gold { flex-basis: 100%; } }

/* ---------- Odkazy v texte (prepojenie podstránok) ---------- */
.lead a:not(.btn):not(.link), .prose a:not(.btn):not(.link), .faq__a a, .offer__note a, .detail__extra a,
.price__note a, .table-group__note a:not(.link), .muted a, .figcap a, .hero__facts a {
  color: var(--bronz-tmavy); text-decoration: underline; text-decoration-color: rgba(122, 90, 58, 0.4);
  text-underline-offset: 0.18em; text-decoration-thickness: 1px; font-weight: 500;
  transition: text-decoration-color 0.15s, color 0.15s;
}
.lead a:not(.btn):not(.link):hover, .prose a:not(.btn):not(.link):hover, .faq__a a:hover, .offer__note a:hover,
.detail__extra a:hover, .price__note a:hover, .table-group__note a:not(.link):hover, .muted a:hover, .figcap a:hover {
  color: var(--bronz); text-decoration-color: currentColor;
}
.section--dark .lead a:not(.btn):not(.link) { color: var(--bronz-svetly); }
.link--light { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.link--light:hover { text-decoration-color: #fff; }
.view__text .link--light { margin-top: var(--sp-4); font-size: var(--fs-s); }
.specs h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--linka-2); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.specs h3 a:hover { color: var(--bronz-tmavy); text-decoration-color: currentColor; }

/* ---------- Kam ďalej ---------- */
.next { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.next__title { margin-bottom: var(--sp-4); font-family: var(--font-text); font-size: var(--fs-s); font-weight: 600; color: var(--grafit-2); }
.next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--sp-6); border-top: 1px solid var(--linka-2); }
@media (min-width: 760px) { .next__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next__link {
  position: relative; display: grid; gap: 0.25rem; padding: var(--sp-5) 2.5rem var(--sp-5) 0;
  border-bottom: 1px solid var(--linka); text-decoration: none; color: var(--grafit);
}
.next__name { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; }
.next__desc { font-size: var(--fs-s); color: var(--grafit-2); }
.next__arrow { position: absolute; right: 0.25rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--bronz); transition: transform 0.2s var(--ease); }
.next__link:hover .next__name { color: var(--bronz-tmavy); }
.next__link:hover .next__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .next__link:hover .next__arrow { transform: none; } }

/* ---------- Časté otázky: rýchly obsah a kotvy ---------- */
.toc { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.95rem; border: 1px solid var(--linka-2); border-radius: 999px; font-size: var(--fs-s); text-decoration: none; }
.toc a:hover { border-color: var(--grafit); }
.faq__item, .faq-group > .h3, .gallery + *, [id$="-title"] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq__item:target { background: linear-gradient(to right, var(--piesok-2), transparent 70%); }
.flat-card__type a { color: var(--bronz-tmavy); text-decoration: underline; text-underline-offset: 0.18em; }
/* tlačidlo na celú šírku mobilu: pulz sa nesmie rozšíriť za okraj obrazovky */
@keyframes gold-pulse-wide {
  0% { transform: scale(1); opacity: 1; }
  65% { transform: scale(1.025, 1.6); opacity: 0; }
  100% { transform: scale(1.025, 1.6); opacity: 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero__actions .btn--pulse::after { animation-name: gold-pulse-wide; }
}
.place__facts a { color: inherit; text-decoration: underline; text-decoration-color: var(--linka-2); text-underline-offset: 0.18em; }
.place__facts a:hover { color: var(--bronz-tmavy); text-decoration-color: currentColor; }

/* ---------- Prémiový byt v pôdoryse: zlaté jemné pulzovanie ---------- */
.dot--premium { background: linear-gradient(135deg, var(--zlata-svetla), var(--zlata-tmava)); box-shadow: 0 0 0 2px rgba(233, 176, 50, 0.25); }
.floors__btn .dot--premium { margin-left: 0.4rem; vertical-align: 0.15em; }
.unit--premium .unit__shape { fill: var(--zlata); fill-opacity: 0.3; stroke: var(--zlata-tmava); stroke-opacity: 1; stroke-width: 3; }
.unit__glow { fill: none; stroke: var(--zlata); stroke-width: 12; stroke-opacity: 0; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.unit__badge { font-family: var(--font-text); font-size: 15px; font-weight: 700; fill: #8a5e0b; paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 4px; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.unit--premium:hover .unit__shape, .unit--premium.is-hover .unit__shape { fill: var(--zlata); fill-opacity: 0.5; stroke: var(--zlata-tmava); }
.unit--premium.is-active .unit__shape { fill: var(--zlata); fill-opacity: 0.6; stroke: #a8740c; stroke-width: 3.5; }
.unit--premium.is-active .unit__label { fill: var(--grafit); stroke: rgba(255, 255, 255, 0.92); }
@media (prefers-reduced-motion: no-preference) {
  .unit--premium .unit__glow { animation: premium-glow 2.6s ease-in-out infinite; }
  .unit--premium .unit__shape { animation: premium-fill 2.6s ease-in-out infinite; }
  .unit--premium:hover .unit__shape, .unit--premium.is-hover .unit__shape, .unit--premium.is-active .unit__shape { animation: none; }
}
@keyframes premium-glow { 0%, 100% { stroke-opacity: 0; } 50% { stroke-opacity: 0.5; } }
@keyframes premium-fill { 0%, 100% { fill-opacity: 0.22; } 50% { fill-opacity: 0.42; } }

/* ---------- Parkovanie pri byte a holobyt ---------- */
.addon { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0; padding: 0.9rem 1rem; background: var(--piesok-2); border: 1px solid var(--piesok); font-size: var(--fs-s); line-height: 1.5; color: var(--grafit); }
.addon__icon { flex: none; width: 28px; height: 28px; color: var(--bronz); margin-top: 0.05rem; }
.addon a { color: var(--bronz-tmavy); text-decoration: underline; text-underline-offset: 0.18em; font-weight: 500; white-space: nowrap; }
.detail__aside .addon, .premium__info .addon { font-size: var(--fs-m); }
.notice--holobyt { background: #f8efd9; border-color: #ead7a8; }
.notice--holobyt strong { color: #7a5308; }

/* ---------- Úvod: pre rodiny s deťmi ---------- */
.family { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .family { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.family__figure { margin: 0; }
@media (max-width: 899px) { .family__figure { order: 1; } }
.family__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.family__list { list-style: none; margin: var(--sp-6) 0 0; padding: 0; border-top: 1px solid var(--linka-2); }
.family__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-4); row-gap: 0.15rem; align-items: center;
  padding: 1rem 0.25rem; border-bottom: 1px solid var(--linka-2); color: inherit; text-decoration: none;
}
.family__name { font-family: var(--font-display); font-size: var(--fs-l); line-height: 1.25; transition: color 0.2s var(--ease); }
.family__meta { grid-column: 1; font-size: var(--fs-s); color: var(--grafit-2); font-variant-numeric: tabular-nums; }
.family__item svg { grid-column: 2; grid-row: 1 / span 2; width: 1.15rem; height: 1.15rem; color: var(--bronz-tmavy); transition: transform 0.2s var(--ease); }
.family__item:hover .family__name { color: var(--bronz-tmavy); }
.family__item:hover svg { transform: translateX(4px); }

/* ---------- Štandard: čo je v byte hotové ---------- */
.standard__intro { display: grid; align-content: start; gap: var(--sp-4); }
.standard__intro h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); line-height: 1.2; }
.standard__intro .small { margin: 0; }
.standard__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linka); }
.standard__list li { position: relative; padding: 0.65rem 0 0.65rem 1.75rem; border-bottom: 1px solid var(--linka); font-size: var(--fs-s); }
.standard__list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1rem; width: 0.75rem; height: 0.4rem;
  border-left: 2px solid var(--bronz); border-bottom: 2px solid var(--bronz); transform: rotate(-45deg);
}
@media (min-width: 600px) { .standard__intro { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .standard__intro { grid-column: span 2; padding-right: var(--sp-6); } }
.notice a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.notice a:hover { color: var(--bronz-tmavy); }

/* ---------- Kontaktný formulár (stránka Kontakt a okno „Mám záujem“) ---------- */
.kform form { display: grid; gap: var(--sp-4); }
.kform__row { display: grid; gap: var(--sp-4); }
@media (min-width: 600px) { .kform__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field label { font-size: var(--fs-s); font-weight: 600; }
.field__req { color: var(--bronz); }
.field__opt { font-weight: 400; color: var(--grafit-3); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1px solid var(--linka-2); border-radius: var(--radius);
  background: var(--biela); color: var(--grafit); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a847b; }
.field input:hover, .field textarea:hover { border-color: var(--grafit-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bronz); box-shadow: 0 0 0 3px rgba(122, 90, 58, 0.2); }
.field [aria-invalid="true"] { border-color: #a3402f; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 64, 47, 0.18); }
.field__err { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: #a3402f; }
.kform__subject { margin: 0; padding: 0.6rem 0.85rem; background: var(--piesok-2); border-left: 3px solid var(--bronz); font-size: var(--fs-s); }
.kform__note { margin: 0; font-size: var(--fs-xs); color: var(--grafit-3); }
.kform__note a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.kform__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.kform__foot .btn[disabled] { opacity: 0.6; cursor: progress; }
.kform__status { margin: 0; font-size: var(--fs-s); color: var(--grafit-2); }
.kform__status:empty { display: none; }
.kform__status.is-error { color: #a3402f; font-weight: 600; }
/* hidden musí platiť aj pre prvky s vlastným display (formulár, hlásenia) */
.kform [hidden] { display: none; }
/* potvrdenie o odoslaní a hlásenie chyby s ponukou zavolať maklérovi */
.kform__done, .kform__alert {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); align-items: start;
  padding: var(--sp-5); background: var(--biela); border: 1px solid var(--linka); outline: none;
}
.kform__done { border-left: 3px solid var(--reva); }
.kform__alert { border-left: 3px solid #a3402f; background: #fbf4f2; border-color: #ecd3cd; }
.kform__icon { width: 1.75rem; height: 1.75rem; color: var(--reva); }
.kform__alert .kform__icon { color: #a3402f; }
.kform__done p, .kform__alert p { margin: 0; }
.kform__done .kform__done-title { margin-bottom: 0.3rem; font-family: var(--font-display); font-size: var(--fs-l); }
.kform__alert .kform__alert-title { margin-bottom: 0.25rem; font-weight: 700; color: #7d2f22; }
.kform__calls { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: 0.35rem; }
.kform__calls a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; min-height: 40px; font-size: var(--fs-s); text-decoration: none; color: var(--grafit); }
.kform__calls a > span, .kform__calls a > strong { white-space: nowrap; }
.kform__calls a:hover strong { text-decoration: underline; }
.kform__calls svg { width: 18px; height: 18px; flex: none; color: var(--bronz); }
.kform__done .kform__done-more { margin-top: var(--sp-3); }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; font-size: var(--fs-s); font-weight: 600; color: var(--bronz-tmavy); text-decoration: underline; text-underline-offset: 0.18em; }
.link-btn:hover { color: var(--grafit); }
.section--sand .kform form, .section--sand .kform__done { background: var(--biela); }
.section--sand .kform form { padding: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); border: 1px solid var(--linka); }
.dialog__subhead { margin: var(--sp-6) 0 var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--linka); font-family: var(--font-text); font-size: var(--fs-s); font-weight: 600; color: var(--grafit-2); }
/* Cloudflare Turnstile: bez potreby potvrdenia je widget mimo toku formulára (žiadna medzera navyše) */
.kform__captcha { position: absolute; }
.kform__captcha.is-visible { position: static; }
