/**
 * IT Služby - Jiří Počta (itsluzby.jiripocta.cz)
 * Modern One-Page Stylesheet (1. fáze – bez externích frameworků)
 *
 * Barvy: #ff6c3a (brand), #024eff (RustDesk), #0f172a / #232c3b (text), #ffffff / #f8fafc (plochy)
 * Typografie: Inter + tabular-nums + text-wrap balance/pretty
 */

/* ==========================================================================
   1. CSS PROMĚNNÉ & ZÁKLADNÍ RESET
   ========================================================================== */
:root {
  --color-primary: #ff6c3a;
  --color-primary-hover: #e85a2a;
  --color-primary-light: #fff5f0;
  --color-primary-border: #ffd6c4;
  --color-primary-dark: #c24115;

  --color-rustdesk: #024eff;
  --color-rustdesk-hover: #003ecc;
  --color-rustdesk-light: #eef5ff;
  --color-rustdesk-border: #bfdbfe;
  --color-rustdesk-dark: #0040d1;

  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-subtle: #f1f5f9;

  --color-text: #0f172a;
  --color-text-slate: #232c3b;
  --color-text-muted: #526075;

  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;

  --color-success: #15803d;
  --color-success-bg: #dcfce7;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.09), 0 1px 2px -1px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 4px 10px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --header-height: 72px;
  --transition: all 0.2s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="tab"]:focus-visible {
  outline: 2px solid var(--color-rustdesk);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 11000;
  background: #0f172a;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0.75rem;
  color: #ffffff;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.anchor-offset {
  display: block;
  position: relative;
  top: calc(-1 * (var(--header-height) + 1rem));
  visibility: hidden;
  height: 0;
}

/* ==========================================================================
   2. TYPOGRAFIE, ZALAMOVÁNÍ & TLAČÍTKA
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--color-text-slate);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

h1 { font-size: 2.15rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-primary-border);
}

.section-tag-rustdesk {
  color: var(--color-rustdesk-dark);
  background: var(--color-rustdesk-light);
  border-color: var(--color-rustdesk-border);
}

.section-tag-rustdesk svg {
  width: 1.18rem;
  height: 1.18rem;
  overflow: visible;
  color: var(--color-rustdesk);
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(255, 108, 58, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 108, 58, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text-slate);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

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

.btn-rustdesk {
  background-color: var(--color-rustdesk);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 78, 255, 0.25);
}

.btn-rustdesk:hover {
  background-color: var(--color-rustdesk-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 78, 255, 0.35);
}

.btn-rustdesk-outline {
  background-color: #ffffff;
  color: var(--color-rustdesk-dark);
  border: 1.5px solid var(--color-rustdesk-border);
  box-shadow: var(--shadow-xs);
}

.btn-rustdesk-outline .icon {
  width: 1.32rem;
  height: 1.32rem;
  overflow: visible;
  color: var(--color-rustdesk);
}

.btn-rustdesk-outline:hover {
  background-color: var(--color-rustdesk-light);
  border-color: var(--color-rustdesk);
  color: var(--color-rustdesk-dark);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ==========================================================================
   3. HLAVIČKA A NAVIGACE (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-text);
  flex-shrink: 0;
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
  border-radius: 8.5px;
  box-shadow: 0 2px 8px rgba(255, 108, 58, 0.26);
  transition: var(--transition);
}

.header-brand:hover .brand-icon-img {
  transform: translateY(-1px);
  box-shadow: 0 4px 11px rgba(255, 108, 58, 0.34);
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-slate);
  line-height: 1.1;
}

.brand-name span { color: var(--color-primary); }

.brand-sub {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-slate);
  padding: 0.45rem 0.2rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link:focus { color: var(--color-primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after { width: 100%; }

.nav-badge-rustdesk {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.14rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-rustdesk-light);
  color: var(--color-rustdesk-dark);
  border: 1px solid var(--color-rustdesk-border);
  margin-left: 0.35rem;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header-email,
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1;
  color: var(--color-text-slate);
  height: 36px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

.header-email:hover,
.header-phone:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
  color: var(--color-primary-dark);
}

.header-email .icon,
.header-phone .icon {
  color: var(--color-primary);
  width: 1rem;
  height: 1rem;
}

.header-rustdesk-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 0.9rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: var(--transition);
}

.header-rustdesk-link::before {
  content: '';
  position: absolute;
  left: -0.725rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: var(--color-border);
  pointer-events: none;
}

.header-rustdesk-icon {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(2, 78, 255, 0.18));
  transition: var(--transition);
}

.header-rustdesk-link:hover .header-rustdesk-icon {
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 3px 8px rgba(2, 78, 255, 0.3));
}

.header-mobile-rd-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-mobile-contacts { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.menu-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ==========================================================================
   4. HERO SEKCE & H1 PÁS
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-alt) 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  align-items: center;
  gap: 3rem;
}

.hero-grid > * { min-width: 0; }

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--color-primary-border);
  box-shadow: 0 2px 6px rgba(255, 108, 58, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.18);
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.hero-title {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text-slate);
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.hero-title .text-highlight {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.85rem;
  max-width: 56ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--color-border);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-slate);
}

.hero-trust-item .icon {
  color: var(--color-success);
  width: 1.1rem;
  height: 1.1rem;
}

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

.hero-avatar-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: flex;
  justify-content: center;
}

.hero-avatar-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 108, 58, 0.14) 0%, rgba(255, 108, 58, 0.02) 70%, transparent 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-avatar-picture {
  display: contents;
}

.hero-avatar-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 310px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.12));
}

.hero-exp-card {
  position: absolute;
  bottom: -6px;
  left: -8px;
  z-index: 3;
  background: #ffffff;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.exp-years {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
}

.exp-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-text-slate);
  line-height: 1.25;
}

.exp-sub {
  font-weight: 500;
  color: var(--color-text-muted);
}

.h1-strip {
  background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
  text-align: center;
}

.h1-strip h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.h1-strip p {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  max-width: 64ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* ==========================================================================
   5. SEKCE SLUŽBY (6 VYROVNANÝCH KARET)
   ========================================================================== */
