/* ============================================================================
   CSS VARIABLES
   ============================================================================ */
:root {
  /* Colors */
  --cream: #FAF7F2;
  --blue-deep: #0A1F3D;
  --blue-medium: #1A3A5C;
  --blue-soft: #2A4A6C;
  --blue-primary: #1A3A5C;
  --text-white: #ffffff;
  --accent-orange: #FFCC00;
  --accent-gold: #FFCC00;
  --accent-dark: #D4AF37;
  --light-bg: #F5F5F5;
  --grey-bg: #E8EBF0;
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #FFCC00 0%, #FFD700 50%, #FFA500 100%);
  --gradient-gold-dark: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  --gradient-blue: linear-gradient(135deg, #0A1F3D 0%, #1A3A5C 50%, #2A4A6C 100%);
  --gradient-blue-alt: linear-gradient(135deg, #0A1F3D 0%, #1A3A5C 100%);
  
  /* Shadows */
  --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.3);
  --shadow-gold-sm: 0 4px 16px rgba(255, 204, 0, 0.25);
  --shadow-gold-md: 0 8px 32px rgba(255, 204, 0, 0.4);
  --shadow-gold-lg: 0 12px 48px rgba(255, 204, 0, 0.6);
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-2xl: 48px;
  --space-3xl: 60px;
  --space-4xl: 80px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 100px;
  
  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light-bg);
  color: #1A1A1A;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  padding-top: 72px;
}

a {
  color: var(--blue-deep);
  text-decoration: underline;
}

a:visited {
  color: #4b3a87;
}

a:hover {
  color: var(--accent-orange);
}

/* ============================================================================
   HEADER
   ============================================================================ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 31, 61, 0.9);
  z-index: var(--z-sticky);
  transition: var(--transition-base);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* === BRAND LOGO === */
.brand-frame {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  position: relative;
  padding: 8px 28px 8px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 204, 0, 0.2);
  transition: var(--transition-smooth);
}

.brand-frame:hover {
  background: rgba(255, 204, 0, 0.04);
  border-color: rgba(255, 204, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 204, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.brand-morph {
  width: 56px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 31, 61, 0.9), rgba(5, 15, 30, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, 0.3);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.morph-bg {
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 0deg,
    #FFCC00 0deg,
    #FFD700 60deg,
    #FFA500 120deg,
    #FFD700 180deg,
    #FFCC00 240deg,
    #FF8C00 300deg,
    #FFCC00 360deg
  );
  animation: morphRotate 4s linear infinite;
  opacity: 0.5;
  filter: blur(22px);
  transition: var(--transition-smooth);
}

@keyframes morphRotate {
  to { transform: rotate(360deg); }
}

.morph-text {
  font-size: 19px;
  font-weight: 900;
  color: #FFCC00;
  letter-spacing: -0.6px;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 15px rgba(255, 204, 0, 0.8), 0 0 25px rgba(255, 204, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: var(--transition-base);
}

.brand-text {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.3px;
  transition: var(--transition-base);
  white-space: nowrap;
}

.brand-frame:hover .brand-morph {
  transform: scale(1.1) translateY(-2px);
  border-radius: 28%;
  border-color: rgba(255, 204, 0, 0.6);
  box-shadow: 0 16px 60px rgba(255, 204, 0, 0.5), 0 8px 30px rgba(255, 204, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

.brand-frame:hover .morph-bg {
  animation-duration: 2.5s;
  opacity: 0.7;
  filter: blur(18px);
}

.brand-frame:hover .morph-text {
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255, 204, 0, 1), 0 0 35px rgba(255, 204, 0, 0.7), 0 0 50px rgba(255, 204, 0, 0.5), 0 3px 8px rgba(0, 0, 0, 0.7);
}

.brand-frame:hover .brand-text {
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(255, 204, 0, 0.5), 0 2px 12px rgba(0, 0, 0, 0.5);
}

.brand-logo {
  max-height: 50px;
  width: auto;
  transition: var(--transition-base);
  filter: drop-shadow(0 2px 8px rgba(255, 204, 0, 0.3));
  mix-blend-mode: multiply;
}

.brand-frame:hover .brand-logo {
  filter: drop-shadow(0 4px 12px rgba(255, 204, 0, 0.5));
}

/* === NAVIGATION === */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav {
  display: flex;
  gap: 35px;  /* ← ZMĚNA: 300px → 35px (optimální pro 5 položek) */
}

.main-nav a {
  text-decoration: none;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition-base);
  position: relative;
  padding: 5px 0;
  white-space: nowrap;  /* ← NOVÉ: zabrání zalamování textu */
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-orange);
}

.main-nav a:hover::after {
  width: 100%;
}
/* === AKTIVNÍ STRÁNKA V MENU === */
.main-nav a.active {
  color: var(--accent-orange) !important;
  font-weight: 600;
}

.main-nav a.active::after {
  width: 100% !important;
  background: var(--accent-orange);
}
/* === LANGUAGE SWITCHER === */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 31, 61, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 8px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 204, 0, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.language-switcher::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 0deg,
    #FFCC00 0deg,
    #FFD700 60deg,
    transparent 120deg,
    transparent 240deg,
    #FFD700 300deg,
    #FFCC00 360deg
  );
  animation: morphRotate 4s linear infinite;
  opacity: 0.15;
  filter: blur(15px);
}

.language-switcher:hover {
  background: rgba(10, 31, 61, 0.8);
  border-color: rgba(255, 204, 0, 0.5);
  box-shadow: 0 8px 32px rgba(255, 204, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.language-switcher a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  z-index: 10;
  letter-spacing: 0.5px;
}

.language-switcher a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 204, 0, 0.1);
  transform: scale(1.08);
}

.language-switcher a.active {
  background: var(--gradient-gold);
  color: var(--blue-deep);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 204, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.language-switcher .separator {
  color: rgba(255, 204, 0, 0.4);
  font-weight: 300;
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: calc(var(--z-sticky) + 1);
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--accent-orange);
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--gradient-blue);
  overflow: hidden;
  position: relative;
  padding: 100px 20px 70px;
}

.hero,
.hero * {
  color: var(--text-white);
}

.hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-orange);
  opacity: 0.15;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  bottom: -50px;
  left: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  opacity: 0.08;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-logo {
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  display: inline-block;
  animation: logoAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
}

@keyframes logoAppear {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-logo img {
  display: block;
  max-width: 600px;
  height: auto;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.35)) drop-shadow(0 0 30px rgba(255, 204, 0, 0.2));
  animation: logoGlowPulse 3s infinite alternate ease-in-out 1.5s;
}

.hero-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(255, 204, 0, 0.5)) drop-shadow(0 0 40px rgba(255, 204, 0, 0.3));
}

@keyframes logoGlowPulse {
  0% {
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.35)) drop-shadow(0 0 30px rgba(255, 204, 0, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 204, 0, 0.45)) drop-shadow(0 0 40px rgba(255, 204, 0, 0.25));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.35)) drop-shadow(0 0 30px rgba(255, 204, 0, 0.2));
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-content h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  margin-bottom: 45px;
  opacity: 0.95;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   BUTTONS - UNIFIED STYLE (OPRAVENO)
   ============================================================================ */

