/* ============================================
   Frantisek Majersky — Bento Grid Redesign 2026
   Fonty: Outfit 400-800 + Fraunces italic
   Efekty: ambulance lights, bento grid, glassmorphism
   ============================================ */

:root {
  --blue-900: #071e3d;
  --blue-800: #0d2f5e;
  --blue-700: #14408a;
  --blue-600: #1a56b8;
  --blue-500: #2563eb;
  --blue-400: #4b83f0;
  --blue-300: #7ba6f7;
  --blue-200: #b3cdfb;
  --blue-100: #dbe8fd;
  --blue-50: #eff5ff;
  --cyan: #0ea5e9;
  --cyan-light: #06b6d4;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #071e3d 0%, #0d2f5e 40%, #14408a 100%);
  --gradient-cta: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #2563eb 50%, #7c3aed 100%);
  --gradient-text: linear-gradient(135deg, #2563eb, #0ea5e9, #06b6d4);
  --gradient-text-shift: linear-gradient(135deg, #2563eb, #0ea5e9, #06b6d4, #2563eb);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to { --border-angle: 360deg; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

html, body {
  scroll-restoration: manual;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--blue-700);
  color: var(--white);
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- GRADIENT TEXT UTILITY ---- */

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- HEADER — Full-width Transparent ---- */

.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px 10px;
  background: rgba(7,30,61,0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.header-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle),
    transparent 0%,
    rgba(255,255,255,0.5) 10%,
    transparent 20%,
    transparent 50%,
    rgba(255,255,255,0.5) 60%,
    transparent 70%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  padding: 1px;
  animation: borderRotate 6s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.header.scrolled .header-inner {
  background: rgba(7,30,61,0.85);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.08);
}

.header-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.header-social:hover {
  color: var(--white);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-erb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  transition: border-color 0.3s;
}

.header.scrolled .logo-erb {
  border-color: rgba(255,255,255,0.3);
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-first {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  margin-left: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 8px 16px;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  font-weight: 600;
}


.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 4px 0;
}

.mobile-link:hover,
.mobile-link.active {
  opacity: 1;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gradient {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

/* Shimmer sweep on gradient button */
.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-600);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.08), transparent);
  transition: left 0.6s ease;
}

.btn-white:hover::before {
  left: 100%;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-dark {
  color: var(--blue-700);
  border-color: var(--blue-300);
  background: rgba(37,99,235,0.08);
}

.btn-dark:hover {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* ---- HERO (homepage) ---- */

.hero {
  position: relative;
  min-height: 800px;
  padding: 110px 0 120px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 5;
}


/* Micro dot pattern */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* Siréna — rotujúci lúč */
.hero-siren {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  margin: -350px 0 0 -350px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(37, 99, 235, 0.65) 15deg,
    transparent 40deg,
    transparent 180deg,
    rgba(37, 99, 235, 0.65) 195deg,
    transparent 220deg
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  animation: sirenSpin 3s linear infinite;
}

@keyframes sirenSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Tmavý kruh pred sirénou */
.hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  background: #0f2a52;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hero-circle-photo {
  position: absolute;
  inset: 15%;
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-circle-photo.active {
  opacity: 1;
}

/* Svietiaci border synchro so sirénou */
.hero-circle::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255,255,255,0.5) 10deg,
    rgba(37,99,235,0.6) 20deg,
    transparent 35deg,
    transparent 180deg,
    rgba(255,255,255,0.5) 190deg,
    rgba(37,99,235,0.6) 200deg,
    transparent 215deg
  );
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px), #000 50%, transparent calc(50% + 1px));
  mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px), #000 50%, transparent calc(50% + 1px));
  animation: sirenSpin 3s linear infinite;
  z-index: 3;
}


/* Hero floating stat cards */
.hero-float-cards {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-float-left {
  right: calc(50% + 250px);
  left: 40px;
  text-align: right;
  align-items: flex-end;
  width: auto;
}

.hero-float-right {
  left: calc(50% + 250px);
  right: 40px;
  text-align: left;
  align-items: flex-start;
  width: auto;
}

.hero-float-cards .hero-float-badge,
.hero-float-cards .hero-float-card {
  opacity: 0;
}

.hero-float-left .hero-float-badge,
.hero-float-left .hero-float-card {
  transform: translateX(40px);
}

.hero-float-right .hero-float-badge,
.hero-float-right .hero-float-card {
  transform: translateX(-40px);
}

.hero-float-left .hero-float-badge.visible,
.hero-float-left .hero-float-card.visible {
  animation: slideFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-float-right .hero-float-badge.visible,
.hero-float-right .hero-float-card.visible {
  animation: slideFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-float-left .hero-float-card.visible {
  animation: slideFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards, heroFloat 4s ease-in-out 0.6s infinite;
}

.hero-float-right .hero-float-card.visible {
  animation: slideFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards, heroFloat 4s ease-in-out 0.6s infinite;
}

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-float-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: var(--radius);
  color: var(--white);
  margin-bottom: 6px;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.3);
}

.badge-red {
  background: rgba(220, 50, 50, 0.35);
  border: 1px solid rgba(220, 50, 50, 0.5);
  box-shadow: 0 0 16px rgba(220, 50, 50, 0.3);
}

.hero-float-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
}


