/* ═══════════════════════════════════════════════════
   INNOVA SLOVAKIA — Corporate Medical Design 2026
   Light bg, blue gradient accents, flowing curves
   Font: Space Grotesk (headings) + Inter (body)
   ═══════════════════════════════════════════════════ */

:root {
  --blue:        #1b6ec2;
  --blue-light:  #4a9ae8;
  --blue-mid:    #2478d4;
  --blue-dark:   #14507a;
  --blue-deep:   #0a2240;
  --blue-soft:   rgba(27,110,194,0.07);
  --blue-glow:   rgba(27,110,194,0.16);
  --blue-grad:   linear-gradient(135deg, #145da0 0%, #1b6ec2 40%, #3a8fd8 100%);
  --blue-btn:    linear-gradient(135deg, #145da0 0%, #1b6ec2 50%, #2d82cc 100%);

  --bg:          #f2f6fa;
  --bg-white:    #ffffff;
  --bg-card:     #ffffff;
  --border:      rgba(15,35,64,0.07);
  --border-hover:rgba(15,35,64,0.14);

  --text:        #0f172a;
  --text-blue:   #0a2240;
  --text-soft:   #4a5e78;
  --text-muted:  #8a9ab5;

  --dark-bg:     #0a2240;
  --dark-soft:   #8a9fc4;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --px:      clamp(20px, 4vw, 64px);
  --max:     1200px;
  --radius:  16px;
  --radius-sm: 12px;
  --ease:    cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }

/* ══════════════════════
   TOP ACCENT LINE
══════════════════════ */
body::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--blue-grad);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}

/* ══════════════════════
   HEADER
══════════════════════ */
.header {
  position: fixed;
  top: 4px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 0 var(--px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.header-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.logo-img {
  height: 60px;
  width: auto;
}
.logo-img:hover { opacity: 1; }
.logo-img-footer { filter: brightness(0) invert(1); opacity: 0.5; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav a:hover, .nav a.nav-active { color: var(--blue); }

.header-cta {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--blue-btn);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 8px var(--blue-glow);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  margin-right: 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  background: var(--bg-white);
}
.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  min-width: 34px;
}
.lang-opt:hover { color: var(--blue); }
.lang-opt.active {
  background: var(--blue-grad);
  color: #fff;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--blue-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  position: relative;
  z-index: 110;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-blue);
  transition: all 0.3s var(--ease);
}
.burger.burger-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.burger-active span:nth-child(2) { opacity: 0; }
.burger.burger-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--blue-btn);
  border: none;
  letter-spacing: 0.03em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  box-shadow: 0 2px 10px var(--blue-glow);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--blue-glow);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: transparent;
  border: 2px solid rgba(27,110,194,0.35);
  transition: all 0.25s var(--ease);
}
.btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: #fff;
  border: none;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.7; }

/* ══════════════════════════════════════════
   HERO — image as background, gradient fade from left
══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
/* Hero image as full background, positioned right */
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  /* Výraznejší Ken Burns — vizuálne badateľný zoom */
  animation: heroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
  transform-origin: 65% 40%;
}
@keyframes heroZoom {
  0%   { transform: scale(1.02) translate(0, 0); }
  50%  { transform: scale(1.14) translate(-3%, 1%); }
  100% { transform: scale(1.08) translate(-1%, -1.5%); }
}

