/* ============================================================
   PAMI MONT — voda · plyn · kúrenie · v4
   Navy + red + gold (podľa loga)
   ============================================================ */

:root {
  /* PAMI MONT brand palette */
  --paper:        #eef1f6;
  --paper-2:      #e4e9f2;
  --paper-3:      #d6dfec;
  --bone:         #f8fafc;

  --ink:          #0b1730;
  --forest:       #12315e;
  --pine:         #1a3f72;
  --moss:         #274f8c;
  --sage:         #90a2c2;
  --leaf:         #e01f26;
  --leaf-2:       #ec3a40;
  --lime:         #f6b40a;
  --ember:        #f2a20c;
  --ember-2:      #f8c53a;

  --line:         #c6d0de;
  --line-soft:    #d8dfea;
  --line-dark:    #16305a;

  --display:      'Sora', 'Helvetica Neue', system-ui, sans-serif;
  --sans:         'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --max:          1320px;
  --gutter:       clamp(20px, 4vw, 56px);
  --section:      clamp(80px, 12vh, 160px);

  --ease:         cubic-bezier(.2,.7,.2,1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(circle at 18% 14%, rgba(224, 31, 38, .10) 0%, transparent 45%),
    radial-gradient(circle at 86% 80%, rgba(26, 63, 114, .08) 0%, transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
em {
  font-style: normal;
  color: var(--leaf);
  font-weight: inherit;
}

/* ===== grain overlay ===== */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: multiply;
}

/* =====================================================
   RIBBON
====================================================== */
.ribbon {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line-dark);
  background: var(--forest);
  color: var(--bone);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 0;
}
.ribbon__track {
  display: flex;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   NAV
====================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: max-content 1fr auto;
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  padding: 16px var(--gutter);
  background: rgba(238, 241, 246, .85);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav__mark {
  display: flex; align-items: center; gap: 12px;
  color: var(--forest);
}
.nav__logo {
  display: block;
  height: 42px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 5px 10px;
  box-shadow: 0 3px 14px rgba(18, 49, 94, .12);
}
.nav__mark { flex-shrink: 0; }
.nav__name {
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav__name-top {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.nav__name-pami {
  font-size: 20px;
  letter-spacing: 0.04em;
}
.nav__name-mont {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pine);
  opacity: 0.85;
  position: relative;
  top: -1px;
}
.nav__name-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  opacity: 0.7;
  margin-top: 5px;
}

/* reusable inline wordmark — PAMI big, MONT small */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.brand__pami {
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand__mont {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.85;
  position: relative;
  top: -0.1em;
}

.nav__links {
  display: flex;
  gap: clamp(12px, 2.4vw, 36px);
  justify-content: center;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  transition: color .25s var(--ease);
  color: var(--ink);
}
.nav__links a span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--leaf);
  margin-right: 6px;
  vertical-align: 1px;
  font-weight: 400;
}
.nav__links a:hover { color: var(--leaf); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--leaf);
  transition: right .35s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 16px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: var(--forest);
  color: var(--bone);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.nav__cta:hover {
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--ink);
  transform: translateY(-1px);
}
.nav__cta-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
}
.nav__cta-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav__burger {
  display: none;
  background: transparent;
  border: 1px solid var(--forest);
  width: 44px; height: 44px;
  border-radius: 2px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 1.6px;
  background: var(--forest);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =====================================================
   HERO
====================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 7vh, 72px) var(--gutter) clamp(80px, 11vh, 130px);
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(98deg,
      var(--paper) 0%,
      var(--paper) 30%,
      rgba(238, 241, 246, 0.92) 44%,
      rgba(238, 241, 246, 0.55) 62%,
      rgba(238, 241, 246, 0.18) 82%,
      rgba(238, 241, 246, 0) 100%),
    linear-gradient(180deg,
      rgba(238, 241, 246, 0) 70%,
      rgba(238, 241, 246, 0.5) 92%,
      var(--paper) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(242, 162, 12, .14), transparent 50%);
}

.hero__corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  opacity: 0.85;
  z-index: 3;
}
.hero__corner-label { color: var(--leaf); opacity: 1; }
.hero__corner-meta { margin-top: 4px; }
.hero__corner--tl { top: 24px; left: var(--gutter); }
.hero__corner--tr { top: 24px; right: var(--gutter); text-align: right; }

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: block;
  padding-top: clamp(40px, 7vh, 80px);
  position: relative;
  z-index: 2;
}
.hero__copy {
  max-width: min(720px, 58%);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pine);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(224, 31, 38, .22);
}

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 100%;
}
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.05s; }
.hero__title-line:nth-child(2) {
  animation-delay: 0.18s;
  padding-left: 0.25em;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--pine);
}
.hero__title-line:nth-child(3) {
  animation-delay: 0.31s;
  padding-left: 0.5em;
  font-weight: 700;
}
.hero__title-line:nth-child(4) {
  animation-delay: 0.44s;
  padding-left: 0.75em;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--pine);
}
.hero__title-line--accent {
  animation-delay: 0.05s !important;
  color: var(--leaf);
  font-weight: 800;
}
.hero__title-line--accent em {
  color: var(--leaf);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  margin-top: 40px;
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--pine);
  opacity: 0;
  animation: rise .8s var(--ease) 0.6s forwards;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  animation: rise .8s var(--ease) 0.75s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary {
  background: var(--forest);
  color: var(--bone);
  border: 1px solid var(--forest);
  box-shadow: 0 14px 30px -12px rgba(18, 49, 94, .45);
}
.btn--primary:hover {
  background: var(--leaf);
  color: var(--ink);
  border-color: var(--leaf);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(224, 31, 38, .55);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--forest);
}
.btn--ghost:hover {
  background: var(--forest);
  color: var(--bone);
  transform: translateY(-2px);
}
.btn--block {
  width: 100%;
  justify-content: center;
  padding: 18px 22px;
}

.hero__chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.6vw, 20px);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise .8s var(--ease) 0.9s forwards;
}
.hero__chips li {
  display: flex; flex-direction: column;
  gap: 6px;
}
.hero__chips strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--forest);
}
.hero__chips span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pine);
  opacity: 0.75;
}

/* HERO ART — green forest, ember accents for heat */
.hero__art {
  position: relative;
  align-self: stretch;
  color: var(--forest);
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(242, 162, 12, .12), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(224, 31, 38, .10), transparent 65%);
  z-index: -1;
}
.house {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.house__sun-rays {
  transform-origin: 430px 90px;
  animation: spinSun 24s linear infinite;
}
@keyframes spinSun {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.house__sun circle:nth-child(2) {
  fill: var(--ember);
  animation: sunPulse 4s ease-in-out infinite;
  transform-origin: 430px 90px;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50%      { transform: scale(1.18); opacity: 0.95; }
}
.house__beams {
  stroke: var(--ember);
  stroke-dashoffset: 0;
  animation: beam 8s linear infinite;
}
@keyframes beam {
  to { stroke-dashoffset: -120; }
}
.house__underfloor {
  stroke: var(--ember);
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawFloor 4s var(--ease) 1s forwards, pulseFlow 5s ease-in-out 5s infinite;
}
@keyframes drawFloor {
  to { stroke-dashoffset: 0; }
}
@keyframes pulseFlow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
.house__pump-fan {
  transform-origin: 427px 455px;
  animation: spinFan 6s linear infinite;
}
@keyframes spinFan {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.house__boiler path:nth-of-type(1) {
  fill: var(--ember);
  transform-origin: 150px 432px;
  animation: flicker 2.5s ease-in-out infinite;
}
@keyframes flicker {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%     { transform: scaleY(1.15); opacity: 0.75; }
}
.house__ducts {
  stroke-dashoffset: 0;
  animation: flow 10s linear infinite;
}
@keyframes flow {
  to { stroke-dashoffset: -80; }
}
.house__labels text { fill: var(--pine); }
.house__labels line { stroke: var(--pine); }

.hero__art-caption {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero__art-caption-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
}
.hero__art-caption-text {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--pine);
  font-weight: 400;
}

.hero__scroll {
  position: absolute;
  bottom: 28px; left: var(--gutter);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  display: flex; align-items: center; gap: 12px;
  opacity: 0.85;
  animation: bob 3s ease-in-out infinite;
  z-index: 3;
}
.hero__scroll svg { color: var(--leaf); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* =====================================================
   PAMI INDEX  (dark forest dashboard)
====================================================== */
.dex {
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--forest);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  border-top: 1px solid var(--line);
}
.dex__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 85%);
  pointer-events: none;
}
.dex::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(187, 217, 122, .14), transparent 50%),
    radial-gradient(ellipse at 88% 78%, rgba(242, 162, 12, .12), transparent 55%);
  pointer-events: none;
}
.dex > * { position: relative; z-index: 1; }

.dex__head {
  max-width: var(--max);
  margin: 0 auto calc(var(--section) * 0.5);
}
.dex__head-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(248, 250, 252, .15);
}
.dex__head-row .section-head__index { color: var(--lime); margin: 0; }

.dex__live {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.dex__live-dot {
  width: 8px; height: 8px;
  background: var(--leaf-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(236, 58, 64, .25);
  animation: dex-blink 1.6s ease-in-out infinite;
}
@keyframes dex-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(236, 58, 64, .35); }
  50%      { opacity: 0.4; box-shadow: 0 0 0 8px rgba(236, 58, 64, 0); }
}

.dex__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 28px;
}
.dex__title em { color: var(--lime); font-weight: 500; }

.dex__lede {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(248, 250, 252, .78);
}

