/* SK Invest Reality — moderná, jednoduchá, navy + zlato
   Jeden výrazný prvok: rozťahovacie panely „štyri cesty“. Všetko ostatné tiché. */

:root {
  --ivory: #F6F5F1;
  --mist: #E3E6EE;
  --navy: #14203A;
  --navy-deep: #0C1526;
  --gold: #C9A23A;
  --gold-soft: #E4CB7C;
  --ink: #171C29;
  --ink-soft: #5A6174;
  --line: rgba(20, 32, 58, 0.12);
  --line-gold: rgba(201, 162, 58, 0.5);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
p { margin: 0; max-width: 60ch; }
p + p { margin-top: 1em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 50ch; }

/* ---------- Tlačidlá ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--navy-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .75em;
  padding: 1em 1.7em;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.22);
  transform: translateX(-101%) skewX(-12deg);
  transition: transform .55s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(201,162,58,.6); }
.btn:hover::after { transform: translateX(101%) skewX(-12deg); }
.btn.ghost { --bg: transparent; --fg: currentColor; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: #fff; box-shadow: none; }
.btn.navy { --bg: var(--navy); --fg: var(--ivory); }
.btn.navy:hover { box-shadow: 0 14px 30px -14px rgba(20,32,58,.6); }
.btn .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: .55;
  transition: transform .4s var(--ease), opacity .4s;
}
.btn:hover .dot { transform: scale(1.5); opacity: 1; }

.link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.link::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.link:hover::after { width: 48px; }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: background .5s var(--ease), box-shadow .5s, transform .5s var(--ease);
  color: var(--ivory);
}
.site-header.scrolled {
  background: rgba(12,21,38,.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header.hidden { transform: translateY(-100%); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 102px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .mark {
  height: 70px; width: 70px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  transition: transform .5s var(--ease);
}
.brand:hover .mark { transform: rotate(-4deg) scale(1.04); }
.brand img { height: 100%; width: auto; }
.brand span {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn) { position: relative; padding: .4em 0; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .75em 1.3em; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .55em 1em;
  color: inherit;
  cursor: pointer;
}

/* ---------- Úvod ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 78% 35%, rgba(201,162,58,.16), transparent 55%),
    var(--navy);
  color: var(--ivory);
  overflow: hidden;
  padding-top: 102px;
}
.hero .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: calc(100vh - 102px);
  padding-block: clamp(56px, 8vw, 110px);
}
.hero-intro {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold-soft);
  font-size: .95rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-intro::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 1.8rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: lift 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.hero .lede { color: rgba(246,245,241,.72); margin-bottom: 2.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-copy > :not(h1) { opacity: 0; animation: fade .9s var(--ease) .5s forwards; }

@keyframes lift { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

.portrait {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 440px);
}
.portrait .photo {
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 28px 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, #1C2B4D, var(--navy-deep));
  display: grid; place-items: center;
  text-align: center;
  padding: 32px;
  color: rgba(246,245,241,.45);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  overflow: hidden;
  opacity: 0;
  animation: fade 1.2s var(--ease) .3s forwards;
}
.portrait .ring {
  position: absolute;
  inset: -16px;
  border: 1px solid var(--line-gold);
  border-radius: 236px 236px 44px 44px;
  pointer-events: none;
  opacity: 0;
  animation: fade 1.2s var(--ease) .8s forwards;
}
.portrait .photo:has(img) { padding: 0; display: block; }
.portrait .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.portrait .tag {
  position: absolute;
  left: -24px; bottom: 36px;
  background: var(--ivory);
  color: var(--navy);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: .92rem;
  line-height: 1.35;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  opacity: 0;
  animation: fade 1s var(--ease) 1.1s forwards;
}
.portrait .tag strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  width: 1px; height: 56px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Odhaľovanie pri rolovaní ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal.pending { opacity: 0; transform: translateY(28px); }
.js .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.pending.delay-1 { transition-delay: .1s; }
.js .reveal.delay-1 { transition-delay: .1s; }
.js .reveal.delay-2 { transition-delay: .2s; }
.js .reveal.delay-3 { transition-delay: .3s; }

/* ---------- Sekcie ---------- */
.section { padding-block: var(--section); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 { color: var(--navy); }
.section-head p { color: var(--ink-soft); margin-top: 1rem; max-width: 46ch; }

/* ---------- Štyri cesty — rozťahovacie panely ---------- */
.paths {
  display: flex;
  gap: 8px;
  height: 520px;
}
.path {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--ivory);
  text-decoration: none;
  overflow: hidden;
  transition: flex 1s var(--ease), background .6s;
}
.path::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(201,162,58,.28), transparent 50%);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.path:nth-child(2) { background: #1A2A4C; }
.path:nth-child(3) { background: #1F3159; }
.path:nth-child(4) { background: #243866; }
.path .kicker {
  position: absolute; top: 32px; left: 36px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-soft);
}
.path h3 {
  color: #fff;
  margin-bottom: 14px;
  transition: transform .8s var(--ease);
}
.path p {
  color: rgba(246,245,241,.72);
  font-size: 1rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height .9s var(--ease), opacity .7s var(--ease) .1s, transform .8s var(--ease);
}
.path .cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--gold-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s var(--ease) .2s, transform .6s var(--ease) .2s;
}
.path .cta::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.paths:hover .path:not(:hover), .paths:focus-within .path:not(:focus-within) { flex: .78; }
.path:hover, .path:focus-within { flex: 2.3; }
.path:hover::before, .path:focus-within::before { opacity: 1; }
.path:hover p, .path:focus-within p { max-height: 200px; opacity: 1; transform: none; }
.path:hover .cta, .path:focus-within .cta { opacity: 1; transform: none; }

/* ---------- Nehnuteľnosti — vodorovný posun ---------- */
.listings-section { overflow: hidden; }
.listings {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.listings::-webkit-scrollbar { display: none; }
.listings.dragging { cursor: grabbing; scroll-snap-type: none; }
.listing {
  flex: 0 0 min(78vw, 420px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.listing .photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: var(--mist);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 18px;
  isolation: isolate;
}
.listing .photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #D7DBE6, #EEF0F5);
  transition: transform 1.2s var(--ease);
  z-index: -1;
}
.listing:hover .photo::before { transform: scale(1.06); }
.listing .price {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  font-style: normal;
}
.listing .status {
  position: absolute; top: 16px; left: 16px;
  background: rgba(246,245,241,.9);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-style: normal;
}
.listing h3 { color: var(--navy); font-size: 1.55rem; }
.listing .meta { color: var(--ink-soft); font-size: .95rem; margin-top: .3rem; }
.listings-nav { display: flex; gap: 10px; }
.listings-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, color .3s;
}
.listings-nav button:hover { background: var(--navy); border-color: var(--navy); color: var(--gold-soft); }

/* ---------- O mne ---------- */
.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.about .photo {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: linear-gradient(160deg, #D8DCE7, var(--mist));
  display: grid; place-items: center;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  position: relative;
  overflow: hidden;
}
.about .photo::after {
  content: "";
  position: absolute; inset: 18px;
  border: 1px solid var(--line-gold);
  border-radius: 18px;
}
.statement {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 1.6rem;
}
.about-text p { color: var(--ink-soft); }
.about-text .link { margin-top: 1.8rem; }

/* ---------- Tri piliere (komu pomáham) ---------- */
.pillars { background: var(--navy); color: var(--ivory); }
.pillars h2 { color: #fff; }
.pillars .section-head p { color: rgba(246,245,241,.65); }
.pillar-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pillar {
  padding: 36px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.pillar h3 { color: var(--gold-soft); margin-bottom: 1.2rem; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.pillar li {
  color: rgba(246,245,241,.78);
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
}
.pillar li::before {
  content: "";
  position: absolute; left: 0; top: .72em;
  width: 10px; height: 1px;
  background: var(--gold);
}

/* ---------- Referencie ---------- */
.reviews { text-align: center; }
.reviews-track { position: relative; min-height: 260px; max-width: 820px; margin-inline: auto; }
.review {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.review.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.review blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.3;
  color: var(--navy);
}
.review blockquote::before { content: "„"; color: var(--gold); }
.review blockquote::after { content: "“"; color: var(--gold); }
.review cite { display: block; margin-top: 1.8rem; font-style: normal; color: var(--ink-soft); }
.review cite strong { color: var(--ink); font-weight: 600; }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2.4rem; }
.review-dots button {
  width: 44px; height: 4px;
  border: 0; border-radius: 2px;
  background: var(--mist);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.review-dots button::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}
.review-dots button.active::after { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Kariéra ---------- */
.career { background: var(--mist); }
.career .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.career h2 { color: var(--navy); margin-bottom: 1.2rem; }
.career p { color: var(--ink-soft); }
.career .btn { justify-self: start; }

/* ---------- Kontakt ---------- */
.contact { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; right: -20%; top: -30%;
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(201,162,58,.16), transparent 60%);
  pointer-events: none;
}
.contact .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 110px);
}
.contact h2 { color: #fff; margin-bottom: 1.2rem; }
.contact .lede { color: rgba(246,245,241,.72); }
.contact-list { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 6px; }
.contact-list li {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .4s;
}
.contact-list li:hover { background: rgba(255,255,255,.08); }
.contact-list a { text-decoration: none; font-size: 1.1rem; }
.contact-list small { display: block; color: rgba(246,245,241,.5); font-size: .85rem; margin-top: 2px; }

.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field label {
  position: absolute; left: 0; top: 14px;
  color: rgba(246,245,241,.55);
  font-size: 1rem;
  pointer-events: none;
  transition: transform .35s var(--ease), font-size .35s, color .35s;
  transform-origin: left;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246,245,241,.28);
  color: #fff;
  padding: 14px 0 10px;
  font: inherit;
  border-radius: 0;
  transition: border-color .35s;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.filled + label {
  transform: translateY(-20px);
  font-size: .78rem;
  color: var(--gold-soft);
}
.field textarea { min-height: 96px; resize: vertical; }
.form .btn { justify-self: start; margin-top: .4rem; }
.form small { color: rgba(246,245,241,.5); }

/* ---------- Päta ---------- */
.site-footer { background: var(--navy-deep); color: rgba(246,245,241,.7); padding-block: 64px 32px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.wordmark { font-family: var(--serif); color: #fff; font-size: 1.7rem; line-height: 1.1; }
.wordmark small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--gold-soft); margin-top: .5rem; }
.site-footer h4 { font-size: .9rem; font-weight: 600; color: #fff; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--gold-soft); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246,245,241,.2);
  display: grid; place-items: center;
  color: #fff;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(246,245,241,.1);
  font-size: .88rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Responzivita ---------- */
@media (max-width: 1000px) {
  .paths { flex-direction: column; height: auto; }
  .path { flex: none !important; min-height: 150px; padding: 28px; }
  .path .kicker { top: 24px; left: 28px; }
  .path p { max-height: 220px; opacity: 1; transform: none; }
  .path .cta { opacity: 1; transform: none; }
  .pillar-list { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-deep);
    flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 28px; gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8em 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: inline-block; }
  .site-header.menu-open { background: var(--navy-deep); }

  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .portrait { justify-self: start; width: min(100%, 360px); margin-left: 24px; }
  .scroll-cue { display: none; }
  .about .wrap, .career .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form .row { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero h1 .line span, .hero-copy > *, .portrait .photo, .portrait .ring, .portrait .photo:has(img) { padding: 0; display: block; }
.portrait .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.portrait .tag { opacity: 1; transform: none; }
  .js .reveal.pending { opacity: 1; transform: none; }
}

/* ---------- Doplnky pre ostrú verziu ---------- */
.listing .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.listing:hover .photo img { transform: scale(1.05); }
.listing .noimg { color: var(--ink-soft); }
.listing .meta.ext { color: var(--gold); font-weight: 600; font-size: .88rem; margin-top: .5rem; }
.listings.grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-right: 0; padding-right: 0; cursor: default; }
.listings.grid .listing { flex: none; }
@media (max-width: 1000px) { .listings.grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .listings.grid { grid-template-columns: 1fr; } }

.site-header.static { position: sticky; background: var(--navy); }
.site-header.static.hidden { transform: none; }
.subpage .section:first-child { padding-top: clamp(48px, 7vw, 96px); }
.subpage h2 { color: var(--navy); }
.prose { max-width: 760px; }
.prose h2 { margin-bottom: 1.5rem; }
.prose h3 { color: var(--navy); margin: 2rem 0 .6rem; font-size: 1.5rem; }
.prose p { color: var(--ink-soft); max-width: 70ch; }
.prose a { color: var(--navy); }

.about .wrap.no-photo { grid-template-columns: 1fr; }
.about .wrap.no-photo .about-text { max-width: 760px; }
.about .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.path.has-photo { background-size: cover; background-position: center; }
.path.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,21,38,.35), rgba(12,21,38,.92) 75%); }
.path.has-photo > * { position: relative; z-index: 1; }
.path.has-photo::before { z-index: 1; }

