/* ═══════════ IMMOTEK — Front-end v3.0 ═══════════ */
:root {
  --bg: #04060a;
  --bg2: #060a14;
  --panel: rgba(255,255,255,.04);
  --panel-hover: rgba(255,255,255,.07);
  --stroke: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.60);
  --muted2: rgba(255,255,255,.40);
  --accent: #58A6FF;
  --green: #3fb950;
  --yellow: #d29922;
  --orange: #E8A838;
  --radius: 22px;
  --max: 1200px;
  --title-stroke-px: 1px;
  --title-stroke-color: #FFFFFF;
  --title-fill-color-rgba: rgba(255,255,255,0);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ═══════════ LOADER ═══════════ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg); display: grid; place-items: center;
  transition: opacity .5s ease;
}
.loader.done { opacity: 0; pointer-events: none; }
.loaderInner { text-align: center; }
.loaderLogo {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: .04em;
  color: rgba(255,255,255,.40); margin-bottom: 18px;
}
.loaderBar { width: 180px; height: 3px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.loaderFill { width: 0%; height: 100%; border-radius: 4px; background: var(--orange); transition: width .3s ease; }

/* ═══════════ HEADER ═══════════ */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(4,6,10,.60);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 20px; min-height: 64px; white-space: nowrap;
}

/* ── Brand / Logo ── */
.brand { display: flex; gap: 14px; align-items: center; }
.brandLogo {
  width: 52px; height: 52px; border-radius: 16px;
  border: 1px solid rgba(232,168,56,.25);
  background: rgba(232,168,56,.08);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 20px rgba(232,168,56,.10);
}
.brandLogo img { width: 40px; height: 40px; object-fit: contain; filter: none; }
.brand__txt .bname {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700; letter-spacing: .03em; line-height: 1;
  font-size: 15px; color: rgba(255,255,255,.40);
}
.brand__txt .bsub {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 500; font-size: 12px;
  color: var(--orange); margin-top: 6px; line-height: 1.2;
  letter-spacing: .06em; text-transform: uppercase;
}

.centerTitle { flex: 1; text-align: center; min-width: 240px; }
.centerTitle .t1 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  font-size: 11px; color: rgba(255,255,255,.85);
}
.centerTitle .t2 { font-size: 10px; color: rgba(255,255,255,.48); margin-top: 6px; }

/* ── Nav: burger ONLY (Point 3) ── */
.navWrap { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.langBtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18); color: rgba(255,255,255,.82);
  font-size: 12px; cursor: pointer;
}
.langMenu {
  position: absolute; right: 0; top: 44px; min-width: 160px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,18,.94); box-shadow: 0 26px 70px rgba(0,0,0,.55);
  padding: 6px; display: none; z-index: 60;
}
.langMenu.show { display: block; }
.langItem {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px; color: rgba(255,255,255,.78); cursor: pointer;
}
.langItem:hover { background: rgba(255,255,255,.06); }
.flag { font-size: 16px; }

.burger {
  display: block; width: 48px; height: 48px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); cursor: pointer;
}
.burger span {
  display: block; height: 2px; width: 20px;
  background: rgba(255,255,255,.70); margin: 5px auto; border-radius: 4px;
}
.mobileNav {
  display: none; padding: 10px 20px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(4,6,10,.60); backdrop-filter: blur(16px);
}
.mobileNav a {
  display: block; padding: 12px 10px; border-radius: 14px;
  color: rgba(255,255,255,.75);
}
.mobileNav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.mobileNav.show { display: block; }

@media (max-width: 1120px) { .centerTitle { display: none; } }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: 100vh; overflow: hidden; margin-top: -64px; padding-top: 64px; }
.slideBgLayer {
  position: absolute; inset: -6vh -6vw;
  background-size: cover; background-position: center;
  will-change: opacity, transform;
  filter: saturate(1.04) contrast(1.03);
}
.slideBgLayer.ken { animation: kenBurns 22s ease-in-out infinite alternate; }
@keyframes kenBurns {
  0%   { transform: scale(1.12) translate3d(0, 0, 0); }
  100% { transform: scale(1.02) translate3d(-20px, 10px, 0); }
}
@media (prefers-reduced-motion: reduce) { .slideBgLayer.ken { animation: none; } }
.heroOverlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(232,168,56,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.80));
}
.heroContent {
  position: relative; z-index: 2;
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 20px 50px;
}

/* ── Hero text wrapper — animated during transitions ── */
.heroTextWrap {
  will-change: opacity, transform, filter;
  perspective: 1200px;
}