/* HLAVNÍ ZLATÁ TLAČÍTKA - jednotný styl pro všechna tlačítka */
.btn,
.btn-primary,
.btn-gold,
.nav-contact,
.hero .btn,
.cta-buttons .btn,
.cta-buttons .btn-primary {
  /* Základní vzhled */
  padding: 13px 40px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  
  /* Pozice a cursor */
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  
  /* Barvy - FIXNÍ, nemění se při hoveru */
  background: var(--gradient-gold);
  color: var(--blue-deep) !important;
  border: 2px solid rgba(255, 215, 0, 0.3);
  
  /* Stíny - zmírněné */
  box-shadow: 
    0 4px 12px rgba(255, 204, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);
  
  /* Přechody */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* HOVER - pouze vystoupení, bez změny barvy */
.btn:hover,
.btn-primary:hover,
.btn-gold:hover,
.nav-contact:hover,
.hero .btn:hover,
.cta-buttons .btn:hover,
.cta-buttons .btn-primary:hover {
  /* Barvy zůstávají stejné */
  background: var(--gradient-gold);
  color: var(--blue-deep) !important;
  border-color: rgba(255, 215, 0, 0.3);
  
  /* Pouze vystoupení */
  transform: translateY(-4px);
  
  /* Silnější stín pro efekt "vystoupení" */
  box-shadow: 
    0 8px 24px rgba(255, 204, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ACTIVE - lehké zmáčknutí */
.btn:active,
.btn-primary:active,
.btn-gold:active,
.nav-contact:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(255, 204, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Odstranění podtržítka u .nav-contact */
.nav-contact::after {
  display: none;
}
/* Speciální velikost pro navigační tlačítko "Spojme se" */
.nav-contact {
  padding: 5px 15px !important;
  font-size: 1.1rem;
}
/* Outline varianta - pro tmavé pozadí */
.btn-outline-gold {
  padding: 13px 35px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  
  /* Průhledné pozadí s borderem */
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  
  box-shadow: 0 2px 8px rgba(255, 204, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gradient-gold);
  color: var(--blue-deep);
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  
  box-shadow: 
    0 8px 20px rgba(255, 204, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-gold:active {
  transform: translateY(-1px);
}

/* ============================================================================
   CONTENT SECTIONS
   ============================================================================ */
.content-section {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-4xl) var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  position: relative;
}

.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.text-block h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.text-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 15px;
}

.text-block strong {
  color: var(--accent-orange);
}

.alt-cream {
  background: var(--light-bg);
  color: #1A1A1A;
}

.alt-grey {
  background: var(--grey-bg);
  color: #1A1A1A;
}

.alt-dark {
  background: var(--blue-deep);
  color: var(--text-white);
}

/* ============================================================================
   SERVICES PREVIEW - 4 VEDLE SEBE NA PC
   ============================================================================ */

.services-preview {
  text-align: center;
}

.section-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-3xl);
}

/* ✅ PC - 4 sloupce VEDLE SEBE */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
  margin-bottom: 50px;
  padding: 0 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ✅ KOMPLETNÍ OPRAVA KARET SLUŽEB */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

.service-preview-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px 16px !important;
  text-decoration: none;
  color: var(--text-white);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: auto !important; /* Oprava té vysoké nudle */
}

.service-preview-icon {
  width: 50px !important;
  height: 50px !important;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px !important;
  font-size: 1.5rem !important;
}

.service-preview-card h3 {
  font-size: 1.15rem !important;
  margin-bottom: 10px !important;
  text-align: center;
  color: var(--text-white);                    /* ← přidej */
}

.service-preview-card p {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  text-align: center;
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.85);           /* ← přidej */
}

.service-arrow {
  color: var(--accent-orange);
  font-size: 1.4rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-top: 18px;
  align-self: center;
}

.service-preview-card:hover .service-arrow {
  transform: translateX(10px);
}

.cta-center {
  margin-top: var(--space-xl);
}


/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background: var(--blue-deep);
  padding: var(--space-3xl) var(--space-xl) 30px;
  border-top: 3px solid var(--accent-orange);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h3 {
  color: var(--accent-orange);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-orange);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================================================
   MODALS
   ============================================================================ */
.service-modal,
.job-modal,
.news-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-modal.active,
.job-modal.active,
.news-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content,
.job-modal-content,
.news-modal-content {
  background: white;
  border-radius: var(--radius-2xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: var(--shadow-xl);
}

.service-modal.active .modal-content,
.job-modal.active .job-modal-content,
.news-modal.active .news-modal-content {
  transform: scale(1) translateY(0);
}

.modal-header,
.job-modal-header {
  background: var(--gradient-blue-alt);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  position: relative;
  overflow: hidden;
}

.modal-header::before,
.job-modal-header::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-orange);
  opacity: 0.1;
  border-radius: 50%;
  top: -100px;
  right: -50px;
}

.modal-close,
.job-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 1;
}

.modal-close:hover,
.job-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-icon,
.job-modal-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.modal-header h3,
.job-modal-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

.modal-body,
.job-modal-body {
  padding: var(--space-xl);
}
.modal-body h4 {
  color: var(--blue-deep);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 204, 0, 0.3);
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  color: #2c2c2c;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.modal-body ul,
.modal-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.modal-body li {
  margin-bottom: 12px;
  color: #2c2c2c;
  line-height: 1.7;
}

.modal-body strong {
  color: var(--blue-deep);
  font-weight: 600;
}

.modal-footer {
  padding: 0 var(--space-xl) var(--space-xl);
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-modal {
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-block;
}

.btn-modal-primary {
  background: var(--accent-orange);
  color: var(--blue-deep);
}

.btn-modal-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 212, 0, 0.38);
}

.btn-modal-secondary {
  background: var(--grey-bg);
  color: var(--blue-deep);
}

.btn-modal-secondary:hover {
  background: #d0d0d0;
}

/* ============================================================================
   KARIERA PAGE
   ============================================================================ */
.career-page {
  background: var(--light-bg);
  color: #1A1A1A;
}

.career-header {
  background: var(--gradient-blue);
  padding: 140px var(--space-xl) var(--space-4xl);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.career-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  opacity: 0.1;
  border-radius: 50%;
  top: -200px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.career-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.career-header p {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.benefits-section {
  background: white;
  padding: var(--space-4xl) var(--space-xl);
}

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

.benefits-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.benefits-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--blue-deep);
  margin-bottom: 15px;
  font-weight: 700;
}

.benefits-header p {
  font-size: 1.15rem;
  color: #666;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--light-bg);
  padding: 35px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: 0 8px 30px rgba(255, 204, 0, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin-bottom: 12px;
  font-weight: 700;
}

.benefit-card p {
  color: #666;
  line-height: 1.7;
}

.jobs-section {
  background: var(--light-bg);
  padding: var(--space-4xl) var(--space-xl);
}

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

.jobs-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.jobs-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--blue-deep);
  margin-bottom: 15px;
  font-weight: 700;
}

.jobs-header p {
  font-size: 1.15rem;
  color: #666;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.job-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.job-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-orange);
  box-shadow: 0 10px 40px rgba(255, 204, 0, 0.22);
}

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

.job-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.job-card:hover .job-icon {
  transform: scale(1.1) rotate(5deg);
}