/* Decorative floating glow orbs behind hero text */
.hero::before {
  content: '';
  position: absolute;
  top: 12%;
  left: -8%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,110,194,0.22) 0%, rgba(27,110,194,0) 70%);
  z-index: 1;
  pointer-events: none;
  animation: float1 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes float1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.12); }
}
/* Gradient overlay — fades image from left to right (white→transparent) */
.hero-bg-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff 25%,
    rgba(255,255,255,0.92) 35%,
    rgba(255,255,255,0.7) 48%,
    rgba(255,255,255,0.3) 62%,
    rgba(255,255,255,0.05) 78%,
    transparent 100%
  );
  pointer-events: none;
}
/* Optional: subtle blue tint at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(242,246,250,0.9), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  min-height: 580px;
  position: relative;
  z-index: 2;
}
.hero-text {
  padding: 120px 0 80px;
  max-width: 560px;
}
.hero-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(27,110,194,0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
}
/* Subtle pulsing dot before the chip (ako "live" indicator) */
.hero-chip::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: heroChipPulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(27,110,194,0.5);
}
@keyframes heroChipPulse {
  0%   { box-shadow: 0 0 0 0 rgba(27,110,194,0.55); transform: scale(1); }
  70%  { box-shadow: 0 0 0 8px rgba(27,110,194,0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(27,110,194,0); transform: scale(1); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img img,
  .hero::before,
  .hero-chip::before {
    animation: none !important;
  }
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-blue);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 span { color: var(--blue); }
.hero-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   PILLARS — icon boxes under hero
══════════════════════════════════════════ */
.pillars {
  padding: 72px var(--px);
  position: relative;
  z-index: 2;
  background: var(--blue-soft);
}
.pillars-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  /* žiadne gap — rozdelovač medzi položkami robí border */
}
.pillar {
  flex: 1 1 25%;
  min-width: 200px;
  padding: 20px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.3s var(--ease);
}
.pillar:last-child { border-right: none; }
.pillar:hover {
  transform: translateY(-3px);
}
.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px var(--blue-glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  flex-shrink: 0;
}
.pillar-icon svg { width: 28px; height: 28px; color: #fff; }
.pillar:hover .pillar-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 10px 28px rgba(27,110,194,0.36);
}
.pillar h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-section {
  padding: 80px var(--px) 100px;
  background: #f9f9f9;
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-content h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-blue);
  margin-bottom: 18px;
}
.about-content p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 12px;
}
.about-content .text-link { margin-top: 20px; display: inline-block; }
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.about-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* Value items v about (numbered 01/02/03/04) */
.about-values {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
  margin-bottom: 8px;
}
.value-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.value-number {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  padding-top: 3px;
  flex-shrink: 0;
  width: 30px;
  letter-spacing: 0.02em;
}
.value-item h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-blue);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.value-item p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════
   MARQUEE (rolujúci pás na dark-blue pozadí)
══════════════════════════════════════════ */
.marquee {
  padding: 22px 0;
  background: var(--blue-deep);
  color: rgba(255,255,255,0.62);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: marqueeScroll 38s linear infinite;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.marquee-track span:not(.marquee-dot) { color: #fff; }
.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   EXPERTISE / BENTO (dark-blue grid, navrh-3 pattern)
══════════════════════════════════════════ */
.expertise-section {
  padding: 100px var(--px);
  background: var(--blue-deep);
  color: #fff;
  position: relative;
}
.expertise-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.expertise-head {
  margin-bottom: 40px;
}
.tag-light {
  color: var(--blue-light) !important;
  background: rgba(74,154,232,0.12) !important;
}
.expertise-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 8px;
}
.text-muted-light {
  color: rgba(255,255,255,0.42);
}
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.bento-card {
  padding: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease),
    border-color 0.4s var(--ease);
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  background: rgba(74,154,232,0.06);
  border-color: rgba(74,154,232,0.28);
}

