/* ═══════════════════════════════════════════════════════════
   BRONZE RESIDENCE — štýl podľa studio-foundry.sujen.co
   (teplý papier, obrí Bodoni), ale fotky idú ako celé obdĺžniky,
   nie ako útržky. Písma mimo hlavných nadpisov = ako
   jakubchovanec.sk: Arimo (sans) + Newsreader (serif).
   ═══════════════════════════════════════════════════════════ */

/* ─── písma (self-host: Arimo, Newsreader, Bodoni Moda variable) ─── */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/bodoni-latin-ext.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/bodoni-latin.woff2) format('woff2');
  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: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/arimo-1.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/arimo-2.woff2) format('woff2');
  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: 'Arimo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/arimo-3.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/arimo-4.woff2) format('woff2');
  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: 'Arimo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/arimo-5.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/arimo-6.woff2) format('woff2');
  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: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/arimo-7.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/arimo-8.woff2) format('woff2');
  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: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-9.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-10.woff2) format('woff2');
  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: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-11.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-12.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-13.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-14.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-15.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-16.woff2) format('woff2');
  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: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/newsreader-17.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/newsreader-18.woff2) format('woff2');
  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;
}


:root {
  --paper: #f3f0ea;
  --paper-2: #ebe6de;
  --ink: #1a1917;
  --ink-2: #5d5a54;
  --ink-3: #8d8983;
  --line: rgba(26, 25, 23, 0.14);
  --bronze: #a5713a;
  --bronze-text: #8a5c2b;
  --dark: #1b1b1a;
  --zelena: #6f9a4f;
  --tint-1: #e8dfd3;
  --tint-2: #ece2da;
  --tint-3: #e1e6d9;
  --tint-4: #e5e1d9;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Arimo", "Helvetica Neue", Arial, sans-serif;

  --okraj: clamp(20px, 4.2vw, 64px);
  --wrap: 1480px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hlava: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hlava); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: min(100% - 2 * var(--okraj), var(--wrap)); margin-inline: auto; }

/* ─── typografia ─── */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "opsz" 96;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
  font-size: clamp(56px, 11.5vw, 196px);
}
.display em { font-style: normal; font-weight: 400; margin-inline: 0.04em; color: var(--bronze-text); }
.display .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.display .ln > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.display.in .ln > span, .display.is-ready .ln > span { transform: none; }
.display .ln:nth-child(2) > span { transition-delay: 0.1s; }

/* štítky: Arimo, malé, riedené (namiesto monospace z referencie) */
.meta-row, .section-label, .status {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(20px, 3vw, 48px);
  color: var(--ink-2);
}
.section-label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: clamp(28px, 4vw, 56px);
  color: var(--ink-2);
}
.section-label i { width: 7px; height: 7px; background: var(--bronze); transform: rotate(45deg); }