.sent .statement { max-width: 24ch; }

/* Ilustrácie v paneloch (tenká zlatá linka) */
.path .illu {
  position: absolute; top: 34%; left: 36px;
  width: clamp(96px, 9vw, 132px); height: auto;
  transform: translateY(-50%);
  fill: none; stroke: var(--gold-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  opacity: .85;
  transition: transform 1s var(--ease), opacity .6s var(--ease);
}
.path:hover .illu, .path:focus-within .illu { transform: translateY(-50%) scale(1.06); opacity: 1; }
@media (max-width: 1000px) {
  .path .illu { left: auto; right: 24px; top: 24px; transform: none; width: 72px; opacity: .6; }
  .path:hover .illu { transform: none; }
}

/* ---------- Opravy pre mobil ---------- */
@media (max-width: 1000px) {
  .path { padding-top: 24px; }
  .path .kicker { position: static; display: block; margin-bottom: 14px; }
  .path h3 { max-width: calc(100% - 96px); }
  .path .illu { top: 58px; }
}
@media (max-width: 800px) {
  .brand { gap: 12px; }
  .brand .mark { flex: none; width: 56px; height: 56px; aspect-ratio: 1 / 1; padding: 5px; border-radius: 12px; }
  .brand .mark img { height: 100%; width: auto; max-width: 100%; }
  .brand span { white-space: nowrap; font-size: 1.1rem; }
  .site-header .wrap { min-height: 84px; }
  .hero { padding-top: 84px; }
}
@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand .mark { width: 48px; height: 48px; padding: 4px; }
  .brand span { font-size: 1rem; }
  .nav-toggle { padding: .5em .85em; }
}