/* Background image overlay (voliteľný) */
.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  filter: grayscale(0.3);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.bento-card:hover .bento-bg-img {
  opacity: 0.35;
  transform: scale(1.04);
}
.bento-card > *:not(.bento-bg-img) { position: relative; z-index: 1; }
.bento-main {
  grid-row: 1 / 3;
}
.bento-side,
.bento-third {
  grid-column: 2;
}
.bento-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.bento-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.bento-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin-bottom: 18px;
}
.bento-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.bento-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bento-list li:last-child { border-bottom: none; }
.bento-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(74,154,232,0.18);
}
.bento-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.02em;
  transition: color 0.3s ease, transform 0.3s var(--ease);
  display: inline-block;
}
.bento-card:hover .bento-link {
  color: #9cc7f0;
  transform: translateX(4px);
}
.bento-visual {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 130px;
  opacity: 0.55;
  pointer-events: none;
}
.bento-visual svg {
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════
   PORTFOLIO (podľa navrh-3 — numbered cards)
══════════════════════════════════════════ */
.portfolio-section {
  padding: 100px var(--px) 100px;
  background: var(--bg-white);
  position: relative;
}
.portfolio-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.portfolio-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--text-blue);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 8px;
  text-transform: none;
}
.portfolio-intro {
  max-width: 400px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(10, 34, 64, 0.12);
  border-color: rgba(27,110,194,0.25);
}
.portfolio-media {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  /* fallback gradient ak DB nemá */
  background: linear-gradient(160deg, #0a2240 0%, #14507a 50%, #1b6ec2 100%);
}
.portfolio-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  mix-blend-mode: luminosity;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.portfolio-card:hover .portfolio-media-img {
  transform: scale(1.08);
  opacity: 0.55;
}
.portfolio-num {
  font-family: var(--font-head);
  font-size: 96px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.16);
  position: absolute;
  top: 8px;
  right: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.portfolio-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.portfolio-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-blue);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.portfolio-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.portfolio-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--blue-soft);
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}
.portfolio-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-head { gap: 16px; }
  .portfolio-intro { max-width: 100%; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════ */
.partners-section {
  padding: 56px var(--px);
  border-top: 1px solid var(--border);
}
.partners-inner { max-width: var(--max); margin: 0 auto; }
.partners-head {
  text-align: center; margin-bottom: 28px;
}
.partners-head h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700; color: var(--text-blue);
}
.partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.partner-tile {
  height: 64px; min-width: 140px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  transition: all 0.3s var(--ease);
}
.partner-tile:hover {
  border-color: rgba(27,110,194,0.2);
  box-shadow: 0 4px 14px rgba(27,110,194,0.06);
}
.partner-tile img {
  max-height: 28px; max-width: 100px;
  object-fit: contain; filter: grayscale(1); opacity: 0.5;
  transition: all 0.3s;
}
.partner-tile:hover img { filter: none; opacity: 0.8; }
.partner-name {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700; color: var(--text-muted);
}
.partner-tile:hover .partner-name { color: var(--blue); }

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  padding: 72px var(--px);
  background: var(--blue-grad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 50% 40% 60% 35%;
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; line-height: 1.2;
  color: #fff;
  max-width: 520px; margin: 0 auto 12px;
  position: relative;
}
.cta-band p {
  font-size: 14px; color: rgba(255,255,255,0.8);
  max-width: 420px; margin: 0 auto 24px; line-height: 1.6;
  position: relative;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section {
  padding: 80px var(--px) 100px;
  background: var(--bg-white);
}
.contact-inner {
  max-width: 920px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px;
}
.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; line-height: 1.15;
  color: var(--text-blue); margin-bottom: 12px;
}
.contact-info > p {
  font-size: 14px; color: var(--text-soft); line-height: 1.7;
}
.contact-info ul {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--text-soft);
}
.contact-info strong { color: var(--text); }
.contact-info a { color: var(--blue); transition: opacity 0.2s; }
.contact-info a:hover { opacity: 0.7; }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid; gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 5px; }
.contact-form label span {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form textarea { min-height: 100px; resize: vertical; }
#formMessage {
  display: none; padding: 11px 14px;
  border-radius: 10px; font-size: 14px;
}
.gdpr-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--text-muted); cursor: pointer;
}
.gdpr-label input { margin-top: 2px; flex-shrink: 0; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  padding: 28px var(--px);
  background: var(--dark-bg);
  color: var(--dark-soft);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer p { font-size: 12px; color: var(--dark-soft); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 12px; color: var(--dark-soft); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-dev { font-size: 11px; color: var(--dark-soft); }
.footer-dev a { color: var(--blue-light); transition: opacity 0.2s; }
.footer-dev a:hover { opacity: 0.7; }

/* ══════════════════════════════════════════
   SUBPAGE HERO
══════════════════════════════════════════ */
.sub-hero {
  padding: 120px var(--px) 80px;
  background: linear-gradient(180deg, #eef4fb 0%, #f7fafd 60%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Dekoratívne plynulé krivky keď NIE je banner — inline SVG s animáciou */
.sub-hero:not(.has-banner) .sub-hero-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Fade zľava — pravá strana (od 60%) full, postupne zleva k 0% transparentná */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.5) 40%, #000 60%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.5) 40%, #000 60%, #000 100%);
}
.sub-hero:not(.has-banner) .sub-hero-waves svg {
  position: absolute;
  top: 0; left: 0;
  width: 200%;         /* 2× aby sme animovali translateX(-50%) nekonečne */
  height: 100%;
  min-width: 1600px;
  will-change: transform;
}
.sub-hero:not(.has-banner) .sub-hero-waves .wave-a {
  animation: subHeroWavePan 34s linear infinite;
  opacity: 0.22;
}
.sub-hero:not(.has-banner) .sub-hero-waves .wave-b {
  animation: subHeroWavePan 48s linear infinite reverse;
  opacity: 0.18;
}
.sub-hero:not(.has-banner) .sub-hero-waves .wave-c {
  animation: subHeroWavePan 62s linear infinite;
  opacity: 0.14;
}
@keyframes subHeroWavePan {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sub-hero-inner {
  max-width: 680px;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .sub-hero:not(.has-banner) .sub-hero-waves svg { animation: none !important; }
}

/* Variant s banner obrázkom na pozadí */
.sub-hero.has-banner {
  background: var(--blue-deep);
  border-bottom: none;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 140px var(--px) 80px;
}
/* Banner image je vkladané ako inline <div class="sub-hero-bg"> s inline
   background-image — inline URL sa resolvuje relatívne k HTML stránke
   (nie k CSS súboru ako pri CSS premenných). */
.sub-hero-bg {
  position: absolute;
  inset: -4%;  /* presah aby zoom neodhalil okraje */
  background-size: cover;
  background-position: center center;
  opacity: 0.5;
  filter: saturate(0.9);
  z-index: 0;
  will-change: transform;
  animation: subHeroKenBurns 24s ease-in-out infinite alternate;
}
@keyframes subHeroKenBurns {
  0%   { transform: scale(1.02) translate(0, 0); }
  50%  { transform: scale(1.12) translate(-1.5%, 1%); }
  100% { transform: scale(1.06) translate(1%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .sub-hero-bg { animation: none; }
}
.sub-hero.has-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,34,64,0.92) 0%, rgba(10,34,64,0.6) 55%, rgba(10,34,64,0.25) 100%);
  z-index: 1;
}
.sub-hero.has-banner .back-link { color: rgba(255,255,255,0.8); }
.sub-hero.has-banner .back-link:hover { color: #fff; opacity: 1; }
.sub-hero.has-banner .tag { color: var(--blue-light); background: rgba(74,154,232,0.14); }
.sub-hero.has-banner h1 { color: #fff; }
.sub-hero.has-banner p { color: rgba(255,255,255,0.82); max-width: 620px; }

.back-link {
  display: inline-flex; gap: 6px; align-items: center;
  margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--blue);
}
.back-link:hover { opacity: 0.7; }
.sub-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700; line-height: 1.1;
  color: var(--text-blue); margin-bottom: 14px;
}
.sub-hero p {
  font-size: 15px; color: var(--text-soft);
  line-height: 1.7; max-width: 540px;
}

/* ── Generic section ── */
.section { padding: 72px var(--px); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-alt { background: #f9f9f9; }
.section-kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700; line-height: 1.1;
  color: var(--text-blue); margin-bottom: 12px;
}
.section-text {
  font-size: 14px; color: var(--text-soft);
  max-width: 540px; line-height: 1.7;
}
.section-head-center { text-align: center; margin-bottom: 36px; }
.section-head-center .section-text { margin: 0 auto; }
.section-head-between {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
}

/* ── Product grid (subpages) ── */
.sub-products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.sub-product-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.sub-product-card:hover {
  border-color: rgba(27,110,194,0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(27,110,194,0.08);
}
.sub-product-media {
  height: 180px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.sub-product-media img { max-height: 100%; object-fit: contain; }
.sub-product-card:hover .sub-product-media img { transform: scale(1.04); }
.sub-product-body { padding: 18px; }
.sub-product-body h3 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600;
  color: var(--text); margin-bottom: 4px;
}
.sub-product-body p { font-size: 13px; color: var(--text-soft); line-height: 1.5; }

/* ── Partners block ── */
.sub-partners {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; align-items: center;
}
.sub-partners-copy {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-white); border: 1px solid var(--border);
}
.sub-partners-copy .section-text { color: var(--text-soft); }
.partner-row {
  margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px;
}
.partner-pill {
  height: 40px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 18px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; color: var(--text-soft);
}
.sub-partners-image {
  border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  min-height: 280px;
}
.sub-partners-image img { width: 100%; height: 100%; object-fit: cover; }
.sub-cta-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ── About page ── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.about-lead { font-size: 15px; color: var(--text-soft); line-height: 1.8; }
.about-lead p + p { margin-top: 14px; }
.about-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px;
}
.about-stat-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; text-align: center;
}
.about-stat-val {
  font-family: var(--font-head);
  font-size: 30px; font-weight: 700; color: var(--blue);
}
.about-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.about-photo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.about-photo-grid img {
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  width: 100%; height: 190px; object-fit: cover;
}
.about-photo-grid img:first-child { grid-column: 1 / 3; height: 240px; }

/* ── Values ── */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-card {
  padding: 24px; border-radius: var(--radius-sm);
  background: var(--bg-white); border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.value-card:hover {
  border-color: rgba(27,110,194,0.18);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27,110,194,0.06);
}
.value-num {
  font-family: var(--font-head);
  font-size: 26px; font-weight: 700; color: var(--blue);
  margin-bottom: 10px;
}
.value-card h3 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--text-blue); margin-bottom: 6px;
}
.value-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* ══════════════════════
   REVEAL
