/* ==========================================================================
   KLIMAX Teplice – Page-Specific Styles
   --------------------------------------------------------------------------
   Premium split-hero layout with photography, liquid glass layers,
   clean typography-driven design. No geometric grids, no pulsing dots.
   ========================================================================== */


/* ==========================================================================
   1. HERO SECTION — Fullscreen Image with Text in Bottom Left
   ========================================================================== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Align content to bottom */
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* --- Hero Image (Fullscreen Background) ----------------------------------- */
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Top gradient overlay to ensure navbar readability without a solid bar */
.hero__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px; /* Fades out smoothly over the top area */
  background: linear-gradient(
    to bottom,
    rgba(18, 20, 24, 0.8) 0%,
    rgba(18, 20, 24, 0.3) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* --- Hero Content (Bottom Left) ------------------------------------------- */
.hero__content {
  position: relative;
  z-index: 10; /* Higher than the wave so text is always on top */
  padding: 4rem 4rem 3rem; /* Reduced bottom padding to keep text safely inside the shorter wave */
  width: 100%;
}

/* Inner wrapper constrains text width */
.hero__content-inner {
  max-width: clamp(340px, 45vw, 480px); /* Dynamically shrinks on tablets to ensure it never exceeds the dark wave */
}

/* --- Klimax x Hisense partner logos above badge -------------------------- */
.hero__partner-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero__partner-img {
  max-height: 32px; /* Increased since it is standing alone */
  width: auto;
  opacity: 0.95;
}

/* --- Badge (Clean teal pill) ---------------------------------------------- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 179, 172, 0.08);
  border: 1px solid rgba(0, 179, 172, 0.2);
  color: var(--accent-hisense);
  padding: 0.25rem 0.6rem; /* Smaller padding */
  border-radius: 50px;
  font-size: 0.7rem; /* Smaller text */
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero__badge-dot { display: none; }

/* --- Hero Title ----------------------------------------------------------- */
.hero__title {
  margin-bottom: 0;
  color: var(--text-primary);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem); /* Made smaller */
}

.hero__title .highlight,
.hero__title .highlight-blue {
  color: inherit;
}

/* --- Hero Subtitle -------------------------------------------------------- */
.hero__subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem; /* Made smaller */
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* --- Hero Actions (Button Group) ------------------------------------------ */
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   2. HERO WAVE — Apple-style Liquid Glass
   ==========================================================================
   Key visual elements:
   1. Heavy frosted backdrop blur (40-60px) + saturation + brightness
   2. Gradient background simulating glass thickness
   3. ::before = specular highlight (diagonal white light reflection)
   4. ::after = bright edge glow along the wave curve top
   5. SVG filter drop-shadows for 3D depth
   ========================================================================== */

/* Wave container */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 800px;
  z-index: 1;
  pointer-events: none;
}

/* Base glass layer */
.hero__wave-glass {
  position: absolute;
  inset: 0;
}

/* -----------------------------------------------------------------------
   BACK GLASS (Teal) — further from viewer
   ----------------------------------------------------------------------- */
