/* ============================================================
   colors_and_type.css — design tokens (CSS variables, type scale, buttons, cards)
   ============================================================ */

/* ==========================================================================
   Kondenzačné Kotle — Design Tokens
   Vodafone-inspired institutional-brand system, adapted to a Slovak
   condensing-boiler installer. Brand red is the single dominant accent.
   ========================================================================== */

/* ---------- Fonts (Inter, self-hosted; latin + latin-ext, variable) ----- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/inter-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;
}

:root {
  /* =======================================================================
     COLORS
     ======================================================================= */

  /* Primary brand */
  --brand-red: #e60000;              /* Non-negotiable signature red */
  --brand-red-deep: #ac1811;         /* Quiet-label red, sparingly used */

  /* Surfaces */
  --canvas: #ffffff;                 /* Default editorial canvas */
  --surface-neutral: #f2f2f2;        /* Quiet pills, chrome */
  --surface-charcoal: #25282b;       /* Footer, institutional data panel */
  --overlay-white-10: rgba(255, 255, 255, 0.1);   /* Glass pill on dark */
  --overlay-black-05: rgba(0, 0, 0, 0.05);        /* Ghost pill base */
  --divider-on-dark: rgba(255, 255, 255, 0.25);   /* Hairlines on charcoal */

  /* Text */
  --fg-1: #25282b;                   /* Headlines, primary text */
  --fg-2: #7e7e7e;                   /* Body, secondary/meta */
  --fg-3: #333333;                   /* Form text, ghost button outlines */
  --fg-disabled: #bebebe;            /* Inactive chips */
  --fg-on-dark: #ffffff;

  /* Semantic */
  --link: #3860be;                   /* Signal blue, inline links */
  --link-visited: #3860be;

  /* =======================================================================
     TYPOGRAPHY
     ======================================================================= */

  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Weights actually used: 300, 400, 600, 700, 800 */
  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-black: 800;

  /* =======================================================================
     SPACING — 8px base. 32px and 38px are universal rhythm constants.
     ======================================================================= */
  --space-2xs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 38px;
  --space-section: 96px;
  --space-section-tablet: 64px;
  --space-section-mobile: 48px;

  /* =======================================================================
     RADIUS
     ======================================================================= */
  --radius-hairline: 1px;
  --radius-button-tight: 2px;        /* Utility/form CTA */
  --radius-card: 6px;                /* News cards, inputs, images */
  --radius-asymmetric: 0 6px 0 0;    /* Speech-mark-echoing featured card */
  --radius-glass-pill: 24px;         /* Glass pill on dark */
  --radius-badge-pill: 32px;         /* Filled neutral pill */
  --radius-cta-pill: 60px;           /* Editorial content CTA */
  --radius-circle: 50%;

  /* =======================================================================
     ELEVATION — intentionally near-zero.
     ======================================================================= */
  --shadow-none: none;
  --focus-ring: inset 0 0 0 2px var(--brand-red);

  /* =======================================================================
     LAYOUT
     ======================================================================= */
  --max-width: 1440px;
  --content-width: 1200px;
  --gutter-desktop: 24px;
  --gutter-mobile: 16px;
  --edge-desktop: 32px;
  --edge-tablet: 20px;
  --edge-mobile: 16px;
}

/* ==========================================================================
   Base resets + semantic element styles
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- Display tier (uppercase, tight negative tracking, heavy) ---------- */
.t-hero-xl { font-size: 144px; font-weight: 800; line-height: 0.79; letter-spacing: -0.02em; text-transform: uppercase; }
.t-hero-l  { font-size: 126px; font-weight: 800; line-height: 0.90; letter-spacing: -0.015em; text-transform: uppercase; }
.t-hero-m  { font-size: 90px;  font-weight: 800; line-height: 0.93; letter-spacing: -0.01em; text-transform: uppercase; }
.t-impact  { font-size: 70px;  font-weight: 800; line-height: 1.17; letter-spacing: -0.015em; text-transform: uppercase; }

/* ---- Heading tier ------------------------------------------------------ */
h1, .h1        { font-size: 48px; font-weight: 300; line-height: 1.08; margin: 0; color: var(--fg-1); }
.h1-bold       { font-size: 48px; font-weight: 800; line-height: 1.00; letter-spacing: -0.02em; }
h2, .h2        { font-size: 40px; font-weight: 300; line-height: 1.10; margin: 0; color: var(--fg-1); }
.h2-bold       { font-size: 40px; font-weight: 700; line-height: 1.10; }
h3, .h3        { font-size: 32px; font-weight: 700; line-height: 1.25; margin: 0; color: var(--fg-1); }
h4, .h4        { font-size: 24px; font-weight: 700; line-height: 1.00; margin: 0; color: var(--fg-1); }
.h4-light      { font-size: 24px; font-weight: 300; line-height: 1.42; }
h5, .h5        { font-size: 20px; font-weight: 700; line-height: 1.30; margin: 0; color: var(--fg-1); }

/* ---- Body tier --------------------------------------------------------- */
.t-lead        { font-size: 20px; font-weight: 400; line-height: 1.40; color: var(--fg-1); }
.t-body-lg     { font-size: 18px; font-weight: 400; line-height: 1.56; color: var(--fg-1); }
.t-body-bold   { font-size: 18px; font-weight: 600; line-height: 1.56; }
p, .t-body     { font-size: 16px; font-weight: 400; line-height: 1.38; color: var(--fg-2); margin: 0; }