══════════════════════ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 1024px) {
  .hero { min-height: 480px; }
  .hero-inner { min-height: 480px; }
  .hero-text { max-width: 420px; }
  .hero-bg-fade {
    background: linear-gradient(
      to right, #fff 0%, #fff 15%, rgba(255,255,255,0.95) 30%,
      rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.4) 70%, transparent 100%
    );
  }
  /* Pillars 2x2 — odstrániť border medzi riadkami, pridať bottom border na horné 2 */
  .pillar { flex: 1 1 50%; min-width: 0; padding-top: 28px; padding-bottom: 28px; }
  .pillar:nth-child(2n) { border-right: none; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: 1fr; }
  .bento-main { grid-row: auto; }
  .bento-side, .bento-third { grid-column: auto; }
  .contact-inner { grid-template-columns: 1fr; max-width: 540px; }
  .sub-products-grid { grid-template-columns: 1fr 1fr; }
  .sub-partners { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 800px) {
  .logo-img { height: 40px; }
  /* Bez backdrop-filter — inak vytvára containing block pre fixed nav,
     ktorý by sa potom nerozprestrel cez viewport ale len cez .header. */
  .header { height: 64px; background: #ffffff; backdrop-filter: none; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .lang-switcher { margin-right: 8px; }
  body.menu-open { overflow: hidden; }
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 105;
    background: #ffffff;
    backdrop-filter: none;
    flex-direction: column;
    justify-content: flex-start; align-items: stretch;
    gap: 0;
    padding: 96px 28px 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav.nav-open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
  }
  .nav a {
    display: block;
    width: 100%;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-head);
    font-size: 18px; font-weight: 700;
    color: var(--text-blue); text-transform: none;
    letter-spacing: 0;
  }
  .nav a:last-child { border-bottom: none; }
  .nav a.nav-active { color: var(--blue); }
  .form-row { grid-template-columns: 1fr; }
  .sub-products-grid { grid-template-columns: 1fr; }
  .section-head-between { flex-direction: column; align-items: flex-start; }
  .about-stats-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo-grid img:first-child { grid-column: auto; }
  .products-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  /* Pillars 1 column — len bottom border medzi položkami */
  .pillar { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .pillar:nth-child(2n) { border-right: none; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hero-visual { min-height: 240px; }
  .contact-form { padding: 20px; }
  .sub-partners-copy { padding: 20px; }
}