.section-services {
  padding: 4.75rem 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.services-grid > * { min-width: 0; }

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-xs);
}

.service-card:hover {
  border-color: var(--color-primary-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  border: 1px solid var(--color-primary-border);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--color-primary);
  color: #ffffff;
}

.service-icon-box svg { width: 25px; height: 25px; }

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tags {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-bg-subtle);
}

.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-slate);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.28rem 0.45rem;
  text-align: center;
}

/* ==========================================================================
   6. SEKCE ŘEŠENÍ (INDIVIDUAL PLAN)
   ========================================================================== */
.section-solution {
  padding: 4.75rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.plan-card {
  background: #ffffff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 2.35rem;
  box-shadow: 0 10px 30px rgba(255, 108, 58, 0.08);
}

.plan-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}

.plan-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.plan-title {
  font-size: 1.9rem;
  font-weight: 800;
}

.plan-tagline {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.plan-price-box {
  text-align: right;
  background: var(--color-bg-alt);
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.plan-price-num {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.plan-price-period {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

.plan-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.plan-features-grid > * { min-width: 0; }

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.plan-feature-item .icon {
  color: var(--color-success);
  margin-top: 0.15rem;
}

.feature-text strong {
  display: block;
  color: var(--color-text-slate);
  font-weight: 700;
  font-size: 0.96rem;
  margin-bottom: 0.15rem;
}

.feature-text span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: block;
}

.plan-rules-box {
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.plan-rule-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: var(--color-text-slate);
  line-height: 1.45;
}

.plan-rule-row .icon {
  color: var(--color-primary-dark);
  margin-top: 0.15rem;
}

/* ==========================================================================
   7. CENÍK (TABULKA HODINOVÝCH SAZEB + 3 KARTY ROZSAHU + ÚKONY A DOPRAVA)
   ========================================================================== */
.section-pricing {
  padding: 4.75rem 0;
  background: #ffffff;
}

.pricing-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.pricing-pill {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-slate);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-full);
}

/* Srovnávací tabulka hodinových sazeb */
.hourly-table-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.hourly-table-wrap {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hourly-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.hourly-table th,
.hourly-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.hourly-table thead th {
  background: var(--color-bg-subtle);
  color: var(--color-text-slate);
  font-size: 0.84rem;
  font-weight: 700;
}

.hourly-table .col-cat-th {
  text-align: left;
  width: 33%;
}

.hourly-table .col-group-th {
  border-bottom: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: #eaeff5;
}

.hourly-subhead-row th {
  font-size: 0.8rem;
  font-weight: 600;
  border-left: 1px solid var(--color-border);
  white-space: nowrap;
}

.hourly-table .col-contract-th {
  background: var(--color-primary-light) !important;
  color: var(--color-primary-dark) !important;
  border-left: 2px solid var(--color-primary);
  width: 18%;
}

.hourly-table tbody tr:last-child td { border-bottom: none; }

.hourly-cat-td {
  text-align: left;
}

.hourly-cat-td .tier-badge { margin-bottom: 0.35rem; }

.hourly-cat-desc {
  display: block;
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.hourly-rate-td {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-text-slate);
  border-left: 1px solid var(--color-border);
  white-space: nowrap;
}

.hourly-merged-td {
  font-size: 1rem;
  color: var(--color-text-slate);
  border-left: 1px solid var(--color-border);
}

.hourly-merged-td strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
}

.col-contract-td {
  background: #fffcfa;
  border-left: 2px solid var(--color-primary-border);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text-slate);
}