/* GRID */
.dex__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.dex__card {
  background: rgba(248, 250, 252, .04);
  border: 1px solid rgba(248, 250, 252, .12);
  border-radius: 4px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.dex__card:hover {
  border-color: rgba(187, 217, 122, .35);
  background: rgba(248, 250, 252, .06);
  transform: translateY(-2px);
}
.dex__card--prod    { grid-column: span 2; }
.dex__card--co2     { grid-column: span 2; }
.dex__card--inst    { grid-column: span 2; }
.dex__card--weather { grid-column: span 2; }
.dex__card--map     { grid-column: span 4; }

.dex__card-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .6);
  display: flex; align-items: baseline; gap: 10px;
}
.dex__card-label span {
  color: var(--lime);
  font-weight: 500;
}

.dex__counter {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 2px;
}
.dex__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.dex__unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  padding-bottom: 6px;
}
.dex__delta {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(248, 250, 252, .65);
  letter-spacing: 0.01em;
}
.dex__delta strong { color: var(--lime); font-weight: 600; }
.dex__delta--up { color: var(--leaf-2); }

.dex__bar {
  height: 4px;
  background: rgba(248, 250, 252, .08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: auto;
}
.dex__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--leaf), var(--lime));
  border-radius: 999px;
  width: 0;
  animation: dex-bar-fill 1.5s var(--ease) forwards;
  animation-delay: 0.4s;
}
@keyframes dex-bar-fill {
  to { width: var(--w); }
}

.dex__sparkline {
  height: 36px;
  margin-top: -6px;
  color: var(--leaf-2);
  opacity: 0.85;
}
.dex__sparkline svg {
  width: 100%; height: 100%;
}
.dex__card--co2 .dex__sparkline { color: var(--brass); }
.dex__card--inst .dex__sparkline { color: var(--ember-2); }

/* WEATHER CARD */
.dex__card--weather { gap: 22px; }
.dex__weather {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(248, 250, 252, .15);
}
.dex__weather-icon {
  color: var(--ember-2);
  width: 76px; height: 76px;
}
.dex__weather-icon svg { width: 100%; height: 100%; }
.dex__sun-rays {
  transform-origin: 40px 36px;
  animation: spin-slow 28s linear infinite;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
.dex__weather-temp {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.dex__weather-cond {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--bone);
  margin-top: 4px;
}
.dex__weather-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .55);
  margin-top: 4px;
}
.dex__weather-prod {}
.dex__weather-prod-label {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(248, 250, 252, .65);
  margin-bottom: 6px;
}
.dex__weather-prod-label em { color: var(--lime); font-style: normal; font-weight: 500; }
.dex__weather-prod-value {
  display: flex; align-items: baseline; gap: 10px;
}
.dex__weather-prod-value .dex__num {
  font-size: 48px;
  color: var(--lime);
}
.dex__weather-prod-value .dex__unit { color: var(--lime); }

.dex__live-pulse {
  width: 8px; height: 8px;
  background: var(--leaf-2);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(236, 58, 64, .25);
  animation: dex-blink 1.6s ease-in-out infinite;
  margin-right: 6px;
  align-self: center;
}

/* MAP CARD */
.dex__card--map {
  padding: 28px 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.dex__map-wrap {
  position: relative;
  margin: 8px -8px 0;
}
.dex__map {
  width: 100%; height: auto;
  color: var(--bone);
  display: block;
}
.dex__pin > circle:nth-child(1) {
  fill: currentColor;
}
.dex__pin-pulse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.7;
  transform-origin: center;
  transform-box: fill-box;
  animation: dex-pulse 2.6s ease-out infinite;
  animation-delay: var(--d);
}
@keyframes dex-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(4);   opacity: 0;   }
}
.dex__pin--leaf  { color: var(--leaf-2); }
.dex__pin--ember { color: var(--ember-2); }
.dex__pin--brass { color: var(--brass); }
.dex__pin--home  { color: var(--lime); }
.dex__pin--home circle:nth-child(2) {
  filter: drop-shadow(0 0 6px rgba(187, 217, 122, .6));
}

.dex__map-legend {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px dashed rgba(248, 250, 252, .15);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .6);
}
.dex__map-legend span {
  display: inline-flex; align-items: center; gap: 8px;
}
.dex__leg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dex__leg-dot--leaf  { background: var(--leaf-2); }
.dex__leg-dot--ember { background: var(--ember-2); }
.dex__leg-dot--brass { background: var(--brass); }

/* FOOTER */
.dex__foot {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .45);
  flex-wrap: wrap;
  gap: 12px;
}
.dex__foot-time [data-clock] { color: var(--lime); }

/* responsive */
@media (max-width: 1100px) {
  .dex__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .dex__card--prod    { grid-column: span 2; }
  .dex__card--co2     { grid-column: span 2; }
  .dex__card--inst    { grid-column: span 2; }
  .dex__card--weather { grid-column: span 2; }
  .dex__card--map     { grid-column: span 4; }
}
@media (max-width: 760px) {
  .dex__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dex__card--prod, .dex__card--co2, .dex__card--inst,
  .dex__card--weather, .dex__card--map { grid-column: span 2; }
  .dex__num { font-size: clamp(36px, 9vw, 52px); }
  .dex__head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =====================================================
   SLNEČNÝ OBLÚK  (time-aware sun-path widget)
====================================================== */
.sun {
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
  z-index: 2;
  overflow: hidden;
  --sky-top: #5a8db5;
  --sky-bot: #f4d18f;
  --sky-mid: rgba(255, 217, 168, .35);
  --sun-tint: #ffd28a;
}
.sun::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(248, 197, 58, .10), transparent 55%),
    radial-gradient(ellipse at 86% 78%, rgba(224, 31, 38, .08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.sun > * { position: relative; z-index: 1; }

.sun__head {
  max-width: var(--max);
  margin: 0 auto calc(var(--section) * 0.4);
}
.sun__head-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.sun__head-row .section-head__index { margin: 0; }
.sun__date {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.sun__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.sun__title em { color: var(--ember); font-weight: 500; }
.sun__lede {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pine);
}

/* STAGE */
.sun__stage {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  aspect-ratio: 1200 / 520;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(11, 23, 48, .35);
  isolation: isolate;
}
.sun__sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 60%, var(--sky-bot) 100%);
  transition: background 6s ease;
  z-index: 0;
}
.sun__sky::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 23, 48, .65) 100%);
}

.sun__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 4s ease;
}
.sun__stars.is-visible { opacity: 1; }
.sun__stars span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  animation: sun-twinkle 3.4s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes sun-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50%      { opacity: 1; transform: scale(1.3); }
}

.sun__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.sun__marker {
  transition: transform 1.6s var(--ease);
  filter: drop-shadow(0 0 20px rgba(255, 226, 184, .6));
}
.sun__marker-rays {
  transform-origin: 0 0;
  animation: spin-slow 22s linear infinite;
}

.sun__now {
  transition: opacity .6s var(--ease);
}
.sun__now line {
  transition: x1 1.6s var(--ease), x2 1.6s var(--ease);
}

.sun__clock-badge {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(11, 23, 48, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone);
}
.sun__clock-dot {
  width: 6px; height: 6px;
  background: var(--leaf-2);
  border-radius: 50%;
  animation: dex-blink 1.6s ease-in-out infinite;
}

/* STATS STRIP */
.sun__stats {
  max-width: var(--max);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.sun__stat {
  background: var(--bone);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sun__stat--accent { background: var(--forest); color: var(--bone); }
.sun__stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
}
.sun__stat--accent .sun__stat-label { color: var(--lime); }
.sun__stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sun__stat--accent .sun__stat-value { color: var(--bone); }
.sun__stat-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
  opacity: 0.7;
}
.sun__stat--accent .sun__stat-sub { color: rgba(248, 250, 252, .65); }

/* responsive */
@media (max-width: 1100px) {
  .sun__stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .sun__stats { grid-template-columns: repeat(2, 1fr); }
  .sun__head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sun__stage { aspect-ratio: 4 / 3; }
}

/* =====================================================
   MANIFESTO
====================================================== */
.manifest {
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  z-index: 2;
}
.manifest__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  max-width: var(--max);
  margin: 0 auto 56px;
}
.manifest__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.manifest__lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 2.5vw, 33px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.manifest__lead em {
  color: var(--leaf);
  font-weight: 600;
}
.manifest__pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.manifest__pillars li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px 16px;
  align-items: baseline;
}
.manifest__pillar-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--leaf);
  grid-row: span 2;
  text-transform: uppercase;
}
.manifest__pillars h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.manifest__pillars p {
  font-size: 16px;
  line-height: 1.62;
  color: var(--pine);
  grid-column: 2;
}

/* =====================================================
   SECTION HEAD
====================================================== */
.section-head {
  max-width: var(--max);
  margin: 0 auto calc(var(--section) * 0.55);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}
.section-head__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  grid-column: 1 / -1;
}
.section-head__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-head__title em {
  color: var(--leaf);
  font-weight: 500;
}
.section-head__lede {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pine);
  justify-self: end;
}
.section-head--dark .section-head__index { color: var(--lime); }
.section-head--dark .section-head__title { color: var(--bone); }
.section-head--dark .section-head__title em { color: var(--lime); }
.section-head--dark .section-head__lede { color: rgba(248, 250, 252, .72); }
.section-head--dark { border-color: rgba(248, 250, 252, .15); }

/* =====================================================
   SERVICES
====================================================== */
.svc {
  padding: var(--section) var(--gutter);
  position: relative;
  background: var(--paper);
  z-index: 2;
}

.svc__card {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(40px, 5vh, 72px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
}
.svc__card:last-child { border-bottom: 1px solid var(--line); }
.svc__card--alt {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.svc__card--alt .svc__body { order: 2; }
.svc__card--alt .svc__art  { order: 1; }
.svc__card--alt .svc__meta { order: 0; grid-column: 1 / -1; }

.svc__meta {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 12px;
}
.svc__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 68px;
  line-height: 1;
  color: var(--leaf);
  letter-spacing: -0.05em;
}

.svc__body h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}
.svc__claim {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--pine);
  max-width: 520px;
  margin-bottom: 28px;
}
.svc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.svc__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1.5px;
  background: var(--leaf);
}
.svc__brands {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  opacity: 0.85;
}

