/* =====================================================
   TATRANSKÁ BRÁNA — MENGUSOVCE
   Alpine premium editorial · teal & gold
   ===================================================== */

:root {
  --teal-950: #0B2E1F;
  --teal-900: #123B28;
  --teal-800: #175033;
  --teal-700: #1E6842;
  --teal-500: #3E8F63;
  --teal-300: #8FC4A8;
  --teal-100: #DCEEE3;
  --teal-050: #EDF6F0;
  --gold-600: #B05F2C;
  --gold-500: #C97B3D;
  --gold-300: #E3AC7A;
  --gold-100: #F6E7D7;
  --ivory: #F8F6F1;
  --paper: #FDFCFA;
  --ink: #17302D;
  --ink-soft: #4A6360;
  --line: #E3E0D6;
  --shadow-lg: 0 24px 60px -18px rgba(14, 63, 60, .22);
  --shadow-md: 0 12px 32px -12px rgba(14, 63, 60, .16);
  --shadow-sm: 0 4px 14px -4px rgba(14, 63, 60, .12);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Avenir", "Helvetica Neue", sans-serif;
  --font-mono: "Manrope", "Avenir", "Helvetica Neue", sans-serif; /* technické popisky = Manrope, na webe sú len 2 fonty */
  --nav-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #D8D5C9;
  padding: clamp(8px, 1.1vw, 16px);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.sheet {
  background: var(--ivory);
  border-radius: clamp(14px, 1.6vw, 24px);
  overflow: clip;
  position: relative;
}
.wrap-wide { width: min(1460px, 100%); margin-inline: auto; padding-inline: clamp(14px, 2.2vw, 36px); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold-300); color: var(--teal-950); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--teal-900);
}

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

section { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- technické prvky ---------- */
.mono {
  font-family: var(--font-mono); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.frame { position: relative; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 1.5px solid var(--teal-500); pointer-events: none;
}
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- kicker + section headers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-600);
}
.kicker::before {
  content: ""; width: 34px; height: 2px; background: var(--gold-500);
  border-radius: 2px; flex: none;
}
.sec-head { margin-bottom: clamp(28px, 5vw, 54px); }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 14px; }
.sec-head p.lead { max-width: 640px; margin-top: 16px; color: var(--ink-soft); font-size: 17px; }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: clamp(16px, 1.8vw, 26px) clamp(20px, 2.6vw, 44px) 0;
  display: flex; align-items: flex-start;
  pointer-events: none;
}
.nav .wrap {
  width: 100%; max-width: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.nav .wrap > * { pointer-events: auto; }
.nav-logo {
  display: inline-flex; align-items: center;
  background: rgba(253, 252, 250, .94); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out);
}
.nav-logo:hover { transform: translateY(-2px); }
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
  background: rgba(253, 252, 250, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px;
  box-shadow: var(--shadow-sm);
}
.nav-links a {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: var(--teal-900);
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--teal-100); }
.btn-3d {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-900) !important; color: #fff !important;
  padding: 9px 18px !important; border-radius: 999px; font-weight: 800; font-size: 13px;
  margin-left: 4px; flex: none;
  transition: background .25s !important;
}
.btn-3d:hover { background: var(--teal-700) !important; }
.btn-3d svg { width: 15px; height: 15px; }

