/* ============================================================
   vymenakotlov.sk — clean static rewrite v2
   Palette: Option B (EV shift) — electric cyan + eco green
   Spirit: distinctive, full-bleed media, layered backgrounds
   ============================================================ */

/* -------- @font-face: self-hosted Lato + Poppins ---------- */
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Tokens
   ============================================================ */
:root {
  --c-primary:        #0891B2;
  --c-primary-dark:   #0E7490;
  --c-secondary:      #22D3EE;
  --c-cta:            #2BDB54;
  --c-cta-dark:       #16A34A;
  --c-fg:             #164E63;
  --c-fg-soft:        #475569;
  --c-fg-muted:       #64748B;
  --c-bg:             #FFFFFF;
  --c-bg-soft:        #F8FAFC;
  --c-bg-tint:        #ECFEFF;
  --c-bg-dark:        #0F1419;
  --c-bg-darker:      #050709;
  --c-fg-on-dark:     #F8FAFC;
  --c-fg-on-dark-muted: #94A3B8;
  --c-border:         #E2E8F0;
  --c-border-strong:  #CBD5E1;

  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem;
  --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem;
  --text-3xl: 2rem; --text-4xl: 2.5rem; --text-5xl: 3.5rem; --text-6xl: 4.5rem;

  --sp-1: 0.5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem; --sp-6: 4rem; --sp-7: 6rem; --sp-8: 8rem;

  --radius-sm: 6px; --radius: 12px; --radius-lg: 20px; --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(15 20 25 / 0.04);
  --shadow:    0 4px 16px -4px rgb(15 20 25 / 0.08), 0 2px 6px -2px rgb(15 20 25 / 0.04);
  --shadow-lg: 0 16px 48px -12px rgb(15 20 25 / 0.16);
  --shadow-glow-cyan: 0 0 60px -10px rgb(34 211 238 / 0.4);
  --container: 1200px;
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* sticky header offset for #anchor jumps */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  font-family: 'Lato', -apple-system, system-ui, "Segoe UI", sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }

h1, h2, h3, h4 {
  font-family: 'Poppins', -apple-system, system-ui, sans-serif;
  font-weight: 800; color: var(--c-fg);
  line-height: 1.1;
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }
p { margin: 0 0 var(--sp-2); }
strong { font-weight: 700; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--sp-3);
}
.section { padding-block: var(--sp-6); position: relative; }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: var(--c-bg-tint); }
.section--dark { background: var(--c-bg-dark); color: var(--c-fg-on-dark); }
.section--black { background: #000; color: var(--c-fg-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--black h1, .section--black h2, .section--black h3, .section--black h4 {
  color: var(--c-fg-on-dark);
}
.section--dark .lead, .section--black .lead { color: var(--c-fg-on-dark-muted); }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}
.section--dark .eyebrow,
.section--black .eyebrow,
.moderny .eyebrow,
.map-section .eyebrow,
.boilers-section .eyebrow { color: var(--c-secondary); }

.lead {
  font-size: var(--text-xl);
  color: var(--c-fg-soft);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: var(--sp-3);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--c-cta); color: #000;
  box-shadow: 0 6px 24px -8px rgb(43 219 84 / 0.55);
}
.btn--primary:hover { background: var(--c-cta-dark); color: #fff; }

.btn--ghost {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.25);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgb(255 255 255 / 0.14); border-color: var(--c-secondary); color: var(--c-secondary); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgb(15 20 25 / 0.6);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.95);
  border-bottom-color: var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-2);
}
.site-header__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.site-header.is-scrolled .site-header__logo img { filter: none; }
.site-nav { display: flex; align-items: center; gap: var(--sp-3); }
.site-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(255 255 255 / 0.92);
  padding: 0.5rem 0.25rem;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--c-secondary); }
.site-header.is-scrolled .site-nav a { color: var(--c-fg); }
.site-header.is-scrolled .site-nav a:hover { color: var(--c-primary); }
.site-nav__cta { display: none; } /* shown only inside mobile drawer */

