@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* FreeNetwork - Modern Redesign 2026 */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --accent-secondary: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --text: #0f172a;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;

  /* Compatibility variables for legacy pages */
  --primary-color: var(--primary);
  --accent-color: var(--accent);
  --border-color: var(--border);
  --border-radius: var(--radius);
  --text-color: var(--text);
  --bg-color: var(--bg);
  --bg-light: var(--bg-alt);
  --hover-color: var(--primary-light);
  --transition: var(--transition-fast);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-xl: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-4xl: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);

  /* Layout */
  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.16);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --primary: #e2e8f0;
  --primary-light: #334155;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --border: #334155;

  /* Compatibility variables for legacy pages */
  --primary-color: var(--primary);
  --accent-color: var(--accent);
  --border-color: var(--border);
  --border-radius: var(--radius);
  --text-color: var(--text);
  --bg-color: var(--bg);
  --bg-light: var(--bg-alt);
  --hover-color: var(--primary-light);
  --transition: var(--transition-fast);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #e2e8f0;
    --primary-light: #334155;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --border: #334155;

    /* Compatibility variables for legacy pages */
    --primary-color: var(--primary);
    --accent-color: var(--accent);
    --border-color: var(--border);
    --border-radius: var(--radius);
    --text-color: var(--text);
    --bg-color: var(--bg);
    --bg-light: var(--bg-alt);
    --hover-color: var(--primary-light);
    --transition: var(--transition-fast);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

/* ===== LAYOUT ===== */
.stranka {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.text_div,
.text_div_full {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text);
}

.text_div_full {
  grid-column: 1 / -1;
}

.clear {
  clear: both;
}

/* ===== HEADER (Glassmorphism) ===== */
header {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.logo {
  height: 60px;
  width: auto;
  display: flex;
  align-items: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: var(--transition-fast);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Header Actions (dark mode toggle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dark-mode-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
  box-shadow: none;
}

/* ===== NAVIGATION ===== */
.main-menu {
  display: flex;
  gap: 0;
  align-items: center;
}

.main-menu ul {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-menu > ul > li {
  position: relative;
}

.main-menu > ul > li > a {
  display: block;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  transition: var(--transition-fast);
  border-radius: var(--radius);
  margin: 0 2px;
  position: relative;
}

.main-menu > ul > li > a:hover,
.main-menu > ul > li > a.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.main-menu > ul > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Dropdown */
.main-menu ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) 0;
  margin-top: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.main-menu ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu ul ul li {
  width: 100%;
}

.main-menu ul ul li a {
  padding: 0.6rem 1.25rem;
  color: var(--text);
  display: block;
  border-radius: 0;
  font-weight: 400;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: var(--transition-fast);
}

.main-menu ul ul li a:hover {
  background-color: var(--bg-alt);
  color: var(--accent);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-sm) 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
  box-shadow: none;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: var(--space-2xl) 0;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  color: white;
}

.hero p {
  font-size: var(--text-lg);
  opacity: 0.9;
}

.hero-section {
  padding: var(--space-3xl) var(--space-xl);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xl);
  text-align: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid var(--border);
}

.hero-section h2 {
  color: var(--text);
  margin-bottom: var(--space-md);
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-section h2 .accent-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section p {
  color: var(--text-light);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Header Image (legacy document pages) */
.header {
  width: 100%;
  height: auto;
  min-height: 0;
  display: none;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-xl) 0 0 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.action-btn {
  padding: 0.85rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
  font-family: var(--font-sans);
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: white;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
  text-decoration: none;
  color: white;
}

.action-btn.secondary {
  background: var(--primary-light);
  color: white;
}

[data-theme="dark"] .action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: white;
}

#map-status {
  margin-left: var(--space-md);
  color: var(--text-light);
  font-size: var(--text-sm);
}