.burger {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  width: 24px; height: 2.5px; background: var(--teal-900); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =====================================================
   HERO — editorial layout s vloženou 3D vizualizáciou
   ===================================================== */
.hero {
  position: relative;
  padding-top: clamp(84px, 9vw, 130px);
}
.hero-top {
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 10.5px; line-height: 1.75; color: var(--ink-soft);
  padding-bottom: clamp(10px, 2vw, 26px);
}
.hero-top span:nth-child(2) { text-align: center; }
.hero-top span:last-child { text-align: right; }
.hero-giant {
  position: relative; z-index: 1;
  font-weight: 800; line-height: .84; letter-spacing: -.045em;
  color: var(--teal-900); margin: 0;
  user-select: none;
}
.hero-giant .l1 { display: block; font-size: clamp(58px, 14.2vw, 208px); }
.hero-giant .l2 { display: block; font-size: clamp(58px, 14.2vw, 208px); margin-left: clamp(52px, 26vw, 400px); }
.hero-3d {
  position: relative; z-index: 2;
  margin-top: clamp(20px, 3vw, 44px);
  height: min(68vh, 660px);
  border-radius: clamp(12px, 1.4vw, 20px);
  overflow: hidden;
  background: #DCEBE4;
  box-shadow: 0 34px 90px -36px rgba(14, 63, 60, .45);
}
.hero-3d .poster {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .6s;
}
.hero-3d.loaded .poster { opacity: 0; }
.hero-3d iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }
.hero-3d-cover {
  position: absolute; inset: 0; z-index: 3;
  border: 0; cursor: pointer; text-align: left;
  background: linear-gradient(180deg, rgba(9, 43, 41, 0) 52%, rgba(9, 43, 41, .55) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: 10px; padding: clamp(20px, 3vw, 34px);
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.hero-3d-cover.off { opacity: 0; visibility: hidden; }
.hero-3d-cover .c-tag { font-size: 10px; color: var(--gold-300); }
.hero-3d-cover .c-title {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(17px, 2.4vw, 28px); line-height: 1.2; max-width: 22ch;
  text-shadow: 0 2px 18px rgba(9, 43, 41, .45);
}
.hero-3d-cover .c-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-500); color: var(--teal-950);
  font-weight: 800; font-size: 14px;
  padding: 13px 24px; border-radius: 999px; margin-top: 6px;
  transition: transform .3s var(--ease-out), background .25s;
}
.hero-3d-cover:hover .c-btn { transform: translateY(-2px) scale(1.02); background: var(--gold-300); }
.hero-3d-cover .c-btn svg { width: 16px; height: 16px; }
.hero-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 4px clamp(18px, 2.6vw, 30px);
  font-size: 10px; color: var(--ink-soft);
}
.hero-bottom .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tag {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 7px 14px; color: var(--teal-800);
}
.pill-tag.gold { border-color: var(--gold-300); color: var(--gold-600); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 17px 30px; border-radius: 999px;
  font-weight: 800; font-size: 15.5px; border: 0;
  transition: transform .28s var(--ease-out), box-shadow .28s, background .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold {
  background: var(--gold-500); color: var(--teal-950);
  box-shadow: 0 14px 34px -10px rgba(192, 143, 31, .55);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); background: var(--gold-300); box-shadow: 0 20px 44px -12px rgba(192, 143, 31, .6); }