.job-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-card h3 {
  font-size: 1.75rem;
  color: var(--blue-deep);
  margin-bottom: 15px;
  font-weight: 700;
}

.job-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--light-bg);
  font-size: 0.9rem;
  color: #888;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-arrow {
  color: var(--accent-orange);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.job-card:hover .job-arrow {
  transform: translateX(10px);
}

.job-modal-date,
.news-modal-date {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-xs);
  font-weight: 500;
}

.job-section {
  margin-bottom: 35px;
}

.job-section h3 {
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-section h3::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.job-section p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.job-section ul {
  list-style: none;
  padding: 0;
}

.job-section li {
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05rem;
}

.job-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
  font-size: 1.2rem;
}

.application-form {
  background: var(--light-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.application-form h3 {
  font-size: 1.75rem;
  color: var(--blue-deep);
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: var(--space-xs);
}

.application-form input,
.application-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-base);
  background: white;
}

.application-form input:focus,
.application-form textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.10);
}

.application-form textarea {
  min-height: 120px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.file-upload-section {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.file-upload {
  background: white;
  border: 2px dashed #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
}

.file-upload:hover {
  border-color: var(--accent-orange);
  background: rgba(255, 204, 0, 0.05);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.file-upload-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--accent-orange);
}

.file-upload-text {
  color: #666;
  font-size: 0.95rem;
}

.file-upload-text strong {
  color: var(--blue-deep);
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.file-list {
  margin-top: 15px;
  text-align: left;
}

.file-item {
  background: white;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.file-item-name {
  color: var(--blue-deep);
  font-weight: 500;
}

.file-item-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 5px;
  transition: color 0.3s ease;
}

.file-item-remove:hover {
  color: #e74c3c;
}

.submit-application {
  width: 100%;
  padding: 16px;
  background: var(--blue-deep);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  margin-top: 20px;
}

.submit-application:hover {
  background: var(--blue-medium);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 31, 61, 0.3);
}

/* ============================================================================
   KONTAKT PAGE
   ============================================================================ */
.contact-page {
  background: var(--light-bg);
  color: #1A1A1A;
}

.contact-header {
  background: var(--gradient-blue);
  padding: 140px var(--space-xl) var(--space-4xl);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  opacity: 0.1;
  border-radius: 50%;
  top: -200px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.contact-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.contact-header p {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.contact-info-card {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--accent-orange);
}

.contact-info-card h2 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info-card h2::before {
  content: '📞';
  font-size: 2.5rem;
}

.info-item {
  margin-bottom: 35px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.18);
}

.info-item h3 {
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item p {
  color: #666;
  line-height: 1.8;
  margin: 5px 0;
  font-size: 1rem;
}

.info-item a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.info-item a:hover {
  color: var(--accent-orange);
}

.form-card {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-card h2::before {
  content: '✉️';
  font-size: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-base);
  background: #F9FAFB;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.10);
  background: white;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.services-section {
  margin: 30px 0;

}

.services-section label {
  display: block;
  margin-bottom: 20px;
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 1.1rem;
}

.services-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-bubble {
  position: relative;
}

.service-bubble input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-bubble-label {
  display: inline-block;
  padding: 12px var(--space-md);
  background: #F3F4F6;
  color: #6B7280;
  border: 2px solid #E5E7EB;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
  user-select: none;
}

.service-bubble-label:hover {
  background: #E5E7EB;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.service-bubble input[type="checkbox"]:checked + .service-bubble-label {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
  transform: scale(1.05);
  box-shadow: 0 8px 26px rgba(255, 204, 0, 0.32);
}

.service-bubble input[type="checkbox"]:checked + .service-bubble-label::before {
  content: '✓ ';
  font-weight: bold;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--blue-deep);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  margin-top: 15px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent-orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn span {
  position: relative;
  z-index: 1;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 31, 61, 0.3);
}

.map-section {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.map-section h2 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #E5E7EB;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* ============================================================================
   SLUŽBY PAGE - TIMELINE LAYOUT - UNIVERZÁLNÍ FIX
   ============================================================================ */

.timeline-page {
  background: var(--light-bg);         /* OPRAVA: světlé pozadí jako na obrázku */
  color: #1A1A1A;                      /* OPRAVA: tmavý text */
}
.timeline-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 250px;
  position: relative;
  overflow: visible;
  color: #1A1A1A;                      /* OPRAVA: tmavý text */
}

.timeline-intro {
  text-align: center;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.3s;
}

.timeline-intro h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--blue-deep);               /* OPRAVA: tmavě modrý nadpis */
  margin-bottom: 20px;
  font-weight: 700;
}

.timeline-intro h2::after {
  display: none;
}

.timeline-intro p {
  font-size: 1.25rem;
  color: #555;                           /* OPRAVA: tmavě šedý text */
  max-width: 700px;
  margin: 30px auto 0;
  line-height: 1.8;
}
/* ============================================================================
   TIMELINE LINE - DESKTOP
   ============================================================================ */

.timeline-line {
  position: absolute;
  left: 50%;
  top: 400px;
  bottom: 20px;  /* ← Končí blíž ke konci sekce */
  width: 3px;
  background: var(--gradient-gold);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  z-index: 0;
  opacity: 0;
  animation: lineGrow 1.2s forwards 0.35s;
}
@keyframes lineGrow {
  from {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
}

.timeline {
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

/* ============================================================================
   TIMELINE ITEMS - DESKTOP (2 sloupce)
   ============================================================================ */

.timeline-item {
  position: relative;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(50px);
}

.timeline-item.visible {
  animation: itemSlideIn 0.8s forwards;
}

@keyframes itemSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 24px;
  height: 24px;
  background: var(--accent-orange);
  border: 5px solid #FFFFFF;              /* OPRAVA: bílý border místo light-bg */
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 6px rgba(255, 212, 0, 0.22);
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(255, 212, 0, 0.22);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 212, 0, 0.1);
  }
}

/* DESKTOP - Content vedle Details */
.timeline-content,
.timeline-details {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}

/* Lichá čísla (1, 3) - content vlevo, details vpravo */
.timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right;
  padding-right: 60px;
  clear: left;
}

.timeline-item:nth-child(odd) .timeline-details {
  float: right;
  padding-left: 60px;
}

/* Sudá čísla (2, 4) - content vpravo, details vlevo */
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left;
  padding-left: 60px;
}

.timeline-item:nth-child(even) .timeline-details {
  float: left;
  padding-right: 60px;
}

/* Clear floats */
.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

/* Timeline Number & Content */
.timeline-number {
  font-size: clamp(60px, 8vw, 90px);
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 15px;
  display: inline-block;
}

.timeline-content h3 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--blue-deep);               /* OPRAVA: tmavě modrý nadpis */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.timeline-content > p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;                           /* OPRAVA: tmavě šedý text */
  margin-bottom: 25px;
}

.service-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--blue-deep);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline Details */
.timeline-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.95);     
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-left: 5px solid var(--accent-orange);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: #2c2c2c;  
}                 

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.detail-card:hover {
  transform: translateX(12px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255, 212, 0, 0.24);
  border-left-width: 8px;
}