.heroTitle {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700; font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.02em;
  text-align: center; margin: 0;
  -webkit-text-stroke: var(--title-stroke-px) var(--title-stroke-color);
  text-stroke: var(--title-stroke-px) var(--title-stroke-color);
  color: var(--title-fill-color-rgba);
}
.heroPlace { margin-top: 10px; text-align: center; color: rgba(255,255,255,.70); font-size: 14px; }
.kpis {
  margin-top: 18px; display: flex; justify-content: center;
  gap: 26px; flex-wrap: wrap; color: rgba(255,255,255,.80);
}
.kpi { display: flex; gap: 10px; align-items: baseline; }
.kpi .k { font-size: 12px; color: rgba(255,255,255,.55); }
.kpi .v { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; font-size: 18px; }
.heroCta { text-align: center; margin-top: 22px; }
.btnPlus {
  display: inline-block; padding: 10px 28px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px); color: rgba(255,255,255,.88); transition: all .25s ease;
}
.btnPlus:hover { background: rgba(232,168,56,.15); border-color: rgba(232,168,56,.40); }

.sliderUI {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 20px;
}
.arrow {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.20);
  backdrop-filter: blur(10px); display: grid; place-items: center;
  cursor: pointer; font-size: 18px; color: rgba(255,255,255,.70); transition: background .2s;
}
.arrow:hover { background: rgba(255,255,255,.08); }
.dots { display: flex; gap: 10px; align-items: center; }
.dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
  opacity: .7; cursor: pointer; transition: all .3s ease;
}
.dot.active { width: 24px; background: rgba(232,168,56,.65); border-color: rgba(232,168,56,.80); opacity: 1; }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: 80px 0; position: relative; }
.section h2 {
  margin: 0; font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(24px, 3vw, 32px); font-weight: 700; text-align: center;
}
.lead {
  margin-top: 10px; color: var(--muted); max-width: 70ch; line-height: 1.7;
  text-align: center; margin-left: auto; margin-right: auto; font-size: 15px;
}
.sectionBadge {
  display: inline-block; margin: 0 auto 14px; padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: rgba(232,168,56,.10); border: 1px solid rgba(232,168,56,.20); color: var(--orange);
  text-align: center;
}
.section .container { text-align: center; }

/* ═══════════ COUNTERS ═══════════ */
.counterSection {
  background: radial-gradient(800px 400px at 50% 20%, rgba(232,168,56,.04), transparent), var(--bg2);
}
.countersGrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 900px) { .countersGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .countersGrid { grid-template-columns: 1fr; } }
.counterCard {
  border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--panel);
  padding: 22px 16px; text-align: center; transition: border-color .3s, background .3s;
}
.counterCard:hover { border-color: rgba(255,255,255,.14); background: var(--panel-hover); }
.counterIcon { font-size: 22px; margin-bottom: 10px; }
.counterValue {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700; font-size: 28px; letter-spacing: -0.01em; line-height: 1.2;
}
.counterLabel { font-size: 13px; color: var(--muted); margin-top: 6px; }
.counterSub { font-size: 11px; color: var(--muted2); margin-top: 4px; }
.counterCard.accent-green .counterValue { color: var(--green); }
.counterCard.accent-yellow .counterValue { color: var(--yellow); }
.counterCard.accent-blue .counterValue { color: var(--accent); }
.counterSources { margin-top: 28px; font-size: 11px; color: var(--muted2); line-height: 1.8; }
.counterSources a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.counterSources a:hover { color: var(--text); }

/* ═══════════ COOKIE BANNER (Point 4) ═══════════ */
.cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: rgba(10,12,18,.95); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 20px;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookieBanner.show { transform: translateY(0); }
.cookieBanner.hidden { display: none; }
.cookieInner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookieIcon { font-size: 32px; flex-shrink: 0; }
.cookieText { flex: 1; min-width: 240px; font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.5; }
.cookieText strong { color: var(--orange); font-size: 14px; }
.cookieActions { display: flex; gap: 10px; }
.cookieBtn {
  padding: 10px 20px; border-radius: 14px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1px solid rgba(255,255,255,.12); transition: all .2s;
}
.cookieBtn.accept {
  background: var(--orange); color: #06101f; border-color: var(--orange);
}
.cookieBtn.accept:hover { background: #f0b440; }
.cookieBtn.decline {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.80);
}
.cookieBtn.decline:hover { background: rgba(255,255,255,.10); }