@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-float-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-float-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  margin-top: 4px;
}

/* Hero rotating headlines */
.hero-headlines {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  width: 100%;
  max-width: 800px;
  height: 80px;
}

.hero-headline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

.hero-headline-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 14px;
  border-radius: 100px;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-headline.active .hero-headline-label {
  opacity: 1;
  transform: translateY(0);
}

.hero-headline-text {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  white-space: nowrap;
}

/* Word-by-word Apple reveal */
.hero-headline-text .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-headline.active .hw.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-headline.exit .hw {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.label-health {
  background: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4), 0 0 40px rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.5);
}

.label-housing {
  background: rgba(14, 165, 233, 0.35);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4), 0 0 40px rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.5);
}

.label-transport {
  background: rgba(124, 58, 237, 0.35);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.5);
}

.label-education {
  background: rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.5);
}

/* Bento Grid — Magazine Layout */
.hero-bento {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
}

/* Shared glass card */
.bento-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
}

.bento-card:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

/* ---- NAME CARD ---- */
.bento-name {
  grid-column: 1 / 2;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-name-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 14px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 100px;
  color: var(--blue-200);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.bento-name-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bento-name-title span {
  background: var(--gradient-text-shift);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.bento-name-sub {
  font-size: 0.92rem;
  color: var(--blue-200);
  margin-bottom: 24px;
  line-height: 1.5;
}

.bento-name-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---- PHOTO CARDS ---- */
.bento-photo-card {
  position: relative;
  min-height: 220px;
}

.bento-photo-card > img,
.bento-photo-card > .bento-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Slideshow in main photo */
.bento-photo-main {
  grid-column: 2 / 4;
  min-height: 340px;
}

.bento-photo-main > .bento-photo {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.bento-photo-main > .bento-photo.active {
  opacity: 1;
}

.bento-photo-sm {
  min-height: 200px;
}

.bento-photo-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.bento-photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Gradient overlay on photo cards */
.bento-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,30,61,0.5) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  border-radius: 20px;
}

/* ---- PRIORITY CARDS WITH PHOTO BG ---- */
.bento-priority {
  position: relative;
  text-decoration: none;
  cursor: pointer;
  z-index: 0;
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,30,61,0.85) 0%, rgba(7,30,61,0.65) 100%);
  z-index: 1;
}

.bento-priority-content {
  position: relative;
  z-index: 2;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-priority-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-priority h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.bento-priority p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

/* Big accent number in card */
.bento-priority-num {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}

/* Priority colors */
.bento-p1 { border-color: rgba(239,68,68,0.25); }
.bento-p1 .bento-priority-icon { background: rgba(239,68,68,0.2); color: #fca5a5; }
.bento-p1:hover { border-color: rgba(239,68,68,0.5); box-shadow: 0 8px 32px rgba(239,68,68,0.2); }

.bento-p2 { border-color: rgba(34,197,94,0.25); }
.bento-p2 .bento-priority-icon { background: rgba(34,197,94,0.2); color: #86efac; }
.bento-p2:hover { border-color: rgba(34,197,94,0.5); box-shadow: 0 8px 32px rgba(34,197,94,0.2); }

.bento-p3 { border-color: rgba(251,191,36,0.25); }
.bento-p3 .bento-priority-icon { background: rgba(251,191,36,0.2); color: #fde68a; }
.bento-p3:hover { border-color: rgba(251,191,36,0.5); box-shadow: 0 8px 32px rgba(251,191,36,0.2); }

.bento-p4 { border-color: rgba(139,92,246,0.25); }
.bento-p4 .bento-priority-icon { background: rgba(139,92,246,0.2); color: #c4b5fd; }
.bento-p4:hover { border-color: rgba(139,92,246,0.5); box-shadow: 0 8px 32px rgba(139,92,246,0.2); }

/* ---- STATS CARD ---- */
.bento-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 20px;
}

.bento-stat {
  flex: 1;
  text-align: center;
}

.bento-stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 3px;
}

.bento-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.bento-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ---- QUOTE CARD ---- */
.bento-quote {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.bento-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.bento-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-300);
}

/* ---- CTA CARD ---- */
.bento-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  background: var(--gradient-primary);
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.bento-cta:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.4);
}