/* ---- Hamburger toggle (mobile only) ---- */
.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgb(255 255 255 / 0.92);
  align-items: center;
  justify-content: center;
}
.site-header.is-scrolled .site-nav-toggle { color: var(--c-fg); }
.site-nav-toggle__bar,
.site-nav-toggle__bar::before,
.site-nav-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, top 0.25s, background 0.15s;
  border-radius: 2px;
}
.site-nav-toggle__bar { position: relative; }
.site-nav-toggle__bar::before,
.site-nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
}
.site-nav-toggle__bar::before { top: -7px; }
.site-nav-toggle__bar::after  { top:  7px; }
body.nav-open .site-nav-toggle__bar { background: transparent; }
body.nav-open .site-nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
body.nav-open .site-nav-toggle__bar::after  { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO — full-bleed video
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(15 20 25 / 0.25) 0%, rgb(15 20 25 / 0.4) 50%, rgb(15 20 25 / 0.85) 100%);
  z-index: -1;
}
.hero__inner {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.hero__copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 880px;
  padding-inline: var(--sp-3);
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4rem);
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.55);
  margin-bottom: var(--sp-2);
}
.hero h1 .accent {
  color: var(--c-secondary);
  display: block;
}
.hero__lead {
  color: rgb(255 255 255 / 0.92);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  max-width: 56ch;
  margin: 0 auto var(--sp-3);
  line-height: 1.5;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.5);
}
.hero__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stats {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.4rem, 1vw, 0.8rem);
  max-width: 760px;
}
.hero__stats li {
  flex: 1 1 140px;
  min-width: 110px;
  padding: 0.7rem 1rem;
  background: rgb(15 20 25 / 0.45);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: 'Poppins', sans-serif;
}
.hero__stats strong {
  color: var(--c-secondary);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero__stats span {
  color: rgb(255 255 255 / 0.8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero__stats sup {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 1px;
  color: rgb(255 255 255 / 0.7);
}
.hero__footnotes {
  max-width: 760px;
  margin: var(--sp-2) auto 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.6);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
.hero__footnotes sup {
  font-size: 0.85em;
  margin-right: 2px;
}
.hero__contact {
  position: absolute;
  top: 96px;
  right: var(--sp-3);
  background: rgb(15 20 25 / 0.7);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  backdrop-filter: blur(12px);
  display: grid;
  gap: var(--sp-2);
  min-width: 280px;
  z-index: 2;
}
.hero__contact-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--sp-2);
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  color: #fff;
}
.hero__contact-item .ico {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgb(34 211 238 / 0.15);
  border-radius: 50%;
  color: var(--c-secondary);
}
.hero__contact-item small {
  display: block;
  font-weight: 400;
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
  color: rgb(255 255 255 / 0.7);
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.6), transparent);
}

/* ============================================================
   Platforma ONE — 3 phones
   ============================================================ */
.platforma {
  background:
    radial-gradient(circle at 20% 30%, rgb(34 211 238 / 0.06), transparent 50%),
    var(--c-bg);
}
.platforma .split { gap: var(--sp-7); }
.phones {
  position: relative;
  height: 540px;
}
.phones img {
  position: absolute;
  filter: drop-shadow(0 24px 40px rgb(15 20 25 / 0.25));
  transition: transform 0.4s;
}
.phones img:nth-child(1) {
  width: 50%; left: 0; top: 5%;
  transform: rotate(-5deg);
  z-index: 1;
}
.phones img:nth-child(2) {
  width: 56%; left: 22%; top: 0;
  transform: translateZ(0);
  z-index: 3;
}
.phones img:nth-child(3) {
  width: 50%; right: 0; top: 5%;
  transform: rotate(5deg);
  z-index: 2;
}
.phones:hover img:nth-child(1) { transform: rotate(-7deg) translateX(-8px); }
.phones:hover img:nth-child(3) { transform: rotate(7deg) translateX(8px); }

.tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: var(--sp-3);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  background: rgb(8 145 178 / 0.08);
  border: 1px solid rgb(8 145 178 / 0.2);
  color: var(--c-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
}
.tag--danger {
  background: rgb(220 38 38 / 0.08);
  border-color: rgb(220 38 38 / 0.25);
  color: #DC2626;
}

/* ============================================================
   Lambda Pro — dark
   ============================================================ */
.lambda {
  background:
    radial-gradient(ellipse 35% 70% at 12% 50%, rgb(8 145 178 / 0.07), transparent 100%),
    #F6FAFC;
  position: relative;
  overflow: hidden;
}
.lambda__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.lambda .container { position: relative; z-index: 1; }
.lambda__visual {
  display: grid;
  place-items: center;
  position: relative;
}
.badge-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(72px, 8vw, 110px);
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgb(15 20 25 / 0.18);
  z-index: 2;
}
.lambda__visual > img:not(.badge-overlay),
.lambda__visual video {
  width: 80%;
  max-width: 480px;
  display: block;
}
.lambda__visual > img:not(.badge-overlay) {
  filter: drop-shadow(0 30px 60px rgb(15 20 25 / 0.18));
}
/* No mask: video bg (~#f6f9fc) is within 1-2 bits of section bg (#F6FAFC),
   so edges blend without help. Adding a mask only fades part of the metal
   casing through and creates a visible halo on the top-left. */