.big {
  max-width: 26ch;
  margin-inline: auto;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.big-left {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

/* ─── tlačidlá: pilulky, výplň sa vysúva zdola, ikona v krúžku ─── */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 14px 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.35s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--bronze);
  transform: translateY(102%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(165, 113, 58, 0.6); }
.btn:active { transform: translateY(0); }
.btn .btn-plus, .btn .btn-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.5s var(--ease), background 0.35s;
}
.btn:hover .btn-plus { transform: rotate(90deg); background: rgba(255, 255, 255, 0.24); }
.btn:hover .btn-arrow { transform: translateX(3px); background: rgba(255, 255, 255, 0.24); }
.btn:not(:has(.btn-plus, .btn-arrow)) { padding-right: 24px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.4);
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.45); }
.btn-ghost .btn-arrow { background: rgba(26, 25, 23, 0.08); }
.btn-ghost:hover .btn-arrow { background: rgba(255, 255, 255, 0.2); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn[disabled]::before { transform: translateY(102%); }

/* ─── preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  transition: transform 0.9s var(--ease);
}
.preloader.is-done { transform: translateY(-101%); }
.preloader { grid-auto-rows: max-content; align-content: center; gap: 22px; }
.preloader-mark { width: 72px; height: 72px; color: var(--bronze); }
.preloader-mark path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1s var(--ease) forwards; }
.preloader-mark .pl-b { animation-delay: 0.3s; }
.preloader-word { font-family: var(--display); font-weight: 900; font-variation-settings: "opsz" 96; font-size: clamp(28px, 4vw, 48px); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); opacity: 0; animation: fadeIn 0.7s var(--ease) 0.15s forwards; }
.preloader-word em { font-style: normal; color: var(--bronze-text); }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ─── hlavička: fixná, vždy viditeľná, menu vpravo hore ─── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--hlava);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--okraj);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.4s, box-shadow 0.4s;
}
.topbar.is-scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 11px; height: 11px; background: var(--bronze); transform: rotate(45deg); flex: 0 0 auto; box-shadow: inset 0 0 0 2.5px var(--paper); outline: 1.5px solid var(--bronze); }
.brand em, .brand-text em { font-style: normal; color: var(--bronze-text); }
.topnav { display: flex; gap: 22px; }
.topnav a { color: var(--ink-2); transition: color 0.3s; }
.topnav a:hover, .topnav a.is-active { color: var(--ink); }
.topbar-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
/* nad hero videom je hlavička svetlá, po odscrolovaní tmavá na papieri */
.topbar.is-light { color: var(--paper); }
.topbar.is-light .topnav a { color: rgba(243, 240, 234, 0.72); }
.topbar.is-light .topnav a:hover, .topbar.is-light .topnav a.is-active { color: #fff; }
.topbar.is-light .brand em { color: #d8b07a; }
.topbar.is-light .brand-mark { box-shadow: inset 0 0 0 2.5px transparent; background: #d8b07a; outline-color: #d8b07a; }
.topbar.is-light .menu-pill { color: var(--paper); }
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .topbar-tel { display: none; }
}

/* hamburger: len tri čierne čiary, bez pozadia */
.menu-pill {
  position: relative;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.menu-pill-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.burger { width: 26px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.burger i { display: block; width: 100%; height: 2px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s, width 0.3s var(--ease); transform-origin: center; }
.menu-pill:hover .burger i:nth-child(2) { width: 70%; }
.menu-pill[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-pill[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-pill[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
body.is-locked .menu-pill { color: var(--paper); }

/* overlay sa otvára kruhom od tlačidla v pravom hornom rohu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--dark);
  color: var(--paper);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--hlava) + 20px) var(--okraj) 50px;
  clip-path: circle(0 at calc(100% - var(--okraj) - 40px) 36px);
  transition: clip-path 0.8s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--okraj) - 40px) 36px); }
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; justify-content: center; gap: 0.1em; }
.menu-links a {
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "opsz" 96;
  text-transform: uppercase;
  font-size: clamp(36px, 7vw, 100px);
  line-height: 0.95;
  padding-left: 0.6em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
  transition-delay: calc(0.15s + var(--n, 0) * 0.06s);
}
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu-links a::before {
  content: attr(data-i);
  position: absolute;
  left: 0;
  top: 0.35em;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bronze);
}
.menu-links a:hover { color: var(--bronze); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(243, 240, 234, 0.7); }
.menu-foot a:hover { color: #fff; }
body.is-locked .topbar { background: transparent; box-shadow: none; backdrop-filter: none; }
body.is-locked .topbar .brand, body.is-locked .topbar .topnav a, body.is-locked .topbar .topbar-tel { color: var(--paper); }

/* ─── reveal ─── */
/* nadpisy sa odhaľujú po slovách (JS ich rozdelí do .w) */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.045s); }
.split.in .w > span { transform: none; }
/* deti so staggerom: nabiehajú jedno po druhom */
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
[data-stagger].in > * { opacity: 1; transform: none; }
.benefits[data-stagger] > * { transform: translateY(36px); transition-duration: 1s; }
/* fotka v karte sa jemne dotiahne zo scale 1.1, karta ako celok nabieha naraz */
.benefit img { transform: scale(1.1); transition: transform 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.benefits.in .benefit img { transform: scale(1); }
.section-label { position: relative; }
.section-label::after { content: ""; flex: 1; height: 1px; margin-left: 14px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.section-label.in::after { transform: scaleX(1); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.big.split, .big-left.split { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
/* clip-path ide na <img>, nie na figure — orezaný prvok Chrome nehlási
   IntersectionObserveru ako viditeľný a reveal by sa nikdy nespustil */
.reveal-img { overflow: hidden; }
.reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.06); transition: clip-path 0.8s var(--ease), transform 1.1s var(--ease); }
.reveal-img.in img { clip-path: inset(0); transform: none; }

.panel {
  width: min(100% - 2 * var(--okraj), var(--wrap));
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.panel img { width: 100%; height: auto; object-fit: cover; }

/* ═══ 01 · HERO — video cez celú obrazovku, text NA videu ═══ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--hlava) + 40px) 0 clamp(110px, 16vh, 160px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media {
  position: absolute;
  inset: 0;
  transform: translateY(var(--py, 0)) scale(1.08);
  animation: heroIn 2.4s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroIn { to { transform: translateY(var(--py, 0)) scale(1.04); } }
.hero-img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
/* tmavé scrimy hore (hlavička) a dole (nadpis), aby bol text čitateľný */
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 28%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 100%);
}
.hero-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 40%, rgba(0, 0, 0, 0) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: clamp(40px, 12.6vw, 220px); text-shadow: 0 6px 40px rgba(0, 0, 0, 0.25); }
.hero-meta { margin-top: clamp(16px, 2vw, 30px); color: rgba(255, 255, 255, 0.8); }
.hero-note {
  position: absolute;
  left: var(--okraj);
  bottom: clamp(24px, 4vh, 44px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero .btn { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.7); }
@media (max-width: 700px) {
  :root { --hlava: 60px; --radius: 12px; }
  .hero { min-height: 100svh; padding-bottom: 150px; }
  .hero-title { font-size: 12.4vw; }
  .meta-row { flex-direction: column; gap: 6px; }
  .unit-head .display { font-size: 13.5vw; }
  .hero-note { left: var(--okraj); right: var(--okraj); bottom: 20px; flex-direction: column; }
  .hero-note .btn { justify-content: space-between; width: 100%; }
  .btn { height: 48px; }
  .benefit-word { font-size: 12.5vw; }
  .unit { padding: 48px 0 56px; margin-top: 24px; }
  .gallery figure { width: 82vw; aspect-ratio: 4 / 3; }
  .lead-form { padding: 18px; }
  .contact { padding-top: 80px; }
  .steps li { padding: 20px 0; }
  .loc-list li, .unit-facts li { font-size: 14px; }
  .lb-close { top: 8px; }
  .lb-nav { width: 44px; height: 44px; font-size: 30px; }
}

/* ═══ 02 · PREČO TU ═══ */
.why { padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 6vw, 90px); }
.why .big { margin: clamp(28px, 4vw, 56px) auto clamp(40px, 6vw, 96px); }
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 28px);
}
.benefit {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.benefit img { width: 100%; height: 100%; object-fit: cover; }
.benefit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}
.benefit figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: clamp(18px, 2.4vw, 34px);
  color: #fff;
}
.benefit-word {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "opsz" 96;
  text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.benefit figcaption p { max-width: 40ch; margin-top: 12px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
@media (max-width: 800px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit { aspect-ratio: 4 / 5; }
}

.numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 96px);
}
.numbers > div { padding: 22px 8px 22px 0; border-right: 1px solid var(--line); }
.numbers > div:last-child { border-right: 0; }
.numbers > div + div { padding-left: 22px; }
.numbers dt { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.numbers dd { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; }
.numbers dd small { font-family: var(--sans); font-size: 0.42em; color: var(--ink-2); margin-left: 4px; }
@media (max-width: 800px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .numbers > div:last-child { border-bottom: 0; }
}

/* sekcie pod ohybom sa nevykresľujú, kým nie sú blízko — rýchlejší prvý render */
.unit, .standard, .timeline, .location, .contact, .foot { content-visibility: auto; contain-intrinsic-size: auto 1200px; }

/* ═══ 03 · DOMY ═══ */
.units { padding-top: clamp(20px, 4vw, 60px); }
.unit { padding: clamp(60px, 8vw, 130px) 0 clamp(60px, 8vw, 120px); margin-top: clamp(28px, 4vw, 56px); }
.unit.tint-1 { background: var(--tint-1); }
.unit.tint-2 { background: var(--tint-2); }
.unit.tint-3 { background: var(--tint-3); }
.unit.tint-4 { background: var(--tint-4); }
.unit-head .display { font-size: clamp(56px, 11.5vw, 196px); }
.status { color: var(--ink); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3f9a5a; margin-right: 8px; vertical-align: 1px; }
.status.is-reserved::before { background: #d39b3d; }
.status.is-sold::before { background: #b23a3a; }

/* galéria: vodorovný pás fotiek, posúva sa prstom aj kolieskom, klik = lightbox */
.gallery {
  display: flex;
  gap: clamp(10px, 1.4vw, 20px);
  margin-top: clamp(32px, 5vw, 72px);
  /* pás vychádza von zo sekcie až po okraj okna, nech je cítiť, že pokračuje */
  margin-inline: calc(-1 * var(--okraj));
  padding-inline: var(--okraj);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery.reveal { opacity: 1; transform: none; }
.gallery figure {
  flex: 0 0 auto;
  width: min(54vw, 860px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  scroll-snap-align: start;
  scroll-margin-left: var(--okraj);
  position: relative;
}
.gallery figure { opacity: 0; transform: translateX(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.1s); }
.gallery.in figure { opacity: 1; transform: none; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure.is-plan { background: #fff; }
.gallery figure.is-plan img { object-fit: contain; padding: clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px) 40px; }
.gallery figure.is-plan figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 900px) { .gallery figure { width: 84vw; } }
.gallery-bar { display: flex; align-items: center; gap: 20px; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.g-count { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-3); min-width: 74px; }
.g-count b { font-weight: 400; color: var(--ink); }
.g-hint { flex: 1; }
.g-nav { display: flex; gap: 8px; }
.g-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); color: var(--ink); font-size: 18px; display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.g-nav button:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
@media (max-width: 700px) { .g-hint { display: none; } }

.unit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 96px);
  margin-top: clamp(32px, 5vw, 72px);
}
.price { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.01em; }
.price small { display: block; margin-top: 10px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.unit-facts ul { margin-top: 28px; border-top: 1px solid var(--line); }
.unit-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.unit-facts li span:last-child { color: var(--ink-3); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: right; }
@media (max-width: 900px) { .unit-grid { grid-template-columns: 1fr; } }

/* ─── formulár ─── */
.lead-form {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 34px);
  display: grid;
  gap: 14px;
  align-content: start;
}
.lead-form h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.01em; }
.lead-sub { color: var(--ink-2); font-size: 14px; margin-top: -4px; }
.lead-form label { display: grid; gap: 6px; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form label > span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.lead-form label > span small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.lead-form textarea { resize: vertical; min-height: 56px; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26, 25, 23, 0.08); }
.lead-form input.is-invalid { border-color: #b23a3a; }
.lead-form .btn { justify-self: start; margin-top: 4px; }
.form-msg { font-size: 14px; }
.form-msg.is-error { color: #b23a3a; }
.form-msg.is-ok { color: #2f7a46; }
.form-legal { font-size: 12px; color: var(--ink-3); }
.lead-form.is-sent label, .lead-form.is-sent .btn, .lead-form.is-sent .form-legal, .lead-form.is-sent .lead-sub, .lead-form.is-sent h3:not(.form-done h3), .lead-form.is-sent .form-msg { display: none; }
/* poďakovanie po odoslaní */
.form-done { display: grid; justify-items: center; text-align: center; padding: clamp(16px, 3vw, 40px) 0 clamp(8px, 2vw, 20px); opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.form-done.in { opacity: 1; transform: none; }
.fd-check { width: 72px; height: 72px; color: var(--bronze-text); margin-bottom: 18px; }
.fd-ring { stroke-dasharray: 190; stroke-dashoffset: 190; }
.fd-tick { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-done.in .fd-ring { animation: fdDraw 0.9s var(--ease) 0.1s forwards; }
.form-done.in .fd-tick { animation: fdDraw 0.5s var(--ease) 0.75s forwards; }
@keyframes fdDraw { to { stroke-dashoffset: 0; } }
.form-done h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.form-done p { margin-top: 10px; max-width: 34ch; color: var(--ink-2); font-size: 15px; }
.form-done a { border-bottom: 1px solid var(--line); }

/* ═══ 04 · TECHNIKÁLIE (tmavá) ═══ */
.dark { background: var(--dark); color: var(--paper); }
.standard { margin-top: clamp(28px, 4vw, 56px); padding: 0 0 clamp(60px, 9vw, 140px); }
.standard .section-label { color: rgba(243, 240, 234, 0.6); padding-top: clamp(48px, 6vw, 90px); }
.dark-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; margin-top: clamp(28px, 4vw, 56px); }
.spec-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(243, 240, 234, 0.14); font-size: clamp(16px, 1.4vw, 20px); color: rgba(243, 240, 234, 0.82); transition: color 0.3s; }
.spec-list li:first-child { border-top: 1px solid rgba(243, 240, 234, 0.14); }
.spec-list li:hover { color: #fff; }
.spec-list li span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--bronze); padding-top: 0.45em; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vw, 96px);
  border-top: 1px solid rgba(243, 240, 234, 0.14);
}
.tech-grid > div { padding: 20px 20px 20px 0; border-bottom: 1px solid rgba(243, 240, 234, 0.14); }
.tech-grid dt { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 240, 234, 0.5); }
.tech-grid dd { margin-top: 8px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; }
@media (max-width: 900px) { .dark-grid { grid-template-columns: 1fr; } .tech-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ 05 · HARMONOGRAM ═══ */
.timeline { padding: clamp(20px, 3vw, 40px) 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 32px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 28px; }
.steps li:last-child { border-right: 0; }
.step-date { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-text); }
.steps strong { display: block; margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.steps p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 34ch; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .steps li:last-child { border-bottom: 0; }
}

/* ═══ 06 · LOKALITA + kreslená mapa (port z Nového Hlohovca) ═══ */
.location { padding-top: clamp(40px, 6vw, 90px); }
.location .big { margin: clamp(28px, 4vw, 56px) auto clamp(40px, 6vw, 72px); }
.loc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: clamp(28px, 4vw, 56px); }
.loc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.loc-list li span { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
@media (max-width: 900px) { .loc-list { grid-template-columns: 1fr; } }

.lokalita-mapa {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f5f0;
  border: 1px solid var(--line);
}
.mapa-svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .lokalita-mapa { aspect-ratio: 445 / 560; } .mapa-svg { height: 100%; } .mbod-n { font-size: 15px; } .mbod-t { font-size: 12.5px; } .mdomov-n { font-size: 17px; } .mtrnava { font-size: 12px; } }

.mzelen path { fill: var(--zelena); opacity: 0.14; }
.mc-obrys, .mc-vypln { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mc-obrys { stroke: #cbc2ac; opacity: 0; transition: opacity 0.9s var(--ease) 0.15s; }
.je-vidno .mc-obrys { opacity: 1; }
.mc-obrys--hlavna { stroke-width: 17; }
.mc-obrys--vedlajsia { stroke-width: 11; }
.mc-obrys--mala { stroke-width: 7.5; }
/* biela výplň ciest sa dokreslí — to je tá animácia */
.mc-vypln { stroke: #fff; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s var(--ease) 0.25s; }
.je-vidno .mc-vypln { stroke-dashoffset: 0; }
.mc-vypln--hlavna { stroke-width: 12; }
.mc-vypln--vedlajsia { stroke-width: 7; }
.mc-vypln--mala { stroke-width: 4.2; }
.mbudovy path { fill: #e6e0d0; stroke: #d8d0bc; stroke-width: 1; opacity: 0; transition: opacity 1s var(--ease) 0.5s; }
.je-vidno .mbudovy path { opacity: 1; }
.mtrnava { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--ink-2); opacity: 0; transition: opacity 0.9s var(--ease) 1.2s; }
.je-vidno .mtrnava { opacity: 1; }

.mbod, .mdomov {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: translateY(-16px) scale(0.55);
  transition: opacity 0.55s var(--ease), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(0.75s + var(--i, 0) * 0.1s);
  cursor: default;
}
.je-vidno .mbod, .je-vidno .mdomov { opacity: 1; transform: none; }
.mbod-ik { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mbod-pin { fill: var(--ink); transition: fill 0.3s var(--ease); }
.mbod:hover .mbod-pin { fill: var(--bronze); }
.mbod-n { font-family: var(--sans); font-size: 19px; font-weight: 700; fill: var(--ink); }
.mbod-t { font-family: var(--sans); font-size: 15px; font-weight: 400; fill: #767d88; }
.mdomov { transition-delay: 0.5s; }
.mdomov-pin { fill: var(--bronze); }
.mdomov-n { font-family: var(--sans); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; fill: var(--bronze); }
.mdomov-pulz { fill: var(--bronze); opacity: 0.25; transform-box: fill-box; transform-origin: center; animation: mapPulz 2.4s ease-out infinite; }
@keyframes mapPulz { 0% { transform: scale(0.5); opacity: 0.35; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.mapa-odkaz {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.mapa-odkaz:hover { background: var(--ink); color: #fff; }

/* ═══ 06b · FAQ ═══ */
.faq { padding-top: clamp(40px, 6vw, 90px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 96px); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
.faq-intro { max-width: 16ch; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--sans); font-size: 16px; color: var(--ink-2); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-list details p { padding: 0 0 20px; max-width: 60ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.faq-list details a { border-bottom: 1px solid var(--line); }
.lead { max-width: 64ch; margin: clamp(20px, 3vw, 40px) auto 0; text-align: center; color: var(--ink-2); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.65; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-intro { max-width: none; } }

/* ═══ 07 · KONTAKT ═══ */
.contact { padding: clamp(80px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.contact-title { text-align: center; font-size: clamp(64px, 16vw, 290px); letter-spacing: -0.01em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); margin-top: clamp(32px, 5vw, 72px); align-items: start; }
.agent { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 24px; align-items: end; }
.agent img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.agent-name { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 42px); line-height: 1; }
.agent-role { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.agent a { display: block; margin-top: 14px; font-family: var(--serif); font-size: 20px; border-bottom: 1px solid var(--line); width: fit-content; }
.agent a + a { margin-top: 8px; }
.agent a:hover { border-color: var(--ink); }
.agent-note { margin-top: 18px; color: var(--ink-2); font-size: 14px; }
.lead-form-general { background: var(--paper-2); border-color: transparent; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  /* na mobile fotka cez celú šírku, text pod ňou zarovnaný na ľavý okraj */
  .agent { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .agent img { width: 100%; aspect-ratio: 4 / 3; object-position: 50% 20%; }
  .agent a { font-size: 18px; word-break: break-all; }
}

/* ═══ PÄTA ═══ */
.foot { background: var(--dark); color: rgba(243, 240, 234, 0.8); padding: clamp(48px, 6vw, 90px) 0 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand-text em { color: #c99a63; }
.brand-text { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.foot-brand p { margin-top: 10px; font-size: 14px; max-width: 32ch; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-nav a:hover { color: #fff; }
.foot-az p { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 240, 234, 0.5); }
.foot-az img { margin-top: 12px; height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.foot-small { margin-top: 10px; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: 13px !important; }
.foot-copy { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(243, 240, 234, 0.14); font-size: 12px; color: rgba(243, 240, 234, 0.5); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* ─── lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 19, 17, 0.94);
  display: grid;
  place-items: center;
  padding: 60px var(--okraj);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 8px; background: #fff; }
.lb-close, .lb-nav { position: absolute; color: #fff; font-size: 40px; line-height: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; transition: background 0.3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.12); }
.lb-close { top: 16px; right: var(--okraj); font-size: 34px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img, .display .ln > span { transition: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .preloader { display: none; }
  .mdomov-pulz { animation: none; }
  html { scroll-behavior: auto; }
}