.svc__art {
  position: relative;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 30px 60px -30px rgba(18, 49, 94, .25);
  aspect-ratio: 1;
  overflow: hidden;
  color: var(--forest);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.svc__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease), filter .5s var(--ease);
  filter: saturate(0.95) contrast(1.02);
}
.svc__card:hover .svc__art img {
  transform: scale(1.04);
}
.svc__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 48, .35) 0%, rgba(11, 23, 48, 0) 32%, rgba(11, 23, 48, 0) 70%, rgba(11, 23, 48, .25) 100%);
  pointer-events: none;
  z-index: 1;
}
.svc__art::after {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 10px;
  background: rgba(248, 250, 252, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(11, 23, 48, .15);
}
.svc__card[data-svc="01"] .svc__art::after { content: "Fig. 01 — TČ"; }
.svc__card[data-svc="05"] .svc__art::after { content: "Fig. 04 — KLIMA"; }
.svc__card[data-svc="03"] .svc__art::after { content: "Fig. 02 — BIO"; }
.svc__card[data-svc="04"] .svc__art::after { content: "Fig. 03 — SK"; }
.svc__card:hover .svc__art {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 40px 70px -30px rgba(18, 49, 94, .35);
}

.art-fan {
  transform-origin: 110px 130px;
  animation: spinFan 5s linear infinite;
}
.art-flame {
  fill: var(--ember) !important;
  transform-origin: 110px 130px;
  animation: flicker 1.5s ease-in-out infinite;
}
.art-smoke path {
  stroke-dasharray: 4 6;
  animation: flow 4s linear infinite;
}
.art-cold path {
  stroke-dasharray: 6 8;
  animation: flow 3s linear infinite reverse;
}
.art-rays circle {
  animation: sunPulse 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* =====================================================
   TOK ENERGIE  (animated energy flow schematic)
====================================================== */
.tok {
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: hidden;
  z-index: 2;
  isolation: isolate;
}
.tok::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(248, 197, 58, .12), transparent 50%),
    radial-gradient(ellipse at 88% 75%, rgba(224, 31, 38, .10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.tok > * { position: relative; z-index: 1; }

.tok__head {
  max-width: var(--max);
  margin: 0 auto calc(var(--section) * 0.4);
}
.tok__head-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.tok__head-row .section-head__index { margin: 0; }

.tok__time {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tok__time-label { color: var(--pine); opacity: 0.65; }
.tok__time-name { color: var(--ember); font-weight: 500; }
.tok__time-clock {
  color: var(--ink);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bone);
}

.tok__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.tok__title em { color: var(--ember); font-weight: 500; }

.tok__lede {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pine);
}

.tok__stage {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--forest);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: 32px 32px 28px;
  position: relative;
  box-shadow: 0 40px 80px -40px rgba(11, 23, 48, .35);
  color: var(--bone);
}

.tok__svg {
  width: 100%;
  height: auto;
  color: var(--bone);
  display: block;
}
.tok__svg text {
  font-family: var(--mono);
}

/* Sun + Moon transitions */
.tok__sun, .tok__moon {
  transition: opacity 1.2s var(--ease);
}
.tok__sun-rays {
  transform-origin: 120px 120px;
  animation: spin-slow 30s linear infinite;
}
.tok__sun-disc {
  transform-origin: 120px 120px;
  animation: sun-pulse 4s ease-in-out infinite;
}
@keyframes sun-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.92; }
}

/* Battery fill transition */
.tok__bat-fill {
  transition: width 1.4s var(--ease);
}

/* Energy flows */
.tok__flow {
  stroke: var(--leaf-2);
  stroke-dasharray: 8 10;
  stroke-dashoffset: 0;
  animation: tok-flow 1.4s linear infinite;
  opacity: 1;
  transition: opacity .6s var(--ease), stroke .4s var(--ease);
}
@keyframes tok-flow {
  to { stroke-dashoffset: -36; }
}
.tok__flow--export { stroke: var(--brass); }
.tok__flow--reverse {
  animation-direction: reverse;
  stroke: var(--ember);
}
.tok__flow[data-flow="inv-pump"] { stroke: var(--ember-2); }
.tok__flow[data-flow="inv-bat"]  { stroke: var(--lime); }
.tok__flow[data-flow="sun-pan"]  { stroke: var(--ember-2); opacity: 0.6; }
.tok__flow[data-flow="pan-inv"]  { stroke: var(--leaf-2); }
.tok__flow.is-off { opacity: 0; }

.tok__flow-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  fill: var(--bone);
  text-transform: uppercase;
  text-anchor: middle;
  transition: opacity .5s var(--ease), fill .3s var(--ease);
}
.tok__flow-label.is-off { opacity: 0.2; }
.tok__flow-label[data-flow-label="inv-grid"] { fill: var(--brass); }
.tok__flow-label[data-flow-label="inv-pump"] { fill: var(--ember-2); }
.tok__flow-label[data-flow-label="inv-bat"]  { fill: var(--lime); }

.tok__node rect {
  transition: stroke .4s var(--ease);
}
.tok__node--bat .tok__bat-fill {
  transition: width 1.2s var(--ease);
}

/* SCENE PICKER */
.tok__scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.tok__scene {
  background: rgba(248, 250, 252, .04);
  border: 1px solid rgba(248, 250, 252, .12);
  border-radius: 3px;
  padding: 14px 14px 12px;
  color: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  text-align: left;
}
.tok__scene:hover {
  background: rgba(248, 250, 252, .08);
  border-color: rgba(187, 217, 122, .35);
  transform: translateY(-1px);
}
.tok__scene.is-active {
  background: var(--ink);
  border-color: var(--ember);
}
.tok__scene-icon {
  font-size: 18px;
  line-height: 1;
}
.tok__scene-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
}
.tok__scene.is-active .tok__scene-label { color: var(--ember-2); }
.tok__scene-time {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(248, 250, 252, .55);
}

/* LIVE STATUS STRIP */
.tok__status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: rgba(248, 250, 252, .12);
  border: 1px solid rgba(248, 250, 252, .12);
  border-radius: 3px;
  overflow: hidden;
}
.tok__status-item {
  background: var(--ink);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tok__status-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .55);
}
.tok__status-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}

/* responsive */
@media (max-width: 760px) {
  .tok__stage { padding: 18px 16px; }
  .tok__scenes { grid-template-columns: repeat(2, 1fr); }
  .tok__status { grid-template-columns: repeat(2, 1fr); }
  .tok__head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tok__flow-label { font-size: 8.5px; }
}

/* =====================================================
   PROCESS  (DARK FOREST — single contrast section)
====================================================== */
.process {
  padding: var(--section) var(--gutter);
  background: var(--forest);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(187, 217, 122, .15), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(242, 162, 12, .12), transparent 55%);
  pointer-events: none;
}
.process > * { position: relative; z-index: 1; }

.process__steps {
  list-style: none;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(248, 250, 252, .15);
  border: 1px solid rgba(248, 250, 252, .15);
}
.process__steps li {
  background: var(--forest);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background .4s var(--ease);
}
.process__steps li:hover { background: var(--pine); }

.process__rail {
  display: flex; align-items: center; gap: 14px;
}
.process__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.05em;
}
.process__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(224, 31, 38, .28);
}
.process__content h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
}
.process__content p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(248, 250, 252, .7);
  margin-top: 8px;
}
.process__time {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(248, 250, 252, .15);
}

/* =====================================================
   NUMBERS
====================================================== */
.numbers {
  padding: var(--section) var(--gutter);
  background: var(--paper-3);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.numbers__head {
  max-width: var(--max);
  margin: 0 auto calc(var(--section) * 0.5);
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}
.numbers__head .section-head__index { margin-bottom: 18px; display: block; }
.numbers__head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}
.numbers__head em {
  color: var(--leaf);
  font-weight: 500;
}

.numbers__grid {
  list-style: none;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.numbers__grid li {
  padding: 36px 22px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.numbers__grid li:last-child { border-right: none; }
.numbers__grid li::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.numbers__grid li.is-visible::before { transform: scaleX(1); }

.numbers__big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(72px, 10vw, 144px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.numbers__plus {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 64px);
  color: var(--leaf);
  margin-left: 4px;
  display: inline-block;
}
.numbers__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  max-width: 200px;
  opacity: 0.85;
}

/* =====================================================
   FIRMA
====================================================== */
.firma {
  padding: var(--section) var(--gutter);
  background: var(--paper);
  position: relative;
  z-index: 2;
}
.firma__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.firma__copy { max-width: 900px; }
.firma__copy .section-head__index { display: block; margin-bottom: 28px; }
.firma__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 36px;
}
.firma__title em {
  color: var(--leaf);
  font-weight: 500;
}
.firma__copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--pine);
  margin-bottom: 18px;
  max-width: 600px;
}
.firma__certs {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.firma__certs li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--forest);
  background: var(--bone);
}

.firma__visual {
  position: relative;
  margin: 64px 0 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--forest);
  box-shadow: 0 40px 80px -40px rgba(11, 23, 48, .35);
}
.firma__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.firma__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 48, 0) 50%, rgba(11, 23, 48, 0.72) 100%);
  pointer-events: none;
}
.firma__visual-cap {
  position: absolute;
  left: 28px; right: 28px; bottom: 24px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: end;
  color: var(--bone);
  z-index: 2;
}
.firma__visual-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.firma__visual-text {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--bone);
}

@media (max-width: 720px) {
  .firma__visual { aspect-ratio: 16 / 9; margin-top: 40px; }
  .firma__visual-cap { left: 18px; right: 18px; bottom: 18px; grid-template-columns: 1fr; gap: 6px; }
}