/* ===== BENEFITS ===== */
.benefits-section {
  margin: var(--space-3xl) 0;
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text);
  font-size: var(--text-3xl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.benefit-card {
  background: var(--bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

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

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

.benefit-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.benefit-card strong {
  color: var(--text);
  font-size: var(--text-xl);
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.about-section h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text);
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-inner p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

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

.about-grid h3 {
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.about-callout {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.about-callout h3 {
  color: var(--text);
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: var(--text-3xl);
  color: var(--text);
  margin-bottom: var(--space-lg);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-2xl);
  color: var(--text);
  margin: var(--space-lg) 0 var(--space-md);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-xl);
  color: var(--text);
  margin: var(--space-md) 0 var(--space-sm);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
}

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

td, th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background-color: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="dark"] th {
  background-color: var(--primary-light);
}

tr:hover {
  background-color: var(--bg-alt);
}

tr:last-child td {
  border-bottom: none;
}

/* AP status badges */
.status-active {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--success);
  font-weight: 600;
  font-size: var(--text-sm);
}

.status-active::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

/* ===== FORMS ===== */
.form-container {
  background: var(--bg);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: var(--space-xl) 0;
}

.form-container form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text);
  font-size: var(--text-sm);
}

.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem var(--space-md);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  background-color: var(--bg);
  color: var(--text);
}

.form-input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
  border-color: var(--success);
}

.form-error {
  color: var(--error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: none;
}

/* Form messages */
.form-message {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.form-message--success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message--error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== BUTTONS ===== */
.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2);
}

.btn:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
  text-decoration: none;
  color: white;
}

.btn:disabled,
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--text);
  box-shadow: none;
}