/* ---------- Moderné detaily ---------- */

/* Plynúci pás so službami */
.ticker { background: var(--navy-deep); color: var(--gold-soft); overflow: hidden; border-top: 1px solid rgba(201,162,58,.18); border-bottom: 1px solid rgba(201,162,58,.18); }
.ticker-track { display: flex; align-items: center; width: max-content; padding-block: 16px; animation: ticker 48s linear infinite; }
.ticker span { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: .02em; padding-inline: 28px; white-space: nowrap; }
.ticker i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; opacity: .7; }
@keyframes ticker { to { transform: translateX(-33.333%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* Zlatá čiara pod nadpisom sekcie sa vykreslí pri odhalení */
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .35s; }
.js .section-head:not(.pending) h2::after { transform: scaleX(1); }

/* 3D naklonenie panelov */
.paths { perspective: 1200px; }
.path { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: flex 1s var(--ease), background .6s, transform .5s var(--ease); will-change: transform; }

/* Sklenená cenovka a štítok na kartách */
.listing .price, .listing .status { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.listing .price { background: rgba(20,32,58,.72); border: 1px solid rgba(201,162,58,.35); }
.listing .status { background: rgba(246,245,241,.78); }
.listing .photo { box-shadow: 0 30px 50px -36px rgba(20,32,58,.6); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.listing:hover .photo { transform: translateY(-4px); box-shadow: 0 40px 60px -36px rgba(20,32,58,.7); }

/* Ukazovateľ priebehu stránky */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* Spodná lišta na mobile */
.mobile-bar { display: none; }
@media (max-width: 800px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 45;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px;
    background: rgba(12,21,38,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201,162,58,.25); border-radius: 999px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  }
  .mobile-bar a { display: block; text-align: center; padding: 12px 10px; border-radius: 999px; color: var(--ivory); font-weight: 600; text-decoration: none; font-size: .95rem; }
  .mobile-bar a.primary { background: var(--gold); color: var(--navy-deep); }
  body { padding-bottom: 76px; }
  .ticker span { font-size: 1.1rem; padding-inline: 18px; }
  .ticker-track { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero h1 em, .portrait::before { animation: none !important; }
  .js .section-head h2::after { transform: scaleX(1); transition: none; }
}

/* ---------- Úvod: svetelný prechod, lesk na titulku, kométa okolo portrétu ---------- */
.hero .wrap { position: relative; z-index: 1; }

.hero h1 em {
  background: linear-gradient(100deg, var(--gold-soft) 0%, var(--gold-soft) 40%, #FFF3C4 50%, var(--gold-soft) 60%, var(--gold-soft) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out 1.5s infinite;
}
@keyframes shimmer { 0%, 35% { background-position: 100% 0; } 65%, 100% { background-position: 0 0; } }

@property --orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.portrait::before {
  content: ""; position: absolute; inset: -16px; border-radius: 236px 236px 44px 44px; padding: 1px;
  background: conic-gradient(from var(--orbit), transparent 0 72%, rgba(228,203,124,.9) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 1;
  animation: orbit 9s linear infinite;
}
@keyframes orbit { to { --orbit: 360deg; } }
.portrait { transform: translateY(var(--py, 0)); transition: transform .1s linear; }
@media (max-width: 800px) { .portrait { transform: none; } }