.firma__aside {
  position: sticky;
  top: 100px;
}
.firma__quote {
  background: var(--forest);
  color: var(--bone);
  border: 1px solid var(--forest);
  border-radius: 3px;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(18, 49, 94, .25);
}
.firma__quote-mark {
  position: absolute;
  top: -28px; left: 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 110px;
  line-height: 1;
  color: var(--leaf);
}
.firma__quote p {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.firma__quote-by {
  display: block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

/* =====================================================
   KONFIGURÁTOR
====================================================== */
.cfg {
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  z-index: 2;
  overflow: hidden;
}
.cfg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 88% 18%, rgba(224, 31, 38, .14), transparent 50%),
    radial-gradient(ellipse at 14% 80%, rgba(184, 133, 71, .10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cfg > * { position: relative; z-index: 1; }

.cfg__head {
  max-width: var(--max);
  margin: 0 auto calc(var(--section) * 0.4);
}
.cfg__head-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.cfg__head-row .section-head__index { margin: 0; }
.cfg__head-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  opacity: 0.7;
}
.cfg__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.cfg__title em { color: var(--leaf); font-weight: 500; }
.cfg__lede {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pine);
}

.cfg__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* STEPS */
.cfg__steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.cfg__step {
  border: none;
  padding: 0;
  margin: 0;
}
.cfg__step-head {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.cfg__step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--leaf);
  letter-spacing: -0.04em;
}
.cfg__step-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
}

.cfg__opts {
  display: grid;
  gap: 10px;
}
.cfg__opts--4 { grid-template-columns: repeat(4, 1fr); }
.cfg__opts--tech { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.cfg__opt {
  position: relative;
  cursor: pointer;
  display: block;
}
.cfg__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cfg__opt-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px 14px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  height: 100%;
}
.cfg__opt:hover .cfg__opt-card {
  border-color: var(--pine);
  transform: translateY(-1px);
}
.cfg__opt input:checked + .cfg__opt-card {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 8px 22px -10px rgba(18, 49, 94, .35);
}
.cfg__opt-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.cfg__opt input:checked + .cfg__opt-card .cfg__opt-title { color: var(--bone); }
.cfg__opt-sub {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--pine);
  opacity: 0.85;
}
.cfg__opt input:checked + .cfg__opt-card .cfg__opt-sub { color: rgba(248, 250, 252, .65); }
.cfg__opt-price {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--leaf);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.cfg__opt input:checked + .cfg__opt-card .cfg__opt-price {
  color: var(--lime);
  border-top-color: rgba(248, 250, 252, .2);
}
.cfg__opt--tech .cfg__opt-card {
  padding: 16px 16px 14px;
}

/* RESULT */
.cfg__result {
  position: sticky;
  top: 100px;
}
.cfg__result-inner {
  background: var(--forest);
  color: var(--bone);
  border-radius: 4px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(11, 23, 48, .45);
  border: 1px solid var(--forest);
}
.cfg__result-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(187, 217, 122, .18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(248, 197, 58, .12), transparent 55%);
  pointer-events: none;
}
.cfg__result-inner > * { position: relative; }

.cfg__result-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(248, 250, 252, .15);
}
.cfg__result-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.cfg__result-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .55);
}
.cfg__result-dot {
  width: 6px; height: 6px;
  background: var(--leaf-2);
  border-radius: 50%;
  animation: dex-blink 1.6s ease-in-out infinite;
}

.cfg__result-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cfg__result-block--big {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(248, 250, 252, .12);
}
.cfg__result-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .55);
}
.cfg__result-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--bone);
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.cfg__result-value--m {
  font-size: clamp(26px, 2.8vw, 36px);
}
.cfg__result-value--accent { color: var(--lime); }
.cfg__result-value [data-result] {
  transition: opacity .3s var(--ease);
}
.cfg__result-sep {
  color: var(--lime);
  opacity: 0.65;
  font-weight: 400;
}
.cfg__result-unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 400;
}
.cfg__result-meta {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(248, 250, 252, .65);
}
.cfg__result-meta strong { color: var(--lime); font-weight: 600; }

.cfg__result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(248, 250, 252, .12);
}

.cfg__result-grants {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.cfg__result-grant {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .65);
}
.cfg__grant-dot {
  width: 6px; height: 6px;
  background: var(--ember-2);
  border-radius: 50%;
}
.cfg__grant-dot--leaf { background: var(--leaf-2); }

.cfg__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  background: var(--lime);
  color: var(--ink);
  border: none;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 14px 30px -10px rgba(187, 217, 122, .35);
}
.cfg__cta:hover {
  transform: translateY(-2px);
  background: var(--bone);
  box-shadow: 0 22px 40px -12px rgba(187, 217, 122, .45);
}
.cfg__cta-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
  color: rgba(248, 250, 252, .55);
  margin-top: -4px;
}

/* responsive */
@media (max-width: 1000px) {
  .cfg__grid { grid-template-columns: 1fr; }
  .cfg__result { position: static; }
}
@media (max-width: 720px) {
  .cfg__opts--4 { grid-template-columns: 1fr 1fr; }
  .cfg__opts--tech { grid-template-columns: 1fr 1fr; }
  .cfg__result-row { grid-template-columns: 1fr; gap: 14px; }
}

/* =====================================================
   CONTACT
====================================================== */
.contact {
  padding: var(--section) var(--gutter);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
  color: var(--ink);
}
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.contact__head {
  max-width: 800px;
  margin-bottom: calc(var(--section) * 0.5);
}
.contact__head .section-head__index { display: block; margin-bottom: 28px; }
.contact__head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 26px;
}
.contact__head em {
  color: var(--leaf);
  font-weight: 500;
}
.contact__head p {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pine);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* FORM */
.contact__form {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 60px -30px rgba(18, 49, 94, .15);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--row > div { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  outline: none;
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus {
  border-color: var(--leaf);
}
.field textarea {
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
}
.chip-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 6px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0; pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .25s var(--ease);
  background: transparent;
  color: var(--ink);
}
.chip:hover span { border-color: var(--forest); }
.chip input:checked + span {
  background: var(--forest);
  color: var(--bone);
  border-color: var(--forest);
}

.contact__small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--pine);
  text-align: center;
  margin-top: 6px;
  opacity: 0.7;
}

/* INFO CARDS */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__card {
  background: var(--forest);
  color: var(--bone);
  border-radius: 3px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--forest);
}
.contact__card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(187, 217, 122, .25), transparent 70%);
  pointer-events: none;
}
.contact__card-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.contact__big {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
  transition: color .25s var(--ease);
}
.contact__big--sm { font-size: 26px; }
a.contact__big:hover { color: var(--lime); }
.contact__sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(248, 250, 252, .72);
}
.contact__map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 6px 0 4px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, .12);
  background: #1c241c;
}
.contact__map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact__maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 14px;
  border: 1px solid rgba(248, 250, 252, .35);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  align-self: flex-start;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.contact__maps:hover {
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--ink);
}
.foot__maps {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
  transition: color .25s var(--ease);
}
.foot__maps svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.foot__maps:hover svg {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* =====================================================
   FOOTER
====================================================== */
.foot {
  background: var(--ink);
  color: var(--bone);
  padding: 64px var(--gutter) 28px;
  border-top: 1px solid var(--line-dark);
  position: relative;
  z-index: 2;
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248, 250, 252, .15);
}
.foot__brand {
  display: flex; align-items: flex-start; gap: 18px;
  color: var(--lime);
}
.foot__brand-text { display: flex; flex-direction: column; align-items: flex-start; }
.foot__cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 20px;
  padding: 12px 20px;
  border: 1px solid rgba(190, 227, 108, .45);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--lime);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.foot__cta:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  transform: translateY(-2px);
}
.foot__cta svg { transition: transform .3s var(--ease); }
.foot__cta:hover svg { transform: translateX(4px); }
.foot__logo {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  padding: 6px 8px;
  background: var(--bone);
}
.foot__name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.foot__name-pami {
  font-size: 24px;
  letter-spacing: 0.04em;
}
.foot__name-mont {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.7;
  position: relative;
  top: -1px;
}
.foot__name-suffix {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.55;
  text-transform: none;
}
.foot__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .55);
  margin-top: 4px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-content: start;
}
.foot__cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(248, 250, 252, .78); }
.foot__cols a { transition: color .25s var(--ease); }
.foot__cols a:hover { color: var(--lime); }
.foot__h {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
}
.foot__base {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, .45);
}

/* =====================================================
   REVEAL ANIMATIONS (scroll)
====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1280px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav { grid-template-columns: auto 1fr auto auto; gap: 16px; }
  .nav__cta-num { font-size: 14px; }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 40px;
  }
  .hero__copy { max-width: 100%; }
  .hero__corner { display: none; }
  .hero__chips { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hero__chips strong { font-size: 26px; }
  .hero__scroll { display: none; }
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(238, 241, 246, 0.78) 0%,
        rgba(238, 241, 246, 0.85) 40%,
        rgba(238, 241, 246, 0.92) 75%,
        var(--paper) 100%),
      radial-gradient(ellipse at 50% 20%, rgba(242, 162, 12, .12), transparent 55%);
  }

  .manifest__inner,
  .firma__inner,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .svc__card,
  .svc__card--alt {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .svc__card--alt .svc__body { order: 1; }
  .svc__card--alt .svc__art  { order: 2; }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .numbers__grid li { border-right: none; border-bottom: 1px solid var(--line); }
  .numbers__grid li:nth-child(odd) { border-right: 1px solid var(--line); }

  .foot__top { grid-template-columns: 1fr; gap: 40px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .foot__base { flex-direction: column; gap: 8px; text-align: center; }

  .firma__aside { position: static; }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter);
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero { padding-top: 24px; }
  .hero__title { font-size: clamp(48px, 14vw, 80px); }
  .hero__lede { font-size: 15.5px; }
  .hero__chips { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__lede { justify-self: start; }
  .svc__num { font-size: 48px; }
  .process__steps { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__title-line { opacity: 1; transform: none; }
  .hero__lede, .hero__cta-row, .hero__chips { opacity: 1; }
}

/* =====================================================
   KATALÓG · CENNÍK · REFERENCIE
====================================================== */