/* Reset default button styling */
button {
  font-family: var(--font-sans);
  cursor: pointer;
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.pricing-card {
  background: var(--bg);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pricing-card--featured::before {
  content: 'Nejoblíbenější';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-price {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.pricing-period {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.pricing-badge {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(6, 182, 212, 0.08);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 600;
}

.pricing-note {
  text-align: center;
  color: var(--text-light);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
}

/* ===== INFO CARD ===== */
.info-card {
  background: var(--bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
  border-left: 4px solid var(--accent);
}

.info-card h2 {
  color: var(--text);
  margin-top: 0;
}

/* ===== CONTACT CARDS ===== */
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.contact-card h3 {
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* ===== DOCUMENT CONTENT ===== */
.document-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
}

.document-content h1 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border);
}

.document-content h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.document-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.document-content p {
  margin-bottom: var(--space-sm);
  text-align: justify;
}

.document-content table {
  margin: var(--space-xl) 0;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge--accent {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
}

.badge--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.badge--warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

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

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

/* ===== MAP ===== */
#map {
  width: 100%;
  height: 450px;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  display: none;
  border: 1px solid var(--border);
  overflow: hidden;
}

/* ===== FOOTER ===== */
footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  display: block;
  font-size: var(--text-sm);
}

.footer-section a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITY CLASSES ===== */
.highlight {
  color: var(--accent);
  font-weight: 600;
}

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

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .content-wrapper {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-menu {
    display: none;
  }

  .main-menu.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: var(--space-md);
    background: rgba(15, 23, 42, 0.98);
    border-radius: var(--radius);
    padding: var(--space-sm) 0;
  }

  .main-menu.active ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-menu.active > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-menu.active > ul > li > a {
    padding: var(--space-md);
    display: block;
  }

  .main-menu.active > ul > li > a.active::after {
    display: none;
  }

  .main-menu ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
  }

  .main-menu ul ul li a {
    padding-left: var(--space-xl);
    color: rgba(255, 255, 255, 0.7);
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  #map {
    height: 320px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-section {
    padding: var(--space-xl) var(--space-lg);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  /* Mobile table: card-like display */
  .table-responsive table {
    border: none;
  }

  .table-responsive thead {
    display: none;
  }

  .table-responsive tr {
    display: block;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    overflow: hidden;
  }

  .table-responsive td {
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--border);
  }

  .table-responsive td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-light);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .table-responsive td:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .stranka {
    padding: 0 var(--space-md);
  }

  .logo {
    height: 50px;
    font-size: var(--text-xl);
  }

  .about-section {
    padding: var(--space-xl) var(--space-md);
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  z-index: 2000;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ===== PRINT ===== */
@media print {
  header,
  footer,
  .main-menu,
  .dark-mode-toggle,
  .menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ===== SNIPPET (TV Plugin Container) ===== */
.snippet {
  min-height: 500px;
}

/* ===== MAP CONTROLS ===== */
.map-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

/* ===== HOMEPAGE REFRESH OVERRIDES ===== */
:root {
  --primary: #0c4a6e;
  --primary-light: #0f3a59;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-secondary: #38bdf8;
  --cta: #f97316;
  --cta-hover: #ea580c;
  --text: #0f172a;
  --text-light: #475569;
  --bg: #f8fbff;
  --bg-alt: #edf6ff;
  --border: rgba(12, 74, 110, 0.14);

  /* Compatibility variables for legacy pages */
  --primary-color: var(--primary);
  --accent-color: var(--accent);
  --border-color: var(--border);
  --border-radius: var(--radius);
  --text-color: var(--text);
  --bg-color: var(--bg);
  --bg-light: var(--bg-alt);
  --hover-color: var(--primary-light);
  --transition: var(--transition-fast);
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 47, 73, 0.16);
  --shadow-xl: 0 30px 80px rgba(8, 47, 73, 0.2);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

[data-theme="dark"] {
  --primary: #c9e7fb;
  --primary-light: #0f172a;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-secondary: #7dd3fc;
  --cta: #fb923c;
  --cta-hover: #fdba74;
  --text: #e2e8f0;
  --text-light: #cbd5e1;
  --bg: #020617;
  --bg-alt: #0f172a;
  --border: rgba(148, 163, 184, 0.2);

  /* Compatibility variables for legacy pages */
  --primary-color: var(--primary);
  --accent-color: var(--accent);
  --border-color: var(--border);
  --border-radius: var(--radius);
  --text-color: var(--text);
  --bg-color: var(--bg);
  --bg-light: var(--bg-alt);
  --hover-color: var(--primary-light);
  --transition: var(--transition-fast);
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: #0f172a;
  --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.24);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.36);
  --shadow-xl: 0 36px 90px rgba(0, 0, 0, 0.42);
}

html {
  scroll-padding-top: 7rem;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.homepage-body {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #f9fbfe 100%);
}

[data-theme="dark"] .homepage-body {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.09), transparent 18%),
    linear-gradient(180deg, #020617 0%, #081120 45%, #020617 100%);
}

.homepage-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

main,
footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
.logo {
  font-family: var(--font-heading);
}

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

header {
  width: min(calc(100% - 1.5rem), calc(var(--max-width) + 2rem));
  margin: 1rem auto 0;
  padding: 0;
  top: 1rem;
  border-radius: 1.35rem;
  background: rgba(8, 47, 73, 0.88);
  border: 1px solid rgba(186, 230, 253, 0.18);
  box-shadow: 0 24px 60px rgba(8, 47, 73, 0.18);
}

[data-theme="dark"] header {
  background: rgba(2, 6, 23, 0.86);
  border-color: rgba(125, 211, 252, 0.12);
}

.header-content {
  padding: 0.85rem 1.25rem;
}

.logo {
  height: auto;
  min-height: 3rem;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  letter-spacing: -0.04em;
}

.main-menu > ul > li > a {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-menu > ul > li > a:hover,
.main-menu > ul > li > a.active {
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 701px) {
  .main-menu ul ul {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  [data-theme="dark"] .main-menu ul ul {
    background: rgba(15, 23, 42, 0.96);
  }
}

.menu-toggle,
.dark-mode-toggle {
  border-radius: 999px;
}

.stranka {
  position: relative;
}

.homepage {
  padding-top: var(--space-2xl);
}

.homepage .content-wrapper {
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.homepage .text_div_full {
  display: grid;
  gap: var(--space-2xl);
}

.homepage .hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2vw, 2rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(234, 245, 255, 0.82)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(249, 115, 22, 0.05));
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .homepage .hero-section {
  background:
    linear-gradient(145deg, rgba(8, 47, 73, 0.74), rgba(2, 6, 23, 0.82)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(249, 115, 22, 0.08));
  border-color: rgba(56, 189, 248, 0.2);
}

.homepage .hero-section::before,
.homepage .hero-section::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.homepage .hero-section::before {
  width: 22rem;
  height: 22rem;
  top: -12rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
}

.homepage .hero-section::after {
  width: 18rem;
  height: 18rem;
  bottom: -11rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.95fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.hero-copy,
.coverage-copy,
.story-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.11);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-theme="dark"] .eyebrow,
[data-theme="dark"] .section-kicker {
  background: rgba(56, 189, 248, 0.12);
}

.hero-copy h1 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  font-size: clamp(2.35rem, 3vw, 4.5rem);
  line-height: 1.02;
  max-width: 12ch;
}

.hero-lead {
  max-width: 41rem;
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.4rem);
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: var(--space-xl);
}

.highlight-card,
.metric-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 1.1rem;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

[data-theme="dark"] .highlight-card,
[data-theme="dark"] .metric-card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
}