.hero__wave-glass--back {
  clip-path: url(#wave-clip-back);
  
  /* Glass body — gradient simulates thickness: thin edge (lighter) → thick base (richer) */
  background: linear-gradient(
    170deg,
    rgba(0, 179, 172, 0.06) 0%,
    rgba(0, 179, 172, 0.12) 40%,
    rgba(0, 179, 172, 0.18) 100%
  );
  
  /* Liquid glass: pre-blur → displacement refraction → post-blur + color boost */
  -webkit-backdrop-filter: blur(1px) url('data:image/svg+xml;utf8,%3csvg%20height%3d%22200%22%20width%3d%22200%22%20viewBox%3d%220%200%20200%20200%22%20xmlns%3d%22http%3a%2f%2fwww.w3.org%2f2000%2fsvg%22%3e%3cdefs%3e%3cfilter%20id%3d%22displace%22%20color-interpolation-filters%3d%22sRGB%22%3e%3cfeImage%20x%3d%220%22%20y%3d%220%22%20height%3d%22200%22%20width%3d%22200%22%20href%3d%22data%3aimage%2fsvg%2bxml%3butf8%2c%253csvg%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520viewBox%253d%25220%25200%2520200%2520200%2522%2520xmlns%253d%2522http%253a%252f%252fwww.w3.org%252f2000%252fsvg%2522%253e%253cstyle%253e.m%257bmix-blend-mode%253ascreen%257d%253c%252fstyle%253e%253cdefs%253e%253clinearGradient%2520id%253d%2522Y%2522%2520x1%253d%25220%2522%2520x2%253d%25220%2522%2520y1%253d%25223%2525%2522%2520y2%253d%252297%2525%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%25230F0%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253clinearGradient%2520id%253d%2522X%2522%2520x1%253d%25223%2525%2522%2520x2%253d%252297%2525%2522%2520y1%253d%25220%2522%2520y2%253d%25220%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%2523F00%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253c%252fdefs%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523808080%2522%252f%253e%253cg%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523000080%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523Y)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523X)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%252220%2522%2520y%253d%252220%2522%2520height%253d%2522160%2522%2520width%253d%2522160%2522%2520fill%253d%2522%2523808080%2522%2520rx%253d%252240%2522%2520ry%253d%252240%2522%2520filter%253d%2522blur(20px)%2522%252f%253e%253c%252fg%253e%253c%252fsvg%253e%22%20result%3d%22dm%22%2f%3e%3cfeDisplacementMap%20in%3d%22SourceGraphic%22%20in2%3d%22dm%22%20scale%3d%2260%22%20xChannelSelector%3d%22R%22%20yChannelSelector%3d%22G%22%2f%3e%3c%2ffilter%3e%3c%2fdefs%3e%3c%2fsvg%3e#displace') blur(20px) brightness(1.1) saturate(1.6);
  backdrop-filter: blur(1px) url('data:image/svg+xml;utf8,%3csvg%20height%3d%22200%22%20width%3d%22200%22%20viewBox%3d%220%200%20200%20200%22%20xmlns%3d%22http%3a%2f%2fwww.w3.org%2f2000%2fsvg%22%3e%3cdefs%3e%3cfilter%20id%3d%22displace%22%20color-interpolation-filters%3d%22sRGB%22%3e%3cfeImage%20x%3d%220%22%20y%3d%220%22%20height%3d%22200%22%20width%3d%22200%22%20href%3d%22data%3aimage%2fsvg%2bxml%3butf8%2c%253csvg%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520viewBox%253d%25220%25200%2520200%2520200%2522%2520xmlns%253d%2522http%253a%252f%252fwww.w3.org%252f2000%252fsvg%2522%253e%253cstyle%253e.m%257bmix-blend-mode%253ascreen%257d%253c%252fstyle%253e%253cdefs%253e%253clinearGradient%2520id%253d%2522Y%2522%2520x1%253d%25220%2522%2520x2%253d%25220%2522%2520y1%253d%25223%2525%2522%2520y2%253d%252297%2525%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%25230F0%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253clinearGradient%2520id%253d%2522X%2522%2520x1%253d%25223%2525%2522%2520x2%253d%252297%2525%2522%2520y1%253d%25220%2522%2520y2%253d%25220%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%2523F00%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253c%252fdefs%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523808080%2522%252f%253e%253cg%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523000080%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523Y)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523X)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%252220%2522%2520y%253d%252220%2522%2520height%253d%2522160%2522%2520width%253d%2522160%2522%2520fill%253d%2522%2523808080%2522%2520rx%253d%252240%2522%2520ry%253d%252240%2522%2520filter%253d%2522blur(20px)%2522%252f%253e%253c%252fg%253e%253c%252fsvg%253e%22%20result%3d%22dm%22%2f%3e%3cfeDisplacementMap%20in%3d%22SourceGraphic%22%20in2%3d%22dm%22%20scale%3d%2260%22%20xChannelSelector%3d%22R%22%20yChannelSelector%3d%22G%22%2f%3e%3c%2ffilter%3e%3c%2fdefs%3e%3c%2fsvg%3e#displace') blur(20px) brightness(1.1) saturate(1.6);
  
  /* 3D depth via SVG drop-shadows */
  filter: url(#glass-back);
  z-index: 1;
}

/* Specular highlight — diagonal white light reflection across the glass surface */
.hero__wave-glass--back::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.06) 20%,
    transparent 45%,
    transparent 80%,
    rgba(255, 255, 255, 0.03) 100%
  );
  pointer-events: none;
}

