/* ==========================================================================
   Jazykové centrum LITERA - style.css
   ========================================================================== */

/* 1. IMPORTS & CUSTOM PROPERTIES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Barevná paleta */
  --primary-blue: #3A9CC8;
  --accent-green: #5CC87A;
  --teal-gradient: #2BBFAA;
  --bg-white: #FFFFFF;
  --bg-light: #F7FBFC;
  --text-dark: #2D2D2D;
  --text-muted: #666666;
  --border-color: #E2E8F0;

  /* Typografie */
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Stíny a přechody */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;

  /* Rozvržení */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* 2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--teal-gradient);
}

ul, ol {
  list-style: none;
}

/* 3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.subtext, .text-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-title {
  text-align: center;
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* 4. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2, .grid-3, .grid-4 {
  grid-template-columns: 1fr;
}

/* 5. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-green);
}

.nav-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--bg-white);
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.25rem;
  overflow-y: auto;
  display: none;
  box-shadow: var(--shadow-lg);
}

.nav-menu.is-active {
  display: flex;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  opacity: 0.6;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  opacity: 1;
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: #2f83a8;
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-green);
  color: var(--bg-white);
}

.btn-accent:hover {
  background-color: #4ab367;
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal-gradient) 100%);
  color: var(--bg-white);
}

.btn-gradient:hover {
  opacity: 0.95;
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.btn-block {
  width: 100%;
}

/* 7. CARDS & COMPONENTS
   ========================================================================== */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 156, 200, 0.3);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4f9 100%);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-body {
  flex-grow: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Price Cards */
.price-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border: 2px solid var(--primary-blue);
}

.price-card.featured::before {
  content: 'DOPORUČUJEME';
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: var(--accent-green);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 30px;
  transform: rotate(45deg);
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* 8. FORMS (Netlify Forms Ready)
   ========================================================================== */
.form-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(58, 156, 200, 0.15);
}

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

/* 9. FOOTER
   ========================================================================== */
.site-footer {
  background-color: #1f2937;
  color: #f3f4f6;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-green);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* 10. MEDIA QUERIES (Responsive Breakpoints)
   ========================================================================== */

/* Tablet (768px+) */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }

  .section {
    padding: 5rem 0;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container {
    padding: 2.5rem;
  }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
  h1 { font-size: 3.25rem; }

  .mobile-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    flex-direction: row;
    padding: 0;
    gap: 1.5rem;
    overflow-y: visible;
    display: flex;
    box-shadow: none;
    align-items: center;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* 11. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4f9 100%);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-bg-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 45, 45, 0.65);
  z-index: 1;
}

.hero-bg-img .hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
}

.hero-bg-img .hero-title,
.hero-bg-img .hero-subtitle {
  color: var(--bg-white);
}

.hero-content {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(58, 156, 200, 0.1);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(58, 156, 200, 0.2);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.hero-title-white {
  color: var(--bg-white);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* 12. TESTIMONIAL SECTION
   ========================================================================== */
.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

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

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-blue);
  font-family: Georgia, serif;
  height: 30px;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.testimonial-text {
  color: var(--text-dark);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 13. BADGE & TAG STYLES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  line-height: 1;
  white-space: nowrap;
}

.badge-primary {
  background-color: rgba(58, 156, 200, 0.15);
  color: var(--primary-blue);
}

.badge-green {
  background-color: rgba(92, 200, 122, 0.15);
  color: #2e7d43;
}

.badge-gray {
  background-color: rgba(102, 102, 102, 0.1);
  color: var(--text-muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* 14. ALERT / SUCCESS MESSAGES (Netlify Forms)
   ========================================================================== */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
}

.form-alert::before {
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.form-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-left: 4px solid var(--accent-green);
}

.form-success::before {
  content: "✓";
  color: var(--accent-green);
}

.form-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
}

.form-error::before {
  content: "✗";
  color: #ef4444;
}

.form-info {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary-blue);
}

.form-info::before {
  content: "i";
  font-family: serif;
  font-style: italic;
  font-weight: bold;
  color: var(--primary-blue);
}