/* ---------- KATALÓG ---------- */
.cat {
  position: relative;
  z-index: 2;
  padding: var(--section) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.cat__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 6vw, 64px);
  position: relative;
}
.cat__grid::before { display: none; }
.cat__col {
  background: linear-gradient(165deg, var(--bone), var(--paper));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 30px 24px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cat__col::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--leaf), var(--lime));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.cat__col:hover::before { transform: scaleX(1); }
.cat__col-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cat__col-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--forest);
  border-radius: 9px;
  padding: 6px 10px;
  flex: none;
}
.cat__col-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--forest);
  line-height: 1.15;
}
.cat__brands {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cat__brands li {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  transition: background .3s var(--ease), transform .35s var(--ease);
}
.cat__brands li:hover {
  background: rgba(18, 49, 94, .055);
  transform: translateX(4px);
}
.cat__brand-mark {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--forest);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(18, 49, 94, .07);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.cat__brands li:hover .cat__brand-mark {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  transform: scale(1.06) rotate(-2deg);
}
.cat__brand-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat__brand-body strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: 0.002em;
}
.cat__brand-line {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--moss);
  line-height: 1.4;
  text-transform: none;
}
.cat__foot {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.cat__foot-tag { color: var(--pine); font-weight: 600; }
.cat__foot-meta { opacity: 0.75; text-transform: none; letter-spacing: 0.08em; }

/* ---------- CENNÍK ---------- */
.price {
  position: relative;
  z-index: 2;
  padding: var(--section) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.price__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
}
.price__card {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.price__card:hover {
  transform: translateY(-3px);
  border-color: var(--moss);
}
.price__card--featured {
  background: var(--forest);
  color: var(--bone);
  border-color: var(--forest);
}
.price__card--featured h3,
.price__card--featured .price__from-val { color: var(--bone); }
.price__card--featured em { color: var(--lime); }
.price__card--featured .price__inc-h,
.price__card--featured .price__from-label { color: rgba(248, 250, 252, .65); }
.price__card--featured .price__inc ul li { border-bottom-color: rgba(248, 250, 252, .12); }
.price__card--featured .price__inc ul li::before { background: var(--lime); }
.price__card--featured .price__exc { color: rgba(248, 250, 252, .55); border-top-color: rgba(248, 250, 252, .12); }
.price__badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--lime);
  padding: 4px 8px;
}
.price__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--moss);
}
.price__card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--forest);
}
.price__from {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--line);
}
.price__from-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}
.price__from-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.price__subsidy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  line-height: 1.5;
}
.price__inc-h {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}
.price__inc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.price__inc ul li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px dashed var(--line-soft);
}
.price__inc ul li:last-child { border-bottom: none; }
.price__inc ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 7px; height: 7px;
  background: var(--leaf);
}
.price__exc {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--moss);
  opacity: 0.85;
}
.price__foot {
  margin-top: clamp(32px, 5vw, 56px);
  padding: 28px;
  background: var(--paper-3);
  border-left: 3px solid var(--ember);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.price__foot-note {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 640px;
}
.price__foot-note strong { color: var(--ember); font-weight: 700; }
.price__foot-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--forest);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .25s var(--ease);
}
.price__foot-cta:hover { background: var(--pine); }

/* ---------- REFERENCIE ---------- */
.refs {
  position: relative;
  z-index: 2;
  padding: var(--section) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.refs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 6vw, 72px);
}
.refs__card {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.refs__card:hover {
  transform: translateY(-3px);
  border-color: var(--moss);
}
.refs__card--lg {
  background: var(--paper-3);
  border-color: var(--moss);
}
.refs__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.refs__type { color: var(--leaf); font-weight: 600; }
.refs__year { color: var(--moss); }
.refs__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.refs__title em { display: block; color: var(--ember); font-weight: 700; }
.refs__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.refs__card--lg .refs__specs { gap: 10px; }
.refs__specs > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding: 4px 0;
}
.refs__specs dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  flex: 0 0 auto;
}
.refs__specs dd { color: var(--ink); text-align: right; }
.refs__specs dd strong { color: var(--ember); font-weight: 700; }
.refs__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--pine);
  padding-left: 14px;
  border-left: 2px solid var(--leaf);
}
.refs__card--lg .refs__quote { font-size: 16px; }
.refs__author {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: auto;
}
.refs__foot {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.refs__foot-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.refs__foot-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--forest);
  line-height: 1;
}
.refs__foot-lab {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  line-height: 1.4;
}
.refs__foot-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.refs__foot-cta:hover { background: var(--forest); color: var(--bone); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
  .cat__grid::before { display: none; }
  /* cat__col card keeps its own padding on tablet */
  .price__grid { grid-template-columns: repeat(2, 1fr); }
  .refs__grid { grid-template-columns: repeat(2, 1fr); }
  .refs__foot { grid-template-columns: repeat(3, 1fr); }
  .refs__foot-cta { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
}

@media (max-width: 600px) {
  .cat__grid { grid-template-columns: 1fr; }
  .price__grid { grid-template-columns: 1fr; }
  .refs__grid { grid-template-columns: 1fr; }
  .refs__foot { grid-template-columns: 1fr 1fr; }
  .price__foot { flex-direction: column; align-items: flex-start; }
}

/* ================= PAMI MONT — premium polish ================= */
.foot__logo { display: block; height: 54px; width: auto; flex-shrink: 0; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px 13px; box-shadow: 0 8px 26px rgba(0,0,0,.28); }

.nav__logo { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.nav__mark:hover .nav__logo { transform: translateY(-1px) scale(1.02); box-shadow: 0 6px 20px rgba(18,49,94,.22); }

/* primary button shine sweep */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary > span, .btn--primary > svg { position: relative; z-index: 1; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 55%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); z-index: 0; pointer-events: none;
  animation: pami-shine 5s ease-in-out infinite;
}
@keyframes pami-shine { 0%, 58% { left: -140%; } 84%, 100% { left: 170%; } }

/* card hover lift */
.svc__card, .cat__col { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.svc__card:hover, .cat__col:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(18,49,94,.5); }

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after { animation: none; display: none; }
  .svc__card, .cat__col { transition: none; }
}

/* ================= Google recenzie ================= */
.grev { max-width: var(--max); margin: 0 auto; }
.grev__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 22px 28px; margin-bottom: 34px; background: var(--bone); border: 1px solid var(--line); border-radius: 18px; }
.grev__badge { display: flex; align-items: center; gap: 14px; }
.grev__score-wrap { display: flex; flex-direction: column; line-height: 1; }
.grev__score { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--forest); }
.grev__stars { color: #f2a20c; letter-spacing: 2px; }
.grev__stars--sum { font-size: 16px; margin-top: 4px; }
.grev__summary-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); }
.grev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grev__card { background: var(--bone); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.grev__card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(18,49,94,.5); border-color: var(--line-dark); }
.grev__top { display: flex; align-items: center; gap: 12px; }
.grev__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--a, #12315e); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 19px; }
.grev__id { display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; }
.grev__name { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.grev__date { font-size: 12.5px; color: var(--moss); }
.grev__gmini { flex: none; opacity: .9; }
.grev__stars--5, .grev__stars--4 { color: #f2a20c; letter-spacing: 2px; font-size: 18px; }
.grev__star-empty { color: var(--line); }
.grev__text { color: var(--pine); font-size: 14.5px; line-height: 1.65; }
.grev__cta-row { display: flex; justify-content: center; margin-top: 34px; }
@media (max-width: 900px) { .grev__grid { grid-template-columns: 1fr; } }

/* hero sources tagline */
.hero__sources { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-top: 10px; }

/* ================= extra motion — v4 ================= */
/* animated brand-color gradient on hero accent */
.hero__title-line--accent {
  background: linear-gradient(100deg, var(--leaf) 0%, var(--lime) 46%, var(--leaf) 92%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: pami-title 7s ease-in-out infinite;
}
@keyframes pami-title { 0%,100% { background-position: 0 0; } 50% { background-position: 100% 0; } }


/* hero chips pop */
.hero__chips li { transition: transform .4s var(--ease); }
.hero__chips li:hover { transform: translateY(-4px); }

/* review + price cards subtle lift already set; add grev summary sheen */
.grev__summary { transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.grev__summary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -22px rgba(18,49,94,.5); }

@media (prefers-reduced-motion: reduce) {
  .hero__title-line--accent { animation: none; }
}

/* ================= price cards polish — v4 ================= */
.price__card {
  background: linear-gradient(165deg, var(--bone), var(--paper));
  border-radius: 22px;
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.price__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--leaf), var(--lime));
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.price__card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -28px rgba(18,49,94,.5); border-color: var(--line-dark); }
.price__card:hover::before { transform: scaleX(1); }
.price__num {
  display: inline-block; align-self: flex-start;
  color: #fff; background: var(--forest);
  border-radius: 8px; padding: 5px 10px; letter-spacing: 0.08em; font-weight: 600;
}
.price__inc ul li::before { border-radius: 2px; }

/* ================= CTA ikonky + animácie — v4 ================= */
.nav__cta { display: inline-flex; align-items: center; gap: 10px; }
.nav__cta-ico {
  flex: none; color: var(--lime);
  transition: transform .4s var(--ease);
  transform-origin: center;
}
.nav__cta:hover .nav__cta-ico { animation: cta-ring .7s var(--ease); color: var(--ember-2); }
@keyframes cta-ring {
  0%,100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); }
}