/* Edge glow — bright line along the top surface of the glass */
.hero__wave-glass--back::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  /* Top border simulation — bright inset glow at the very top */
  background: linear-gradient(
    180deg,
    rgba(0, 230, 220, 0.3) 0%,
    rgba(0, 230, 220, 0.08) 2%,
    transparent 5%
  );
  pointer-events: none;
}

/* -----------------------------------------------------------------------
   FRONT GLASS (Dark) — closer to viewer, stronger effects
   ----------------------------------------------------------------------- */
.hero__wave-glass--front {
  clip-path: url(#wave-clip-front);
  
  /* Thicker, darker glass body with visible internal color shift */
  background: linear-gradient(
    165deg,
    rgba(18, 20, 30, 0.45) 0%,
    rgba(18, 20, 26, 0.65) 30%,
    rgba(18, 20, 24, 0.82) 100%
  );
  
  /* Liquid glass: stronger refraction on the closer piece */
  -webkit-backdrop-filter: blur(1px) url('data:image/svg+xml;utf8,%3csvg%20height%3d%22200%22%20width%3d%22200%22%20viewBox%3d%220%200%20200%20200%22%20xmlns%3d%22http%3a%2f%2fwww.w3.org%2f2000%2fsvg%22%3e%3cdefs%3e%3cfilter%20id%3d%22displace%22%20color-interpolation-filters%3d%22sRGB%22%3e%3cfeImage%20x%3d%220%22%20y%3d%220%22%20height%3d%22200%22%20width%3d%22200%22%20href%3d%22data%3aimage%2fsvg%2bxml%3butf8%2c%253csvg%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520viewBox%253d%25220%25200%2520200%2520200%2522%2520xmlns%253d%2522http%253a%252f%252fwww.w3.org%252f2000%252fsvg%2522%253e%253cstyle%253e.m%257bmix-blend-mode%253ascreen%257d%253c%252fstyle%253e%253cdefs%253e%253clinearGradient%2520id%253d%2522Y%2522%2520x1%253d%25220%2522%2520x2%253d%25220%2522%2520y1%253d%25223%2525%2522%2520y2%253d%252297%2525%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%25230F0%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253clinearGradient%2520id%253d%2522X%2522%2520x1%253d%25223%2525%2522%2520x2%253d%252297%2525%2522%2520y1%253d%25220%2522%2520y2%253d%25220%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%2523F00%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253c%252fdefs%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523808080%2522%252f%253e%253cg%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523000080%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523Y)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523X)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%252215%2522%2520y%253d%252215%2522%2520height%253d%2522170%2522%2520width%253d%2522170%2522%2520fill%253d%2522%2523808080%2522%2520rx%253d%252230%2522%2520ry%253d%252230%2522%2520filter%253d%2522blur(15px)%2522%252f%253e%253c%252fg%253e%253c%252fsvg%253e%22%20result%3d%22dm%22%2f%3e%3cfeDisplacementMap%20in%3d%22SourceGraphic%22%20in2%3d%22dm%22%20scale%3d%2290%22%20xChannelSelector%3d%22R%22%20yChannelSelector%3d%22G%22%2f%3e%3c%2ffilter%3e%3c%2fdefs%3e%3c%2fsvg%3e#displace') blur(30px) brightness(0.95) saturate(1.8);
  backdrop-filter: blur(1px) url('data:image/svg+xml;utf8,%3csvg%20height%3d%22200%22%20width%3d%22200%22%20viewBox%3d%220%200%20200%20200%22%20xmlns%3d%22http%3a%2f%2fwww.w3.org%2f2000%2fsvg%22%3e%3cdefs%3e%3cfilter%20id%3d%22displace%22%20color-interpolation-filters%3d%22sRGB%22%3e%3cfeImage%20x%3d%220%22%20y%3d%220%22%20height%3d%22200%22%20width%3d%22200%22%20href%3d%22data%3aimage%2fsvg%2bxml%3butf8%2c%253csvg%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520viewBox%253d%25220%25200%2520200%2520200%2522%2520xmlns%253d%2522http%253a%252f%252fwww.w3.org%252f2000%252fsvg%2522%253e%253cstyle%253e.m%257bmix-blend-mode%253ascreen%257d%253c%252fstyle%253e%253cdefs%253e%253clinearGradient%2520id%253d%2522Y%2522%2520x1%253d%25220%2522%2520x2%253d%25220%2522%2520y1%253d%25223%2525%2522%2520y2%253d%252297%2525%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%25230F0%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253clinearGradient%2520id%253d%2522X%2522%2520x1%253d%25223%2525%2522%2520x2%253d%252297%2525%2522%2520y1%253d%25220%2522%2520y2%253d%25220%2522%253e%253cstop%2520offset%253d%25220%2525%2522%2520stop-color%253d%2522%2523F00%2522%252f%253e%253cstop%2520offset%253d%2522100%2525%2522%2520stop-color%253d%2522%2523000%2522%252f%253e%253c%252flinearGradient%253e%253c%252fdefs%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523808080%2522%252f%253e%253cg%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522%2523000080%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523Y)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%25220%2522%2520y%253d%25220%2522%2520height%253d%2522200%2522%2520width%253d%2522200%2522%2520fill%253d%2522url(%2523X)%2522%2520class%253d%2522m%2522%252f%253e%253crect%2520x%253d%252215%2522%2520y%253d%252215%2522%2520height%253d%2522170%2522%2520width%253d%2522170%2522%2520fill%253d%2522%2523808080%2522%2520rx%253d%252230%2522%2520ry%253d%252230%2522%2520filter%253d%2522blur(15px)%2522%252f%253e%253c%252fg%253e%253c%252fsvg%253e%22%20result%3d%22dm%22%2f%3e%3cfeDisplacementMap%20in%3d%22SourceGraphic%22%20in2%3d%22dm%22%20scale%3d%2290%22%20xChannelSelector%3d%22R%22%20yChannelSelector%3d%22G%22%2f%3e%3c%2ffilter%3e%3c%2fdefs%3e%3c%2fsvg%3e#displace') blur(30px) brightness(0.95) saturate(1.8);
  
  /* 3D depth: specular + layered shadows via SVG */
  filter: url(#glass-front);
  z-index: 2;
}

/* Specular highlight — stronger and more defined on the closer glass piece */
.hero__wave-glass--front::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background:
    /* Primary specular — bright diagonal sweep */
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 15%,
      transparent 40%
    ),
    /* Secondary internal reflection — faint light at the bottom */
    linear-gradient(
      345deg,
      transparent 60%,
      rgba(255, 255, 255, 0.04) 85%,
      rgba(255, 255, 255, 0.08) 100%
    );
  pointer-events: none;
}

