:root{
  --bg:#0b1324;
  --bg2:#0f1b33;
  --text:#eef3ff;
  --muted:#b4c1da;
  --line:rgba(255,255,255,.10);
  --accent:#7ab7ff;
  --accent2:#67f0d2;
  --shadow: 0 14px 44px rgba(0,0,0,.24);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

html.no-scroll,
html.no-scroll body{
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none; /* stop bounce (moderné prehliadače) */
  touch-action: none;
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(122,183,255,.16), rgba(0,0,0,0) 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(103,240,210,.10), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, var(--bg), #091024 55%, #071022);
}

/* Pekné linky na tmavom pozadí */

a{
  color: rgba(122,183,255,.92);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover{ color: var(--text); text-decoration: underline; }
a:visited{ color: rgba(122,183,255,.92); }

/* fix: link states nesmú prepisovať buttony */
a.btn,
a.btn:visited,
a.btn:hover,
a.btn:active{
  text-decoration: none;
  color: #071126; /* text na primary btn */
}

/* ghost má zostať biely */
a.btn.btn--ghost,
a.btn.btn--ghost:visited,
a.btn.btn--ghost:hover,
a.btn.btn--ghost:active{
  color: var(--text);
  text-decoration: none;
}

.container{
  margin:0 auto;
  width: min(1100px, 92vw);
}

/* TOPBAR */
.topbar{
  position:sticky; top:0; z-index:1200;
  background: rgba(11,19,36,.78);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  text-decoration:none;
  font-weight:950;
  letter-spacing:.2px;
  line-height:1;
  white-space:nowrap;
}

.brand:hover,
.brand:focus-visible,
.footer__brand:hover,
.footer__brand:focus-visible{
  text-decoration:none;
}

.brand__logo{
  width:30px;
  height:auto;
  display:block;
  flex:0 0 auto;
}

.brand__logo--footer{
  width:34px;
}

.brand__text{
  display:inline-flex;
  align-items:baseline;
  gap:0;
  font-size:clamp(12px, 1.3vw, 15px);
  min-width:0;
}

.brand__text--footer{
  font-size:clamp(13px, 1.6vw, 18px);
}

.brand__word{
  display:inline-block;
}

.brand__word--strong{
  font-weight:950;
  letter-spacing:.02em;
  color:#fff;
}

.brand__word--light{
  font-weight:400;
  color:#8fb9ff;
  letter-spacing:.04em;
}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  color:rgba(238,243,255,.80);
  text-decoration:none;
  font-weight:850;
  font-size:14px;
}
.nav a:hover{color:var(--text)}

.nav a.btn,
.nav a.btn:visited,
.nav a.btn:hover,
.nav a.btn:active,
.nav a.btn:focus-visible{
  color:#071126;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--accent), var(--accent2));
  color:#071126;
  font-weight:950;
  text-decoration:none;
  box-shadow: var(--shadow);
  border:0;
  cursor:pointer;
}
.btn--ghost{
  background: rgba(255,255,255,.08);
  color: #eef3ff;
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: none;
}
.btn--small{padding:10px 14px; font-size:14px}

/* Burger – FontAwesome 5 */
.burger{
  display:none;
  width:46px; height:46px;
  border-radius: 14px;
  background: rgba(11,19,36,.22);
  border:0;
  color: var(--text);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  appearance:none;
  -webkit-appearance:none;
}
.burger i{
  font-size: 18px;
  opacity:.92;
}
.burger:focus-visible{
  outline: 2px solid rgba(122,183,255,.65);
  outline-offset: 2px;
}

.topbar__right{ display:flex; align-items:center; gap:.6rem; }

.lang-switch{
  display:inline-flex; align-items:center;
  gap:.25rem;
  font-size:15px;
  line-height:1;
  letter-spacing:.04em;
  color:rgba(238,243,255,.58);
}
.lang-switch a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}
.lang-switch a:hover{ color:var(--text); }
.lang-switch strong  {
  color:var(--text);
  font-weight:900;
  font-size:inherit;
}
.lang-switch--mobile { display:none; }
@media (max-width:980px){
  .lang-switch--mobile{ display:inline-flex; }
}

/* Backdrop (klikateľné) */
/* --- MOBILE MENU OVERLAY FIX --- */