.btn-outline {
  background: rgba(253, 252, 250, .75); color: var(--teal-800);
  border: 1.5px solid var(--teal-500);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-outline:hover { transform: translateY(-3px); background: var(--teal-050); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--teal-800); font-size: 11px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; opacity: .8;
}
.hero-scroll .mouse {
  width: 24px; height: 38px; border: 2px solid var(--teal-700); border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 3px; background: var(--gold-500);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =====================================================
   MARQUEE pás
   ===================================================== */
.marquee {
  background: var(--teal-900); color: var(--teal-100);
  overflow: hidden; padding: 15px 0;
  position: relative; z-index: 4;
  border-top: 3px solid var(--gold-500);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--gold-500); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================
   MANIFEST / O PROJEKTE — editorial
   ===================================================== */
.manifest { padding: clamp(70px, 9vw, 120px) 0 0; position: relative; }
.m-tag { font-size: 10.5px; color: var(--ink-soft); margin-bottom: clamp(18px, 3vw, 30px); }
.mixed {
  font-size: clamp(31px, 5vw, 64px);
  font-weight: 600; line-height: 1.06; letter-spacing: -.02em;
  color: var(--teal-900);
}
.mixed em { font-style: normal; color: var(--gold-600); }
.manifest-grid {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 80px); align-items: center;
  margin-top: clamp(34px, 5vw, 64px);
}
.m-cap { font-size: 10px; color: var(--gold-600); margin-bottom: 14px; }
.manifest-copy p { color: var(--ink-soft); font-size: 15.5px; }
.manifest-copy p strong { color: var(--teal-800); }
.mini-list { list-style: none; margin: 20px 0 26px; display: grid; gap: 9px; }
.mini-list li {
  font-size: 14px; font-weight: 600; color: var(--teal-900);
  display: flex; gap: 10px; align-items: baseline;
}
.mini-list li::before { content: "✦"; color: var(--gold-500); font-size: 11px; flex: none; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--teal-900); color: var(--teal-900);
  padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: 14px; background: transparent;
  transition: background .25s, color .25s, transform .28s var(--ease-out);
}
.btn-pill:hover { background: var(--teal-900); color: #fff; transform: translateY(-2px); }
.manifest-fig { margin: 0; }
.manifest-fig img { width: 100%; height: auto; }
.bigstats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 76px);
}
.bs { padding: clamp(20px, 3vw, 34px) clamp(14px, 2vw, 28px) 6px; border-left: 1px solid var(--line); }
.bs:first-child { border-left: 0; padding-left: 2px; }
.bs .n {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(38px, 5.4vw, 78px); color: var(--teal-900); letter-spacing: -.03em;
}
.bs .n em { font-style: normal; font-size: .42em; color: var(--gold-600); font-weight: 700; margin-left: 4px; }
.bs small { display: block; margin-top: 10px; font-size: 9.5px; color: var(--ink-soft); }