/* Edge glow — bright white highlight along the top edge of the dark glass */
.hero__wave-glass--front::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.10) 1.5%,
    rgba(255, 255, 255, 0.02) 4%,
    transparent 8%
  );
  pointer-events: none;
}

/* ==========================================================================
   3. HERO — Responsive Adjustments
   ========================================================================== */

/* --- Mobile (Native App Style) ------------------------------------------------ */
@media (max-width: 767px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: auto;
  }

  .hero__image img {
    content: url('../assets/images/mobile-hero.webp');
    object-position: center bottom;
  }

  .hero__wave {
    display: none;
  }

  .hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(18, 20, 24, 1) 0%,
      rgba(18, 20, 24, 0.8) 30%,
      rgba(18, 20, 24, 0.2) 60%,
      transparent 100%
    );
    pointer-events: none;
  }

  .hero__content {
    padding: 2rem 1.25rem 3rem;
    display: flex;
    justify-content: center;
  }

  .hero__content-inner {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .hero__partner-logo {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
  }
}

/* --- sm: 480px ------------------------------------------------------------ */
@media (min-width: 480px) {
  .hero__subtitle {
    font-size: 1.15rem;
  }
}

/* --- md (Tablet): 768px–1023px -------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__content {
    padding: 5rem 2rem 4rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
    max-width: 500px;
  }
}

/* --- lg: 1024px ----------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero__content {
    padding: 6rem 2rem 4rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
    max-width: 600px;
  }
}

/* --- xl: 1280px ----------------------------------------------------------- */
@media (min-width: 1280px) {
  .hero__content {
    padding: 6rem 2rem 4rem;
  }
}