.timeline-item:nth-child(even) .detail-card:hover {
  transform: translateX(-12px) scale(1.02);
}

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

.detail-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: var(--transition-base);
}

.detail-card:hover .detail-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.detail-card h4 {
  color: var(--blue-deep);                    /* OPRAVA: tmavě modrý nadpis */
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.detail-card p {
  color: #555;                                /* OPRAVA: tmavě šedý text */
  line-height: 1.7;
  font-size: 1rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.stat-item {
  text-align: center;
  padding: 18px;
  background: rgba(255, 212, 0, 0.10);
  border-radius: var(--radius-md);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-orange);
  margin-bottom: var(--space-xs);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
}

/* ============================================================================
   RESPONSIVE - TABLET (1024px)
   ============================================================================ */

@media (max-width: 1024px) {
  .timeline-section {
    padding: 80px 30px 150px;
  }
  
  /* Timeline čára a tečky zůstávají uprostřed */
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Content vedle Details - stejně jako desktop */
  .timeline-content,
  .timeline-details {
    width: 48%;
    display: inline-block;
    vertical-align: top;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 40px;
  }
  
  .timeline-item:nth-child(odd) .timeline-details {
    float: right;
    padding-left: 40px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 40px;
  }
  
  .timeline-item:nth-child(even) .timeline-details {
    float: left;
    padding-right: 40px;
  }
  
  .timeline-item {
    margin-bottom: 100px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================================
   O-NAS PAGE
   ============================================================================ */
.about-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--gradient-blue);
  padding: 140px 20px var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* ===== NOVÉ: TÝMOVÁ FOTKA NA POZADÍ ===== */
.about-hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.team-photo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;  /* ← ZMĚNA: vycentrováno */
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 31, 61, 0.20) 0%,    /* 0.30 → 0.20 */
    rgba(26, 58, 92, 0.10) 50%,   /* 0.20 → 0.10 */
    rgba(42, 74, 108, 0.20) 100%  /* 0.30 → 0.20 */
  );
  z-index: 1;
}

/* Text zůstává nahoře */
.about-hero h1,
.about-hero p {
  position: relative;
  z-index: 2;
}

/* Původní dekorativní prvek zůstává */
.about-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  opacity: 0.1;
  border-radius: 50%;
  top: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
  z-index: 2;
}

.about-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
  position: relative;
  z-index: 2;
}

.about-hero p {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 800px;
  color: #FFFFFF;
  opacity: 0.95;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .team-photo-bg {
    object-position: center 20%;
  }
}

.values-section {
  background: var(--light-bg);
  color: #1A1A1A;
  padding: var(--space-4xl) var(--space-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: var(--space-3xl) auto 0;
}

.value-card {
  background: white;
  padding: var(--space-xl) 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border-left: 4px solid var(--accent-orange);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--blue-deep);
  font-weight: 700;
}

.value-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
}

.mission-section {
  background: var(--blue-deep);
  color: var(--text-white);
  padding: 100px var(--space-xl);
}

.mission-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 30px;
  font-weight: 700;
}

.mission-content p {
  font-size: 1.15rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
  position: relative;
}

.about-page .timeline-item {
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
  background: white;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  border-left: 5px solid var(--blue-medium);
}

.about-page .timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-page .timeline-item h3 {
  font-size: 1.6rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
  font-weight: 700;
}

.about-page .timeline-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ============================================================================
   PARTNERS MODAL
   ============================================================================ */
#partners-modal .modal-body {
  padding: var(--space-lg) var(--space-md);
}

#partners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
}

.partner-logo-container {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}

.partner-card:nth-child(1) .partner-logo-container {
  background-color: #ffffff !important;
}

.partner-card:nth-child(2) .partner-logo-container,
.partner-card:nth-child(3) .partner-logo-container {
  background-size: cover;
  min-height: 240px;
}

.partner-logo-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.partner-logo {
  display: none;
}