.bullets {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  display: grid;
  gap: var(--sp-2);
}
.bullets li {
  position: relative;
  padding-left: 2em;
  color: var(--c-fg-soft);
  line-height: 1.6;
  font-size: var(--text-base);
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 1.25em; height: 1.25em;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.section--dark .bullets li, .section--black .bullets li { color: var(--c-fg-on-dark-muted); }
.section--dark .bullets li::before, .section--black .bullets li::before { background: var(--c-secondary); }

/* ============================================================
   Moderny design — pure black, mirrors the product display
   ============================================================ */
.moderny {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.moderny::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 70%; height: 160%;
  background: radial-gradient(ellipse at center, rgb(34 211 238 / 0.08), transparent 60%);
  pointer-events: none;
}
.moderny .container { position: relative; z-index: 1; }
.moderny__visual {
  display: grid;
  place-items: center;
  position: relative;
}
.moderny__visual > img:not(.badge-overlay),
.moderny__visual video {
  width: 90%;
  max-width: 560px;
  display: block;
  filter: drop-shadow(0 0 80px rgb(34 211 238 / 0.4));
}
.moderny__visual video {
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at center, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at center, #000 45%, transparent 100%);
}
.moderny h2, .moderny h3, .moderny h4 { color: var(--c-fg-on-dark); }
.moderny h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
}
.moderny .lead {
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-xl);
}
.moderny .stat {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--c-secondary);
  font-size: var(--text-3xl);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Boilers — scroll-snap carousel
   ============================================================ */
.boilers-section {
  padding-bottom: var(--sp-6);
  background:
    radial-gradient(ellipse at 50% 0%, rgb(8 145 178 / 0.10), transparent 50%),
    var(--c-bg-dark);
  color: var(--c-fg-on-dark);
  position: relative;
  overflow: hidden;
}
.boilers-section h2, .boilers-section h3, .boilers-section h4 { color: var(--c-fg-on-dark); }
.boilers-section .lead { color: rgb(255 255 255 / 0.78); }
.boilers-section .eyebrow { color: var(--c-secondary); }
.boilers-section .heading-row {
  max-width: var(--container);
  margin: 0 auto var(--sp-5);
  padding-inline: var(--sp-3);
}
.boilers {
  list-style: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.boiler {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.10);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
  backdrop-filter: blur(6px);
}
.boiler:hover {
  transform: translateY(-4px);
  border-color: var(--c-secondary);
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 20px 60px -16px rgb(0 0 0 / 0.4);
}
.boiler__media {
  aspect-ratio: 4 / 5;
  position: relative;
  display: grid; place-items: center;
  margin-bottom: var(--sp-2);
}
.boiler__media::before {
  content: '';
  position: absolute;
  inset: 8% 8%;
  background: radial-gradient(ellipse at 50% 55%, rgb(34 211 238 / 0.22), transparent 65%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.boiler__media img {
  position: relative;
  z-index: 1;
  max-height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 12px 28px rgb(34 211 238 / 0.25));
}
.boiler h3 { font-size: var(--text-xl); margin-bottom: var(--sp-1); color: var(--c-secondary); }
.boiler__badge {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 var(--sp-2);
  padding: 0.45em 0.8em;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-left-width: 3px;
  border-left-color: var(--c-secondary);
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-xs);
}
.boiler__badge span {
  color: var(--c-secondary);
  font-weight: 600;
  font-size: var(--text-sm);
}
.boiler__badge--featured {
  border-left-color: var(--c-cta);
  background: rgb(34 197 94 / 0.08);
}
.boiler__badge--featured span { color: var(--c-cta); }
.boiler__badge--electric {
  border-left-color: var(--c-cta);
}
.boiler__badge--electric span { color: var(--c-cta); }
.boiler__badge--placeholder {
  visibility: hidden;
}
.boiler__specs {
  list-style: none; padding: 0; margin: 0 0 var(--sp-2);
  font-size: var(--text-sm); color: rgb(255 255 255 / 0.75);
  display: grid; gap: 0.4em; flex: 1;
}
.boiler__specs li { padding-left: 1em; position: relative; }
.boiler__specs li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 4px; height: 4px; background: var(--c-secondary); border-radius: 50%;
}
.boiler__more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55rem 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--c-secondary);
  background: rgb(34 211 238 / 0.06);
  border: 1px solid rgb(34 211 238 / 0.55);
  border-radius: var(--radius-pill);
  text-shadow: 0 0 8px rgb(34 211 238 / 0.6);
  box-shadow:
    inset 0 0 12px rgb(34 211 238 / 0.15),
    0 0 0 1px rgb(34 211 238 / 0.08),
    0 0 18px -2px rgb(34 211 238 / 0.35);
  transition: color 0.2s, background 0.25s, box-shadow 0.25s, border-color 0.25s, transform 0.15s;
}
.boiler__more::after {
  content: '→';
  transition: transform 0.25s;
}
.boiler__more:hover {
  color: #021014;
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  text-shadow: none;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.2),
    0 0 24px rgb(34 211 238 / 0.7),
    0 0 48px rgb(34 211 238 / 0.35);
  transform: translateY(-1px);
}
.boiler__more:hover::after { transform: translateX(3px); }

