/* ŠumbarkNET - Moderní responzivní stylopis */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-dark: #0a0f1d;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-hover: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --blue-brand: #0284c7;
  --blue-soft: rgba(2, 132, 199, 0.1);
  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.1);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-color-dark: #334155;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

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

/* Typografie */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
}

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

/* Kontejner */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Horní lišta */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a:hover {
  color: var(--accent-light);
}

.top-bar-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-light);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

/* Hlavní záhlaví & navigace */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.nav-link {
  white-space: nowrap;
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-hover);
  background-color: var(--accent-soft);
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.dropdown-link:hover {
  background-color: var(--bg-alt);
  color: var(--accent-hover);
}

/* Mobilní tlačítko */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.nav-toggle:focus {
  outline: 2px solid var(--accent);
}

.nav-toggle-icon {
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-icon span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobilní menu vysouvací */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.mobile-menu-link:hover, .mobile-menu-link.active {
  background-color: var(--accent-soft);
  color: var(--accent-hover);
}

.mobile-submenu {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-submenu a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: #0f172a;
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent-hover);
}

.btn-portal {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.25);
}

.btn-portal:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.825rem;
}

/* Hero sekce */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent-light);
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.825rem;
  color: #94a3b8;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Page Hero pro podstránky */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
}

.page-hero-title {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 750px;
  line-height: 1.5;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: #cbd5e1;
}

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

/* Sekce obecně */
.section {
  padding: 4.5rem 0;
}

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

.section-dark {
  background-color: var(--primary);
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Karty služeb (Grid) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-brand);
}

.service-link:hover {
  gap: 0.65rem;
  color: var(--accent-hover);
}

/* Tarify přepínač (Tabs) */
.tariff-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Tarify Karty (Pricing Cards) */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tariff-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.tariff-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.2);
  transform: scale(1.02);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--accent);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

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

.tariff-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tariff-price {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.tariff-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tariff-speed-box {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin: 1.25rem 0;
  text-align: center;
}

.tariff-speed-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.tariff-speed-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue-brand);
}

.tariff-features {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.tariff-features li {
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.tariff-features li:last-child {
  border-bottom: none;
}

.tariff-features li strong {
  color: var(--text-main);
}

.tariff-check {
  color: var(--green);
  font-weight: bold;
}

/* Pokrytí (Coverage Checker) */
.coverage-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.coverage-search {
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}

.coverage-search input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.coverage-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.coverage-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.coverage-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.coverage-tag:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.coverage-tag.hidden {
  display: none;
}

/* Sekce Dotace / Subsidies */
.subsidy-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.subsidy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-brand);
}

.subsidy-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-color);
  background: #f8fafc;
}

.subsidy-preview img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #ffffff;
}

.subsidy-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.subsidy-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Kontakty Karty */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.contact-role-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.contact-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--border-color);
}

.contact-link:hover {
  color: var(--accent-hover);
}

/* Dokumenty seznam */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: var(--transition);
  text-decoration: none;
}

.doc-item:hover {
  border-color: var(--blue-brand);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.doc-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

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

.doc-download {
  color: var(--blue-brand);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Galerie pro elektroinstalace */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: var(--bg-alt);
}

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

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

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Box s poznámkami a výzvami */
.info-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
}

.callout-box {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0;
}

/* Zápatí */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
  display: inline-block;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #64748b;
}

.footer-legal a:hover {
  color: #cbd5e1;
}

/* Zpět nahoru */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: #0f172a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsivita */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  
  .top-bar-right {
    display: none;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* Hero WiFi Tariff Card */
.hero-tariff-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(16px);
  position: relative;
  color: #ffffff;
}

.hero-tariff-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-tariff-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-tariff-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.hero-tariff-target {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0;
}

.hero-tariff-price-wrap {
  text-align: right;
  flex-shrink: 0;
}

.hero-tariff-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-tariff-period {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.hero-tariff-speed-bar {
  display: flex;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.35rem;
  justify-content: space-around;
  text-align: center;
}

.hero-speed-item {
  flex: 1;
}

.hero-speed-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0.5rem;
}

.hero-speed-label {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.hero-speed-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
}

.hero-tariff-perks {
  list-style: none;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-tariff-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #e2e8f0;
}

.perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.hero-tariff-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.btn-block {
  width: 100%;
}

.hero-tariff-link {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.hero-tariff-link:hover {
  color: var(--accent-light);
}

/* Subsidies Grid */
.subsidies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .subsidies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .subsidies-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1080px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}