/* etapy timeline */
.etapy { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(46px, 7vw, 80px); }
.etapa-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.etapa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.etapa-card .tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-bottom: 14px;
}
.etapa-card.e1 .tag { background: var(--teal-100); color: var(--teal-800); }
.etapa-card.e2 .tag { background: var(--gold-100); color: var(--gold-600); }
.etapa-card h3 { font-size: 22px; margin-bottom: 8px; }
.etapa-card p { color: var(--ink-soft); font-size: 15px; }
.etapa-card .strip { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.etapa-card.e1 .strip { background: var(--teal-500); }
.etapa-card.e2 .strip { background: var(--gold-500); }

/* =====================================================
   MASTER PLAN — interaktívna mapa pozemkov
   ===================================================== */
.pozemky { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.pozemky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%233E8F63' stroke-opacity='.08' stroke-width='1.4'%3E%3Cpath d='M60 380c60-90 30-150 90-190s160-10 190-90'/%3E%3Cpath d='M40 400c80-110 40-170 100-215s175-15 210-105'/%3E%3Cpath d='M20 420c100-130 50-190 110-240s190-20 230-120'/%3E%3C/g%3E%3C/svg%3E");
}
/* pôvodný nákres štúdie */
.studia-grid {
  display: grid; grid-template-columns: .38fr .62fr;
  gap: clamp(24px, 4vw, 64px); align-items: start;
  margin: clamp(26px, 4vw, 50px) 0 clamp(50px, 7vw, 96px);
  position: relative;
}
.studia-info { position: sticky; top: 120px; }
.studia-info h3 { font-size: clamp(22px, 2.6vw, 32px); margin: 10px 0 12px; }
.studia-info > p { color: var(--ink-soft); font-size: 15px; }
.stud-legend { list-style: none; margin: 22px 0; display: grid; gap: 13px; }
.stud-legend li { display: flex; gap: 13px; align-items: flex-start; }
.stud-legend .sw {
  width: 28px; height: 19px; border-radius: 5px; flex: none; margin-top: 3px;
  border: 1px solid rgba(36, 65, 61, .3);
}
.sw1 { background: #E5D7BC; }
.sw2 { background: #CDDCA4; }
.sw3 { background: #F0ECE1; }
.sw4 { background: #C9C2B0; }
.stud-legend b { display: block; font-size: 14.5px; color: var(--teal-900); line-height: 1.35; }
.stud-legend small { color: var(--ink-soft); font-size: 12.5px; }
.stud-meta { font-size: 10px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 13px; }
.studia-fig {
  margin: 0; position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(10px, 1.5vw, 20px);
  box-shadow: var(--shadow-md);
}
.studia-fig img { width: 100%; height: auto; display: block; }
.s-chip {
  position: absolute; transform: translate(-50%, -50%);
  background: rgba(14, 63, 60, .93); color: #fff;
  font-size: 10px; padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm); white-space: nowrap; pointer-events: none;
}
.s-chip.gold { background: var(--gold-500); color: var(--teal-950); }
.studia-fig figcaption {
  margin-top: 12px; padding-top: 10px; border-top: 1.5px solid var(--teal-900);
  font-size: 9.5px; color: var(--ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}

/* interaktívna mapa + detail v jednej karte */
.plan-board {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(16px, 2.6vw, 32px); box-shadow: var(--shadow-md); position: relative;
}
.plan-board svg { width: 100%; height: auto; display: block; }
.plan-split {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(18px, 2.8vw, 38px); align-items: start;
}
.plan-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.plan-hint { margin-left: auto; font-size: 9.5px; color: var(--ink-soft); }
.chip {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 13px;
  transition: all .25s var(--ease-out);
}
.chip:hover { border-color: var(--teal-500); color: var(--teal-700); }
.chip.active { background: var(--teal-700); border-color: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.plan-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.plan-legend i { width: 13px; height: 13px; border-radius: 4px; display: inline-block; margin-right: 6px; vertical-align: -2px; }
.titleblock {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px;
  margin-top: 14px; padding-top: 11px;
  border-top: 1.5px solid var(--teal-900);
  font-size: 10px; color: var(--ink-soft);
}
.titleblock span:first-child { color: var(--teal-800); font-weight: 600; }

/* SVG mapa */
.plot-shape {
  cursor: pointer;
  transition: fill .2s, stroke .2s, filter .2s;
  stroke: rgba(14, 63, 60, .35); stroke-width: .5;
}
.plot-shape.e1 { fill: #CFE6D6; }
.plot-shape.e2 { fill: #F2DFC8; }
.plot-shape:hover { filter: brightness(.94) saturate(1.25); }
.plot-shape.dim { opacity: .28; pointer-events: none; }
.plot-shape.selected { stroke: var(--gold-600); stroke-width: 2; fill: var(--gold-300); }
.plot-num { font-family: var(--font-mono); font-weight: 600; fill: var(--teal-900); pointer-events: none; }
.map-street { fill: #EAE6DB; }
.map-road { fill: #D8D3C6; }
.map-outline { fill: none; stroke: var(--teal-700); stroke-width: 1.6; stroke-dasharray: 6 4; opacity: .55; }

.map-tooltip {
  position: fixed; z-index: 90; pointer-events: none;
  background: var(--teal-950); color: #fff; padding: 10px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md);
  transform: translate(-50%, calc(-100% - 14px));
  opacity: 0; transition: opacity .15s; white-space: nowrap;
}
.map-tooltip.show { opacity: 1; }
.map-tooltip .a { color: var(--gold-300); }

/* detail panel — svetlý, zladený s kartou mapy */
.plot-panel {
  border-left: 1px solid var(--line);
  padding: 8px 2px 8px clamp(18px, 2.8vw, 34px);
}
.plot-panel .ph { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.plot-panel h3 { color: var(--teal-900); font-size: 25px; margin-bottom: 4px; }
.plot-rows { margin: 16px 0 4px; display: grid; gap: 0; }
.plot-rows .r {
  display: flex; justify-content: space-between; gap: 14px; padding: 11px 2px;
  border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.plot-rows .r b { color: var(--teal-800); font-weight: 800; text-align: right; }
.plot-rows .r span:first-child { color: var(--ink-soft); }
.badge-status {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #0F8A57;
}
.badge-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.plot-panel .actions { display: grid; gap: 10px; margin-top: 20px; }
.plot-panel .actions .btn, .plot-panel .actions .btn-pill { justify-content: center; padding: 14px 20px; font-size: 14.5px; }
.plot-panel .note { margin-top: 15px; font-size: 12px; color: var(--ink-soft); }

/* =====================================================
   LOKALITA
   ===================================================== */
.lokalita { background: var(--teal-950); color: var(--teal-100); padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.lokalita::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(62, 158, 151, .28), transparent 60%),
    radial-gradient(560px 380px at 0% 100%, rgba(217, 166, 47, .14), transparent 60%);
}
.lokalita .sec-head h2 { color: #fff; }
.lokalita .sec-head p.lead { color: var(--teal-300); }
.lok-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); position: relative; }
.dist-list { display: grid; gap: 12px; }
.dist {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  padding: 15px 20px; border-radius: var(--r-md);
  transition: transform .3s var(--ease-out), background .3s, border-color .3s;
}
.dist:hover { transform: translateX(6px); background: rgba(255, 255, 255, .09); border-color: rgba(217, 166, 47, .4); }
.dist .ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: rgba(217, 166, 47, .15); color: var(--gold-300);
  display: grid; place-items: center;
}
.dist .ico svg { width: 22px; height: 22px; }
.dist b { display: block; color: #fff; font-size: 15.5px; }
.dist small { color: var(--teal-300); font-size: 13px; }
.dist .km {
  margin-left: auto; font-family: var(--font-mono); font-weight: 600;
  color: var(--gold-500); font-size: 16px; white-space: nowrap; letter-spacing: .04em;
}
.lok-map {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  min-height: 380px; position: relative;
  display: flex; flex-direction: column;
}
.lok-map iframe { border: 0; width: 100%; flex: 1; min-height: 380px; filter: saturate(1.05); }
.lok-map .coords {
  background: var(--teal-900); padding: 13px 18px; font-size: 12.5px; letter-spacing: .08em;
  color: var(--teal-300); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.lok-map .coords b { color: var(--gold-300); font-weight: 800; }
.peaks { margin-top: clamp(40px, 6vw, 64px); position: relative; }
.peaks-row { display: flex; flex-wrap: wrap; gap: 12px; }
.peak {
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 10px 20px;
  font-size: 13.5px; font-weight: 700; color: var(--teal-100);
  display: inline-flex; gap: 9px; align-items: center;
  transition: border-color .3s, background .3s;
}
.peak:hover { border-color: var(--gold-500); background: rgba(217, 166, 47, .1); }
.peak b { color: var(--gold-300); font-weight: 800; }

/* =====================================================
   MOŽNOSTI VÝSTAVBY
   ===================================================== */
.vystavba { padding: clamp(80px, 11vw, 140px) 0; }
.vyst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vyst-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; position: relative;
  transition: transform .38s var(--ease-out), box-shadow .38s;
}
.vyst-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vyst-visual {
  height: 215px; position: relative; overflow: hidden;
  background: #FBFAF6;
  background-image: radial-gradient(rgba(22, 115, 109, .14) 1px, transparent 1.4px);
  background-size: 20px 20px;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
}
.vyst-visual img { width: 82%; max-height: 185px; transition: transform .5s var(--ease-out); }
.vyst-card:hover .vyst-visual img { transform: translateY(-5px) scale(1.05); }
.fig-tag {
  position: absolute; left: 14px; bottom: 10px;
  font-size: 10px; color: var(--teal-700); font-weight: 600;
}
.vyst-visual .wm {
  position: absolute; top: 12px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(253, 252, 250, .9); color: var(--gold-600);
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--gold-300);
}
.vyst-body { padding: 24px 26px 28px; }
.vyst-body h3 { font-size: 20px; margin-bottom: 9px; }
.vyst-body p { color: var(--ink-soft); font-size: 14.5px; }
.vyst-body ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.vyst-body li { font-size: 13.5px; font-weight: 600; color: var(--teal-800); display: flex; gap: 9px; align-items: center; }
.vyst-body li::before { content: "✦"; color: var(--gold-500); font-size: 11px; }
.disclaimer {
  margin-top: 28px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--gold-100); border: 1px solid var(--gold-300); border-radius: var(--r-md);
  padding: 18px 22px; font-size: 14px; color: #6B5312; font-weight: 600;
}
.disclaimer svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); margin-top: 1px; }

/* =====================================================
   3D CTA
   ===================================================== */
.cta3d {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-950) 0%, var(--teal-900) 60%, var(--teal-800) 100%);
  color: #fff; padding: clamp(80px, 11vw, 150px) 0;
}
.cta3d::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% 8%, rgba(217, 166, 47, .16), transparent 60%),
    radial-gradient(560px 400px at 8% 96%, rgba(62, 158, 151, .22), transparent 62%);
}
.cta3d-inner { position: relative; text-align: center; }
.cta3d h2 { color: #fff; font-size: clamp(32px, 5.4vw, 60px); max-width: 20ch; margin: 14px auto 18px; }
.cta3d h2 .gold { color: var(--gold-500); }
.cta3d p { color: var(--teal-100); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }
.cta3d .kicker { color: var(--gold-300); justify-content: center; display: inline-flex; }
.cta3d .feat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.feat-pill {
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 10px 19px;
  font-size: 13px; font-weight: 700; color: var(--teal-100);
  display: inline-flex; align-items: center; gap: 9px;
}
.feat-pill svg { width: 16px; height: 16px; color: var(--gold-300); }
.btn-mega {
  font-size: 17px; padding: 21px 42px; position: relative;
}
.btn-mega .ring {
  position: absolute; inset: -7px; border-radius: 999px;
  border: 2px solid rgba(217, 166, 47, .5);
  animation: ring-pulse 2.4s var(--ease-out) infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(.98); opacity: 1; }
  75%, 100% { transform: scale(1.14); opacity: 0; }
}

/* =====================================================
   KONTAKT
   ===================================================== */
.kontakt { padding: clamp(80px, 11vw, 140px) 0; }
.kontakt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); }
.kontakt-info p { color: var(--ink-soft); margin-bottom: 26px; }
.k-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.k-item .ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center;
}
.k-item .ico svg { width: 21px; height: 21px; }
.k-item b { display: block; font-size: 15.5px; color: var(--teal-900); }
.k-item small { color: var(--ink-soft); font-size: 13px; }
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--ivory); outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(62, 158, 151, .14);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 20px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--teal-950); color: var(--teal-300); padding: 54px 0 30px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 10px 16px; }
.footer-logo img { height: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; font-size: 14px; font-weight: 700; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; opacity: .75;
}