/* 15. COOKIE / GDPR BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  padding: 1.25rem 0;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-text a {
  text-decoration: underline;
  color: var(--primary-blue);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background-color: #2f83a8;
}

.btn-cookie-decline {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-decline:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* 16. ACCESSIBILITY
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background-color: var(--primary-blue);
  color: var(--bg-white);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

/* 17. BREADCRUMB NAVIGATION
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary-blue);
}

.breadcrumb-separator {
  color: var(--border-color);
  user-select: none;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* 18. PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 19. SCROLLED HEADER STATE
   ========================================================================== */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: transparent;
}

/* 20. UTILITY TŘÍDY
   ========================================================================== */
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* 21. HERO-SM (menší hero pro podstránky)
   ========================================================================== */
.hero-sm {
  min-height: 50vh;
}

/* 22. AVATAR-LG (velká profilová fotka na O nás stránce)
   ========================================================================== */
.avatar-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
}

/* 23. GLOBÁLNÍ HEADER – konzistentní pro všechny stránky
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 1.25rem;
}

.logo img {
  height: 62px;
  width: auto;
  display: block;
}

/* Nav – přepis původních mobilních stylů */
.nav-menu {
  position: static;
  height: auto;
  width: auto;
  background-color: transparent;
  flex-direction: row;
  padding: 0;
  gap: 0.15rem;
  overflow-y: visible;
  display: none;
  box-shadow: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border-bottom: none;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
  background-color: var(--bg-light);
  border-bottom-color: transparent;
}

@media (min-width: 1200px) {
  .nav-menu {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

@media (max-width: 1199px) {
  .nav-menu.is-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-active .nav-link {
    font-size: 1.05rem;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    white-space: normal;
  }
}

/* 24. HERO OŽIVENÍ – jemný gradient a dekorace
   ========================================================================== */
.hero {
  background: linear-gradient(160deg, #eaf5fb 0%, #f0faf5 50%, #f7fbfc 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 156, 200, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 200, 122, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* 25. KROKY 01/02/03 – barevné horní okraje
   ========================================================================== */
.step-card-01 { border-top: 4px solid var(--primary-blue); }
.step-card-02 { border-top: 4px solid var(--teal-gradient); }
.step-card-03 { border-top: 4px solid var(--accent-green); }

.step-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-num-01 { color: var(--primary-blue); }
.step-num-02 { color: var(--teal-gradient); }
.step-num-03 { color: var(--accent-green); }

/* 26. NOVÉ KOMPONENTY HOMEPAGE (story, diff, b2b, situation, flow)
   ========================================================================== */

/* Story cards */
.story-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.story-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.story-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.story-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-quote {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Diferenciátory */
.diff-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 156, 200, 0.3);
}

.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-light), #e8f4f9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.diff-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* B2B blok */
.b2b-block {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5298 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: white;
}

.b2b-block h2 { color: white; font-size: 1.75rem; margin-bottom: 0.75rem; }
.b2b-block p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }

.b2b-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .b2b-features { grid-template-columns: repeat(3, 1fr); }
}

.b2b-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.b2b-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  margin-top: 6px;
  flex-shrink: 0;
}

.b2b-feature p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

.btn-white {
  background: white;
  color: #2a5298;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #2a5298;
}

/* Situační karty */
.situation-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.situation-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  background: rgba(58, 156, 200, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.situation-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.situation-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Flow kroky */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.5rem auto;
  max-width: 700px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 130px;
  transition: var(--transition);
}

.flow-step:hover {
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.flow-step-num { font-size: 1.5rem; font-weight: 800; color: var(--primary-blue); }
.flow-step-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); text-align: center; }

.flow-arrow {
  font-size: 1.5rem;
  color: var(--teal-gradient);
  padding: 0 0.25rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}

/* Tým quote */
.team-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary-blue);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-blue);
  background: var(--bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Footer logo větší */
.site-footer .logo img {
  height: 52px;
}


/* 27. JAZYKOVÝ PŘEPÍNAČ – dočasně skryt ale zachovává místo v layoutu
   ========================================================================== */
.lang-switcher { visibility: hidden; }