/* backdrop (iba pozadie, NEROZMAZÁVA menu) */
.navBackdrop{
  position: fixed;
  inset: 0;
  background: rgba(4,8,16,.55);
  /* dôležité: blur preč, alebo max veľmi jemný */
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 1300;
}
.navBackdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* panel menu */
#mobileNav.mobileNav{
  /* namiesto display none/block */
  display: block;

  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: min(84vw, 340px);

  padding: 84px 18px 18px;  /* 84 = priestor pre topbar */
  overflow: auto;

  background: rgba(11,19,36,.96);
  border-left: 1px solid rgba(255,255,255,.12);

  transform: translateX(110%);
  transition: transform 220ms ease;
  z-index: 1400; /* musí byť NAD backdropom */

  /* nech to vyzerá pekne */
  box-shadow: -18px 0 60px rgba(0,0,0,.45);
  backdrop-filter: blur(10px); /* blur len na paneli */
}
#mobileNav.mobileNav.is-open{
  transform: translateX(0);
}

/* linky v menu */
#mobileNav a{
  display:block;
  padding: 14px 8px;
  border-radius: 12px;
  color: rgba(238,243,255,.88);
  text-decoration: none;
  font-weight: 900;
}
#mobileNav a:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* keď je menu otvorené, stop scroll na stránke */
html.no-scroll,
html.no-scroll body{
  overflow: hidden !important;
}

/* HERO */
.hero{
  position:relative;
  /* min-height: 92vh; */
  min-height: 75vh;
  overflow:hidden;
}

/* background slideshow */
.heroSlider{
  position:absolute;
  inset:0;
  z-index: 1;
}

.heroSlide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;

  opacity:0;

  /* štart mierne priblížený (aby nebol skok pri odzoomovaní) */
  transform: scale(1.02);
  transform-origin: center center;

  /* opacity rýchlo, transform pomaly */
  transition:
    opacity 1200ms ease,
    transform 4500ms ease-out;

  will-change: opacity, transform;
  filter: saturate(1.03) contrast(1.03);
}

.heroSlide.is-active{ opacity:1; }

/* zoom + jemný drift */
.heroSlide.is-zoom{
  transform: scale(1.08) translate(-2.0%, -1.6%);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .heroSlide{ transition: opacity 1200ms ease; transform:none; }
  .heroSlide.is-zoom{ transform:none; }
  .hero__positioningLine{ transition: none; }
}

/* overlay */
.heroOverlay{
  position:absolute;
  inset:0;
  z-index: 2;
  background:
    radial-gradient(90% 70% at 22% 22%, rgba(0,0,0,.14), rgba(0,0,0,0) 62%),
    radial-gradient(90% 70% at 75% 30%, rgba(0,0,0,.10), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(8,14,26,.20), rgba(8,14,26,0) 45%);
  pointer-events:none;
}

/* content cez celý hero, sheet dole */
.hero__content{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding: 72px 0 0;
  z-index: 3;
  pointer-events:none;
}

.heroSheet{
  pointer-events:auto;
  position:absolute;
  left:50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1040px, 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(16, 30, 58, .26);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 70px rgba(0,0,0,.22);
  overflow:hidden;
}

.heroSheet__top{ padding: 22px 22px 18px; }

.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(238,243,255,.90);
  font-weight:900;
}

h1{
  font-size: clamp(28px, 4vw, 46px);
  line-height:1.06;
  margin:0;
}

/* Reveal časť */
/* Rozbalovací obsah v hero (plynulé odkrývanie podľa scrollu) */
.heroReveal{
  /* 0..1 nastavuje JS */
  --reveal: 0;

  /* aby to neskákalo */
  overflow: hidden;

  /* plynulé vizuálne parametre */
  opacity: 1;
  transform: translateY(calc((1 - var(--reveal)) * 14px));

  /* reálne odkrývanie (0..1200px) */
  max-height: calc(var(--reveal) * 1200px);

  /* nech to neanimuje “samo” – riadi to scroll */
  transition: none;
  will-change: max-height, opacity, transform;
}

.heroSheet__body{
  padding: 16px 22px 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.sublead{
  color:rgba(238,243,255,.82);
  margin:0 0 22px;
  max-width: none;
  line-height:1.65;
  letter-spacing:.1px;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.heroLead{ font-size:16px; }

/* stats */
.hero__stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin:14px 0 12px;
}
.stat{
  padding:14px 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.16);
  background: rgba(11,19,36,.18);
}
.stat__n{font-weight:950; font-size:20px}
.stat__l{
  color:rgba(238,243,255,.74);
  font-weight:850;
  font-size:13px;
  margin-top:4px
}
.stat--price{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:background 200ms ease, border-color 200ms ease;
}
.stat--price .stat__l{
  font-size:15px;
  font-weight:950;
  margin:0;
  transition:color 200ms ease;
}
.stat--price:hover{
  background:rgba(255,255,255,.88);
  border-color:rgba(255,255,255,.6);
}
.stat--price:hover .stat__l{
  color:#071126;
}