/* =====================================================
   SCROLL REVEAL animácie
   ===================================================== */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.rv-l.in { opacity: 1; transform: none; }
.rv-r { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.rv-r.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; } .rv-d4 { transition-delay: .4s; }

/* hero load-in */
.hero-top, .hero-giant .l1, .hero-giant .l2, .hero-3d, .hero-bottom {
  opacity: 0; transform: translateY(30px);
  animation: hero-in 1s var(--ease-out) forwards;
}
.hero-giant .l1 { display: block; animation-delay: .1s; }
.hero-giant .l2 { display: block; animation-delay: .22s; }
.hero-3d { animation-delay: .4s; }
.hero-bottom { animation-delay: .55s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* =====================================================
   MOBIL
   ===================================================== */
@media (max-width: 980px) {
  .plan-split, .studia-grid, .lok-grid, .kontakt-grid, .manifest-grid { grid-template-columns: 1fr; }
  .studia-info { position: static; }
  .plot-panel { border-left: 0; border-top: 1px solid var(--line); padding: 20px 2px 4px; margin-top: 8px; }
  .vyst-grid { grid-template-columns: 1fr 1fr; }
  .bigstats { grid-template-columns: 1fr 1fr; }
  .bs:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .bs { padding-top: 22px; padding-bottom: 8px; border-top: 0; }
  .nav-links { display: none; }
  .hero-3d { height: min(64vh, 560px); }
}
@media (max-width: 980px) {
  .nav-links {
    display: flex;
    position: fixed; inset: 0; background: rgba(9, 43, 41, .97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; gap: 7vh;
    transform: translateY(-100%); transition: transform .5s var(--ease-out);
    z-index: -1; border: 0; border-radius: 0; padding: 0; box-shadow: none;
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: #fff; font-size: 22px; font-family: var(--font-display); padding: 8px 20px; }
  .nav-links a:hover { background: transparent; }
  .nav-links .btn-3d { font-size: 17px; padding: 13px 26px !important; }
  .burger {
    display: flex; z-index: 10; flex: none;
    background: rgba(253, 252, 250, .94); border: 1px solid var(--line);
    border-radius: 999px; box-shadow: var(--shadow-sm);
  }
  .nav.menu-open .burger { background: transparent; border-color: rgba(255, 255, 255, .3); }
  .nav.menu-open .burger span { background: #fff; }
}
@media (max-width: 760px) {
  .vyst-grid, .etapy { grid-template-columns: 1fr; }
  .hero { padding-top: 78px; }
  .hero-top { font-size: 9px; }
  .hero-giant .l2 { margin-left: 14vw; }
  .hero-3d { height: min(72vh, 520px); margin-top: -14px; }
  .hero-3d-cover .c-title { font-size: 16px; max-width: 18ch; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn { padding: 15px 24px; font-size: 14.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .dist .km { font-size: 15px; }
  .marquee-track span { font-size: 11.5px; }
  .mixed br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .cta3d .grid-floor { animation-duration: 200s; }
}

/* =====================================================
   BUKOVINKA — logotyp, galéria fotiek, sesterský projekt
   ===================================================== */
.logotype { display: flex; flex-direction: column; line-height: 1; }
.logotype b {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  color: var(--teal-900); letter-spacing: -.01em;
}
.logotype i {
  font-style: normal; font-family: var(--font-mono); font-weight: 700;
  font-size: 7.5px; letter-spacing: .3em; color: var(--gold-600);
  text-transform: uppercase; margin-top: 4px;
}
.footer-logo .logotype { padding: 4px 2px; }

.galeria { padding: clamp(80px, 11vw, 140px) 0 0; }
.foto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.foto-grid figure {
  margin: 0; border-radius: var(--r-md); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
}
.foto-grid img {
  width: 100%; display: block; object-fit: cover; aspect-ratio: 16 / 9.6;
  transition: transform .7s var(--ease-out);
}
.foto-grid figure:hover img { transform: scale(1.035); }
.foto-grid .f-big { grid-column: 1 / -1; }
.foto-grid .f-big img { aspect-ratio: 21 / 8.4; }
.foto-grid figcaption {
  padding: 10px 15px; font-size: 9px; color: var(--ink-soft);
  border-top: 1px solid var(--line); background: var(--paper);
}

.sister { padding: clamp(60px, 8vw, 100px) 0 0; }
.sister-card {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  background: var(--teal-900); color: #fff;
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 46px);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  box-shadow: var(--shadow-md);
}
.sister-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 300px at 108% -10%, rgba(201, 123, 61, .3), transparent 62%);
}
.sister-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sister-card .s-cap { color: var(--gold-300); font-size: 10px; margin-bottom: 10px; }
.sister-card h3 { color: #fff; font-size: clamp(22px, 3vw, 34px); margin-bottom: 8px; }
.sister-card p { color: var(--teal-100); font-size: 14.5px; max-width: 54ch; position: relative; }
.sister-card .s-arrow {
  font-size: clamp(30px, 4vw, 54px); color: var(--gold-500); flex: none;
  transition: transform .35s var(--ease-out);
}
.sister-card:hover .s-arrow { transform: translate(5px, -5px); }

@media (max-width: 760px) {
  .foto-grid { grid-template-columns: 1fr; }
  .sister-card { flex-direction: column; align-items: flex-start; }
}

/* Bukovinka — dlhšie slovo v druhom riadku hero nadpisu */
.hero-giant .l1 { font-size: clamp(58px, 13.6vw, 200px); }
.hero-giant .l2 { font-size: clamp(42px, 10.4vw, 154px); margin-left: clamp(40px, 17vw, 290px); }