.col-contract-best {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* 3 karty legendy co kam spadá */
.hourly-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  align-items: stretch;
}

.hourly-tiers-grid > * { min-width: 0; }

.tier-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.tier-card:hover {
  background: #ffffff;
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.tier-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.tier-badge-tech { background: var(--color-primary-light); color: var(--color-primary-dark); border: 1px solid var(--color-primary-border); }
.tier-badge-spec { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.tier-badge-expert { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }

.tier-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.05rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  min-height: 3.4em;
}

.tier-examples-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

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

.tier-examples-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--color-text-slate);
  line-height: 1.45;
}

.tier-examples-list li .icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
  margin-top: 0.2rem;
}

/* Sloučená tabulka úkonů */
.task-rates-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.task-rates-header {
  margin-bottom: 1.25rem;
}

.task-rates-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.task-rates-header p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.task-table-wrap {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.task-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.task-table th {
  background: var(--color-bg-subtle);
  color: var(--color-text-slate);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
}

.task-table th.col-contract-th {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-left: 1px solid var(--color-primary-border);
}

.task-table td {
  padding: 0.88rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  vertical-align: middle;
}

.task-table tbody tr:last-child td { border-bottom: none; }

.task-name-td {
  font-weight: 700;
  color: var(--color-text-slate);
  width: 28%;
}

.task-scope-td { color: var(--color-text-muted); }

.col-price-th,
.task-price-td {
  text-align: right;
  white-space: nowrap;
  width: 12%;
}

.task-price-td {
  font-weight: 800;
  color: var(--color-text-slate);
  font-size: 0.96rem;
}

.task-price-unified {
  text-align: center;
  background: #fafbfc;
  border-left: 1px solid var(--color-border);
}

.price-free {
  color: var(--color-success);
  font-weight: 800;
}

.task-rates-footnote {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.task-rates-footnote .icon {
  color: var(--color-primary);
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
}

/* ==========================================================================
   8. SEKCE POCTIVÁ PÉČE & DISKRÉTNOST KLIENTŮ
   ========================================================================== */
.section-guarantee {
  padding: 4.75rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.guarantee-grid > * { min-width: 0; }

.guarantee-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.guarantee-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.guarantee-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-icon-box svg { width: 24px; height: 24px; }

.guarantee-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.guarantee-intro {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  margin-bottom: 1.35rem;
}

.guarantee-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.guarantee-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-slate);
  line-height: 1.45;
}

.guarantee-bullets li .icon {
  color: var(--color-success);
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.18rem;
}

.ai-dev-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
  margin-bottom: 0;
}

.ai-dev-header {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0.95rem;
}

.ai-dev-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ai-dev-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
}