.partner-info {
  padding: var(--space-lg) 28px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

.partner-description {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4a4a4a;
  margin: 0;
  text-align: left;
}

.partner-description strong {
  color: var(--blue-deep);
  font-weight: 700;
}

.partner-description a {
  color: var(--accent-orange);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.partner-description a:hover {
  color: var(--accent-dark);
}

/* ============================================================================
   NEWS PAGE
   ============================================================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-blue);
  padding: 120px var(--space-xl) var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  opacity: 0.1;
  border-radius: 50%;
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.page-hero-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
}

.page-hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-xl);
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 12px var(--space-md);
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #4a4a4a;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.filter-btn span {
  position: relative;
  z-index: 1;
}

.filter-btn:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.25);
}

.filter-btn.active {
  background: var(--gradient-gold);
  border-color: var(--accent-orange);
  color: var(--blue-deep);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.35);
}

.filter-btn.active::before {
  opacity: 1;
}

.filter-icon {
  font-size: 1.3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-orange);
}

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

.news-date {
  font-size: 0.9rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: inline-block;
  background: rgba(255, 204, 0, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
}

.news-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: rgba(10, 31, 61, 0.08);
  color: var(--blue-deep);
}

.news-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--blue-deep);
  line-height: 1.4;
}

.news-card p {
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 20px;
}

.news-link {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  color: var(--accent-orange);
  gap: 12px;
}

.news-card.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.news-modal-content {
  max-width: 1000px;
}

#news-modal-text {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

#news-modal-text p {
  margin-bottom: var(--space-sm);
  color: #2c2c2c;
  font-size: 1.05rem;
}

#news-modal-text ul {
  margin: 20px 0;
  padding-left: var(--space-md);
}

#news-modal-text li {
  margin-bottom: 12px;
  color: #2c2c2c;
  line-height: 1.7;
}

#news-modal-text strong {
  color: var(--blue-deep);
  font-weight: 600;
}

#news-modal-text h4 {
  color: var(--blue-deep);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--accent-orange);
}

#news-modal-text h4:first-child {
  margin-top: 0;
}

.news-pdf-container {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f5f5f5;
}

#news-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.download-icon {
  margin-right: var(--space-xs);
  font-size: 1.2rem;
}

.redirect-notice {
  background: var(--gradient-blue-alt);
  color: white;
  padding: 25px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: var(--space-xl);
}

.redirect-notice p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.manual-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px var(--space-lg);
  background: var(--accent-orange);
  color: var(--blue-deep);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition-base);
}

.manual-link:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.manual-link svg {
  width: 20px;
  height: 20px;
}



.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-orange);
  color: var(--blue-deep);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
  margin-bottom: 2rem;
  text-decoration: none;
}

.back-button:hover {
  background: var(--accent-dark);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================================================
   FORM SUCCESS MESSAGE
   ============================================================================ */
.form-success {
  display: none;
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
  background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
  color: white;
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  font-size: 1.15rem;
  animation: successSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 28px rgba(76, 175, 80, 0.35);
  position: relative;
  overflow: hidden;
}

.form-success::before {
  content: '✓';
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: bold;
  opacity: 0.3;
}

.form-success::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

button[type="submit"].loading {
  pointer-events: none;
}

button[type="submit"].loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hide-nav-contact .nav-contact {
  display: none !important;
}

/* ============================================================================
   PARTNER PAGES - DARK THEME
   ============================================================================ */
body.partner-theme {
  background: #0a0e1a;
  padding-top: 0;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;background: linear-gradient(135deg, #0a1929 0%, #0f2540 50%, #1a3a5c 100%);
}
.bg-animation::before {
content: '';
position: absolute;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 70%);
top: -200px;
right: -200px;
animation: floatPartner 20s ease-in-out infinite;
border-radius: 50%;
}
.bg-animation::after {
content: '';
position: absolute;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(26, 58, 92, 0.4) 0%, transparent 70%);
bottom: -100px;
left: -100px;
animation: floatPartner 15s ease-in-out infinite reverse;
border-radius: 50%;
}
@keyframes floatPartner {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
33% { transform: translate(30px, -30px) rotate(120deg); }
66% { transform: translate(-20px, 20px) rotate(240deg); }
}
.brand-frame.fixed-corner {
position: fixed;
top: 30px;
left: 30px;
z-index: var(--z-fixed);
}
.language-switcher.fixed-corner {
position: fixed;
top: 30px;
right: 30px;
z-index: var(--z-fixed);
}
.page-wrapper {
position: relative;
z-index: 1;
min-height: 100vh;
padding: var(--space-xl) 20px;
}
.main-container {
max-width: 1200px;
margin: 0 auto;
}
.hero-section {
margin-bottom: var(--space-3xl);
position: relative;
}
.logo-display {
padding: 100px var(--space-xl);
margin-bottom: var(--space-3xl);
position: relative;
overflow: visible;
}
.logo-display::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 120%;
height: 120%;
background: radial-gradient(ellipse at center, rgba(255, 204, 0, 0.12) 0%, rgba(255, 204, 0, 0.05) 30%, transparent 70%);
animation: pulsePartner 8s ease-in-out infinite;
z-index: 0;
pointer-events: none;
}
@keyframes pulsePartner {
0%, 100% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.6;
}
50% {
transform: translate(-50%, -50%) scale(1.1);
opacity: 1;
}
}
.logo-wrapper {
position: relative;
z-index: 2;
display: flex;
justify-content: center;
align-items: center;
}
.logo-wrapper img {
width: 100%;
max-width: 900px;
height: auto;
filter: drop-shadow(0 10px 40px rgba(255, 204, 0, 0.25)) drop-shadow(0 5px 20px rgba(255, 255, 255, 0.1));
transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
animation: logoFloatPartner 6s ease-in-out infinite;
}
@keyframes logoFloatPartner {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
.logo-wrapper img:hover {
filter: drop-shadow(0 15px 50px rgba(255, 204, 0, 0.4)) drop-shadow(0 8px 30px rgba(255, 255, 255, 0.15));
transform: scale(1.02) translateY(-5px);
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--space-md);
margin-bottom: var(--space-xl);
}
.info-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--radius-2xl);
padding: 36px var(--space-lg);
transition: var(--transition-bounce);
position: relative;
overflow: hidden;
}
.info-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: var(--gradient-gold);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.5s ease;
}
.info-card:hover {
transform: translateY(-8px);
border-color: rgba(255, 204, 0, 0.3);
box-shadow: var(--shadow-xl);
background: rgba(255, 255, 255, 0.05);
}
.info-card:hover::before {
transform: scaleX(1);
}
.card-header {
display: flex;
align-items: center;
gap: var(--space-sm);
margin-bottom: var(--space-md);
}
.card-icon {
width: 56px;
height: 56px;
background: var(--gradient-gold);
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
box-shadow: var(--shadow-gold-sm);
transition: transform 0.3s ease;
}
.info-card:hover .card-icon {
transform: rotate(5deg) scale(1.1);
}
.card-title {
color: white;
font-size: 1.5rem;
font-weight: 700;
letter-spacing: -0.5px;
}
.card-subtitle {
color: var(--accent-gold);
font-size: 0.95rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.card-content {
color: rgba(255, 255, 255, 0.8);
line-height: 1.8;
font-size: 1.05rem;
}
.card-content p {
margin-bottom: var(--space-sm);
}
.services-section {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--space-lg);
padding: var(--space-3xl) 50px;
margin-bottom: var(--space-xl);
position: relative;
overflow: hidden;
}

.services-section .section-title {
color: white;
font-size: 2rem;
font-weight: 700;
margin-bottom: var(--space-xl);
text-align: center;
position: relative;
display: inline-block;
width: 100%;
}
.services-section .section-title::after {
content: '';
position: absolute;
bottom: -12px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background: var(--gradient-gold);
border-radius: 2px;
}
.services-list {
display: grid;
gap: var(--space-sm);
}
.service-item {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--radius-lg);
padding: 20px var(--space-md) 20px 60px;
color: rgba(255, 255, 255, 0.85);
font-size: 1.05rem;
position: relative;
transition: var(--transition-base);
line-height: 1.6;
}
.service-item::before {
content: '✓';
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
color: var(--accent-gold);
font-size: 1.5rem;
font-weight: bold;
}
.service-item:hover {
background: rgba(255, 204, 0, 0.05);
border-color: rgba(255, 204, 0, 0.2);
transform: translateX(8px);
box-shadow: 0 4px 20px rgba(255, 204, 0, 0.1);
}
.contact-section {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--space-lg);
padding: 50px var(--space-xl);
margin-bottom: var(--space-xl);
}
.contact-title {
color: white;
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 30px;
text-align: center;
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: var(--space-md);
}
.contact-item {
background: rgba(255, 255, 255, 0.02);
padding: 20px;
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-label {
color: var(--accent-gold);
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: var(--space-xs);
}
.contact-value {
color: rgba(255, 255, 255, 0.85);
font-size: 1.05rem;
line-height: 1.6;
}
.contact-value a {
color: rgba(255, 255, 255, 0.85);
text-decoration: none;
transition: color 0.3s ease;
}
.contact-value a:hover {
color: var(--accent-gold);
}
.partner-badge {
text-align: center;
padding: var(--space-xl);
background: rgba(255, 255, 255, 0.02);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--radius-2xl);
position: relative;
overflow: hidden;
}
.partner-badge::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 200px;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
.badge-content {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
}
.badge-text {
color: rgba(255, 255, 255, 0.6);
font-size: 1rem;
font-weight: 500;
}
.badge-company {
color: var(--accent-gold);
font-size: 1.2rem;
font-weight: 700;
letter-spacing: -0.5px;
}