.highlight-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-card strong {
  display: block;
  font-size: var(--text-lg);
  line-height: 1.35;
}

.homepage .action-buttons {
  justify-content: flex-start;
}

.action-btn {
  min-height: 3.3rem;
  border-radius: 999px;
  padding-inline: 1.4rem;
  font-weight: 700;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--cta), #fb8c3a);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.26);
}

.action-btn.primary:hover {
  background: linear-gradient(135deg, var(--cta-hover), #fb923c);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.action-btn.secondary {
  background: rgba(12, 74, 110, 0.08);
  border: 1px solid rgba(12, 74, 110, 0.14);
  color: var(--primary-light);
}

[data-theme="dark"] .action-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--text);
}

.hero-note {
  margin-top: var(--space-lg);
  margin-bottom: 0;
  color: var(--text-light);
  font-size: var(--text-base);
}

.trust-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.4rem;
  border-radius: 1.5rem;
  color: #f8fafc;
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.95), rgba(6, 28, 46, 0.94));
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .trust-panel {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96));
}

.trust-panel h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.55rem, 1.15rem + 1vw, 2.15rem);
  line-height: 1.15;
}

.panel-kicker {
  width: fit-content;
  color: #dbeafe;
  background: rgba(56, 189, 248, 0.14);
}

.trust-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.trust-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.trust-list strong,
.benefit-card strong,
.journey-card h3 {
  font-family: var(--font-heading);
}

.trust-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.icon,
.icon-wrap .icon,
.icon-chip .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-chip,
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
}

.icon-chip {
  color: #dbeafe;
  background: rgba(56, 189, 248, 0.14);
}

.icon-wrap {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(249, 115, 22, 0.12));
}

[data-theme="dark"] .icon-wrap {
  color: #dbeafe;
}

.trust-note {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(249, 115, 22, 0.14));
}

.trust-note p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: var(--space-xl);
}

.section-heading h2,
.coverage-copy h2 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: clamp(1.85rem, 1.5rem + 1.3vw, 3rem);
  line-height: 1.08;
}

.section-heading p,
.coverage-copy p,
.story-copy p {
  color: var(--text-light);
  font-size: var(--text-lg);
}

.benefits-grid,
.journey-grid,
.story-metrics {
  display: grid;
  gap: var(--space-lg);
}

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

.benefit-card,
.journey-card,
.coverage-copy,
.coverage-map-card,
.metric-card,
.homepage .about-section {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.benefit-card,
.journey-card,
.coverage-copy,
.coverage-map-card {
  padding: 1.35rem;
  border-radius: 1.35rem;
}

.benefit-card p,
.journey-card p,
.metric-card p {
  margin-bottom: 0;
}

.benefit-card strong {
  display: block;
  margin: 1rem 0 0.55rem;
  font-size: var(--text-xl);
}

.journey-section {
  padding: 0.2rem 0;
}

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

.journey-card {
  position: relative;
  overflow: hidden;
}

.journey-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--cta));
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.coverage-section {
  position: relative;
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: var(--space-xl);
  align-items: start;
}