/* CTA + price */
.hero__cta{
  display:flex; gap:10px; flex-wrap:wrap;
  margin: 10px 0 12px;
}
.hero__cta--footer{
  margin: 18px 0 0;
}
.hero__price{
  display:flex; gap:10px; align-items:baseline; flex-wrap:wrap;
  padding:12px 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.16);
  background: rgba(11,19,36,.18);
  width: fit-content;
}
.hero__price .label{color:rgba(238,243,255,.72); font-weight:950}
.hero__price .value{font-weight:950; font-size:22px}
.hero__price .note{color:rgba(238,243,255,.70); font-weight:850; font-size:13px}

.hero__positioning{
  position: relative;
  min-height: 88px;
  margin: 18px 0 22px;
  padding: 2px 0;
}

.hero__positioningLine{
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(238,243,255,.82);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.25;
  font-weight: 100;
  letter-spacing: .1px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 1400ms ease, transform 1400ms ease;
}

.hero__positioningLine.is-active{
  opacity: 1;
  transform: translateY(0);
}

.claimSection{
  display: none;
}

.claimSection .hero__positioning{
  margin: 0 0 18px;
}

/* SECTIONS */
.section{ padding:44px 0; }
.section .container{ width:min(1100px, 92vw); } /* nech sekcie nie sú nalepené na kraj */

.section--alt{
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(122,183,255,.10), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.section--cta{
  background:
    radial-gradient(800px 520px at 50% 10%, rgba(122,183,255,.14), rgba(0,0,0,0) 62%),
    radial-gradient(900px 600px at 80% 30%, rgba(103,240,210,.10), rgba(0,0,0,0) 60%);
}
.priceCta{
  display:flex; flex-direction:column; align-items:center; gap:28px; text-align:center;
  margin: 28px 0 36px;
}
.priceCta__price{
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.priceCta__label{
  color:rgba(238,243,255,.72); font-weight:950; font-size:14px; text-transform:uppercase; letter-spacing:.08em;
}
.priceCta__value{
  font-weight:950; font-size:clamp(24px, 3.3vw, 37px); line-height:1.1;
}
.priceCta__note{
  color:rgba(238,243,255,.65); font-weight:850; font-size:14px; max-width:360px;
}
.priceCta__buttons{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
}
h2{font-size: clamp(22px, 3vw, 32px); margin:0 0 10px}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
}
.card h3{margin:0 0 10px; font-size:18px}

.bullets{margin:0; padding-left:18px}
.bullets li{
  margin:8px 0;
  color:rgba(238,243,255,.78);
  font-weight:700;
}
.bullets strong{color:var(--text)}

/* CTA / CONTACT / FOOTER */
.muted{color:rgba(238,243,255,.74)}
.tiny{font-size:12px}

.footer{
  display:flex; justify-content:space-between; align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(238,243,255,.74);
  font-weight:850;
}
.footer__brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  max-width:100%;
}
.footer a{color:rgba(238,243,255,.84); text-decoration:none}
.footer a:hover{color:var(--text); text-decoration: underline}
.footer .footer__brand,
.footer .footer__brand:hover,
.footer .footer__brand:focus-visible,
.footer .footer__brand:visited,
.footer .footer__brand:active{
  color:inherit;
  text-decoration:none;
}
.footer__brand .brand__word--light{color:#8fb9ff}

/* MAP WRAP */
.mapWrap {
  margin-top: 12px;
}

/* samotná mapa */
.map {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
}

/* link pod mapou */
.mapActions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-right: 6px;
}

/* OpenStreetMap link */
.mapActions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 0.9rem;
  color: #8fb9ff;
  text-decoration: none;

  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.mapActions a:hover {
  opacity: 1;
  color: #b7d2ff;
}

.mapActions i {
  font-size: 0.9em;
}

svg.leaflet-attribution-flag {
  display: none!important;
}

.leaflet-control-attribution{
  background: transparent !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 11px;
}

.leaflet-control-attribution a{
  color: rgba(122,183,255,.7);
  text-decoration: none;
}

.leaflet-control-attribution a:hover{
  text-decoration: underline;
}

/* =========================================================
   AB TEST: HERO SHEET
   - A: vysúvací (v hero, absolute)
   - B: statický (pod hero v flow, prekryje hero margin-top)
   ========================================================= */

/* B verzia (static) – nech je stále otvorená */
.heroReveal--static{
  --reveal: 1;
  max-height: none;
  overflow: visible;
  transform: none;
}