@media (max-width: 768px) {
.header-inner {
padding: 18px 30px;
}
.nav-wrapper {
position: fixed;
top: 70px;
right: -100%;
background: var(--blue-deep);
flex-direction: column;
padding: var(--space-xl) 30px;
width: 70%;
max-width: 300px;
height: calc(100vh - 70px);
transition: right 0.3s ease;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
gap: 30px;
align-items: flex-start;
}
.nav-wrapper.active {
right: 0;
}
.main-nav {
flex-direction: column;
gap: 20px;
width: 100%;
}
.language-switcher {
width: fit-content;
}
.hamburger {
display: flex;
}
.two-col {
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.hero {
min-height: 75vh;
padding: 100px 20px var(--space-3xl);
}
.hero-logo {
margin-bottom: var(--space-xl);
}
.hero-logo img {
max-width: 300px;
}
.hero-content h1 {
margin-bottom: var(--space-md);
}
.hero-subtitle {
margin-bottom: 35px;
}
.hero .btn {
font-size: 16px;
padding: 14px var(--space-xl);
}
.career-header,
.contact-header {
padding: 140px 30px var(--space-3xl);
}
.benefits-section,
.jobs-section {
padding: var(--space-3xl) 30px;
}
.benefits-grid {
grid-template-columns: 1fr;
}
.jobs-grid {
grid-template-columns: 1fr;
}
.job-modal-header,
.job-modal-body {
padding: 30px;
}
.form-grid {
grid-template-columns: 1fr;
}
.job-modal-content {
max-height: 85vh;
}
.contact-grid {
grid-template-columns: 1fr;
gap: var(--space-xl);
}
.form-row {
grid-template-columns: 1fr;
}
.services-bubbles {
justify-content: center;
}
.timeline-section {
padding: var(--space-4xl) 30px 40px;
}
.services-page .timeline-item {
margin-bottom: var(--space-3xl);
}
.timeline-intro {
margin-bottom: var(--space-3xl);
}
.timeline-line {
left: 20px;
top: 150px;
height: calc(100vh - 160px);
}
.timeline-dot {
left: 20px;
top: 20px;
}
.services-page .timeline-item:nth-child(odd) .timeline-content,
.services-page .timeline-item:nth-child(even) .timeline-content {
padding-left: var(--space-xl);
}
.services-page .timeline-item:nth-child(odd) .timeline-details,
.services-page .timeline-item:nth-child(even) .timeline-details {
padding-left: var(--space-xl);
}
.values-section {
padding: var(--space-3xl) 20px;
}
.values-grid {
grid-template-columns: 1fr;
gap: 30px;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
.mission-section {
padding: var(--space-3xl) 20px;
}
.news-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.news-filters {
gap: var(--space-xs);
padding: var(--space-sm);
}
.filter-btn {
padding: 10px var(--space-sm);
font-size: 0.9rem;
}
.filter-icon {
font-size: 1.1rem;
}
.articles-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.page-hero {
min-height: 40vh;
padding: 100px 20px var(--space-3xl);
}
.news-pdf-container {
height: 400px;
}
.modal-content,
.news-modal-content {
max-height: 95vh;
}
#partners-list {
grid-template-columns: 1fr;
gap: var(--space-md);
}
.partner-logo-container {
height: 180px;
padding: 30px;
}
.partner-info {
padding: var(--space-md) 20px;
}
.brand-frame.fixed-corner {
top: 20px;
left: 20px;
}
.language-switcher.fixed-corner {
top: 20px;
right: 20px;
}
.page-wrapper {
padding: 20px 15px;
}
.logo-display {
padding: var(--space-3xl) 20px;
margin-bottom: var(--space-xl);
}
.logo-wrapper img {
max-width: 100%;
animation: logoFloatPartner 4s ease-in-out infinite;
}
.info-grid {
grid-template-columns: 1fr;
}
.services-section,
.contact-section {
padding: var(--space-xl) 30px;
border-radius: var(--radius-2xl);
}
.services-section .section-title,
.contact-title {
font-size: 1.6rem;
}
.service-item {
padding: 16px 20px 16px 50px;
font-size: 1rem;
}
.contact-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.header-inner {
padding: 16px 20px;
}
.brand-text {
font-size: 0.95rem;
}
.hero-content h1 {
font-size: 28px;
}
.content-section {
padding: var(--space-3xl) 20px;
}
.text-block h2 {
font-size: 26px;
}
.hero-logo img {
max-width: 240px;
}
.career-header,
.contact-header {
padding: 120px 20px var(--space-3xl);
}
.benefits-section,
.jobs-section {
padding: var(--space-3xl) 20px;
}
.job-modal-header h2 {
font-size: 2rem;
}
.application-form {
padding: 30px 20px;
}
.contact-content {
padding: var(--space-3xl) 20px;
}
.contact-info-card,
.form-card,
.map-section {
padding: 35px 25px;
}
.map-container {
height: 400px;
}
.services-page .timeline-item:nth-child(odd) .timeline-content,
.services-page .timeline-item:nth-child(even) .timeline-content,
.services-page .timeline-item:nth-child(odd) .timeline-details,
.services-page .timeline-item:nth-child(even) .timeline-details {
padding-left: 20px;
}
.timeline-line {
left: 20px;
top: 130px;
height: calc(100vh - 120px);
}
.timeline-dot {
left: 20px;
}
.timeline-intro h2 {
font-size: 36px;
}
.timeline-intro p {
font-size: 1rem;
}
.logo-display {
padding: var(--space-xl) 20px;
}
.info-card {
padding: 28px var(--space-md);
}
.card-icon {
width: 48px;
height: 48px;
font-size: 1.5rem;
}
.card-title {
font-size: 1.3rem;
}
.services-section,
.contact-section {
padding: 30px 20px;
}
}
@media (max-width: 480px) {
.brand-morph {
width: 52px;
height: 52px;
}
.morph-text {
font-size: 18px;
}
.brand-text {
font-size: 15px;
}
.brand-frame {
gap: 16px;
padding: 7px var(--space-md) 7px 7px;
}
}
/* ============================================================================
   KONTAKT PAGE - MISSING STYLES FIX
   ============================================================================ */

/* Hero Section */
.contact-page-hero {
  background: var(--gradient-blue);
  padding: 140px var(--space-xl) var(--space-4xl);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.contact-page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-orange);
  opacity: 0.1;
  border-radius: 50%;
  top: -200px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.contact-page-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--text-white);
}

.contact-page-hero p {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: var(--text-white);
}

/* Main Container */
.contact-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--light-bg);
}

/* NOVÉ ROZLOŽENÍ - DVA SLOUPCE NAHOŘE */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* MAPA NA CELOU ŠÍŘKU DOLE */
.contact-full-width {
  width: 100%;
}

/* Contact Cards */
.contact-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: 100%;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: 0 12px 40px rgba(255, 204, 0, 0.2);
}

.contact-card h2 {
  font-size: 1.75rem;
  color: var(--blue-deep);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card h3 {
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.contact-card p,
.contact-card a {
  color: #666;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.contact-card a {
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--accent-orange);
}

/* Left Border Accent */
.contact-card-info {
  border-left: 4px solid var(--accent-orange);
  padding-left: var(--space-md);
}

/* Contact Details Section */
.contact-details {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-orange);
  transition: var(--transition-base);
}

.contact-details:hover {
  background: rgba(255, 204, 0, 0.08);
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(255, 204, 0, 0.15);
}

.contact-details:last-child {
  margin-bottom: 0;
}

.contact-details h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Form Specific Styles */
.contact-form-card {
  grid-column: span 1;
}

.contact-form-card h2::before {
  content: '✉️';
  font-size: 1.8rem;
}

/* Map Card */
.contact-map-card h2::before {
  content: '📍';
  font-size: 1.8rem;
}