.price__foot-cta { position: relative; overflow: hidden; }
.price__foot-cta svg { transition: transform .4s var(--ease); }
.price__foot-cta:hover svg { transform: translate(3px, -3px); }
.price__foot-cta::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.price__foot-cta:hover::after { animation: pami-shine .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .nav__cta:hover .nav__cta-ico { animation: none; }
  .price__foot-cta:hover::after { animation: none; display: none; }
}

/* ================= zaoblené modré tlačidlá/boxy — v4 ================= */
.btn, .btn--primary, .btn--ghost { border-radius: 14px; }
.nav__cta { border-radius: 14px; }
.price__foot-cta { border-radius: 14px; }
.price__badge { border-radius: 8px; }
.hero__corner-label, .hero__corner-meta { border-radius: 8px; }

/* ================= GALÉRIA — v4 ================= */
.gal { position: relative; z-index: 2; padding: var(--section) var(--gutter); max-width: var(--max); margin: 0 auto; }
.gal__grid { margin-top: clamp(40px,6vw,64px); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.gal__item { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--paper-3); cursor: pointer; }
.gal__item--wide { grid-column: span 2; }
.gal__item--tall { grid-row: span 2; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gal__item:hover img { transform: scale(1.07); }
.gal__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; background: linear-gradient(transparent, rgba(11,23,48,.92)); color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; transform: translateY(8px); opacity: 0; transition: .45s var(--ease); }
.gal__item figcaption span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 3px; font-weight: 500; }
.gal__item:hover figcaption { transform: none; opacity: 1; }
.gal__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%); transform: translateX(-100%); transition: transform .8s var(--ease); pointer-events: none; }
.gal__item:hover::after { transform: translateX(100%); }
@media (max-width: 900px) { .gal__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; } .gal__item--tall { grid-row: span 1; } .gal__item figcaption { opacity: 1; transform: none; } }

/* PAMI MONT — MONT menšie */
.firma__mont { font-size: 0.8em; font-weight: 600; letter-spacing: 0.01em; }

/* ================= COOKIE + OCHRANA SÚKROMIA — v4 ================= */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px -20px rgba(11,23,48,.4); transform: translateY(180%); transition: transform .6s var(--ease); display: flex; flex-direction: column; gap: 13px; }
.cookie.show { transform: none; }
.cookie p { font-size: 13.5px; color: var(--pine); line-height: 1.55; }
.cookie p b { color: var(--forest); }
.cookie .clink { color: var(--leaf); text-decoration: underline; cursor: pointer; }
.cookie__actions { display: flex; gap: 10px; }
.cookie .btn { padding: 11px 22px; font-size: 14px; }
@media (max-width: 600px) { .cookie { left: 10px; right: 10px; bottom: 10px; } }

.lmodal { position: fixed; inset: 0; z-index: 210; background: rgba(11,23,48,.55); backdrop-filter: blur(8px); display: none; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.lmodal.open { display: flex; }
.lmodal__card { background: #fff; border: 1px solid var(--line); border-radius: 22px; max-width: 720px; width: 100%; padding: 42px; position: relative; box-shadow: 0 40px 90px -30px rgba(11,23,48,.6); margin: auto; }
.lmodal__card h3 { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--forest); margin-bottom: 6px; }
.lmodal__sub { color: var(--moss); font-size: 14px; margin-bottom: 20px; }
.lmodal__card h4 { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--leaf); margin: 24px 0 8px; }
.lmodal__card p { color: var(--pine); font-size: 14.5px; line-height: 1.7; margin-bottom: 8px; }
.lmodal__card a { color: var(--leaf); }
.lmodal__card ul { color: var(--pine); font-size: 14.5px; line-height: 1.7; margin: 4px 0 8px 20px; }
.legal-id { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px 20px; margin: 6px 0 4px; }
.legal-id div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.legal-id div:last-child { border-bottom: none; }
.legal-id .k { color: var(--moss); }
.legal-id .v { font-family: var(--display); font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.lmodal__close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--moss); font-size: 34px; line-height: 1; cursor: pointer; transition: color .25s; }
.lmodal__close:hover { color: var(--forest); }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: var(--sage); cursor: pointer; transition: color .25s; }
.foot-legal a:hover { color: var(--leaf); }
@media (max-width: 600px) { .lmodal__card { padding: 30px 20px; } .legal-id div { flex-direction: column; gap: 2px; } .legal-id .v { text-align: left; } }

/* FIX: hero accent riadok — plná viditeľná farba (gradient bol neviditeľný) */
.hero__title-line--accent {
  color: var(--leaf) !important;
  -webkit-text-fill-color: var(--leaf) !important;
  background: none !important;
  animation: none !important;
}

/* FIX 2: accent riadok bol stuck na opacity:0 (vypnutá animácia) — vynútiť viditeľnosť */
.hero__title-line--accent {
  opacity: 1 !important;
  transform: none !important;
}

/* FIX 3: hero nadpis — zarovnať vľavo, zjednotiť hrúbku (bez schodíkov) */
.hero__title-line { padding-left: 0 !important; }
.hero__title-line:nth-child(2),
.hero__title-line:nth-child(3),
.hero__title-line:nth-child(4) {
  font-weight: 700 !important;
  color: var(--forest) !important;
  letter-spacing: -0.02em !important;
}
.hero__title-line--accent { font-weight: 800 !important; }

/* FIX 4: hero nadpis — viac riadkovania, nech dĺžne/mäkčene nie sú natlačené */
.hero__title { line-height: 1.04 !important; }
.hero__title-line { padding-top: 0.04em; }

/* FIX 5: hero nadpis o trochu menší */
.hero__title { font-size: clamp(42px, 5.7vw, 80px) !important; }

/* FIX 6: hamburger panel aj v 901–1100px (bol mŕtvy) */
@media (max-width: 1100px) {
  .nav.is-open .nav__links {
    display: flex; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 24px var(--gutter);
    gap: 16px; align-items: flex-start; z-index: 60;
  }
}

/* FIX 7: nav "Volajte" na mobile — číslo do jedného riadku, kompaktnejšie */
@media (max-width: 900px) {
  .nav__cta { padding: 9px 13px; gap: 8px; }
  .nav__cta-label { display: none; }
  .nav__cta-num { white-space: nowrap; font-size: 13.5px; }
}
@media (max-width: 400px) {
  .nav__cta { padding: 8px 10px; gap: 6px; }
  .nav__cta-num { font-size: 12px; }
  .nav__cta-ico { width: 14px; height: 14px; }
}

/* Nav logo — väčšie */
.nav__logo { height: 58px !important; padding: 6px 13px !important; border-radius: 11px !important; }

/* Hero — menej prázdneho miesta hore + väčšie krajšie logo */
.hero__inner { padding-top: clamp(14px, 2.5vh, 30px) !important; }
.nav__logo { height: 66px !important; padding: 9px 17px !important; border-radius: 14px !important; box-shadow: 0 8px 26px rgba(18,49,94,.18) !important; background: #fff !important; }

/* Nadpisy sekcií — menšie a elegantnejšie */
.section-head__title { font-size: clamp(30px, 4vw, 52px) !important; }
.dex__title  { font-size: clamp(31px, 4.2vw, 56px) !important; }
.sun__title  { font-size: clamp(30px, 4vw, 54px) !important; }
.tok__title  { font-size: clamp(30px, 4vw, 54px) !important; }
.firma__title{ font-size: clamp(28px, 3.8vw, 50px) !important; }

/* Firma nadpis — názov presne ako je napísaný (nie veľkými), podnadpis ostáva */
.firma__title { text-transform: none !important; }
.firma__title em { text-transform: uppercase !important; }

/* Firma názov — modrá (ladí so stránkou), aby čiarka nesplývala s červenou */
.firma__title { color: var(--pine) !important; }
.firma__title em { color: var(--leaf) !important; }

/* Firma — jemný watermark loga v pozadí */
.firma { position: relative; overflow: hidden; }
.firma::before {
  content: ''; position: absolute; top: 50%; right: 7%; transform: translateY(-50%);
  width: min(560px, 46%); aspect-ratio: 16 / 9;
  background: url('images/logo-pamimont.png') center/contain no-repeat;
  mix-blend-mode: multiply; opacity: 0.09; pointer-events: none; z-index: 0;
  animation: wmFloat 9s ease-in-out infinite alternate;
}
@keyframes wmFloat { from { transform: translateY(-52%); } to { transform: translateY(-48%); } }
.firma__inner { position: relative; z-index: 1; }
@media (max-width: 700px) { .firma::before { opacity: 0.06; width: 80%; } }
@media (prefers-reduced-motion: reduce) { .firma::before { animation: none; } }

/* ================= PRÉMIOVÉ ANIMÁCIE — final ================= */
/* Scroll progress prúžok navrchu */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--pine), var(--leaf) 55%, var(--ember));
  z-index: 2000; pointer-events: none;
  animation: scrollProg linear both;
  animation-timeline: scroll(root block);
}
@keyframes scrollProg { to { transform: scaleX(1); } }

/* Pulzujúca bodka v eyebrow */
.hero__eyebrow .dot { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,31,38,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(224,31,38,0); }
}

/* Hover polish — galéria + recenzie */
.gal__item { transition: transform .5s var(--ease, cubic-bezier(.2,.7,.2,1)), box-shadow .5s; }
.gal__item:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(11,23,48,0.35); }
.grev__card { transition: transform .45s var(--ease, cubic-bezier(.2,.7,.2,1)), box-shadow .45s, border-color .3s; }
.grev__card:hover { transform: translateY(-5px); box-shadow: 0 26px 52px -24px rgba(11,23,48,0.3); }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress, .hero__eyebrow .dot { animation: none !important; }
}

/* Nav logo — ešte väčšie a viditeľnejšie */
.nav__logo { height: 56px !important; padding: 5px 12px !important; border-radius: 13px !important; }