.scroll-hint {
  font-size: var(--text-sm);
  color: var(--c-fg-muted);
  margin-top: var(--sp-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.scroll-hint::before { content: '⟵'; }
.scroll-hint::after { content: '⟶'; }

/* ============================================================
   5 krokov
   ============================================================ */
.steps-section {
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-soft) 100%);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-2);
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(to right, var(--c-primary) 0%, var(--c-secondary) 100%);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--sp-1);
}
.step__num {
  width: 64px; height: 64px;
  margin: 0 auto var(--sp-2);
  background: var(--c-bg);
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: var(--text-2xl);
  box-shadow: 0 0 0 6px var(--c-bg-soft);
}
.step h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-1);
  color: var(--c-primary);
}
.step p {
  font-size: var(--text-sm);
  color: var(--c-fg-soft);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Mapa — full-bleed dark with overlay
   ============================================================ */
.map-section {
  position: relative;
  min-height: clamp(420px, 28vw, 620px);
  background:
    radial-gradient(circle closest-side at 65% 50%,
      rgb(5 7 9 / 0) 0%,
      rgb(5 7 9 / 0) 25%,
      rgb(5 7 9 / 0.35) 50%,
      rgb(5 7 9 / 0.7) 90%,
      rgb(5 7 9 / 0.82) 100%),
    url('images/map-bb.webp') center / cover no-repeat;
  color: #fff;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.map-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
  padding-block: var(--sp-6);
}
.map-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: var(--sp-3);
}
.map-section h2 .accent { color: var(--c-secondary); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  display: grid;
  gap: var(--sp-2);
}
.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-2);
  align-items: center;
  font-size: var(--text-base);
  color: rgb(255 255 255 / 0.92);
}
.contact-list .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgb(34 211 238 / 0.12);
  border-radius: 50%;
  color: var(--c-secondary);
}
.contact-list small {
  display: block;
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-list .value {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* ============================================================
   Footer with watermark
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--c-bg-darker);
  color: var(--c-fg-on-dark-muted);
  padding-block: var(--sp-6) var(--sp-3);
  overflow: hidden;
}
.site-footer__watermark {
  position: absolute;
  right: -60px; bottom: -60px;
  width: clamp(280px, 28vw, 480px);
  height: auto;
  transform: rotate(-15deg);
  transform-origin: bottom right;
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer h4 {
  color: var(--c-fg-on-dark);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-4);
}
.site-footer__spacer { display: block; }
.site-footer p { font-size: var(--text-sm); color: var(--c-fg-on-dark-muted); margin-bottom: 0.25em; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5em; }
.site-footer__list a { color: var(--c-fg-on-dark-muted); font-size: var(--text-sm); }
.site-footer__list a:hover { color: var(--c-secondary); }
.partner-link { margin-top: 0.6em; }
.partner-link a {
  color: var(--c-fg-on-dark-muted);
  border-bottom: 1px dashed rgb(255 255 255 / 0.25);
  padding-bottom: 1px;
}
.partner-link a:hover {
  color: var(--c-secondary);
  border-bottom-color: var(--c-secondary);
}
.social {
  display: flex; gap: 0.6em;
  margin-top: var(--sp-2);
}
.social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
  color: rgb(255 255 255 / 0.7);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social a:hover {
  background: var(--c-secondary);
  color: #000;
  transform: translateY(-2px);
}
.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding-top: var(--sp-2);
  font-size: var(--text-xs);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ============================================================
   Responsive
   ============================================================ */