/* B mount je default skrytý */
.heroSheetMount{ display:none; }

/* default: B sheet nech je skrytý, aby sa náhodou nezobrazil dvakrát */
#heroSheetB{ display:none; }

/* keď je B varianta:
   - schovaj A (v hero)
   - ukáž B mount + B sheet */
body.ab-hero-B #heroSheetA{ display:none !important; }
body.ab-hero-B .heroSheetMount{
  display:block;
  margin-top: calc(-1 * clamp(110px, 16vh, 210px));
  position: relative;
  z-index: 10;
}
body.ab-hero-B #heroSheetB{ display:block !important; }

/* B sheet musí byť v flow (nie absolute) */
body.ab-hero-B #heroSheetB.heroSheet{
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  border-radius: var(--radius);
}
/* ak nie je B varianta, B mount nech je pre istotu skrytý */
body.ab-hero-A .heroSheetMount{ display:none !important; }
body.ab-hero-A #heroSheetA{ display:block !important; }


/* RESPONSIVE */
@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-flex}
  .hero__stats{grid-template-columns: repeat(2, 1fr)}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(3, 1fr);gap:8px;}
}

@media (max-width: 520px){
  .container{width: calc(100% - 24px);}   /* globálne odsadenie na mobile */
  .hero{min-height: 68vh;}
  .brand{gap:8px}
  .brand__logo{width:26px}
  .brand__logo--footer{width:30px}
  .brand__text{gap:0}
  .brand__text--footer{font-size:13px}
  .heroSheet{
    width: calc(100% - 16px);
    bottom: 0;
    transform: translateX(-50%);
  }
  .hero__positioning{
    min-height: 72px;
    margin: 14px 0 18px;
  }
  .claimSection{
    padding: 14px 0 0;
  }
  .hero__positioningLine{
    font-size: clamp(22px, 8vw, 30px);
    line-height: 1.2;
  }
  .mobileNav{ padding-top: 78px; } /* trochu menej */
  .gitem img{height:110px}
  .map{ height: 280px; }
  body.ab-hero-B .heroSheetMount{
    margin-top: calc(-1 * clamp(80px, 18vh, 160px));
  }
}

@media (max-width: 760px){
  .hero__cta--footer{
    margin-top: 16px;
  }
}

@media (min-width: 1100px){
  body{
    font-size: 17px;
    line-height: 1.62;
  }

  .sublead,
  .heroLead{
    font-size: 17px;
    line-height: 1.7;
  }

  .nav a,
  .btn--small,
  .mapActions a,
  .contact li,
  .contact a{
    font-size: 15px;
  }

  .stat__l,
  .hero__price .note{
    font-size: 14px;
  }

  .footer{
    font-size: 14px;
  }
}

/* ── Floating WhatsApp button ─────────────────────────────────────────────── */
.floatingWA,
.floatingWA:visited,
.floatingWA:hover,
.floatingWA:active {
  color: #fff;
}
.floatingWA {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform .15s, box-shadow .15s;
}
.floatingWA:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #fff;
}
.floatingWA svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .floatingWA span { display: none; }
  .floatingWA { padding: 14px; border-radius: 50%; }
}

/* ── Under-hero scroll hint ───────────────────────────────────────────────── */
.heroWACta {
  text-align: center;
  padding: 28px 0 4px;
}
.heroScrollHint {
  margin: 0;
  color: rgba(0,0,0,.45);
  font-size: 15px;
  letter-spacing: .2px;
}

/* CONSENT BAR */
#consentBar{
  position:fixed; bottom:20px; left:20px; z-index:9999;
  display:flex; flex-direction:column; gap:12px;
  max-width:300px;
  padding:16px 18px;
  background:#fff; border-radius:12px;
  box-shadow:0 8px 40px rgba(0,0,0,.28);
  color:#1a1a1a;
}
.consent__text{
  display:flex; flex-direction:column; gap:5px; font-size:12px; color:#444;
}
.consent__text strong{ font-size:13px; color:#111; }
.consent__actions{ display:flex; gap:8px; justify-content:center; }
.consent__actions .btn{
  font-size:12px; padding:8px 14px;
}
.consent__reject{
  background:none; border:none; padding:0;
  font-size:12px; color:#888;
  cursor:pointer; text-decoration:underline;
  text-underline-offset:2px;
}
.consent__reject:hover{ color:#333; }
@media(max-width:480px){
  #consentBar{ left:12px; right:12px; bottom:12px; max-width:none; }
}