.bento-cta-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

.bento-cta-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- PAGE HERO (subpages) ---- */

.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Page hero ambulance lights */
.page-hero-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.page-hero-light--1 {
  width: 400px;
  height: 400px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(37,99,235,0.25), transparent 70%);
  animation: ambulanceBlue 3s ease-in-out infinite;
}

.page-hero-light--2 {
  width: 300px;
  height: 300px;
  bottom: -15%;
  left: -5%;
  background: radial-gradient(circle, rgba(239,68,68,0.2), transparent 70%);
  animation: ambulanceRed 3s ease-in-out infinite;
}

/* Micro dot pattern for page hero */
.page-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.03;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-200);
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--blue-200);
  max-width: 600px;
  line-height: 1.6;
}

/* ---- SECTIONS ---- */

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label.center {
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title.center {
  text-align: center;
  margin-bottom: 48px;
}

/* Section title underline animation */
.section-title.center::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  margin: 16px auto 0;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.center.visible::after {
  transform: scaleX(1);
}

/* ---- HERO TEXT SECTION ---- */

.hero-text-section {
  padding: 0 0 80px;
  text-align: center;
}

.hero-text-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-title strong {
  font-weight: 800;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  color: var(--blue-500);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.hero-desc {
  font-size: 1.265rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.numbers-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.number-item {
  text-align: center;
}

.number-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.number-label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---- PRIORITIES SECTION ---- */

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.priority-card {
  display: block;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}

.priority-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
}

.priority-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.priority-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.section-desc.center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- ABOUT PREVIEW SECTION (homepage) ---- */

.about-preview {
  position: relative;
  background: var(--gradient-hero);
}

.about-preview::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.about-preview::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.about-preview .section-label {
  color: var(--blue-300);
}

.about-preview .section-title {
  color: var(--white);
}

.about-preview .btn-gradient {
  /* btn-gradient je už OK */
}

.about-preview .btn {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-preview-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-preview-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-preview-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.about-preview-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(7,30,61,0.85);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-preview-image-badge span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-preview-content p {
  font-size: 1.05rem;
  color: var(--blue-200);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-preview-content p strong {
  color: var(--white);
}

.about-roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.about-role {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-role.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-role-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.2);
  border-radius: 10px;
}

.about-role-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
}

.about-preview-content .btn {
  margin-top: 12px;
}

/* ---- POPRAD PREVIEW SECTION (homepage) ---- */

.poprad-preview {
  position: relative;
  background: var(--gradient-hero);
}

.poprad-preview::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.poprad-preview::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.poprad-preview .section-label {
  color: var(--blue-300);
}

.poprad-preview .section-title {
  color: var(--white);
}

.poprad-preview .section-desc {
  color: var(--blue-200);
}

.poprad-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.poprad-preview-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.poprad-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

.poprad-preview-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.poprad-preview-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.poprad-preview-card p {
  font-size: 0.92rem;
  color: var(--blue-200);
  line-height: 1.6;
}

.poprad-preview-cta {
  text-align: center;
}

/* ---- PHOTO STRIP ---- */

.photo-strip {
  padding: 0;
  overflow: hidden;
  background: var(--gray-50);
}

.photo-strip-inner {
  display: flex;
  gap: 4px;
}

.photo-strip-item {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
  filter: grayscale(30%);
}

.photo-strip-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

/* ---- CTA SECTION ---- */

.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--gradient-cta);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- ABOUT PAGE ---- */

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(37,99,235,0.15);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Glow behind about image */
.about-image::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text p strong {
  color: var(--gray-800);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.stat-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---- ROLES ---- */

.roles-section {
  background: var(--gray-50);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.role-card:hover::before {
  opacity: 1;
}

.role-card.role-primary {
  background: var(--gradient-hero);
  color: var(--white);
  border: none;
}

.role-card.role-primary::before {
  display: none;
}

.role-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.role-card.role-primary .role-badge {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.role-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.role-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.role-card.role-primary p {
  color: rgba(255,255,255,0.8);
}

.role-party {
  font-size: 0.85rem;
  font-weight: 600;
}

.role-card.role-primary .role-party {
  color: var(--blue-200);
}

/* ---- VALUES ---- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---- GALLERY ---- */

.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ---- LIGHTBOX ---- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close { top: 20px; right: 20px; font-size: 2rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; }

/* ---- PROGRAM PAGE ---- */

.program-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.program-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.program-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}

.program-block:nth-child(1)::before { background: linear-gradient(180deg, #ef4444, #f97316); }
.program-block:nth-child(2)::before { background: linear-gradient(180deg, #22c55e, #10b981); }
.program-block:nth-child(3)::before { background: linear-gradient(180deg, #f59e0b, #eab308); }
.program-block:nth-child(4)::before { background: linear-gradient(180deg, #8b5cf6, #6366f1); }

.program-block:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.program-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-icon svg {
  width: 32px;
  height: 32px;
}

.program-block:nth-child(1) .program-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.program-block:nth-child(2) .program-icon { background: rgba(34,197,94,0.1); color: #22c55e; }
.program-block:nth-child(3) .program-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }
.program-block:nth-child(4) .program-icon { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.program-content h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.program-content .program-tagline {
  font-size: 1rem;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 16px;
}

.program-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.program-points li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.program-block:nth-child(1) .program-points li::before { background: #ef4444; }
.program-block:nth-child(2) .program-points li::before { background: #22c55e; }
.program-block:nth-child(3) .program-points li::before { background: #f59e0b; }
.program-block:nth-child(4) .program-points li::before { background: #8b5cf6; }

/* ---- PRE POPRAD PAGE ---- */

.poprad-intro {
  background: var(--white);
}

.poprad-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.poprad-intro-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.poprad-intro-text p strong {
  color: var(--gray-800);
}

.poprad-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.poprad-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.poprad-image::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.initiative-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.initiative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.initiative-card:hover::before {
  transform: scaleX(1);
}

.initiative-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.initiative-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.initiative-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.initiative-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: var(--blue-50);
  color: var(--blue-600);
}

/* ---- CONTACT PAGE ---- */

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--blue-600);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--blue-500);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.social-link:hover {
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link svg {
  position: relative;
  z-index: 1;
}

.cta-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(37,99,235,0.15);
  pointer-events: none;
}

.cta-card h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-card .btn {
  position: relative;
  z-index: 1;
}

/* ---- FOOTER ---- */

.footer {
  position: relative;
  background: var(--gray-900);
  padding: 32px 0;
  border-top: 3px solid;
  border-image: var(--gradient-primary) 1;
  overflow: hidden;
}

/* Micro dot pattern overlay */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.03;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-name {
  font-size: 1rem;
  color: var(--white);
}

.footer-name strong {
  font-weight: 800;
  text-transform: uppercase;
}

.footer-role {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-center {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-right {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---- SECTION DIVIDERS ---- */

.section-divider {
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.15;
}

/* ---- SCROLL ANIMATIONS ---- */

.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-d1 { transition-delay: 0.1s; }
.animate-d2 { transition-delay: 0.2s; }
.animate-d3 { transition-delay: 0.3s; }
.animate-d4 { transition-delay: 0.4s; }
.animate-d5 { transition-delay: 0.5s; }

/* ---- NOISE OVERLAY (SVG filter) ---- */

.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.03;
}

/* ---- REDUCED MOTION ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-light,
  .page-hero-light {
    animation: none !important;
  }
  .bento-main-name span {
    animation: none !important;
  }
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .hero-bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-name {
    grid-column: 1 / -1;
  }
  .bento-photo-main {
    grid-column: 1 / -1;
    min-height: 280px;
  }
  .bento-stats {
    grid-column: 1 / -1;
  }
  .bento-quote {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .program-block {
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 0 6px; }
  .nav { display: none; }
  .burger { display: flex; position: absolute; right: 24px; top: 18px; }
  .hero { padding: 80px 0 40px; }
  .hero-bento {
    grid-template-columns: 1fr;
  }
  .bento-name { grid-column: 1; }
  .bento-photo-main { grid-column: 1; min-height: 240px; }
  .bento-photo-sm { min-height: 180px; }
  .bento-stats { grid-column: 1; }
  .bento-cta { grid-column: 1; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-preview-image img { aspect-ratio: 16/10; }
  .poprad-preview-grid { grid-template-columns: 1fr; }
  .photo-strip-item img { height: 160px; }
  .section {
    padding: 72px 0;
  }
  .page-hero {
    padding: 130px 0 60px;
  }
  .about-grid,
  .poprad-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image img {
    aspect-ratio: 16/10;
  }
  .about-stats {
    gap: 24px;
  }
  .roles-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .program-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px;
  }
  .initiatives-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-left {
    flex-direction: column;
    gap: 4px;
  }
  .footer-center {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  html {
    scroll-padding-top: 76px;
  }
}

@media (max-width: 480px) {
  .bento-stats { flex-direction: column; gap: 16px; }
  .bento-name h1 { font-size: 2rem; }
  .bento-name-actions { flex-direction: column; }
  .photo-strip-inner { flex-wrap: wrap; }
  .photo-strip-item { flex: 0 0 50%; }
  .photo-strip-item img { height: 120px; }
  .btn {
    width: 100%;
    text-align: center;
  }
  .about-stats {
    flex-direction: column;
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