.ai-dev-intro {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.ai-dev-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ai-dev-points > * { min-width: 0; }

.ai-dev-point {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
}

.ai-dev-point-title {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.93rem;
  color: var(--color-text-slate);
  line-height: 1.35;
}

.ai-dev-point-title .icon {
  color: var(--color-success);
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.14rem;
  flex-shrink: 0;
}

.ai-dev-point p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.discretion-banner {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.discretion-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.discretion-banner p {
  font-size: 0.9rem;
  color: var(--color-text-slate);
  line-height: 1.55;
}

/* ==========================================================================
   9. SEKCE VZDÁLENÁ POMOC RUSTDESK (#024EFF)
   ========================================================================== */
.section-remote-help {
  padding: 4.75rem 0;
  background: #ffffff;
}

.remote-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-rustdesk-light) 100%);
  border: 1px solid var(--color-rustdesk-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.remote-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.remote-grid > * { min-width: 0; }

.remote-lead {
  font-size: 1.02rem;
  color: var(--color-text-slate);
  margin-bottom: 1.75rem;
}

.remote-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.remote-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.step-number-rustdesk {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-rustdesk);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-content strong {
  display: block;
  color: var(--color-text-slate);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.server-panel-rustdesk {
  background: #ffffff;
  border: 1px solid var(--color-rustdesk-border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.server-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.server-badge-rustdesk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-rustdesk-light);
  color: var(--color-rustdesk-dark);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-rustdesk-border);
}

.server-badge-rustdesk .icon {
  width: 1.15rem;
  height: 1.15rem;
  overflow: visible;
  color: var(--color-rustdesk);
}

.server-host-text {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-slate);
  word-break: break-word;
}

.remote-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.remote-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--color-text-slate);
  line-height: 1.45;
}

.remote-panel-list li .icon {
  color: var(--color-rustdesk);
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
}