.map-embed {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: var(--radius-lg);
  margin-top: var(--space-md);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Working Hours */
.working-hours {
  background: var(--light-bg);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
}

.working-hours p {
  margin-bottom: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .contact-page-hero {
    padding: 120px var(--space-md) var(--space-3xl);
  }
  
  .contact-page-container {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .contact-card {
    padding: var(--space-xl);
  }
  
  .map-embed {
    height: 350px;
  }
}
/* Working Hours */
.working-hours {
  background: var(--light-bg);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
}

.working-hours p {
  margin-bottom: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-three-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-three-col .contact-card:first-child {
    grid-row: auto;
  }
  
  .contact-three-col .contact-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .contact-page-hero {
    padding: 120px var(--space-md) var(--space-3xl);
  }
  
  .contact-page-container {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .contact-card {
    padding: var(--space-xl);
  }
  
  .map-embed {
    height: 350px;
  }
}
/* PROFESIONÁLNÍ OZNÁMENÍ (TOAST) */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0A1F3D; /* Tvoje tmavě modrá */
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    z-index: 10000;
    transform: translateX(150%);
    transition: transform 0.5s cubic-bezier(0.17, 0.88, 0.32, 1.27);
    display: flex;
    align-items: center;
    border-left: 5px solid #FFCC00; /* Tvoje zlatá */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.toast-container.show {
    transform: translateX(0);
}

.toast-content {
    margin-right: 15px;
}

.toast-title {
    display: block;
    font-weight: bold;
    color: #FFCC00;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.toast-text {
    margin: 0;
    font-size: 0.95rem;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.6;
}

.toast-close:hover { opacity: 1; }

/* SPINNER DO TLAČÍTKA */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #FFCC00;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }


.categories-view {
  display: block !important;
}

.category-view {
  display: none !important;
}

.category-view.active {
  display: block !important;
}

.news-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.category-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border-radius: var(--radius-md);
}

.category-info h3 {
  font-size: 1.4rem;
  color: var(--blue-deep);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.category-count {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.category-description {
  color: #666;
  line-height: 1.7;
  font-size: 1.05rem;
}



/* ============================================================================
   FINAL CTA SECTION - FIXED
   ============================================================================ */
.final-cta-section {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,212,0,0.06), transparent);
  margin-top: 700px;
  position: relative;
  z-index: 3;
}

.final-cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.final-cta-container h3 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: 12px;
  font-weight: 700;
}

.final-cta-container p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.6;
}
/* ============================================================================
   MODAL STYLES FOR CATEGORIES
   ============================================================================ */

/* Category Modal Header */
.category-modal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
}

.category-modal-icon {
  font-size: 3.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.15);
  border-radius: 16px;
  flex-shrink: 0;
}

.category-modal-info h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
}