/* ================= Kontakt — zaoblenie + vymakané animácie ================= */
.contact__form { border-radius: 28px !important; }
.contact__card { border-radius: 22px !important; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.contact__card:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -26px rgba(11,23,48,.45); }
.contact__map, .contact__map-embed { border-radius: 20px !important; overflow: hidden; }
.field textarea { border-radius: 16px !important; }
.field input:focus, .field textarea:focus { border-radius: 10px !important; }
/* chips — zaoblené + hover výplň zdola */
.chip { border-radius: 14px !important; position: relative; overflow: hidden; z-index: 0; transition: transform .32s cubic-bezier(.2,.7,.2,1), border-color .32s, box-shadow .32s; }
.chip span { position: relative; z-index: 1; transition: color .3s; }
.chip::before { content:''; position:absolute; inset:0; z-index:0; background: var(--pine); transform: scaleY(0); transform-origin: bottom; transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.chip:hover { transform: translateY(-2px); border-color: var(--pine) !important; box-shadow: 0 12px 24px -8px rgba(11,23,48,.32); }
.chip:hover::before { transform: scaleY(1); }
.chip:hover span { color: #fff !important; border-color: transparent !important; }

/* ================= Galéria — menšie fotky (menej miesta) ================= */
.gal__grid { grid-template-columns: repeat(5, 1fr) !important; grid-auto-rows: 150px !important; gap: 12px !important; }
@media (max-width: 1000px) { .gal__grid { grid-template-columns: repeat(3, 1fr) !important; grid-auto-rows: 24vw !important; } }
@media (max-width: 560px) { .gal__grid { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 38vw !important; } }

/* ================= MANIFEST — pozadie + vylepšenie ================= */
.manifest { overflow: hidden; }
.manifest__inner, .manifest__index { position: relative; z-index: 1; }
/* jemné plávajúce farebné orby */
.manifest::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -12%; right: -6%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px;
  background:
    radial-gradient(circle at 32% 30%, rgba(26,63,114,0.18), transparent 60%),
    radial-gradient(circle at 70% 72%, rgba(224,31,38,0.12), transparent 60%);
  filter: blur(22px);
  animation: maniOrb 15s ease-in-out infinite alternate;
}
@keyframes maniOrb { from { transform: translate(0,0) scale(1); } to { transform: translate(-5%, 5%) scale(1.09); } }
/* jemná bodková mriežka */
.manifest::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(26,63,114,0.11) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 42%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse at 72% 42%, #000 0%, transparent 62%);
  opacity: 0.7;
}
/* piliere — hover interakcia */
.manifest__pillars li { transition: border-color .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.manifest__pillars li:hover { border-color: var(--leaf) !important; transform: translateX(7px); }
.manifest__pillar-num { transition: color .3s, transform .3s; }
.manifest__pillars li:hover .manifest__pillar-num { color: var(--leaf); transform: scale(1.18); }
@media (prefers-reduced-motion: reduce) { .manifest::before { animation: none; } }

/* ================= SLUŽBY — rovnaké pozadie (orby + bodková mriežka) ================= */
.svc { overflow: hidden; }
.svc > * { position: relative; z-index: 1; }
.svc::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -14%; left: -8%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px;
  background:
    radial-gradient(circle at 32% 30%, rgba(26,63,114,0.16), transparent 60%),
    radial-gradient(circle at 70% 72%, rgba(224,31,38,0.11), transparent 60%);
  filter: blur(22px);
  animation: maniOrb 16s ease-in-out infinite alternate;
}
.svc::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(26,63,114,0.10) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 28% 42%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse at 28% 42%, #000 0%, transparent 62%);
  opacity: 0.7;
}

/* Manifest + Služby — jemné modré pozadie (bez červenej, nech to ladí) */
.manifest::before, .svc::before {
  background: radial-gradient(circle at 42% 40%, rgba(26,63,114,0.09), transparent 64%) !important;
  filter: blur(34px) !important;
}
.manifest::after, .svc::after { opacity: 0.5 !important; }

/* Manifest + Služby — viditeľnejší modrý glow (dva modré odtiene) */
.manifest::before, .svc::before {
  background:
    radial-gradient(circle at 34% 32%, rgba(26,63,114,0.24), transparent 60%),
    radial-gradient(circle at 68% 70%, rgba(39,79,140,0.17), transparent 60%) !important;
  filter: blur(26px) !important;
  width: 52vw !important; height: 52vw !important; max-width: 820px !important; max-height: 820px !important;
}
.manifest::after, .svc::after { opacity: 0.9 !important; }

/* ================= Cenový "Pozor" pruh — krajšie ================= */
.price__foot {
  border-radius: 18px !important;
  border-left: 4px solid var(--ember) !important;
  background: linear-gradient(120deg, var(--paper-3), var(--paper)) !important;
  box-shadow: 0 16px 38px -22px rgba(11,23,48,0.4) !important;
  align-items: center !important;
}
.price__foot-cta {
  border-radius: 14px !important;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .3s !important;
  box-shadow: 0 12px 28px -12px rgba(18,49,94,0.5);
}
.price__foot-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(18,49,94,0.62); background: var(--pine) !important; }
.price__foot-cta svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.price__foot-cta:hover svg { transform: translate(3px,-3px); }

/* Nav logo — responzívne zmenšenie na mobile (audit fix) */
@media (max-width: 640px) { .nav__logo { height: 52px !important; padding: 4px 9px !important; border-radius: 12px !important; } }
@media (max-width: 400px) { .nav__logo { height: 46px !important; } }

/* Firma watermark — viditeľnejší */
.firma::before { opacity: 0.18 !important; }
@media (max-width: 700px) { .firma::before { opacity: 0.12 !important; } }

/* Firma watermark — ešte o kúsok viditeľnejší */
.firma::before { opacity: 0.24 !important; }
@media (max-width: 700px) { .firma::before { opacity: 0.16 !important; } }

/* ================= Ribbon marquee — prémiové vylepšenie ================= */
.ribbon {
  background: linear-gradient(90deg, var(--ink), var(--forest) 50%, var(--ink)) !important;
  border-top: 1px solid rgba(242,162,12,0.25);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  letter-spacing: 0.24em !important;
}
.ribbon .rdot { font-style: normal; color: var(--ember); font-weight: 700; padding: 0 2px; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* ================= Recenzie (Google) — suprové vylepšenie ================= */
.grev__card { position: relative; overflow: hidden; }
.grev__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #4285F4, #EA4335 34%, #FBBC05 66%, #34A853);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.grev__card:hover::before { transform: scaleX(1); }
.grev__avatar { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.grev__card:hover .grev__avatar { transform: scale(1.09) rotate(-4deg); box-shadow: 0 10px 22px -6px rgba(18,49,94,.45); }
.grev__gmini { transition: transform .45s var(--ease), opacity .3s; opacity: .8; }
.grev__card:hover .grev__gmini { transform: scale(1.12) rotate(6deg); opacity: 1; }

/* summary bar — jemný gradient + hover zdvih */
.grev__summary { background: linear-gradient(120deg, #fff, var(--bone)) !important; }
.grev__summary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -26px rgba(18,49,94,.4); }
/* žiariace hviezdy v summary */
.grev__stars--sum { animation: starGlow 3.2s ease-in-out infinite; }
@keyframes starGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(242,162,12,0)); }
  50%      { filter: drop-shadow(0 0 7px rgba(242,162,12,0.55)); }
}
@media (prefers-reduced-motion: reduce) { .grev__stars--sum { animation: none; } }

/* Kontakt — viditeľný watermark loga v prázdnom pravom poli hlavičky */
.contact { overflow: hidden; }
.contact__inner { position: relative; z-index: 1; }
.contact::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: clamp(40px, 6vh, 110px); right: 5%;
  width: min(460px, 40%); aspect-ratio: 16 / 9;
  background: url('images/logo-pamimont.png') center/contain no-repeat;
  mix-blend-mode: multiply; opacity: 0.6;
  animation: wmFloat 9s ease-in-out infinite alternate;
}
@media (max-width: 900px) { .contact::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .contact::before { animation: none; } }

/* Kontakt watermark — zarovnaný s nadpisom (vertikálne vycentrovaný, nižšie) */
.contact::before { display: none !important; }
.contact__head { position: relative; overflow: visible; }
.contact__head::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  left: calc(100% + 4vw);
  width: min(440px, 30vw); aspect-ratio: 16 / 9;
  background: url('images/logo-pamimont.png') center/contain no-repeat;
  mix-blend-mode: multiply; opacity: 0.62; pointer-events: none;
  animation: wmFloat 9s ease-in-out infinite alternate;
}
@media (max-width: 1100px) { .contact__head::after { display: none; } }

/* Ribbon — ešte krajšie: žiariace bodky + jemný zlatý prelet */
.ribbon { position: relative; }
.ribbon .rdot { font-size: 1.15em; text-shadow: 0 0 7px rgba(242,162,12,0.55); }
.ribbon::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent 38%, rgba(242,162,12,0.15) 50%, transparent 62%);
  background-size: 220% 100%;
  animation: ribbonShine 7s linear infinite;
}
@keyframes ribbonShine { from { background-position: 220% 0; } to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .ribbon::after { animation: none; display: none; } .contact__head::after { animation: none; } }

/* Kontakt watermark — späť na úroveň sekcie (blend funguje), nižšie k nadpisu */
.contact__head::after { display: none !important; }
.contact::before {
  display: block !important;
  top: clamp(120px, 16vh, 250px) !important;
  bottom: auto !important;
}

/* Kontakt watermark — zarovnaný s nadpisom + funkčný blend (bez izolácie) */
.contact::before { display: none !important; }
.contact__inner { z-index: auto !important; }
.contact__head { position: relative; overflow: visible; }
.contact__head::after {
  display: block !important;
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  left: calc(100% + 4vw); right: auto; bottom: auto;
  width: min(440px, 30vw); height: auto; aspect-ratio: 16 / 9;
  background: url('images/logo-pamimont.png') center/contain no-repeat;
  mix-blend-mode: multiply; opacity: 0.62; pointer-events: none;
  animation: wmFloat 9s ease-in-out infinite alternate;
}
@media (max-width: 1100px) { .contact__head::after { display: none !important; } }