/* ---- Labels / meta ----------------------------------------------------- */
.t-label-up    { font-size: 16px; font-weight: 800; line-height: 1.50; text-transform: uppercase; letter-spacing: 0.01em; }
.t-eyebrow     { font-size: 14px; font-weight: 400; line-height: 1.43; color: var(--fg-2); }
.t-eyebrow-bold{ font-size: 14px; font-weight: 700; line-height: 1.43; }
.t-tag         { font-size: 14px; font-weight: 700; line-height: 1.50; text-transform: uppercase; letter-spacing: 0.02em; }
.t-caption-up  { font-size: 14px; font-weight: 400; line-height: 1.14; text-transform: uppercase; letter-spacing: 0.04em; }
.t-caption     { font-size: 12px; font-weight: 500; line-height: 2.00; color: var(--fg-2); }
.t-micro       { font-size: 12px; font-weight: 600; line-height: 1.33; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Links ------------------------------------------------------------- */
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { opacity: 0.85; }

/* ==========================================================================
   Button system — two-tier primary (rectangle for utility, pill for editorial)
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit;
  font-size: 14.4px; font-weight: 700; letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer; border: 1px solid transparent;
  transition: opacity 120ms ease;
  text-decoration: none;
}
.btn:active { opacity: 0.9; }
.btn:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }

/* Primary red rectangle — utility / form CTA */
.btn-primary-rect {
  background: var(--brand-red); color: var(--fg-on-dark);
  border-color: var(--brand-red);
  padding: 12px 10px; border-radius: var(--radius-button-tight);
}

/* Primary red pill — editorial / content CTA */
.btn-primary-pill {
  background: var(--brand-red); color: var(--fg-on-dark);
  border-color: var(--brand-red);
  padding: 16px; border-radius: var(--radius-cta-pill);
}

/* Ghost white rectangle — secondary form action */
.btn-ghost-rect {
  background: var(--canvas); color: var(--fg-3);
  border-color: var(--fg-3);
  padding: 12px 10px; border-radius: var(--radius-button-tight);
}

/* Glass pill — sits on dark hero imagery */
.btn-glass-pill {
  background: var(--overlay-white-10); color: var(--fg-on-dark);
  border-color: transparent;
  padding: 8px 16px; border-radius: var(--radius-glass-pill);
  backdrop-filter: blur(2px);
}

/* Content ghost pill — inline low-emphasis */
.btn-content-pill {
  background: var(--overlay-black-05); color: var(--brand-red);
  border-color: transparent;
  padding: 15px; border-radius: var(--radius-cta-pill);
}

/* Icon control button */
.btn-icon {
  background: var(--canvas); color: var(--fg-1);
  width: 40px; height: 40px; border-radius: var(--radius-circle);
  border: 1px solid var(--canvas);
  padding: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-editorial {
  background: var(--canvas);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.card-editorial .card-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: var(--radius-card);
  border-top-right-radius: var(--radius-card);
}
.card-editorial .card-body { padding: 16px; }

.card-asymmetric {
  background: var(--canvas);
  border-radius: var(--radius-asymmetric);
  overflow: hidden;
}

/* ==========================================================================
   Tag pills
   ========================================================================== */

.tag-red-outline {
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--brand-red);
  border-radius: var(--radius-button-tight);
  padding: 6px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}

.tag-neutral-fill {
  display: inline-flex; align-items: center;
  background: var(--surface-neutral);
  color: var(--fg-1);
  border: none;
  border-radius: var(--radius-badge-pill);
  padding: 4px 12px;
  font-size: 14px; font-weight: 700;
}

/* ==========================================================================
   Red divider band — universal chapter break
   ========================================================================== */

.red-band {
  width: 100%;
  background: var(--brand-red);
  height: 64px;
}
@media (max-width: 767px) { .red-band { height: 40px; } }

/* ==========================================================================
   Inputs
   ========================================================================== */

.input {
  background: var(--canvas);
  color: var(--fg-3);
  font-family: inherit; font-size: 16px; font-weight: 400;
  border: 1px solid var(--fg-3);
  border-radius: var(--radius-button-tight);
  padding: 12px 10px;
}
.input:focus { outline: none; border-color: var(--brand-red); }
.input.is-error { border-color: var(--brand-red); }
.input-error-msg { color: var(--brand-red); font-size: 12px; font-weight: 600; margin-top: 6px; }

/* ============================================================
   styles.css — design layout (per-section classes, prototype)
   ============================================================ */

/* =======================================================================
   Kondenzačné Kotle — Website styles
   ======================================================================= */

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

/* ---------- Header ----------------------------------------------------- */
.kk-header { background: #fff; border-bottom: 1px solid #f2f2f2; position: sticky; top: 0; z-index: 10; }
.kk-header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.kk-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.kk-logo-mark { display: inline-flex; align-items: center; justify-content: center; }
.kk-logo-mark svg { display: block; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.04)); }
.kk-logo-text { display: flex; flex-direction: column; line-height: 1; }
.kk-logo-brand { font-size: 14px; font-weight: 800; color: #25282b; letter-spacing: -0.01em; }
.kk-logo-tld { font-size: 10px; font-weight: 400; color: #7e7e7e; margin-top: 3px; letter-spacing: 0.05em; }
.kk-nav { display: flex; gap: 28px; flex: 1; }
.kk-nav a { color: #25282b; text-decoration: none; font-size: 15px; font-weight: 400; }
.kk-nav a:hover { opacity: 0.7; }
.kk-header-phone { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #25282b; text-decoration: none; }
.kk-header-phone i { width: 16px; height: 16px; color: #e60000; }
.kk-header-phone:hover { color: #e60000; }
.kk-header-util { display: flex; align-items: center; gap: 16px; }
.kk-header-cta { padding: 10px 16px !important; }

/* ---------- HERO — full-bleed dark scene w/ boiler video placeholder --- */
.kk-hero {
  position: relative; overflow: hidden;
  background: #0a0b0d; color: #fff;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
}
.kk-hero-video {
  position: absolute; inset: 0;
  display: block;
}
.kk-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.95;
}
.kk-hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, #0a0b0d 0%, rgba(10,11,13,0.92) 28%, rgba(10,11,13,0.55) 55%, rgba(10,11,13,0.0) 78%),
    linear-gradient(to top, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0) 40%);
}
.kk-hero-video-tag {
  position: absolute; top: 24px; right: 32px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 24px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15);
  z-index: 3;
}
.kk-hero-video-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e60000;
  box-shadow: 0 0 0 0 rgba(230,0,0,0.7);
  animation: hero-pulse 2s ease-out infinite;
}
@keyframes hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230,0,0,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(230,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,0,0,0); }
}
.kk-hero-inner {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  padding: 120px 32px 80px;
}
.kk-hero-badges {
  position: absolute; bottom: 72px;
  left: calc(32px + 760px + 32px); top: auto; right: auto;
  z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none;
}
.kk-hero-badge {
  width: 96px; height: 96px; display: block;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform .2s ease;
}
.kk-hero-badges:hover .kk-hero-badge { transform: translateY(-2px); }
.kk-hero-eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: #e60000; margin-bottom: 28px;
}
.kk-hero-headline {
  font-size: 112px; font-weight: 800; line-height: 0.88;
  letter-spacing: -0.025em; text-transform: uppercase; margin: 0;
  color: #fff; max-width: 14ch;
}
.kk-hero-headline-accent { color: #e60000; }
.kk-hero-sub {
  font-size: 19px; line-height: 1.45;
  color: rgba(255,255,255,0.80); margin: 32px 0 0;
  max-width: 58ch; font-weight: 400;
}
.kk-hero-ctas { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.kk-hero-cta-primary {
  padding: 18px 28px !important;
  font-size: 15px !important;
  display: inline-flex; align-items: center; gap: 10px;
}
.kk-hero-cta-primary i { width: 18px; height: 18px; }
.kk-hero-meta {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: 48px; margin-top: 64px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 760px;
}
.kk-hero-meta-item { display: flex; flex-direction: column; gap: 6px; }
.kk-hero-meta-k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.kk-hero-meta-v { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.kk-hero-meta-v sup { font-size: 0.45em; font-weight: 600; opacity: 0.7; margin-left: 1px; }
.kk-hero-meta-note {
  margin-top: 18px; max-width: 760px;
  font-size: 11px; line-height: 1.5; color: rgba(255,255,255,0.5);
}
.kk-hero-meta-note sup { font-weight: 700; color: rgba(255,255,255,0.7); margin: 0 1px 0 0; }

/* ---------- Display strip (Vitodens display video + text) — mirrors ViCare layout */
.kk-display-strip {
  position: relative; background: #0d0f10; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  height: 520px; min-height: 0; overflow: hidden;
}
.kk-display-strip-media {
  position: relative; width: 100%; height: 520px; background: #000;
}
.kk-display-strip-video {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%) scale(0.85);
  height: 100%; width: auto; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
}
.kk-display-strip-content {
  padding: 48px 64px; max-width: 720px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.kk-display-strip-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.6);
}
.kk-display-strip-title {
  font-size: 40px; font-weight: 800; line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; color: #fff;
}
.kk-display-strip-accent { color: #e60000; }
.kk-display-strip-sub {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0;
  max-width: 50ch;
}
.kk-display-strip-list {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
}
.kk-display-strip-list li {
  font-size: 13px; color: #fff; display: flex; align-items: center; gap: 10px; line-height: 1.3;
}
.kk-display-strip-dot {
  width: 5px; height: 5px; background: #e60000; display: inline-block; flex: 0 0 5px;
}
@media (max-width: 1200px) {
  .kk-display-strip { grid-template-columns: 1fr; height: auto; }
  .kk-display-strip-media { height: 340px; }
  .kk-display-strip-content { padding: 48px 24px; max-width: none; }
  .kk-display-strip-title { font-size: 32px; }
}

/* ---------- ViCare remote section ------------------------------------- */
.kk-vicare {
  position: relative; background: #f5f3ef; color: #25282b;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  height: 520px; min-height: 0; overflow: hidden;
}
.kk-vicare-media {
  position: relative; width: 100%; height: 520px;
  background: #e8e4dc;
}
.kk-vicare-img,
.kk-vicare-video {
  width: 100%; height: 100%; position: absolute; inset: 0;
  object-fit: cover; object-position: center;
}
.kk-vicare-media-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(245,243,239,0) 80%, rgba(245,243,239,0.9) 100%);
}
.kk-vicare-content {
  padding: 48px 64px; max-width: 720px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.kk-vicare-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(40,40,43,0.6);
}
.kk-vicare-title {
  font-size: 40px; font-weight: 800; line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; color: #25282b;
}
.kk-vicare-accent { color: #e60000; }
.kk-vicare-desc {
  font-size: 15px; line-height: 1.55; color: #4a4d50; margin: 0;
  max-width: 50ch;
}
.kk-vicare-list {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
}
.kk-vicare-list li {
  font-size: 13px; color: #25282b; display: flex; align-items: center; gap: 10px; line-height: 1.3;
}
.kk-vicare-dot {
  width: 5px; height: 5px; background: #e60000; display: inline-block; flex: 0 0 5px;
}
.kk-vicare-stores {
  display: flex; gap: 10px; margin-top: 6px;
}
.kk-vicare-store {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid #25282b; color: #25282b;
}
@media (max-width: 1200px) {
  .kk-vicare { grid-template-columns: 1fr; height: auto; }
  .kk-vicare-media { height: 340px; }
  .kk-vicare-content { padding: 48px 24px; max-width: none; }
  .kk-vicare-title { font-size: 32px; }
  .kk-vicare-media-fade { background: linear-gradient(180deg, rgba(245,243,239,0) 80%, rgba(245,243,239,1) 100%); }
}

/* ---------- Red band -------------------------------------------------- */
.kk-red-band { width: 100%; background: #e60000; height: 32px; }

/* ---------- Section wrapper ------------------------------------------ */
.kk-section { max-width: 1440px; margin: 0 auto; padding: 96px 32px; }
.kk-section-head { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.kk-section-head--center { justify-content: center; text-align: center; }
.kk-section-head--center > div { max-width: 720px; }
.kk-section-title { font-size: 44px; font-weight: 300; line-height: 1.08; color: #25282b; margin: 0; letter-spacing: -0.015em; }
.kk-section-title b { font-weight: 800; }
.kk-section-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #e60000; margin-bottom: 14px; }

/* ---------- Process steps -------------------------------------------- */
.kk-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.kk-process::before { content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 1px; background: #e60000; z-index: 0; }
.kk-step { position: relative; z-index: 1; }
.kk-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; background: #fff; padding-right: 12px; width: fit-content; }
.kk-step-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #e60000; color: #fff; font-size: 12px; font-weight: 800; border-radius: 50%; }
.kk-step-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #25282b; }
.kk-step-title { font-size: 20px; font-weight: 700; color: #25282b; line-height: 1.25; margin: 0 0 10px; }
.kk-step-body { font-size: 14px; color: #7e7e7e; line-height: 1.5; }

/* ---------- Product cards -------------------------------------------- */
.kk-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.kk-product-grid--three { grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.kk-product-card { background: #fff; border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 280px 1fr; min-height: 320px; }
.kk-product-card--featured { border-radius: 0 6px 0 0; }
.kk-product-grid:not(.kk-product-grid--three) .kk-product-card--featured { grid-column: 1 / -1; grid-template-columns: 380px 1fr; }
.kk-product-grid--three .kk-product-card { grid-template-columns: 1fr; grid-template-rows: 260px 1fr; min-height: 520px; }
.kk-product-grid--three .kk-product-card--featured { grid-template-rows: 340px 1fr; min-height: 600px; }
.kk-product-media { position: relative; background: linear-gradient(180deg, #f7f7f7 0%, #ebebeb 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kk-product-img { max-width: 70%; max-height: 92%; object-fit: contain; display: block; }
.kk-product-grid--three .kk-product-card--featured .kk-product-img { max-height: 94%; }
.kk-product-card--featured .kk-product-media { background: linear-gradient(180deg, #fafafa 0%, #e5e5e5 100%); }
.kk-product-media-label { font-size: 10px; color: #bebebe; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 0 24px; }
.kk-product-badge { position: absolute; top: 12px; left: 12px; background: #e60000; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 8px; border-radius: 2px; }
.kk-product-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.kk-product-name { font-size: 14px; font-weight: 400; color: #7e7e7e; line-height: 1.2; margin: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.kk-product-name b { display: block; font-size: 28px; font-weight: 800; color: #25282b; letter-spacing: -0.01em; text-transform: none; margin-top: 4px; }
.kk-product-desc { font-size: 14px; line-height: 1.5; color: #7e7e7e; margin: 0; text-wrap: pretty; }
.kk-product-card--featured .kk-product-name b { font-size: 40px; }
.kk-product-grid--three .kk-product-card--featured .kk-product-name b { font-size: 34px; }
.kk-product-specs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #f2f2f2; padding-top: 14px; }
.kk-product-specs li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14px; color: #25282b; line-height: 1.4; }
.kk-spec-k { color: #7e7e7e; font-size: 13px; }
.kk-spec-v { color: #25282b; font-weight: 600; }
.kk-product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 12px; flex-wrap: wrap; }
.kk-product-spec-link { color: #25282b; text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 4px; }
.kk-product-spec-link:hover { color: #e60000; }
.kk-product-spec-link i { width: 14px; height: 14px; }

/* ---------- Tech features grid --------------------------------------- */
.kk-tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; background: #f2f2f2; border-radius: 6px; overflow: hidden; }
.kk-tech-card { background: #fff; padding: 40px; display: flex; flex-direction: column; gap: 14px; position: relative; min-height: 280px; }
.kk-tech-num { font-size: 13px; font-weight: 700; color: #bebebe; letter-spacing: 0.1em; }
.kk-tech-tag { font-size: 12px; font-weight: 800; color: #e60000; letter-spacing: 0.08em; text-transform: uppercase; }
.kk-tech-title { font-size: 28px; font-weight: 800; line-height: 1.1; color: #25282b; letter-spacing: -0.01em; margin: 0; }
.kk-tech-desc { font-size: 16px; line-height: 1.55; color: #25282b; margin: 0; }

/* ---------- Warranty panel (charcoal institutional) ------------------ */
.kk-warranty { background: #25282b; color: #fff; position: relative; z-index: 1; }
.kk-warranty-inner {
  max-width: 1440px; margin: 0 auto; padding: 96px 32px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
.kk-warranty-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #e60000; margin-bottom: 24px; }
.kk-warranty-title { font-size: 80px; font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; margin: 0; color: #fff; }
.kk-warranty-num { color: #e60000; }
.kk-warranty-desc { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.75); margin: 32px 0 0; max-width: 50ch; }
.kk-warranty-right { display: flex; flex-direction: column; }
.kk-warranty-item { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.2); gap: 24px; }
.kk-warranty-item:first-child { border-top: 1px solid rgba(255,255,255,0.2); }
.kk-warranty-k { font-size: 15px; color: rgba(255,255,255,0.75); }
.kk-warranty-v { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.kk-warranty-fee { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.5); margin-left: 4px; }

/* ---------- Konfigurátor (Viessmann price calc) ---------------------- */
.kcfg { max-width: 880px; margin: 0 auto; }
.kcfg-steps { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.kcfg-dot {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #7e7e7e;
  background: #fff; border: 1px solid #d6d6d6; border-radius: 2px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.kcfg-dot.is-done { background: #25282b; color: #fff; border-color: #25282b; }
.kcfg-dot.is-active { background: #e60000; color: #fff; border-color: #e60000; }
.kcfg-step-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #7e7e7e; margin: 0 0 16px; }

.kcfg-card { background: #fff; border: 1px solid #e5e5e5; }
.kcfg-body { padding: 28px 28px 8px; }
.kcfg-q { font-size: 22px; font-weight: 700; color: #25282b; margin: 0 0 20px; letter-spacing: -0.01em; }

.kcfg-option {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border: 1px solid #e5e5e5; background: #fff;
  margin-bottom: 10px; cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.kcfg-option:hover { border-color: #b3b3b3; }
.kcfg-option.is-sel { border-color: #e60000; background: #fff5f5; }
.kcfg-option input[type="radio"] {
  width: 18px; height: 18px; margin: 2px 0 0;
  accent-color: #e60000; cursor: pointer;
}
.kcfg-option-label { font-size: 16px; font-weight: 600; color: #25282b; display: block; line-height: 1.3; }
.kcfg-option-desc { font-size: 13px; color: #7e7e7e; display: block; margin-top: 4px; line-height: 1.45; }
.kcfg-option-text { min-width: 0; }

.kcfg-extra { margin-top: 6px; padding: 14px 18px; border: 1px solid #e5e5e5; background: #fafafa; display: flex; flex-direction: column; gap: 6px; }

.kcfg-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; border-top: 1px solid #e5e5e5; background: #fafafa;
  gap: 12px; flex-wrap: wrap;
}

/* Result */
.kcfg-result { min-height: 220px; }
.kcfg-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px 0; color: #7e7e7e; }
.kcfg-spinner { width: 36px; height: 36px; border: 3px solid #f2f2f2; border-top-color: #e60000; border-radius: 50%; animation: kcfg-spin 0.8s linear infinite; }
@keyframes kcfg-spin { to { transform: rotate(360deg); } }

.kcfg-inquiry { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #7e7e7e; margin: 0 0 12px; text-align: center; }
.kcfg-price { padding: 24px; background: #25282b; color: #fff; margin-bottom: 20px; text-align: center; }
.kcfg-price-k { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }
.kcfg-price-v { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; color: #fff; }
.kcfg-warn { padding: 12px 14px; background: #fff5f5; border-left: 3px solid #e60000; font-size: 13px; color: #25282b; margin-bottom: 16px; }
.kcfg-error { padding: 16px; background: #fff5f5; border-left: 3px solid #e60000; color: #25282b; font-size: 14px; }

.kcfg-included { border: 1px solid #e5e5e5; padding: 18px 20px; }
.kcfg-included-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #25282b; margin-bottom: 10px; }
.kcfg-included ul { list-style: none; padding: 0; margin: 0; }
.kcfg-included li {
  font-size: 14px; color: #25282b; padding: 8px 0 8px 22px; position: relative;
  border-bottom: 1px solid #f2f2f2; line-height: 1.4;
}
.kcfg-included li:last-child { border-bottom: 0; }
.kcfg-included li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 6px;
  border-left: 2px solid #e60000; border-bottom: 2px solid #e60000; transform: rotate(-45deg);
}
.kcfg-fineprint { font-size: 12px; color: #7e7e7e; margin: 16px 0 0; line-height: 1.5; }

@media (max-width: 767px) {
  .kcfg-body { padding: 20px 18px 4px; }
  .kcfg-footer { padding: 14px 18px; }
  .kcfg-q { font-size: 19px; }
  .kcfg-price-v { font-size: 36px; }
}

/* ---------- Responsive ---------------------------------------------- */
@media (max-width: 1200px) {
  .kk-hero-headline { font-size: 84px; }
  .kk-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .kk-display-strip-title { font-size: 36px; }
  .kk-product-grid { grid-template-columns: 1fr; }
  .kk-process { grid-template-columns: repeat(2, 1fr); }
  .kk-process::before { display: none; }
  .kk-tech-grid { grid-template-columns: 1fr; }
  .kk-warranty-inner { grid-template-columns: 1fr; gap: 48px; }
  .kk-warranty-title { font-size: 56px; }
}
@media (max-width: 767px) {
  .kk-nav { display: none; }
  .kk-header-cta { display: none; }
  .kk-hero {
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
  }
  .kk-hero-inner { padding: 72px 16px 56px; }
  .kk-hero-headline { font-size: 52px; }
  .kk-hero-sub { font-size: 16px; }
  .kk-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
  .kk-hero-meta-v { font-size: 22px; }
  .kk-section { padding: 48px 16px; }
  .kk-product-card { grid-template-columns: 1fr; }
  .kk-product-media { aspect-ratio: 4 / 3; }
  .kk-warranty-title { font-size: 44px; }
  .kk-section-title { font-size: 28px; }
  .kk-tech-card { padding: 24px; min-height: 0; }
  .kk-tech-title { font-size: 22px; }
  .kk-red-band { height: 40px; }
}

/* ===================================================================
   TECHDEEP — Inox-Radial exchanger video + pillars
   =================================================================== */
.kk-techdeep {
  background: #0b0c0f; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
  height: 520px; overflow: hidden;
}
.kk-techdeep-media { position: relative; background: #000; overflow: hidden; }
.kk-techdeep-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
}
.kk-techdeep-content {
  padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; gap: 20px;
  max-width: 720px;
}
.kk-techdeep-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.6);
}
.kk-techdeep-title {
  font-size: 40px; font-weight: 800; line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; color: #fff;
}
.kk-techdeep-accent { color: #e60000; }
.kk-techdeep-desc {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0;
  max-width: 50ch;
}
.kk-techdeep-desc b { color: #fff; font-weight: 600; }
.kk-techdeep-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 12px;
}
.kk-techdeep-pill {
  background: #0d0f10; padding: 20px 16px; display: flex; flex-direction: column; gap: 4px;
}
.kk-techdeep-pill-k {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.kk-techdeep-pill-v { font-size: 28px; font-weight: 800; color: #e60000; line-height: 1; }
.kk-techdeep-pill-d { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.3; }
@media (max-width: 1200px) {
  .kk-techdeep { grid-template-columns: 1fr; }
  .kk-techdeep-media { height: 360px; }
  .kk-techdeep-content { padding: 48px 24px; max-width: none; }
  .kk-techdeep-title { font-size: 36px; }
}

/* ===================================================================
   PARTNERS — brands & materials band
   =================================================================== */
.kk-partners { background: #fff; border-top: 1px solid #e5e6e8; border-bottom: 1px solid #e5e6e8; }
.kk-partners-inner { max-width: 1440px; margin: 0 auto; padding: 64px 32px; }
.kk-partners-head { text-align: center; margin-bottom: 40px; }
.kk-partners-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: #6b6e72; margin-bottom: 10px;
}
.kk-partners-title {
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: #25282b; margin: 0;
}
.kk-partners-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid #ececed;
}
.kk-partners-cell {
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: #fff;
  border-right: 1px solid #ececed;
  border-bottom: 1px solid #ececed;
  transition: background 0.2s;
}
.kk-partners-cell:nth-child(6n) { border-right: none; }
.kk-partners-cell:nth-last-child(-n+6) { border-bottom: none; }
.kk-partners-cell:hover { background: #f7f7f8; }
.kk-partners-logo {
  max-width: 70%; max-height: 52px; object-fit: contain;
  filter: grayscale(1); opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.kk-partners-cell:hover .kk-partners-logo { filter: grayscale(0); opacity: 1; }
.kk-partners-cell.is-placeholder { background: #fafafa; }
.kk-partners-name {
  font-size: 13px; font-weight: 600; color: #9ea1a5;
  letter-spacing: 0.02em;
  padding: 8px 16px; border: 1px dashed #d0d2d5; border-radius: 4px;
}
@media (max-width: 900px) {
  .kk-partners-row { grid-template-columns: repeat(3, 1fr); }
  .kk-partners-cell { border-right: 1px solid #ececed; border-bottom: 1px solid #ececed; }
  .kk-partners-cell:nth-child(3n) { border-right: none; }
  .kk-partners-cell:nth-child(6n) { border-right: none; }
  .kk-partners-cell:nth-last-child(-n+3) { border-bottom: none; }
  .kk-partners-cell:nth-last-child(-n+6):not(:nth-last-child(-n+3)) { border-bottom: 1px solid #ececed; }
  .kk-partners-title { font-size: 24px; }
}

/* ===================================================================
   CONFIGURATOR BAND — hero-style emphasis for the core CTA
   =================================================================== */
/* Konfigurátor — editorial light band, centered layout on site's section rhythm */
.kk-configband {
  background: #f5f3ef;
  color: #25282b;
  position: relative;
  overflow: hidden;
}
.kk-configband::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(230,0,0,0.06), transparent 70%),
    radial-gradient(700px 400px at 100% 100%, rgba(230,0,0,0.04), transparent 70%);
  pointer-events: none;
}
.kk-configband-inner {
  position: relative; z-index: 1;
  max-width: 1440px; margin: 0 auto;
  padding: 96px 32px;
}
.kk-configband .kk-section-head { margin-bottom: 28px; }
.kk-configband .kk-section-title b { color: #e60000; }

.kk-configband-meta {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; max-width: 760px;
  margin: 0 auto 56px;
}
.kk-configband-meta li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 3px solid #e60000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.kk-configband-meta li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.kk-configband-meta-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  color: #e60000; background: #fff5f5;
  border: 1px solid #ffdede;
}
.kk-configband-meta-body {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.kk-configband-meta-body b {
  font-size: 15px; font-weight: 700; color: #25282b;
  letter-spacing: -0.005em; line-height: 1.2;
}
.kk-configband-meta-body em {
  font-size: 12px; color: #7e7e7e; font-style: normal;
  line-height: 1.35;
}

.kk-configband-card {
  max-width: 760px; margin: 0 auto;
  position: relative;
}
.kk-configband-card .kcfg-card {
  box-shadow: 0 12px 48px rgba(0,0,0,0.07);
}

@media (max-width: 767px) {
  .kk-configband-inner { padding: 64px 20px; }
  .kk-configband-meta {
    grid-template-columns: 1fr;
    gap: 10px; margin-bottom: 36px;
  }
  .kk-configband-meta li { padding: 14px 16px; }
}

/* ============================================================
   site.css — site-level additions on top of the design prototype
   ============================================================ */

/* ============================================================
   Site-level additions on top of design prototype styles
   (mobile nav, small tweaks the design didn't spec)
   ============================================================ */

/* Konfigurátor — result image (boiler render returned by API) --------- */
.kcfg-result-image { text-align: center; margin: 0 0 20px; }
.kcfg-result-image img {
  max-height: 260px; max-width: 100%;
  object-fit: contain; display: inline-block;
}

/* Konfigurátor — contact block on result screen ----------------------- */
.kcfg-contact {
  margin-top: 24px; padding: 20px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}
.kcfg-contact-title {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #25282b; margin-bottom: 12px;
}
.kcfg-contact-links {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.kcfg-contact-links a {
  color: #e60000; font-weight: 600; font-size: 15px;
  text-decoration: none;
}
.kcfg-contact-links a:hover { text-decoration: underline; }

/* Header burger button ------------------------------------------------ */
.kk-burger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent; padding: 0;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.kk-burger span {
  display: block; width: 22px; height: 2px;
  background: #25282b; transition: transform .2s ease, opacity .2s ease;
}
.kk-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kk-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kk-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f2f2f2;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 18px;
}
.kk-mobile-menu a {
  color: #25282b; text-decoration: none;
  font-size: 17px; font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid #f4f4f4;
}
.kk-mobile-menu a:last-child {
  color: #e60000;
  border-bottom: 0;
}

@media (max-width: 900px) {
  .kk-header-inner { gap: 12px; padding: 0 16px; }
  .kk-nav { display: none; }
  .kk-header-phone { display: none; }
  .kk-header-cta { display: none; }
  .kk-burger { display: inline-flex; margin-left: auto; }
  .kk-mobile-menu[data-open="true"] { display: flex; }
}

/* Header/CTA — keep text wrap clean */
.kk-header-cta { white-space: nowrap; text-decoration: none; }

/* Header — dark variant while hero is in front of the sticky bar -------- */
.kk-header {
  transition: background-color 240ms ease, border-color 240ms ease;
}
.kk-header .kk-logo-brand,
.kk-header .kk-logo-tld,
.kk-header .kk-nav a,
.kk-header .kk-header-phone,
.kk-header .kk-burger span {
  transition: color 240ms ease, background-color 240ms ease;
}
.kk-header.is-top {
  background: #0a0b0d;
  border-bottom-color: rgba(255,255,255,0.06);
}
.kk-header.is-top .kk-logo-brand { color: #fff; }
.kk-header.is-top .kk-logo-tld { color: rgba(255,255,255,0.65); }
.kk-header.is-top .kk-nav a { color: rgba(255,255,255,0.92); }
.kk-header.is-top .kk-header-phone { color: #fff; }
.kk-header.is-top .kk-burger span { background: #fff; }

/* Hero — scroll indicator ---------------------------------------------- */
.kk-hero-scroll {
  position: absolute; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  pointer-events: none;
}
.kk-hero-scroll::after {
  content: ""; width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  animation: kk-hero-scroll-pulse 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes kk-hero-scroll-pulse {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .kk-hero-scroll::after { animation: none; }
}
@media (max-width: 767px) {
  .kk-hero-scroll { bottom: 14px; font-size: 9px; }
  .kk-hero-scroll::after { height: 28px; }
}

/* Hero — anchor tags acting as buttons */
.kk-hero-ctas .btn { text-decoration: none; }
.btn-glass-pill { text-decoration: none; }

/* Product footer — anchor-styled buttons */
.kk-product-footer .btn { text-decoration: none; }

/* Prevent huge videos from showing content-box before metadata loads */
.kk-hero-img,
.kk-vicare-video { background: #000; }
/* HERO video — cropped 1804x1440 (70% right), flush-right, fills height,
   left side uses hero bg #0a0b0d (already darkened by vignette).
   Slight scale-up so top/bottom trim for tighter framing. */
.kk-hero-img {
  inset: 0 0 0 auto;
  width: auto;
  height: 100%;
  aspect-ratio: 1804 / 1440;
  object-position: center;
  transform: scale(1.15);
  transform-origin: right center;
}
/* DISPLAY video has pure #000 edges — match media bg */
.kk-display-strip-video { background: #000; }
/* TECHDEEP — video cropped 1440x1440 (1:1), centered both axes, bg matched,
   mask-image fades video edges so slight brightness delta blends into bg */
.kk-techdeep-media { background: #0b0c0f; height: 520px; }
.kk-techdeep-video {
  background: #0b0c0f;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  height: 100%; width: auto; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(ellipse closest-side at center, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse closest-side at center, #000 60%, transparent 100%);
}

/* VICARE — video cropped 1792x1440 (70% width), flush-left, full source visible */
.kk-vicare-media { background: #ebeeec; }
.kk-vicare-video {
  inset: 0 auto 0 0;
  width: auto;
  height: 100%;
  aspect-ratio: 1792 / 1440;
}
.kk-vicare-media-fade {
  background: linear-gradient(90deg, rgba(235,238,236,0) 55%, #f5f3ef 100%);
}

/* Reveal animations are driven by GSAP / ScrollTrigger in app.js
   (loaded via CDN in index.php). CSS only needs to declare the
   initial hidden state for elements that should animate in —
   `gsap.set(... visibility: hidden)` handles it at runtime so
   we avoid FOUC without blocking render. */

/* Hero overlay gradient — ensure text legibility over video */
.kk-hero-vignette { pointer-events: none; }

/* Config card — small screens */
@media (max-width: 600px) {
  .kcfg-option { padding: 14px; }
}

/* Mobile: stack hero content with flex so we can place the H2/WiFi
   badges BELOW the meta stats (user request — keeps headline + CTA
   above the fold, badges end the visual flow). */
@media (max-width: 600px) {
  .kk-hero-inner {
    display: flex; flex-direction: column; align-items: flex-start;
  }
  .kk-hero-badges {
    position: static; flex-direction: row; justify-content: flex-start;
    order: 99;                  /* push after every other child */
    margin: 24px 0 0;
    align-self: flex-start;
  }
  .kk-hero-badge { width: 64px; height: 64px; }
}

/* MAPA — footer with video + overlay text + copyright line */
.kk-mapa {
  display: block;
  position: relative;
  background: #25282b;
  color: #fff;
  overflow: hidden;
}
.kk-mapa-video-wrap {
  position: relative; width: 100%;
  aspect-ratio: 2560 / 700; overflow: hidden;
}
.kk-mapa-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  z-index: 1;
}
.kk-mapa-copy {
  position: absolute; top: 48px; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 1440px;
  padding: 24px 32px;
  box-sizing: border-box;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 3;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.kk-mapa-copy > * { max-width: 620px; }
.kk-mapa-copy::before {
  content: ''; position: absolute; inset: 0;
  /* background: linear-gradient(120deg, rgba(37,40,43,0.75) 0%, rgba(37,40,43,0.35) 45%, rgba(37,40,43,0) 75%); */
  z-index: -1; pointer-events: none;
}
.kk-mapa-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.75);
}
.kk-mapa-title {
  font-size: 36px; font-weight: 800; line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; color: #fff;
}
.kk-mapa-accent { color: #e60000; }
.kk-mapa-desc {
  font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.9);
  margin: 0; max-width: 48ch;
}
.kk-mapa-legal {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 1440px;
  padding: 0 32px;
  box-sizing: border-box;
  font-size: 12px; color: rgba(255,255,255,0.7);
  z-index: 3;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.kk-mapa-legal a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.kk-mapa-legal a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
@media (max-width: 767px) {
  .kk-mapa-copy { top: 24px; padding: 0 20px; }
  .kk-mapa-title { font-size: 24px; }
  .kk-mapa-video-wrap { aspect-ratio: 4 / 3; }
  .kk-mapa-legal { bottom: 12px; padding: 0 20px; }
}

/* WARRANTY — VIESSMANN rotated text on left (moved from former STATS) */
.kk-warranty { overflow: visible; }
.kk-warranty-rotated {
  position: absolute; left: 48px; top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center center;
  font-size: 50px; font-weight: 800; letter-spacing: -0.02em;
  color: #e60000; white-space: nowrap;
  pointer-events: none; z-index: 2;
}
@media (max-width: 991px) {
  .kk-warranty-rotated { display: none; }
}

/* Fade the right edge of half-width videos into the dark text column
   so the object-fit: cover crop seam disappears (mirrors VICARE's fade). */
.kk-display-strip-media-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 60%, #0d0f10 100%);
}
.kk-techdeep-media-fade {
  position: absolute; inset: 0; pointer-events: none;
}

/* ============================================================
   RESPONSIVE POLISH — mobile & tablet refinements layered
   on top of the design system's 1200 / 767 breakpoints
   ============================================================ */

/* Safety net: no horizontal overflow on any viewport.
   Use `clip` not `hidden` — `hidden` makes html a new containing
   block and breaks `position: sticky` on the header. */
html, body { overflow-x: clip; }

/* Fluid hero headline below 1200px — smooth-scales between
   the sharp 112→84→52 design breakpoints. */
@media (max-width: 1199px) {
  .kk-hero-headline { font-size: clamp(40px, 9vw, 92px); }
  .kk-hero-sub { font-size: clamp(15px, 1.7vw, 19px); }
}

/* ---- Tablet band (601–1100px) — fills the gap the design skipped ---- */
@media (max-width: 1100px) and (min-width: 601px) {
  /* Badges: desktop positions them at left:calc(32+760+32)=824px
     which is off-canvas on tablet. Pin to top-right, scale down. */
  .kk-hero-badges {
    position: absolute; top: 24px; right: 24px;
    left: auto; bottom: auto;
    flex-direction: row; gap: 10px;
  }
  .kk-hero-badge { width: 64px; height: 64px; }

  .kk-hero-inner { padding: 96px 24px 64px; }
  .kk-hero-ctas .btn { padding: 16px 22px !important; font-size: 14px !important; }
  .kk-hero-meta { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; padding-top: 24px; }
  .kk-hero-meta-v { font-size: 22px; }

  /* Products: fall back to 2-col grid with featured spanning both */
  .kk-product-grid--three { grid-template-columns: 1fr 1fr; gap: 16px; }
  .kk-product-grid--three .kk-product-card { grid-template-rows: 220px 1fr; min-height: 440px; }
  .kk-product-grid--three .kk-product-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr; grid-template-rows: auto;
    min-height: 340px;
  }
  .kk-product-grid--three .kk-product-card--featured .kk-product-media { aspect-ratio: auto; }
  .kk-product-grid--three .kk-product-card--featured .kk-product-name b { font-size: 32px; }

  /* Section-wide paddings */
  .kk-section { padding: 72px 24px; }
  .kk-section-title { font-size: 34px; }
  .kk-warranty-inner { padding: 72px 24px; gap: 40px; }
  .kk-warranty-title { font-size: 60px; }
  .kk-configband-inner { padding: 80px 24px; }

  /* Display / ViCare / Techdeep — tighten content padding */
  .kk-display-strip-content,
  .kk-vicare-content,
  .kk-techdeep-content { padding: 44px 28px; }
  .kk-display-strip-media,
  .kk-vicare-media { height: 360px; }
  .kk-techdeep-media { height: 360px; }
  .kk-display-strip-list,
  .kk-vicare-list { grid-template-columns: 1fr 1fr; }

  /* Mapa footer — keep readable over video */
  .kk-mapa-video-wrap { aspect-ratio: 16 / 9; }
  .kk-mapa-title { font-size: 30px; }
}

/* ---- Small tablet / large phone (481–900) ---- */
@media (max-width: 900px) {
  .kk-section-title { font-size: 30px; }
  .kk-display-strip-title,
  .kk-vicare-title,
  .kk-techdeep-title { font-size: clamp(26px, 5vw, 36px); }
}

/* ---- Mobile refinements (<=600) — extend the existing 767 mobile zone ---- */
@media (max-width: 600px) {
  /* Hero: button fills the available width up to a friendly max */
  .kk-hero-ctas { width: 100%; }
  .kk-hero-cta-primary {
    width: 100%; max-width: 360px;
    justify-content: center; padding: 17px 24px !important;
  }

  /* Hero meta-stats: tighter label/value tokens */
  .kk-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; margin-top: 32px; }
  .kk-hero-meta-v { font-size: 20px; }
  .kk-hero-meta-k { font-size: 10px; letter-spacing: 0.06em; }

  /* Products: single-column with image on top — override featured card */
  .kk-product-grid--three .kk-product-card,
  .kk-product-grid--three .kk-product-card--featured {
    grid-template-columns: 1fr; grid-template-rows: 240px 1fr;
    min-height: 0;
  }
  .kk-product-grid--three .kk-product-card--featured { grid-template-rows: 280px 1fr; }
  .kk-product-grid--three .kk-product-card--featured .kk-product-name b { font-size: 28px; }
  .kk-product-name b { font-size: 24px; }

  /* Techdeep pillars: shrink padding, keep 3-up */
  .kk-techdeep-pill { padding: 16px 14px; }
  .kk-techdeep-pill-v { font-size: 22px; }

  /* Display / ViCare lists: single column for readability */
  .kk-display-strip-list,
  .kk-vicare-list { grid-template-columns: 1fr; }

  /* Process steps: stack to one column, keep the timeline feel via left border */
  .kk-process { grid-template-columns: 1fr; gap: 20px; }

  /* Content sections — slight padding tweak */
  .kk-display-strip-content,
  .kk-vicare-content,
  .kk-techdeep-content { padding: 36px 20px; }

  /* Section title on narrow */
  .kk-section-title { font-size: 26px; }

  /* Warranty */
  .kk-warranty-title { font-size: 38px; }
  .kk-warranty-inner { padding: 56px 20px; gap: 32px; }
  .kk-warranty-item { padding: 18px 0; }
  .kk-warranty-v { font-size: 22px; }

  /* Partners: 2 cols on narrow — 3 cols overflows at <480px */
  .kk-partners-row { grid-template-columns: repeat(2, 1fr); }
  .kk-partners-cell { border-right: 1px solid #ececed; border-bottom: 1px solid #ececed; }
  .kk-partners-cell:nth-child(2n) { border-right: none; }
  .kk-partners-cell:nth-child(3n) { border-right: 1px solid #ececed; }
  .kk-partners-cell:nth-last-child(-n+2) { border-bottom: none; }
  .kk-partners-cell:nth-last-child(-n+3):not(:nth-last-child(-n+2)) { border-bottom: 1px solid #ececed; }
  .kk-partners-inner { padding: 48px 20px; }

  /* Mapa footer — stronger overlay, taller aspect, safer legal line.
     Avoids the copy/map collision seen at <=414px. */
  .kk-mapa-video-wrap { aspect-ratio: 9 / 11; }
  .kk-mapa-copy {
    top: 24px;
    padding: 16px 20px;
  }
  .kk-mapa-copy::before {
    /* background: linear-gradient(180deg, rgba(37,40,43,0.85) 0%, rgba(37,40,43,0.55) 55%, rgba(37,40,43,0.1) 100%); */
  }
  .kk-mapa-title { font-size: 22px; }
  .kk-mapa-desc { font-size: 13px; }
  .kk-mapa-legal {
    font-size: 11px; gap: 4px;
    flex-direction: column; align-items: flex-start;
    bottom: 14px; padding: 0 20px;
    background: linear-gradient(0deg, rgba(37,40,43,0.9), rgba(37,40,43,0.6) 80%, transparent);
    padding-top: 14px;
  }
}

/* ---- Tiny phones (<=380) — guard against overflow ---- */
@media (max-width: 380px) {
  .kk-hero-headline { font-size: 38px; }
  .kk-section-title { font-size: 23px; }
  .kk-logo-brand { font-size: 12px; }
  .kk-logo-tld { font-size: 9px; }
}

/* Product media: cleaner aspect on single-column layouts so the
   boiler image renders full-size instead of a tall box. */
@media (max-width: 1200px) {
  .kk-product-grid--three .kk-product-media { aspect-ratio: auto; }
}

/* ============================================================
   ANIMATION / INTERACTION POLISH — gentle micro-interactions
   (reduce-motion users get a blanket override at the end of file)
   ============================================================ */

  /* Primary buttons — soft lift + red glow on hover */
  .btn-primary-rect,
  .btn-primary-pill {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  }
  .btn-primary-rect:hover,
  .btn-primary-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 0, 0, 0.28);
  }
  .btn-primary-rect:active,
  .btn-primary-pill:active { transform: translateY(0); box-shadow: none; }

  /* Desktop nav — underline draws on hover */
  .kk-nav a { position: relative; padding: 4px 0; }
  .kk-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: #e60000;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 220ms ease;
  }
  .kk-nav a:hover { opacity: 1; }
  .kk-nav a:hover::after { transform: scaleX(1); }

  /* Product cards — subtle lift + image zoom on hover */
  .kk-product-card {
    transition: transform 260ms ease, box-shadow 260ms ease;
  }
  .kk-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  }
  .kk-product-img { transition: transform 440ms ease; will-change: transform; }
  .kk-product-card:hover .kk-product-img { transform: scale(1.035); }

  /* Step numbers — colour pop on hover of whole step */
  .kk-step-num { transition: background-color 180ms ease, transform 180ms ease; }
  .kk-step:hover .kk-step-num { background: #c60000; transform: scale(1.06); }

  /* Techdeep pillars — subtle highlight */
  .kk-techdeep-pill { transition: background-color 180ms ease; }
  .kk-techdeep-pill:hover { background: #15181b; }

  /* Partners — hover already fades to colour; add slight scale */
  .kk-partners-logo { transition: filter 240ms ease, opacity 240ms ease, transform 240ms ease; }
  .kk-partners-cell:hover .kk-partners-logo { transform: scale(1.04); }

  /* Mobile menu — slide/fade in when opened */
  .kk-mobile-menu[data-open="true"] {
    animation: kk-menu-in 240ms ease both;
  }
  @keyframes kk-menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .kk-mobile-menu a { transition: background-color 160ms ease, padding-left 200ms ease, color 160ms ease; }
  .kk-mobile-menu a:active { background: #f7f7f7; padding-left: 6px; }

  /* Burger icon — smoother cubic easing on X transform */
  .kk-burger span { transition: transform 260ms cubic-bezier(.4, 0, .2, 1), opacity 200ms ease; }

  /* Header phone link — small red accent on hover */
  .kk-header-phone { transition: color 160ms ease; }

  /* Vicare store pills — hover invert */
  .kk-vicare-store { transition: background-color 160ms ease, color 160ms ease; cursor: default; }
  .kk-vicare-store:hover { background: #25282b; color: #fff; }

  /* Warranty rows — small highlight on hover */
  .kk-warranty-item { transition: border-color 180ms ease, padding-left 220ms ease; }
  .kk-warranty-item:hover { padding-left: 6px; border-color: rgba(230, 0, 0, 0.5); }

  /* Config-band meta cards already have transform — ensure smooth timing */
  .kk-configband-meta li { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }

  /* Hero badges — gentle hover grow (existing rule amends here) */
  .kk-hero-badge { transition: transform 260ms ease, box-shadow 260ms ease; }
  .kk-hero-badges:hover .kk-hero-badge { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.45); }

/* ============================================================
   SCROLL/LOAD ANIMATIONS — driven by GSAP + ScrollTrigger in app.js.
   Previously implemented here with CSS transitions + IntersectionObserver,
   but hit a cascade conflict that left elements stuck at opacity 0. GSAP
   handles initial-hide via gsap.set() inline, so no CSS here.
   ============================================================ */

/* ============================================================
   REDUCE-MOTION OVERRIDE — only kill the decorative infinite loop
   (hero badge pulse) for users who opted in. The subtle 14-18px
   fade-up reveals are below the WCAG motion threshold and run for
   everyone — they're essential to how the page reads.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .kk-hero-video-dot { animation: none !important; }
}

/* ============================================================
   COMPANY INFO / LEGAL — footer block below the mapa video.
   Dark charcoal strip, 3 columns on desktop, stacks on mobile.
   ============================================================ */
.kk-company {
  background: #1a1c1e;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.kk-company-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 48px 32px 32px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.kk-company-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kk-company-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: #e60000; margin-bottom: 10px;
}
.kk-company-name {
  font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.005em;
}
.kk-company-addr {
  font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.75);
  font-style: normal; margin: 4px 0 10px;
}
.kk-company-ids {
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px;
}
.kk-company-ids > div {
  display: grid; grid-template-columns: 70px 1fr; gap: 12px;
}
.kk-company-ids dt { color: rgba(255, 255, 255, 0.5); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.kk-company-ids dd { margin: 0; color: #fff; font-weight: 500; }

.kk-company-col--contact .kk-company-link {
  display: inline-block;
  font-size: 15px; font-weight: 600; color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 0;
  width: fit-content;
  transition: color 160ms ease, border-color 160ms ease;
}
.kk-company-col--contact .kk-company-link:hover {
  color: #e60000; border-bottom-color: #e60000;
}
.kk-company-col--contact .kk-company-link--muted {
  color: rgba(255, 255, 255, 0.75); font-weight: 500; font-size: 13px;
}
.kk-company-col:not(.kk-company-col--contact) .kk-company-link {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 0; margin-top: 4px;
  width: fit-content;
  transition: color 160ms ease, border-color 160ms ease;
}
.kk-company-col:not(.kk-company-col--contact) .kk-company-link:hover {
  color: #fff; border-bottom-color: rgba(255, 255, 255, 0.4);
}

.kk-company-legal {
  max-width: 1440px; margin: 0 auto;
  padding: 20px 32px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.kk-company-legal a {
  color: rgba(255, 255, 255, 0.7); text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 160ms ease, border-color 160ms ease;
}
.kk-company-legal a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.5); }

@media (max-width: 900px) {
  .kk-company-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px 24px; }
  .kk-company-legal { padding: 16px 24px 24px; }
}
@media (max-width: 600px) {
  .kk-company-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 20px; }
  .kk-company-legal { padding: 14px 20px 20px; }
}

/* ============================================================
   A11Y / TOUCH — ensure tap targets are ≥44px on mobile
   ============================================================ */
@media (max-width: 767px) {
  .kk-mobile-menu a { padding: 10px 0; }
  .kk-burger { width: 44px; height: 44px; }
  .kk-header-inner { height: 64px; }
  section[id] { scroll-margin-top: 64px; }
}