/* ==========================================================================
   4. SERVICES PREVIEW FOOTER
   ========================================================================== */

.services-preview__footer {
  text-align: center;
  margin-top: 2.5rem;
}


/* ==========================================================================
   5. KORE TEASER – Clean Two-Column Layout
   ==========================================================================
   Content + mock screen side-by-side. Screen rows are static (no pulse).
   ========================================================================== */

.kore-teaser__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: var(--z-base, 1);
}

.kore-teaser__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-klimax);
  margin-bottom: 0.5rem;
}

.kore-teaser__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.kore-teaser__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- Image Visual ---------------------------- */
.kore-teaser__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.kore-teaser__image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow:
    var(--glass-shadow-lg),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
  display: block;
  border: 1px solid var(--glass-border);
  border-right: none;
}

/* Desktop: side-by-side layout */
@media (min-width: 768px) {
  .kore-teaser__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .kore-teaser__content {
    flex: 1;
  }

  .kore-teaser__visual {
    flex: 0 0 auto;
  }
}


/* ==========================================================================
   6. CTA SECTION – Extended Styles
   ========================================================================== */

.cta-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-section__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}


/* ==========================================================================
   7. FOOTER – Extended Styles
   ========================================================================== */

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__about {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* ==========================================================================
   8. BRAND CARD BADGE (Clean teal pill, smaller)
   ========================================================================== */

.brand-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-hisense);
  background: rgba(0, 179, 172, 0.08);
  border: 1px solid rgba(0, 179, 172, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}


/* ==========================================================================
   9. BUTTON SIZE VARIANTS
   ========================================================================== */

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}


/* ==========================================================================
   10. NAV LOGO ICON (Inline SVG)
   ========================================================================== */

.nav__logo-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}


/* ==========================================================================
   11. TRUST BAR ITEM – SVG icon alignment
   ========================================================================== */

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-bar__item svg {
  flex-shrink: 0;
  display: inline-block;
}


/* ==========================================================================
   12. PILLARS WRAPPER
   ========================================================================== */

.pillars {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.pillars-transition {
  margin-top: 4rem;
  line-height: 0;
}

.pillars-transition svg {
  width: 100%;
  height: 120px;
  display: block;
  transform: translateY(1px);
}

@media (max-width: 767px) {
  .pillars-transition {
    display: none; /* Completely remove the transition wave on mobile */
  }
}

.pillars__wave-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pillars__wave-overlay svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pillars-z {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
}

/* ==========================================================================
   13. TRUSTED COMPANIES CAROUSEL – Glass Track
   ========================================================================== */

.trusted-carousel {
  position: relative;
  padding: 3rem 0; /* responsive padding */
  background-color: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
  .trusted-carousel {
    padding: 4rem 0;
  }
}

/* Edge Fade Gradients to hide the hard cut-off */
.trusted-carousel::before,
.trusted-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  max-width: 150px;
  z-index: 2;
  pointer-events: none;
}

.trusted-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 10%, transparent 100%);
}

.trusted-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 10%, transparent 100%);
}

.trusted-carousel__inner {
  display: flex;
  width: 100%;
}

.trusted-carousel__track {
  display: flex;
  animation: marquee 35s linear infinite;
  will-change: transform;
}

.trusted-carousel:hover .trusted-carousel__track {
  animation-play-state: paused;
}

.trusted-carousel__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
  min-width: max-content;
}

@media (min-width: 768px) {
  .trusted-carousel__group {
    gap: 4rem;
    padding-right: 4rem;
  }
}

.trusted-carousel__group img {
  height: 35px; /* scale down for mobile */
  width: auto;
  opacity: 0.8; /* slightly muted by default */
  transition: opacity var(--transition-base), transform var(--transition-base);
  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 768px) {
  .trusted-carousel__group img {
    height: 45px;
  }
}