.category-modal-count {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.category-modal-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

/* Category Articles Grid in Modal */
.category-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.category-article-card {
  background: white;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-article-card:hover {
  transform: translateY(-6px);
  border-color: #FFCC00;
  box-shadow: 0 12px 32px rgba(255, 204, 0, 0.2);
}

.category-article-date {
  font-size: 0.85rem;
  color: #FFCC00;
  background: rgba(255, 204, 0, 0.12);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-weight: 600;
}

.category-article-card h4 {
  font-size: 1.25rem;
  color: #0A1F3D;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.category-article-excerpt {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-article-link {
  color: #0A1F3D;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.category-article-card:hover .category-article-link {
  color: #FFCC00;
  gap: 10px;
}

/* Responsive for Modal */
@media (max-width: 768px) {
  .category-articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .category-modal-header {
    flex-direction: column;
    text-align: center;
  }
  
  .category-modal-icon {
    width: 70px;
    height: 70px;
    font-size: 3rem;
  }
}

/* Company Details - IČO/DIČ sekce */
.company-details-section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-xl);
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.company-details-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.company-info-inline {
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
  flex-wrap: wrap;
}

.company-info-inline span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.company-info-inline strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-right: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .company-details-section {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .company-info-inline {
    justify-content: center;
  }
  
  .company-cta .btn {
    width: 100%;
  }
  /* ============================================================================
   📱 MOBILNÍ OPTIMALIZACE - PŘIDAT NA ÚPLNÝ KONEC CSS
   ============================================================================ */

/* === TABLET (1024px a méně) === */
@media (max-width: 1024px) {
  
  /* Header */
  .header-inner {
    padding: 18px 30px;
  }
  
  /* Navigation -> hamburger */
  .nav-wrapper {
    position: fixed;
    top: 72px;
    right: -100%;
    background: var(--blue-deep);
    flex-direction: column;
    padding: var(--space-xl) 30px;
    width: 70%;
    max-width: 320px;
    height: calc(100vh - 72px);
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    gap: 30px;
    align-items: flex-start;
    z-index: 999;
  }
  
  .nav-wrapper.active {
    right: 0;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* Hero */
  .hero {
    min-height: 75vh;
    padding: 100px 30px var(--space-3xl);
  }
  
  .hero-logo img {
    max-width: 400px;
  }
}

/* === MOBIL (768px a méně) === */
@media (max-width: 768px) {
  
  /* ========================================
     HEADER - FIXING LOGO + HAMBURGER LAYOUT
     ======================================== */
  .header-inner {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; /* Logo vlevo, hamburger vpravo */
    align-items: center;
    gap: 15px; /* Prostor mezi prvky */
  }
  
  /* Brand frame - menší */
  .brand-frame {
    padding: 6px 22px 6px 6px;
    gap: 14px;
    flex-shrink: 0; /* Nesmrskne se */
  }
  
  .brand-morph {
    width: 48px;
    height: 48px;
  }
  
  .morph-text {
    font-size: 17px;
  }
  
  .brand-text {
    font-size: 14px;
    max-width: 150px; /* Omezí šířku */
  }
  
  /* Language switcher - kompaktnější */
  .language-switcher {
    padding: 5px 7px;
    gap: 5px;
  }
  
  .language-switcher a {
    padding: 5px 9px;
    font-size: 0.75rem;
  }
  
  /* Hamburger - zajistíme že je vpravo */
  .hamburger {
    margin-left: auto; /* Postrčí úplně vpravo */
    flex-shrink: 0; /* Nesmrskne se */
  }
  
  .hamburger span {
    width: 25px;
    height: 2.5px;
    margin: 3.5px 0;
  }
  
  /* Mobile menu */
  .nav-wrapper {
    top: 62px; /* Pod menším headerem */
    width: 75%;
    max-width: 280px;
    height: calc(100vh - 62px);
    padding: var(--space-lg) 25px;
  }
  
  /* ========================================
     HERO SEKCE
     ======================================== */
  .hero {
    min-height: 70vh;
    padding: 90px 20px var(--space-3xl);
  }
  
  .hero-logo {
    margin-bottom: 35px;
  }
  
  .hero-logo img {
    max-width: 280px;
  }
  
  .hero-content h1 {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 32px;
  }
  
  .hero .btn,
  .btn-primary {
    padding: 13px 32px;
    font-size: 0.95rem;
  }
  
  /* ========================================
     CONTENT SECTIONS
     ======================================== */
  .content-section {
    padding: var(--space-3xl) 20px;
  }
  
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .text-block h2 {
    font-size: clamp(26px, 6vw, 36px);
  }
  
  .text-block p {
    font-size: 1.05rem;
  }
  
  
  
  /* ========================================
     KARIÉRA STRÁNKA
     ======================================== */
  .career-header,
  .contact-header,
  .about-hero,
  .page-hero {
    padding: 100px 20px var(--space-3xl);
  }
  
  .benefits-section,
  .jobs-section {
    padding: var(--space-3xl) 20px;
  }
  
  .benefits-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-card {
    padding: 30px 22px;
  }
  
  .job-card {
    padding: var(--space-lg) 20px;
  }
  
  /* ========================================
     FORMULÁŘE
     ======================================== */
  .form-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .application-form,
  .contact-form-card {
    padding: 28px 20px;
  }
  
  .application-form input,
  .application-form textarea,
  .contact-form input,
  .contact-form textarea {
    padding: 13px 16px;
    font-size: 0.95rem;
  }
  
  .submit-btn,
  .submit-application {
    padding: 15px;
    font-size: 1.05rem;
  }
  
  /* ========================================
     KONTAKT STRÁNKA
     ======================================== */
  .contact-page-container {
    padding: var(--space-3xl) 20px;
  }
  
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-card {
    padding: var(--space-xl) 20px;
  }
  
  .contact-card h2 {
    font-size: 1.6rem;
  }
  
  .map-embed {
    height: 350px;
  }
  
  /* ========================================
     O NÁS STRÁNKA
     ======================================== */
  .values-section {
    padding: var(--space-3xl) 20px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .value-card {
    padding: var(--space-lg) 22px;
  }
  
  .mission-section {
    padding: var(--space-3xl) 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* ========================================
     NEWS STRÁNKA
     ======================================== */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .news-card {
    padding: var(--space-md) 20px;
  }
  
  .news-filters {
    gap: 10px;
    padding: 15px;
  }
  
  .filter-btn {
    padding: 10px 15px;
    font-size: 0.88rem;
  }
  
  .filter-icon {
    font-size: 1.15rem;
  }
  
  /* ========================================
     MODÁLY
     ======================================== */
  .modal-content,
  .news-modal-content,
  .job-modal-content {
    margin: 15px 10px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
  }
  
  .modal-header,
  .job-modal-header {
    padding: 28px 20px;
  }
  
  .modal-body,
  .job-modal-body {
    padding: 25px 20px;
  }
  
  .modal-header h3,
  .job-modal-header h2 {
    font-size: 1.6rem;
  }
  
  .modal-icon,
  .job-modal-icon {
    font-size: 3rem;
  }
  
  .modal-footer {
    padding: 0 20px 25px;
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-modal {
    width: 100%;
    padding: 14px 28px;
  }
  
  /* PDF v modálu */
  .news-pdf-container {
    height: 450px;
  }
  
  /* ========================================
     PARTNERS MODAL
     ======================================== */
  #partners-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .partner-logo-container {
    height: 200px;
    padding: 25px;
  }
  
  .partner-info {
    padding: var(--space-md) 20px;
  }
  
  .partner-name {
    font-size: 1.25rem;
  }
  
  .partner-description {
    font-size: 0.95rem;
  }
  
  /* ========================================
     FOOTER
     ======================================== */
  .site-footer {
    padding: var(--space-3xl) 20px 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  /* ========================================
     PARTNERSKÉ STRÁNKY (dark theme)
     ======================================== */
  .brand-frame.fixed-corner {
    top: 18px;
    left: 18px;
    padding: 5px 20px 5px 5px;
  }
  
  .language-switcher.fixed-corner {
    top: 18px;
    right: 18px;
  }
  
  .page-wrapper {
    padding: 20px 15px;
  }
  
  .logo-display {
    padding: var(--space-2xl) 20px;
  }
  
  .logo-wrapper img {
    max-width: 100%;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .info-card {
    padding: 28px 20px;
  }
  
  .card-title {
    font-size: 1.35rem;
  }
  
  .services-section,
  .contact-section {
    padding: var(--space-xl) 22px;
  }
  
  .services-section .section-title,
  .contact-title {
    font-size: 1.65rem;
  }
  
  .service-item {
    padding: 16px 20px 16px 50px;
    font-size: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* === TABLET (1024px) – timeline ZŮSTÁVÁ VEDLE SEBE === */
@media (max-width: 1024px) {
  .timeline-section {
    padding: 80px 30px 150px;
  }
  
  /* Timeline čára a tečky zůstávají UPROSTŘED */
  .timeline-line {
    left: 50%;
    top: 250px;
    transform: translateX(-50%);
  }
  
  .timeline-dot {
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
  }
  
  /* Content VEDLE Details - stejně jako desktop */
  .timeline-content,
  .timeline-details {
    width: 48%;
    display: inline-block;
    vertical-align: top;
  }
  
  /* Lichá čísla - content vlevo, details vpravo */
  .timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 40px;
  }
  
  .timeline-item:nth-child(odd) .timeline-details {
    float: right;
    padding-left: 40px;
  }
  
  /* Sudá čísla - content vpravo, details vlevo */
  .timeline-item:nth-child(even) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 40px;
  }
  
  .timeline-item:nth-child(even) .timeline-details {
    float: left;
    padding-right: 40px;
  }
  
  .timeline-item {
    margin-bottom: 100px;
  }
  
  .timeline-item::after {
    content: '';
    display: table;
    clear: both;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* === MOBIL - DESKTOP LAYOUT I NA MALÝCH DISPLEJÍCH === */
@media (max-width: 768px) {
  .timeline-section {
    padding: 30px 8px 60px;
  }

  .timeline-intro {
    margin-bottom: 30px;
  }


 .timeline-line {
    left: 50%;
    top: 270px;
    height: 3600px;  /* ← Pevná výška, aby došla až dolů */
    transform: translateX(-50%);
  }
  

  .timeline-dot {
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
  }

  .timeline-item {
    margin-bottom: 50px;
  }

  /* ZACHOVAT 2 SLOUPCE */
  .timeline-content,
  .timeline-details {
    width: 48% !important;
    display: inline-block !important;
    vertical-align: top !important;
  }

  /* Lichá - vlevo content, vpravo details */
  .timeline-item:nth-child(odd) .timeline-content {
    float: left !important;
    text-align: right !important;
    padding-right: 10px !important;
    padding-left: 3px !important;
  }

  .timeline-item:nth-child(odd) .timeline-details {
    float: right !important;
    padding-left: 10px !important;
    padding-right: 3px !important;
  }

  /* Sudá - vpravo content, vlevo details */
  .timeline-item:nth-child(even) .timeline-content {
    float: right !important;
    text-align: left !important;
    padding-left: 10px !important;
    padding-right: 3px !important;
  }

  .timeline-item:nth-child(even) .timeline-details {
    float: left !important;
    padding-right: 10px !important;
    padding-left: 3px !important;
  }

  /* Zmenšit text */
  .timeline-number {
    font-size: 28px !important;
  }

  .service-badge {
    font-size: 0.6rem !important;
    padding: 4px 10px !important;
  }

  .timeline-content h3 {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .timeline-content > p {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
  }

  .detail-card {
    padding: 10px !important;
    margin-bottom: 8px !important;
  }

  .detail-card h4 {
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
  }

  .detail-card p {
    font-size: 0.65rem !important;
    line-height: 1.3 !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
  }

  .stat-number {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.7rem !important;
  }
}

}