.remote-phase-rustdesk {
  background: var(--color-rustdesk-light);
  border: 1px solid var(--color-rustdesk-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.remote-phase-note-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-rustdesk-dark);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.remote-phase-note-head .icon { width: 1.05rem; height: 1.05rem; color: var(--color-rustdesk); }

.remote-phase-rustdesk p {
  font-size: 0.85rem;
  color: var(--color-text-slate);
  line-height: 1.5;
}

/* ==========================================================================
   10. KONTAKTY & PATIČKA (SYMETRICKÉ ZAROVNÁNÍ)
   ========================================================================== */
.section-contact-wrap {
  background: var(--color-bg-alt);
  padding-bottom: 2.75rem;
  transition: padding-bottom 0.25s ease;
}

body.has-gdpr-banner .section-contact-wrap {
  padding-bottom: calc(2.75rem + var(--gdpr-banner-offset, 72px));
}

.section-contact {
  padding: 4.75rem 0 3rem 0;
  border-top: 1px solid var(--color-border);
}

.direct-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.direct-contacts-grid > * { min-width: 0; }

.direct-contact-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  color: inherit;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

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

.direct-contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-contact-icon svg { width: 22px; height: 22px; }

.direct-contact-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.direct-contact-label {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.direct-contact-value {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--color-text-slate);
  word-break: break-word;
}

.direct-contact-card:hover .direct-contact-value {
  color: var(--color-primary-dark);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
  align-items: stretch;
}

.contact-cards-grid > * { min-width: 0; }

.contact-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-type {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
}

.contact-card-title {
  font-size: 1.22rem;
  font-weight: 700;
}

.contact-dl {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.contact-dl-row {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-dl-row dt {
  font-weight: 600;
  color: var(--color-text-muted);
}

.contact-dl-row dd { color: var(--color-text); }

.contact-card-foot {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  margin-top: auto;
}

.contact-card-foot .icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
}

.contact-foot-warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.contact-foot-neutral {
  background: var(--color-bg-alt);
  color: var(--color-text-slate);
  border: 1px solid var(--color-border);
}

.site-footer {
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-copy {
  justify-self: start;
  white-space: nowrap;
}

.footer-socials {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-link .icon {
  width: 1.08rem;
  height: 1.08rem;
}

.footer-social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.footer-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  white-space: nowrap;
}

.footer-link-btn {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: underline;
  white-space: nowrap;
}

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

/* ==========================================================================
   11. GDPR BANNER & MODÁLNÍ OKNO
   ========================================================================== */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
}

.gdpr-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.gdpr-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.gdpr-banner-text { font-size: 0.9rem; color: #e2e8f0; }

.gdpr-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.modal-backdrop.is-open { opacity: 1; visibility: visible; }

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  padding: 2rem;
}

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

.modal-title { font-size: 1.3rem; font-weight: 800; }

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
}

.modal-close-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.modal-body {
  font-size: 0.94rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.modal-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.modal-inline-link {
  color: var(--color-rustdesk-dark);
  font-weight: 600;
  text-decoration: underline;
}

.modal-inline-link:hover {
  color: var(--color-rustdesk-hover);
}

.modal-footer {
  margin-top: 1.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

/* ==========================================================================
   12. RESPONZIVNÍ BREAKPOINTY
   ========================================================================== */
@media (max-width: 1180px) {
  .header-email {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .header-email span { display: none; }
}

@media (max-width: 1140px) {
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-copy,
  .footer-socials,
  .footer-links {
    justify-self: center;
    white-space: normal;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hourly-tiers-grid,
  .ai-dev-points { grid-template-columns: 1fr; }
  .tier-subtitle { min-height: 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .hero-badge-wrap,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas,
  .hero-trust-list { justify-content: center; }

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

  .menu-toggle { display: flex; }
  .header-rustdesk-link { margin-left: 0; }
  .header-rustdesk-link::before { display: none; }

  .header-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 1.35rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  }

  .header-nav.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link {
    display: block;
    padding: 0.7rem 0.5rem;
    font-size: 1.02rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover { background: var(--color-bg-alt); }
  .nav-link::after { display: none; }

  .header-mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
  }

  .header-contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    color: var(--color-text-slate);
    font-weight: 700;
    font-size: 0.94rem;
  }

  .header-contact-link .icon { color: var(--color-primary); }
}

@media (max-width: 767px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.45rem; }
  .hero-title { font-size: 1.95rem; }
  .h1-strip h1 { font-size: 1.45rem; }

  .btn {
    white-space: normal;
    max-width: 100%;
  }

  .hero-exp-card { left: 0; }

  .services-grid,
  .plan-features-grid,
  .guarantee-grid,
  .direct-contacts-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .plan-card,
  .tier-card,
  .hourly-table-card,
  .task-rates-card,
  .guarantee-card,
  .ai-dev-card,
  .remote-box,
  .server-panel-rustdesk,
  .contact-card,
  .direct-contact-card {
    padding: 1.25rem;
  }

  .remote-grid { gap: 1.5rem; }

  .contact-dl-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px dashed var(--color-bg-subtle);
  }

  .direct-contact-value { font-size: 1.12rem; }

  .header-actions .header-phone,
  .header-actions .header-email {
    display: none;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.65rem;
  }

  .gdpr-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .gdpr-banner-actions { justify-content: flex-end; }

  /* Responzivní karty pro hodinové sazby i úkony na mobilu (< 768px) */
  .hourly-table-wrap,
  .task-table-wrap {
    border: none;
    background: transparent;
  }

  .hourly-table,
  .hourly-table thead,
  .hourly-table tbody,
  .hourly-table th,
  .hourly-table td,
  .hourly-table tr,
  .task-table,
  .task-table thead,
  .task-table tbody,
  .task-table th,
  .task-table td,
  .task-table tr {
    display: block;
  }

  .hourly-table thead,
  .task-table thead {
    position: absolute;
    top: -9999px;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }

  .hourly-table tbody tr,
  .task-table tbody tr {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem;
    margin-bottom: 0.85rem;
  }

  .hourly-table td,
  .task-table td {
    padding: 0.3rem 0;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
  }

  .hourly-cat-td {
    border-bottom: 1px solid var(--color-border) !important;
    padding-bottom: 0.65rem !important;
    margin-bottom: 0.45rem;
  }

  .hourly-rate-td,
  .hourly-merged-td,
  .hourly-table td.col-contract-td,
  .task-price-td {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem 0.75rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
    border-top: 1px dashed var(--color-border) !important;
    white-space: normal;
  }

  .hourly-rate-td:first-of-type,
  .hourly-merged-td { border-top: none !important; }

  .hourly-table td.col-contract-td {
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary-border) !important;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.65rem;
    margin-top: 0.45rem;
  }

  .hourly-rate-td::before,
  .hourly-merged-td::before,
  .hourly-table td.col-contract-td::before,
  .task-price-td::before {
    content: attr(data-label);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
  }

  .hourly-table td.col-contract-td::before {
    color: var(--color-primary-dark);
    font-weight: 700;
  }

  .task-name-td { font-size: 1rem; margin-bottom: 0.2rem; }
  .task-scope-td { font-size: 0.86rem; margin-bottom: 0.45rem; }
}