/* ---- Tablet & smaller: collapse two-column splits, mobile nav ---- */
@media (max-width: 1023px) {
  /* Header: swap desktop nav for hamburger drawer */
  .site-header__cta { display: none; }
  .site-nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgb(15 20 25 / 0.97);
    backdrop-filter: saturate(160%) blur(16px);
    padding: var(--sp-3) var(--sp-3) var(--sp-4);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    visibility: hidden;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.5);
  }
  body.nav-open .site-nav {
    transform: translateY(0);
    visibility: visible;
  }
  .site-nav a {
    color: rgb(255 255 255 / 0.92);
    font-size: var(--text-lg);
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    letter-spacing: 0.05em;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-header.is-scrolled .site-nav { background: rgb(15 20 25 / 0.97); }
  .site-header.is-scrolled .site-nav a { color: rgb(255 255 255 / 0.92); }
  body.nav-open { overflow: hidden; }

  /* Mobile-drawer CTA — actual link, prominent at bottom of drawer */
  .site-nav__cta {
    display: block !important;
    margin-top: var(--sp-3);
    padding: 1rem 1.5rem;
    background: var(--c-cta);
    color: #000 !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: var(--text-base);
    text-align: center;
    border-radius: var(--radius-pill);
    border-bottom: 0 !important;
    box-shadow: 0 8px 24px -8px rgb(43 219 84 / 0.55);
    letter-spacing: 0.02em;
  }
  .site-nav__cta:hover { background: var(--c-cta-dark); color: #fff !important; }

  /* Hero: contact card hidden (info appears in nav drawer + map section) */
  .hero__contact { display: none; }

  /* Hero copy: re-anchor to avoid translate(-50%) overflow on narrow viewports */
  .hero__copy {
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: 100%;
    padding-inline: var(--sp-2);
  }
  .hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 3rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hero h1 .accent { word-spacing: -0.05em; }
  .hero__lead { max-width: 100%; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { white-space: normal; width: 100%; max-width: 360px; }
  .hero__stats { max-width: 100%; }

  /* Two-column splits collapse */
  .split { grid-template-columns: 1fr; gap: var(--sp-4); }
  .split--reverse > :first-child { order: 0; }

  /* Phones: flex row, no absolute positioning. GSAP handles transforms. */
  .phones { height: auto; display: flex; gap: var(--sp-1); justify-content: center; align-items: center; }
  .phones img {
    position: static;
    width: 32%;
    margin-top: 0;
  }
  .phones img:nth-child(1),
  .phones img:nth-child(3) { width: 30%; }
  .phones img:nth-child(2) { width: 38%; }
  .phones:hover img:nth-child(1),
  .phones:hover img:nth-child(3) { transform: none; }

  /* Lambda: drop the asymmetric left-side decorations so video bg matches the
     section. With cyan radial + molecule overlay only on the left, the video's
     near-uniform light bg blended on the right but showed a seam on the left. */
  .lambda { background: #F6FAFC; }
  .lambda__bg { display: none; }

  /* Map: stack copy over map */
  .map-section__inner { grid-template-columns: 1fr; }
  .map-section {
    background:
      radial-gradient(ellipse 75% 50% at 60% 78%,
        rgb(5 7 9 / 0) 0%,
        rgb(5 7 9 / 0) 22%,
        rgb(5 7 9 / 0.45) 55%,
        rgb(5 7 9 / 0.82) 90%,
        rgb(5 7 9 / 0.9) 100%),
      url('images/map-bb.webp') 60% 0% / auto 135% no-repeat;
  }

  /* Footer: 2 cols */
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .site-footer__spacer { display: none; }

  /* Boilers: 2 cols on tablet */
  .boilers { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Phone: tighter spacing, single-col, scroll-snap carousel for kotle ---- */
@media (max-width: 640px) {
  .section { padding-block: var(--sp-5); }
  .container { padding-inline: var(--sp-2); }

  /* Steps cascade: single column, no connecting line */
  .steps { grid-template-columns: 1fr; gap: var(--sp-3); }
  .steps::before { display: none; }
  .step {
    text-align: left;
    padding: 0;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: var(--sp-2);
    row-gap: 4px;
    align-items: start;
  }
  .step__num { grid-row: span 2; margin: 0; box-shadow: 0 0 0 4px var(--c-bg-soft); }
  .step h4 { grid-column: 2; margin: 8px 0 0; align-self: center; }
  .step p { grid-column: 2; margin: 0; }

  /* Footer: single col */
  .site-footer__cols { grid-template-columns: 1fr; gap: var(--sp-3); }

  /* Hero stats: smaller cards, allow 2-up */
  .hero__stats li { flex: 1 1 calc(50% - 0.4rem); min-width: 0; padding: 0.55rem 0.8rem; }

  /* Boilers: horizontal scroll-snap carousel */
  .boilers {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--sp-2);
    scroll-padding-inline: var(--sp-2);
    gap: var(--sp-2);
    margin-inline: calc(-1 * var(--sp-2));
  }
  .boiler { scroll-snap-align: start; }

  /* Site title in footer should not feel empty */
  .site-footer__bottom { justify-content: flex-start; }
}

/* ---- Touch tap targets: ≥44px on coarse pointers (UX skill: CRITICAL) ---- */
@media (hover: none) and (pointer: coarse) {
  .boiler__more,
  .partner-link a,
  .site-footer__list a,
  .social a {
    min-height: 44px;
  }
  .social a { width: 44px; height: 44px; }
  .site-nav a { padding: 1rem 0.25rem; }
}

/* ---- Perf: hint compositor on heavily animated elements ---- */
.hero h1, .hero h1 .accent, .hero__lead, .hero__actions, .hero__stats li,
.phones img, .boiler, .step, .lambda__visual, .moderny__visual,
.contact-list li, .site-footer__watermark {
  will-change: transform;
}

/* ============================================================
   BLOG — listing + article
   ============================================================ */

/* ---- Compact hero used on subpages (blog listing, article) ---- */
.subhero {
  position: relative;
  padding-block: clamp(7rem, 14vw, 10rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgb(34 211 238 / 0.18), transparent 60%),
    linear-gradient(180deg, var(--c-bg-darker) 0%, var(--c-bg-dark) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgb(34 211 238 / 0.18);
  box-shadow: 0 1px 0 0 rgb(34 211 238 / 0.08);
}
.subhero .container { position: relative; z-index: 2; }
.subhero .eyebrow { color: var(--c-secondary); }
.subhero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.subhero h1 .accent { color: var(--c-secondary); }
.subhero .lead {
  color: rgb(255 255 255 / 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 60ch;
  margin-bottom: 0;
}

/* ---- Blog listing grid ---- */
.posts-section { padding-block: var(--sp-6); background: var(--c-bg); }
.posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: var(--shadow-lg);
}
.post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg-tint);
}
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-1);
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-xs);
  color: var(--c-fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.post-card__meta time { color: var(--c-primary); font-weight: 600; }
.post-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-fg);
  margin: 0 0 var(--sp-1);
}
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--c-fg-soft);
  line-height: 1.6;
  margin: 0 0 var(--sp-2);
  flex: 1;
}
.post-card__more {
  align-self: flex-start;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.post-card__more::after {
  content: '→';
  transition: transform 0.25s;
}
.post-card__more:hover { color: var(--c-primary-dark); }
.post-card:hover .post-card__more::after { transform: translateX(4px); }

/* ---- Article page ---- */
.article {
  background: var(--c-bg);
  padding-block: var(--sp-5) var(--sp-6);
}
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--c-fg-muted);
  margin-bottom: var(--sp-3);
}
.article__back::before { content: '←'; }
.article__back:hover { color: var(--c-primary); }
.article__hero {
  position: relative;
  margin: 0 0 var(--sp-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.article__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
/* Hero overlay badge: full-width dark glass strip at bottom of the photo */
.article__hero-badge {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem clamp(1rem, 3%, 1.5rem);
  background: linear-gradient(180deg, rgb(15 20 25 / 0.4) 0%, rgb(15 20 25 / 0.72) 100%);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-top: 1px solid rgb(34 211 238 / 0.35);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  font-style: italic;
  z-index: 1;
}
.article__hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-secondary);
  box-shadow: 0 0 8px var(--c-secondary);
  vertical-align: middle;
  margin-right: 0.55em;
  margin-bottom: 2px;
}
@media (max-width: 640px) {
  .article__hero-badge {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
}
.article__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--c-fg-soft);
}
.article__body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
  color: var(--c-fg);
  position: relative;
  padding-left: 1em;
}
.article__body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.25em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-secondary));
}
.article__body h2:first-child { margin-top: 0; }
.article__body p { margin: 0 0 var(--sp-3); }
.article__body p strong { color: var(--c-fg); }
.article__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-3);
  display: grid;
  gap: var(--sp-2);
}
.article__body ul li {
  position: relative;
  padding-left: 2em;
  line-height: 1.65;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 1.1em; height: 1.1em;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.article__body ul li strong { color: var(--c-fg); }
.article__lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--c-fg);
  font-weight: 400;
  border-left: 3px solid var(--c-primary);
  padding-left: var(--sp-2);
  margin: 0 0 var(--sp-4);
}