@media (min-width: 1024px) {
  .trusted-carousel__group img {
    height: 55px; /* original was 60, this is slightly tighter */
  }
}

.trusted-carousel__group img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-carousel__track {
    animation-play-state: paused;
  }
}


/* ==========================================================================
   14. TRUSTED CLIENTS (REALIZACE)
   ========================================================================== */

.trusted-clients {
  background-color: var(--bg-primary);
}

.trusted-clients__grid {
  display: flex;
  overflow-x: auto;
  gap: 1.25rem;
  cursor: grab;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 1.5rem 0;

  /* Prevent text selection while dragging */
  -webkit-user-select: none;
  user-select: none;

  /* Hide scrollbar everywhere */
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE/Edge */
}

.trusted-clients__grid::-webkit-scrollbar {
  display: none;                    /* Chrome / Safari */
}

.trusted-clients__grid img {
  -webkit-user-drag: none;
}

.trusted-clients__grid:active {
  cursor: grabbing;
}

/* --- Edge-fade masks to hint at scrollable content ----------------------- */
.trusted-clients__grid-wrapper {
  position: relative;
}

.trusted-clients__grid-wrapper::before,
.trusted-clients__grid-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trusted-clients__grid-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.trusted-clients__grid-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.trusted-clients__grid-wrapper--fade-left::before {
  opacity: 1;
}

.trusted-clients__grid-wrapper--fade-right::after {
  opacity: 1;
}

/* --- Carousel navigation arrows ----------------------------------------- */
.trusted-clients__nav {
  display: none;            /* hidden on touch / small screens */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glass-shadow);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.trusted-clients__nav:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  opacity: 1;
}

.trusted-clients__nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.trusted-clients__nav--prev {
  left: -22px;
}

.trusted-clients__nav--next {
  right: -22px;
}

.trusted-clients__nav svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* --- Client Card --------------------------------------------------------- */
.client-card {
  position: relative;
  flex: 0 0 clamp(260px, 42vw, 300px);
  scroll-snap-align: start;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-glow), var(--glass-shadow);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
  display: flex;
  flex-direction: column;
}

/* Refraction overlay on client cards */
.client-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-refraction);
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-lg);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.client-card:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-glow-strong), var(--glass-shadow-lg);
  border-color: var(--glass-border-strong);
}

.client-card:hover::after {
  opacity: 1;
}

.client-card__image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.client-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.client-card:hover .client-card__image {
  transform: scale(1.05);
}

.client-card__content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.client-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.client-card__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: auto;
}

.client-card__brand-label {
  color: var(--text-muted);
}

.client-card__brand-logo {
  max-width: 75px;
  max-height: 16px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* === RESPONSIVE BREAKPOINTS ============================================= */

/* Mobile: < 600px — full-width cards, edge-to-edge scroll */
@media (max-width: 599px) {
  .trusted-clients__grid {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.75rem;
    scroll-padding-left: 1rem;
  }

  .client-card {
    flex: 0 0 82vw;
  }

  .client-card__image-wrapper {
    height: 170px;
  }
}

/* Small tablet: 600–767px — 2 cards visible */
@media (min-width: 600px) and (max-width: 767px) {
  .trusted-clients__grid {
    scroll-padding-left: 0;
    gap: 1rem;
  }

  .client-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

/* Tablet: 768–1023px — ~2.5 cards visible, show nav arrows */
@media (min-width: 768px) and (max-width: 1023px) {
  .trusted-clients__grid {
    gap: 1.25rem;
  }

  .client-card {
    flex: 0 0 calc(40% - 0.625rem);
  }
}

/* Desktop: 1024px+ — show nav arrows, wider cards */
@media (min-width: 768px) {
  .trusted-clients__nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .trusted-clients__grid {
    gap: 1.5rem;
  }

  .client-card {
    flex: 0 0 300px;
  }

  .client-card__image-wrapper {
    height: 200px;
  }

  .client-card__title {
    font-size: 1.1rem;
  }

  .client-card__content {
    padding: 1.5rem;
  }
}