.coverage-points {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: var(--space-lg) 0;
}

.coverage-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
}

.coverage-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--cta));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.text-link::after {
  content: '->';
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.coverage-map-card {
  min-height: 100%;
}

.map-controls {
  margin-bottom: 1rem;
}

#map-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  margin-left: 0;
  color: var(--text-light);
}

#map {
  margin: 0;
  min-height: 24rem;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.2);
}

.homepage .about-section {
  padding: 1.5rem;
}

.story-section {
  margin-top: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: var(--space-xl);
  align-items: start;
}

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

.metric-value {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--primary-light);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2.4rem);
  line-height: 1;
}

.about-callout {
  margin-top: var(--space-xl);
  border-left-width: 0;
  border-top: 4px solid var(--accent);
}

footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #08263f 0%, #031525 100%);
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.12), transparent 22%);
  pointer-events: none;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-shell,
  .coverage-layout,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

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

@media (max-width: 768px) {
  header {
    width: min(calc(100% - 1rem), calc(var(--max-width) + 1rem));
    margin-top: 0.75rem;
    top: 0.75rem;
    border-radius: 1rem;
  }

  .header-content {
    padding: 0.85rem 1rem;
  }

  .main-menu.active {
    background: rgba(8, 47, 73, 0.96);
    border: 1px solid rgba(186, 230, 253, 0.12);
    box-shadow: var(--shadow-lg);
  }

  .homepage {
    padding-top: 1.5rem;
  }

  .hero-highlights,
  .benefits-grid,
  .journey-grid,
  .story-metrics {
    grid-template-columns: 1fr;
  }

  .homepage .hero-section,
  .homepage .about-section,
  .coverage-copy,
  .coverage-map-card {
    padding: 1.2rem;
  }

  .homepage .action-buttons {
    align-items: stretch;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  #map {
    min-height: 20rem;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 1.9rem + 3vw, 2.8rem);
  }

  .section-heading h2,
  .coverage-copy h2 {
    font-size: clamp(1.6rem, 1.5rem + 2vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in,
  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
}

/* ===== HOMEPAGE REDESIGN 2026 - SECTIONS ===== */

/* Hero Section Redesign */
.hero-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
  padding: var(--space-3xl) 0;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.hero-lead {
  font-size: var(--text-lg);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-highlights {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.highlight-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.highlight-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
}

.highlight-detail {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* Trust Panel */
.trust-panel {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.trust-fact {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-fact:last-of-type {
  border-bottom: none;
  margin-bottom: var(--space-xl);
}

.trust-number {
  font-size: var(--text-3xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.trust-quote {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-quote q {
  display: block;
  font-style: italic;
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
}

.trust-quote cite {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-light);
  font-size: var(--text-lg);
}

/* Benefits Grid */
.benefits-section {
  padding: var(--space-3xl) 0;
}

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

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: var(--transition);
}

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

.benefit-card.featured {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.benefit-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.benefit-card p {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.6;
}

/* Journey Section */
.journey-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
  margin: 0 calc(-1 * var(--space-xl));
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

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

.journey-header h2 {
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.journey-step {
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xl);
  margin: 0 auto var(--space-md);
}

.journey-step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.journey-step p {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.6;
}

.journey-arrow {
  color: var(--accent);
  opacity: 0.5;
}

/* Coverage Section */
.coverage-section {
  padding: var(--space-3xl) 0;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-3xl);
  align-items: center;
}

.coverage-content h2 {
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.coverage-content p {
  font-size: var(--text-base);
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.coverage-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.coverage-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--text);
}

.check-icon {
  flex-shrink: 0;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.text-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.coverage-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ap-counter {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--bg-alt) 0%, white 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.counter-number {
  display: block;
  font-size: clamp(3rem, 2rem + 3vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.counter-label {
  font-size: var(--text-sm);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Story Section */
.story-section {
  padding: var(--space-3xl) 0;
  background: var(--primary);
  color: white;
  margin: 0 calc(-1 * var(--space-xl));
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

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

.story-content .section-eyebrow {
  color: var(--accent);
}

.story-content h2 {
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
  margin-bottom: var(--space-lg);
  color: white;
}

.story-content p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.story-content a {
  color: var(--accent);
  text-decoration: none;
}

.story-content a:hover {
  text-decoration: underline;
}

.story-metrics {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.story-contact {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-contact h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: white;
}

.story-contact address {
  font-style: normal;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-lg);
}

/* Button icon */
.btn-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: var(--space-xs);
}

.btn-icon.spinning {
  animation: spin 1s linear infinite;
}

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

/* Dark mode adjustments */
[data-theme="dark"] .trust-panel {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .journey-section {
  background: #1e293b;
}

[data-theme="dark"] .story-section {
  background: #0a0f1d;
}

[data-theme="dark"] .ap-counter {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
}

[data-theme="dark"] .highlight-card {
  background: #1e293b;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .trust-panel {
    max-width: 400px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .journey-arrow {
    display: none;
  }

  .journey-step {
    text-align: left;
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  .coverage-layout {
    grid-template-columns: 1fr;
  }

  .coverage-visual {
    order: -1;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-highlights {
    flex-direction: column;
  }

  .highlight-card {
    width: 100%;
  }

  .story-metrics {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: clamp(1.8rem, 1.6rem + 2vw, 2.5rem);
  }

  .trust-panel {
    padding: var(--space-lg);
  }

  .journey-section,
  .story-section {
    margin: 0 calc(-1 * var(--space-md));
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

/* ===== HOMEPAGE VISUAL REFRESH 2026 ===== */
/* Modernizace vzhledu při zachování struktury */

/* Atmosférické pozadí pro hero */
.homepage .hero-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.1), transparent),
    linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%),
    var(--bg);
  border: 1px solid rgba(6, 182, 212, 0.15);
  box-shadow:
    0 4px 6px -1px rgba(6, 182, 212, 0.05),
    0 10px 15px -3px rgba(6, 182, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

[data-theme="dark"] .homepage .hero-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.15), transparent),
    linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

/* Dekorativní prvky v hero */
.homepage .hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Vylepšené benefit cards */
.benefit-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 30px -5px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .benefit-card {
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(51, 65, 85, 0.6);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow:
    0 20px 40px -10px rgba(6, 182, 212, 0.2),
    0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(6, 182, 212, 0.4);
}

/* Animovaný top border */
.benefit-card::before {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Vylepšené emoji ikony v benefit cards */
.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

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

/* Vylepšená about sekce */
.about-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .about-section {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
  border-color: rgba(51, 65, 85, 0.4);
}

/* Vylepšený callout */
.about-callout {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-left-width: 4px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.1);
}

.about-callout::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(6, 182, 212, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Vylepšená mapa */
#map {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 20px 40px -10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Vylepšené tlačítko pro mapu */
#btn-show-map {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#btn-show-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#btn-show-map:hover::before {
  left: 100%;
}

#btn-show-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Vylepšený status text */
#map-status {
  font-weight: 500;
  color: var(--accent);
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Vylepšené nadpisy sekcí */
.benefits-section h2,
.about-section h2 {
  position: relative;
  display: inline-block;
}

.benefits-section h2::after,
.about-section h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 2px;
}

/* Vylepšení pro about-grid */
.about-grid > div {
  background: rgba(255, 255, 255, 0.5);
  padding: var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s ease;
}

.about-grid > div:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

[data-theme="dark"] .about-grid > div {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .about-grid > div:hover {
  background: rgba(30, 41, 59, 0.7);
}