/* Firma watermark — na mobile skryť (prekrýval text) */
@media (max-width: 760px) { .firma::before { display: none !important; } }

/* Hlavné nadpisy — trošku menšie (na žiadosť) */
.hero__title { font-size: clamp(38px, 5vw, 72px) !important; }
.section-head__title { font-size: clamp(27px, 3.5vw, 47px) !important; }
.dex__title  { font-size: clamp(28px, 3.7vw, 50px) !important; }
.sun__title  { font-size: clamp(27px, 3.5vw, 48px) !important; }
.tok__title  { font-size: clamp(27px, 3.5vw, 48px) !important; }
.firma__title{ font-size: clamp(25px, 3.4vw, 45px) !important; }

/* ================= BRUTÁLNE — 3D tilt + spotlight ================= */
.gal__item, .svc__card, .cat__col { transform-style: preserve-3d; position: relative; will-change: transform; }
.gal__item::before, .svc__card::after, .cat__col::after {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(242,162,12,.17), transparent 55%);
  opacity:0; transition:opacity .45s ease; pointer-events:none; z-index:4;
}
.gal__item:hover::before, .svc__card:hover::after, .cat__col:hover::after { opacity:1; }
@media (prefers-reduced-motion: reduce) { .gal__item, .svc__card, .cat__col { transform:none !important; } }

/* Nadpisy — väčšie riadkovanie (dlhé viacriadkové nadpisy s diakritikou sa dotýkali) */
.hero__title { line-height: 1.08 !important; }
.section-head__title,
.dex__title, .sun__title, .tok__title,
.firma__title,
.numbers__head h2, .contact__head h2,
.numbers__title, .contact h2 { line-height: 1.16 !important; }

/* Veľké nadpisy — ešte o kúsok menšie (na žiadosť) */
.hero__title { font-size: clamp(33px, 4.3vw, 60px) !important; }
.section-head__title { font-size: clamp(25px, 3.2vw, 42px) !important; }
.dex__title  { font-size: clamp(25px, 3.3vw, 44px) !important; }
.sun__title  { font-size: clamp(24px, 3.1vw, 42px) !important; }
.tok__title  { font-size: clamp(24px, 3.1vw, 42px) !important; }
.firma__title{ font-size: clamp(23px, 3.1vw, 40px) !important; }

/* Služby — veľké čierne nadpisy (Tepelné čerpadlá, Klimatizácie…) menšie */
.svc__body h3 { font-size: clamp(30px, 3.7vw, 52px) !important; line-height: 1.1 !important; }

/* ============ EXTRA POLISH & ANIMÁCIE (v2) ============ */

/* Staggered nábeh hero obsahu pri načítaní */
.hero__title-line,
.hero__eyebrow,
.hero__sources,
.hero__lede,
.hero__cta-row,
.hero__chips {
  opacity: 0;
  transform: translateY(26px);
  animation: heroUp .9s cubic-bezier(.2,.72,.2,1) both;
}
.hero__eyebrow          { animation-delay: .05s; }
.hero__title-line:nth-child(1) { animation-delay: .18s; }
.hero__title-line:nth-child(2) { animation-delay: .30s; }
.hero__title-line:nth-child(3) { animation-delay: .42s; }
.hero__title-line:nth-child(4) { animation-delay: .54s; }
.hero__sources          { animation-delay: .66s; }
.hero__lede             { animation-delay: .76s; }
.hero__cta-row          { animation-delay: .88s; }
.hero__chips            { animation-delay: 1.0s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* Lesklý sweep cez tlačidlá pri hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0 auto 0 -140%;
  width: 55%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
}
.btn:hover::after { animation: btnSheen .75s ease; }
@keyframes btnSheen { to { left: 150%; } }

/* Jemný float na hero chips pri hover */
.hero__chips li { transition: transform .3s var(--ease), color .3s var(--ease); }
.hero__chips li:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .hero__title-line, .hero__eyebrow, .hero__sources,
  .hero__lede, .hero__cta-row, .hero__chips {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .btn::after { display: none; }
}

/* ============ CERTIFIKÁTY ============ */
.certs {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(224, 31, 38, .07) 0%, transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(26, 63, 114, .08) 0%, transparent 48%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.certs::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -10%; left: -10%;
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(26, 63, 114, .12) 0%, transparent 68%);
  filter: blur(8px);
  animation: certsGlow 17s ease-in-out infinite alternate;
}
.certs::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  right: -12%; bottom: -14%;
  width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(224, 31, 38, .09) 0%, transparent 66%);
  filter: blur(8px);
  animation: certsGlow2 21s ease-in-out infinite alternate;
}
@keyframes certsGlow {
  from { transform: translate(0, 0) scale(1); opacity: .75; }
  to   { transform: translate(9%, 7%) scale(1.16); opacity: 1; }
}
@keyframes certsGlow2 {
  from { transform: translate(0, 0) scale(1.08); opacity: 1; }
  to   { transform: translate(-8%, -6%) scale(1); opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .certs::before, .certs::after { animation: none; }
}
.certs .section-head,
.certs__grid { position: relative; z-index: 1; }
.certs .section-head { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 64px); }
.certs__grid {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: flex-start;
  gap: clamp(16px, 1.8vw, 26px);
}
.cert {
  appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0;
  cursor: pointer; display: block; position: relative;
  flex: 0 1 clamp(220px, 22%, 285px);
  border-radius: 4px;
}
.cert__frame {
  display: block; position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(5px, 0.6vw, 9px);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(18, 49, 94, .4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.cert__frame img {
  display: block; width: 100%; height: auto; border-radius: 2px;
  transition: transform .6s var(--ease);
}
.cert::after {
  content: ''; position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/19px no-repeat;
  opacity: 0; transform: scale(.6) rotate(-15deg);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 3; pointer-events: none;
  box-shadow: 0 8px 20px -8px rgba(18, 49, 94, .6);
}
.cert:hover .cert__frame,
.cert:focus-visible .cert__frame {
  transform: translateY(-8px);
  box-shadow: 0 28px 52px -22px rgba(18, 49, 94, .55);
  border-color: var(--leaf);
}
.cert:hover .cert__frame img { transform: scale(1.045); }
.cert:hover::after,
.cert:focus-visible::after { opacity: 1; transform: scale(1) rotate(0); }
.cert:focus-visible { outline: none; }
.cert:focus-visible .cert__frame { border-color: var(--forest); }

@media (max-width: 760px) { .cert { flex-basis: clamp(200px, 44%, 320px); } }
@media (max-width: 460px) { .cert { flex-basis: 100%; } }

/* ===== Lightbox pre certifikáty ===== */
.cert-lb {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 22, 40, .93);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  padding: clamp(20px, 5vw, 70px);
}
.cert-lb.is-open { opacity: 1; visibility: visible; }
.cert-lb__img {
  max-width: min(780px, 92vw); max-height: 90vh;
  width: auto; height: auto;
  border-radius: 4px; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  transform: scale(.94); transition: transform .4s var(--ease);
}
.cert-lb.is-open .cert-lb__img { transform: scale(1); }
.cert-lb__close, .cert-lb__nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; line-height: 1;
  transition: background .25s var(--ease), transform .3s var(--ease);
}
.cert-lb__close { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 26px; }
.cert-lb__close:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }
.cert-lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.cert-lb__nav:hover { background: rgba(255, 255, 255, .2); }
.cert-lb__prev { left: clamp(12px, 3vw, 40px); }
.cert-lb__next { right: clamp(12px, 3vw, 40px); }
@media (max-width: 600px) {
  .cert-lb__nav { width: 44px; height: 44px; font-size: 26px; }
  .cert-lb__prev { left: 8px; } .cert-lb__next { right: 8px; }
  .cert-lb__close { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cert-lb, .cert-lb__img, .cert__frame, .cert__frame img, .cert-lb__close, .cert-lb__nav { transition: none !important; }
}

/* Sheen prejazd cez certifikát pri hover */
.cert__frame::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
}
.cert:hover .cert__frame::after { animation: certSheen .85s ease; }
@keyframes certSheen { to { left: 165%; } }
@media (prefers-reduced-motion: reduce) { .cert:hover .cert__frame::after { animation: none; } }

/* ============ HERO — odznak 35 rokov ============ */
.hero__badge {
  position: absolute;
  right: clamp(20px, 5vw, 86px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(116px, 14vw, 205px);
  aspect-ratio: 1;
  z-index: 4;
  pointer-events: none;
}
.hero__badge::before {
  content: ''; position: absolute; inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 162, 12, .38) 0%, transparent 68%);
  filter: blur(14px);
  z-index: -1;
  animation: badgePulse 3.6s ease-in-out infinite;
}
.hero__badge img {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, .5));
  transform-origin: center;
  animation:
    badgeIn 1s cubic-bezier(.2, .85, .25, 1) .35s both,
    badgeFloat 5s ease-in-out 1.5s infinite alternate;
}
@keyframes badgeIn {
  0%   { opacity: 0; transform: scale(.5) rotate(-32deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes badgeFloat {
  from { transform: translateY(0) rotate(-1.5deg); }
  to   { transform: translateY(-11px) rotate(1.5deg); }
}
@keyframes badgePulse {
  0%, 100% { opacity: .45; transform: scale(.94); }
  50%      { opacity: .85; transform: scale(1.09); }
}
@media (max-width: 1080px) {
  .hero__badge {
    top: auto; bottom: clamp(16px, 5vw, 40px);
    right: clamp(12px, 4vw, 30px);
    transform: none;
    width: clamp(92px, 20vw, 130px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__badge img { animation: badgeIn .01s both; }
  .hero__badge::before { animation: none; }
}