/* Inline article notice (e.g. "[Aktualizácia]" alert when content is outdated) */
.article__notice {
  max-width: 760px;
  margin: 0 auto var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(180deg, #FEF2F2 0%, #FFF5F5 100%);
  border: 1px solid #FCA5A5;
  border-left: 4px solid #DC2626;
  border-radius: var(--radius);
  color: var(--c-fg-soft);
}
.article__notice h3 {
  color: #B91C1C;
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 var(--sp-1);
  letter-spacing: -0.01em;
}
.article__notice p {
  margin: 0 0 var(--sp-1);
  font-size: 0.95rem;
  line-height: 1.55;
}
.article__notice p:last-child { margin-bottom: 0; }
.article__notice .notice-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--sp-1);
  color: #DC2626;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.15s, gap 0.2s;
}
.article__notice .notice-cta::after {
  content: '→';
  transition: transform 0.2s;
}
.article__notice .notice-cta:hover {
  color: #991B1B;
}
.article__notice .notice-cta:hover::after { transform: translateX(3px); }

/* CTA panel below the article body */
.article__cta {
  max-width: 760px;
  margin: var(--sp-6) auto 0;
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 100% 0%, rgb(34 211 238 / 0.12), transparent 60%),
    linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-darker) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article__cta h3 {
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.article__cta p {
  color: rgb(255 255 255 / 0.8);
  margin-bottom: var(--sp-3);
}

/* Visually-hidden helper (a11y / SEO) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Section variant: extra top space when there's no subhero above (compensates fixed header) */
.section--top { padding-top: clamp(7rem, 12vw, 9rem); }

/* Configurator disclaimer box (under the kfg-widget) */
.kfg-disclaimer-box {
  max-width: 680px;
  margin: var(--sp-4) auto 0;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius);
}
.kfg-disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-2);
  font-size: 0.92rem;
  color: var(--c-fg-soft);
  line-height: 1.6;
}
.kfg-disclaimer-box strong {
  color: var(--c-fg);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* ============================================================
   FOOTER GLOW — neon fire-like fade contained inside the footer
   ============================================================ */
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  overflow: hidden;
}
.footer-glow::before,
.footer-glow::after {
  content: '';
  position: absolute;
  inset: -10% -5% -5% -5%;
  background-position: center bottom;
  background-repeat: no-repeat;
  filter: blur(48px);
  will-change: transform, opacity;
}
/* cyan neon (left-leaning) */
.footer-glow::before {
  background-image:
    radial-gradient(ellipse 55% 75% at 28% 100%, rgb(34 211 238 / 0.55), transparent 70%),
    radial-gradient(ellipse 30% 50% at 12% 95%, rgb(8 145 178 / 0.45), transparent 75%);
  animation: footer-glow-cyan 11s ease-in-out infinite;
}
/* warm fire-orange (right-leaning) */
.footer-glow::after {
  background-image:
    radial-gradient(ellipse 50% 70% at 72% 100%, rgb(255 130 60 / 0.45), transparent 70%),
    radial-gradient(ellipse 28% 45% at 88% 95%, rgb(255 80 40 / 0.4), transparent 75%);
  animation: footer-glow-fire 9s ease-in-out infinite;
  animation-delay: -2.5s;
}
@keyframes footer-glow-cyan {
  0%, 100% { transform: translate(-6%,  4%) scale(1);    opacity: 0.7; }
  50%      { transform: translate( 8%, -3%) scale(1.06); opacity: 1;   }
}
@keyframes footer-glow-fire {
  0%, 100% { transform: translate( 5%,  3%) scale(1.02); opacity: 0.55; }
  50%      { transform: translate(-9%, -4%) scale(0.96); opacity: 0.9;  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-glow::before, .footer-glow::after { animation: none; opacity: 0.7; }
}
@media (max-width: 640px) {
  .footer-glow::before, .footer-glow::after { filter: blur(32px); }
}

/* ============================================================
   KFG — Online konfigurátor cenovej ponuky (Alpine.js widget)
   ============================================================ */
.kfg-widget {
  font-family: 'Lato', -apple-system, system-ui, sans-serif;
  color: var(--c-fg-soft);
  max-width: 680px;
  margin: 0 auto;
}
.kfg-widget h5 {
  font-family: 'Poppins', -apple-system, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-fg);
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.005em;
}
.kfg-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.kfg-body { padding: var(--sp-4); }
.kfg-footer {
  padding: 0.9rem var(--sp-4);
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Step dots */
.kfg-steps {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.kfg-dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--c-border);
  color: var(--c-fg-muted);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.kfg-dot.active { background: var(--c-primary); color: #fff; }
.kfg-dot.done   { background: var(--c-cta-dark); color: #fff; }
.kfg-step-label {
  text-align: center;
  color: var(--c-fg-muted);
  font-size: 0.85rem;
  margin-bottom: var(--sp-3);
  font-family: 'Poppins', sans-serif;
}

/* Option cards (radio buttons) */
.kfg-option {
  display: block;
  cursor: pointer;
  border: 2px solid var(--c-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s, background 0.15s;
}
.kfg-option:hover {
  border-color: var(--c-primary);
  background: var(--c-bg-tint);
}
.kfg-option.sel {
  border-color: var(--c-primary);
  background: var(--c-bg-tint);
  box-shadow: 0 0 0 4px rgb(8 145 178 / 0.08);
}
.kfg-option input { display: none; }
.kfg-option strong {
  color: var(--c-fg);
  font-size: 0.97rem;
  font-weight: 700;
}
.kfg-option small {
  color: var(--c-fg-muted);
  display: block;
  margin-top: 0.15rem;
  line-height: 1.45;
  font-size: 0.85rem;
}

/* Inputs */
.kfg-input {
  width: 100%;
  border: 2px solid var(--c-border);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.97rem;
  outline: none;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.15s;
}
.kfg-input:focus { border-color: var(--c-primary); }

/* Buttons */
.kfg-btn {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s, background 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.kfg-btn:hover { transform: translateY(-1px); }
.kfg-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.kfg-btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 12px -2px rgb(8 145 178 / 0.3);
}
.kfg-btn-primary:hover:not(:disabled) {
  background: var(--c-primary-dark);
  box-shadow: 0 6px 16px -2px rgb(8 145 178 / 0.4);
}
.kfg-btn-back {
  background: var(--c-border);
  color: var(--c-fg-soft);
}
.kfg-btn-back:hover:not(:disabled) {
  background: var(--c-border-strong);
}

/* Result helpers */
.kfg-note {
  color: var(--c-fg-muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

/* Error */
.kfg-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

/* Spinner */
.kfg-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: kfg-spin 0.6s linear infinite;
}
@keyframes kfg-spin { to { transform: rotate(360deg); } }

/* Result-screen specific */
.kfg-result-id {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-fg-soft);
  margin: 0 0 0.8rem;
  font-family: 'Poppins', sans-serif;
}
.kfg-result-image {
  text-align: center;
  margin-bottom: var(--sp-3);
}
.kfg-result-image img {
  max-height: 280px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.kfg-result-price {
  text-align: center;
  margin-bottom: var(--sp-3);
}
.kfg-result-price__label {
  color: var(--c-fg-muted);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  font-family: 'Poppins', sans-serif;
}
.kfg-result-price__value {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.kfg-included {
  background: var(--c-bg-soft);
  border-radius: 10px;
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-2);
}
.kfg-included__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-fg);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}
.kfg-included ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--c-fg-soft);
  font-size: 0.88rem;
  line-height: 1.85;
}
.kfg-disclaimer {
  color: var(--c-fg-muted);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}
.kfg-result-warning {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #B91C1C;
  margin-bottom: 0.9rem;
}

/* Responsive */
@media (max-width: 640px) {
  .kfg-body { padding: var(--sp-3); }
  .kfg-footer { padding: 0.8rem var(--sp-3); }
  .kfg-result-price__value { font-size: 1.8rem; }
}

/* ---- GDPR / legal page (reuses .article + body, plus contact card) ---- */
.legal__contact {
  max-width: 760px;
  margin: var(--sp-4) auto 0;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--c-fg-soft);
  line-height: 1.7;
}
.legal__contact strong { color: var(--c-fg); }
.legal__effective {
  max-width: 760px;
  margin: var(--sp-3) auto 0;
  font-size: var(--text-sm);
  color: var(--c-fg-muted);
  font-style: italic;
}

/* Footer bottom-bar GDPR link (inline: "vymenakotlov.sk · GDPR") */
.site-footer__bottom .legal-sep { opacity: 0.5; padding: 0 0.35em; }
.site-footer__bottom a { color: var(--c-fg-on-dark-muted); }
.site-footer__bottom a:hover { color: var(--c-secondary); }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .article__body { font-size: 1.05rem; }
  .article__lead { font-size: 1.125rem; }
  .legal__contact { padding: var(--sp-2) var(--sp-3); }
}

/* === Wide-screen / 4K === */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
@media (min-width: 2200px) {
  :root { --container: 1440px; font-size: 17px; }
}
@media (min-width: 3000px) {
  :root { --container: 1680px; font-size: 19px; }
}
