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

:root {
  /* Paleta -- warm professional */
  --bg:               #f1ede4;
  --bg-alt:           #ebe5d6;
  --bg-card:          #f8f5ec;
  --bg-dark:          #16201d;

  --accent:           #2d5447;
  --accent-dark:      #234436;
  --accent-warm:      #c9b88a;

  --text:             #16201d;
  --text-muted:       #2e3835;
  --text-secondary:   #3a4744;
  --text-faint:       #5d6a66;

  --border:           #e0dccf;
  --border-strong:    #d8d1bf;

  --text-on-dark:        #f1ede4;
  --text-on-dark-muted:  rgba(241,237,228,0.75);
  --text-on-dark-faint:  rgba(241,237,228,0.5);

  /* Layout */
  --max-w:            1080px;
  --pad-x:            clamp(24px, 6vw, 80px);
  --pad-section:      clamp(72px, 10vw, 120px);
}

html { scroll-behavior: smooth; }

section[id],
[id^="assess"],
[id^="web-"],
#governance,
.governance-box[id] {
  scroll-margin-top: 84px;
}

/* Accessible focus state - WCAG 2.4.7 */
*:focus {
  outline: none;
}
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.product-card:focus-visible,
.subservice-row:focus-visible,
.specializace-card:focus-visible {
  outline-offset: -2px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─── */
section {
  padding: var(--pad-section) 0;
}

/* ─── Typography ─── */
.label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(18px, 2vw, 24px); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--text-on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover {
  background: var(--accent-dark);
}

/* ─── Divider ─── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--border-strong);
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(241, 237, 228, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad-x);
}
.nav-brand {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-brand span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: auto;
  margin-right: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--accent);
}
.nav-link.active {
  color: var(--accent);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown > .nav-link::before {
  content: '\25BE';
  font-size: 9px;
  color: var(--text-muted);
  order: 1;
  margin-left: 4px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(22, 32, 29, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}
.nav-cta {
  padding: 12px 22px;
  background: var(--accent);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: none;
  box-shadow: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.2px;
}
.nav-cta:hover {
  background: var(--accent-dark);
  box-shadow: none;
}
.nav-cta:focus,
.nav-cta:active {
  box-shadow: none;
}

/* ════════════════════════════════════
   HERO (homepage)
════════════════════════════════════ */
#hero {
  padding-top: 60px;
  padding-bottom: var(--pad-section);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
}
.hero-left .hero-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: 'EB Garamond', serif;
  font-size: 56px;
  line-height: 1.08;
  margin-bottom: 28px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.5px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-cta-secondary {
  padding: 14px 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.hero-reassure {
  margin-top: 22px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-right {
  background: #e8e2d3;
  border-radius: 6px;
  padding: 44px 36px;
  border-left: 3px solid var(--accent);
}
.hero-quote-mark {
  font-family: 'EB Garamond', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: -12px;
}
.hero-quote {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-quote em {
  font-style: italic;
  color: var(--accent);
}
.hero-attribution {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ════════════════════════════════════
   PAGE HEADER (used on /o-mne/, /ai/, /kontakt/)
════════════════════════════════════ */
.page-header {
  padding: 80px 0 60px 0;
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg);
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.page-header h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 14px 0 20px;
  color: var(--text);
}
.page-header h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-header-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 720px;
}
.hero-definition {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 720px;
  font-weight: 500;
}

/* ════════════════════════════════════
   PAIN POINTS
════════════════════════════════════ */
#pain {
  padding: var(--pad-section) 0;
}
.pain-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
}
.pain-headline {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  margin-top: 0;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.3px;
}
.pain-headline em {
  font-style: italic;
  color: var(--accent);
}
.pain-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
/* Legacy: .pain-cards-five neutralized - new 6-card grid uses .pain-cards directly */
.pain-cards-five {
  display: contents;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pain-card:hover,
.pain-card:focus-within {
  border-color: var(--accent);
}
.pain-card-num {
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-weight: 600;
}
.pain-card-title {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.pain-card-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.pain-card-answer {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 32, 29, 0.1);
  font-weight: 500;
}
.pain-card-answer::before {
  content: '\2192';
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}

/* ════════════════════════════════════
   PROCESS
════════════════════════════════════ */
#process {
  padding: var(--pad-section) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.process-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
}
#process h2 {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  margin-top: 0;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.3px;
}
#process h2 em {
  font-style: italic;
  color: var(--accent);
}
.process-steps {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(var(--pad-x) + 6%);
  right: calc(var(--pad-x) + 6%);
  height: 1px;
  background: var(--border-strong);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step-title {
  font-family: 'EB Garamond', serif;
  font-size: 19px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}
.process-tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  text-align: center;
  margin-top: 48px;
  font-weight: 500;
}

/* ════════════════════════════════════
   SERVICES
════════════════════════════════════ */
#sluzby,
#services {
  padding: var(--pad-section) 0;
}
.services-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
}
.services-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  margin-top: 0;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.3px;
}
.services-header h2 em {
  font-style: italic;
  color: var(--accent);
}
.services-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.6;
  font-style: italic;
  font-family: 'EB Garamond', serif;
}
.services-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--border-strong);
}
.service-bullets-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 18px 0 8px;
}
.service-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-bullets li {
  font-size: 14px;
  color: var(--text);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
}
.service-bullets li::before {
  content: '\203A';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
/* ════════════════════════════════════
   IT GOVERNANCE (homepage hlavni sluzba)
════════════════════════════════════ */
.governance-box {
  max-width: var(--max-w);
  margin: 0 auto 72px;
  padding: 0 var(--pad-x);
}
.governance-inner {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: 6px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
  border-left: 4px solid var(--accent-warm);
}
.governance-box .label {
  color: var(--accent-warm);
}
.governance-name {
  font-family: 'EB Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--text-on-dark);
  margin: 4px 0 6px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.governance-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--accent-warm);
  margin-bottom: 24px;
  line-height: 1.35;
}
.governance-desc {
  font-size: 15px;
  color: var(--text-on-dark-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}
.governance-box .service-bullets-label {
  color: var(--accent-warm);
  margin-top: 8px;
}
.governance-box .service-bullets li {
  color: var(--text-on-dark-muted);
}
.governance-box .service-bullets li::before {
  color: var(--accent-warm);
}
.governance-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  border-left: 1px solid rgba(241, 237, 228, 0.15);
  padding-left: 40px;
}
.governance-price-block {
  display: flex;
  flex-direction: column;
}
.governance-price {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  color: var(--accent-warm);
  font-weight: 500;
  line-height: 1.1;
}
.governance-format {
  font-size: 12px;
  color: var(--text-on-dark-faint);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}
.governance-price-note {
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  margin-top: 20px;
}
.governance-right .btn {
  background: var(--accent-warm);
  color: var(--bg-dark);
}
.governance-right .btn:hover {
  background: #d8c89a;
}

/* Subservices header */
.subservices-header {
  max-width: var(--max-w);
  margin: 0 auto 40px;
  padding: 0 var(--pad-x);
}
.subservices-header h3 {
  font-family: 'EB Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
  margin: 10px 0 12px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.subservices-header h3 em {
  font-style: italic;
  color: var(--accent);
}
.subservices-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.55;
}

/* Subservices rows with hover dark-gold effect */
.subservices-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--border-strong);
}
.subservice-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px;
  gap: 32px;
  padding: 32px 28px;
  border-bottom: 1px solid var(--border-strong);
  align-items: start;
  background: transparent;
  border-left: 3px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-left-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.subservice-row:hover {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-left-color: var(--accent-warm);
  transform: translateX(4px);
}
.subservice-row-num {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-num {
  color: var(--accent-warm);
}
.subservice-row-name {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-name {
  color: var(--text-on-dark);
}
.subservice-row-tagline {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-tagline {
  color: var(--accent-warm);
}
.subservice-row-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-desc {
  color: var(--text-on-dark-muted);
}
.subservice-row-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.subservice-row-bullets li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.55;
  transition: color 0.3s ease;
}
.subservice-row-bullets li::before {
  content: '\203A';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-bullets li {
  color: var(--text-on-dark-muted);
}
.subservice-row:hover .subservice-row-bullets li::before {
  color: var(--accent-warm);
}
.subservice-row-price {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.subservice-row-price-amount {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-price-amount {
  color: var(--accent-warm);
}
.subservice-row-price-unit {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
  transition: color 0.3s ease;
}
.subservice-row:hover .subservice-row-price-unit {
  color: var(--text-on-dark-faint);
}

/* Subservices CTA */
.subservices-cta {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  text-align: center;
}
.subservices-cta-note {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 18px;
  line-height: 1.5;
}

/* Process sub */
.process-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 720px;
  margin-top: 16px;
  line-height: 1.6;
  font-style: italic;
  font-family: 'EB Garamond', serif;
}
.process-steps-five {
  grid-template-columns: repeat(5, 1fr);
}
.process-steps-five::before {
  left: calc(var(--pad-x) + 4%);
  right: calc(var(--pad-x) + 4%);
}

/* ════════════════════════════════════
   DIFFERENTIATOR (homepage)
════════════════════════════════════ */
#diff {
  padding: var(--pad-section) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
#diff .label {
  color: var(--accent-warm);
}
.diff-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.diff-left h2 {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 32px;
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.3px;
}
.diff-left h2 em {
  font-style: italic;
  color: var(--accent-warm);
}
.diff-negations {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}
.diff-neg-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(241, 237, 228, 0.12);
  font-size: 15px;
  color: var(--text-on-dark-muted);
  position: relative;
  padding-left: 28px;
}
.diff-neg-item::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-size: 12px;
  top: 17px;
}
.diff-positive {
  margin-top: 32px;
  font-size: 16px;
  color: var(--text-on-dark);
  line-height: 1.65;
}
.diff-positive strong {
  color: var(--accent-warm);
  font-weight: 600;
}
.diff-quote-box {
  background: rgba(241, 237, 228, 0.04);
  border-left: 3px solid var(--accent-warm);
  padding: 48px 40px;
  border-radius: 4px;
}
.diff-quote {
  font-family: 'EB Garamond', serif;
  font-size: 30px;
  line-height: 1.3;
  color: var(--text-on-dark);
  margin: 0 0 28px 0;
  font-weight: 500;
}
.diff-quote em {
  font-style: italic;
  color: var(--accent-warm);
}
.diff-attribution {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  font-weight: 500;
}

/* ════════════════════════════════════
   PRODUKTOVÉ SLUŽBY (homepage 4 karty)
════════════════════════════════════ */
.products-section {
  padding: var(--pad-section) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.products-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.products-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 500;
  margin: 14px auto 16px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.products-header h2 em {
  font-style: italic;
  color: var(--accent);
}
.products-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.products-row-label {
  max-width: var(--max-w);
  margin: 48px auto 20px;
  padding: 0 var(--pad-x);
}
.products-row-label .label {
  margin-bottom: 8px;
}
.products-row-label h3 {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}
.products-row-label:first-of-type {
  margin-top: 0;
}
.products-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.products-grid-two {
  grid-template-columns: 1fr 1fr;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 32, 29, 0.08);
  border-color: var(--accent);
}
.product-card-featured {
  border: 1.5px solid var(--accent);
  background: var(--bg-card);
  position: relative;
}
.product-card-featured::after {
  content: 'Doporučuji';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: var(--text-on-dark);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
}
.product-card-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.product-card-name {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.2;
}
.product-card-subtitle {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}
.product-card-price {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.1;
}
.product-card-format {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.product-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.product-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.product-card-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
  min-height: 44px;
}
.product-card:hover .product-card-btn-primary {
  background: var(--accent-dark);
}
.product-card-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 44px;
}
.product-card-btn-secondary:hover {
  background: var(--accent);
  color: var(--text-on-dark);
}

/* ════════════════════════════════════
   SPECIALIZACE (homepage section)
════════════════════════════════════ */
.specializace-section {
  padding: var(--pad-section) 0;
  background: var(--bg);
}
.specializace-header {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.specializace-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 500;
  margin: 14px auto 16px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.specializace-header h2 em {
  font-style: italic;
  color: var(--accent);
}
.specializace-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.specializace-grid {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.specializace-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 32px 36px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.specializace-card:hover {
  transform: translateX(2px);
  box-shadow: 0 6px 16px rgba(22, 32, 29, 0.06);
}
.specializace-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.specializace-name {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.2;
}
.specializace-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.specializace-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.specializace-card:hover .specializace-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════════════════════════════════
   AI PAGE (standalone /ai/)
════════════════════════════════════ */
.ai-page-section {
  padding: var(--pad-section) 0;
}
.ai-page-section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.ai-page-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.ai-page-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 500;
  margin: 14px 0 16px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.ai-page-header h2 em {
  font-style: italic;
  color: var(--accent);
}
.ai-page-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.usecase-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
}
.usecase-num {
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-weight: 600;
}
.usecase-name {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.2;
}
.usecase-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.ai-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.ai-card-featured {
  border: 1.5px solid var(--accent);
}
.ai-card-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.ai-card-name {
  font-family: 'EB Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.15;
}
.ai-card-subtitle {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}
.ai-card-price {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.1;
}
.ai-card-format {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.ai-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ai-card-deliverable-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 16px 0 6px;
}
.ai-card-deliverable {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.ai-card-cta {
  align-self: flex-start;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.faq-item {
  border-bottom: 1px solid var(--border-strong);
  padding: 24px 0;
}
.faq-question,
.faq-item details > summary {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}
.faq-item details > summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item details > summary::-webkit-details-marker {
  display: none;
}
.faq-item details > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
}
.faq-item details[open] > summary::after {
  content: "-";
}
.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.faq-answer p {
  margin-bottom: 10px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ════════════════════════════════════
   CONTACT (homepage section + kontakt page)
════════════════════════════════════ */
#kontakt-cta,
#contact {
  padding: var(--pad-section) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-strong);
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.contact-headline {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  margin: 18px 0;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.3px;
}
.contact-headline em {
  font-style: italic;
  color: var(--accent);
}
.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}
.contact-cta-wrap {
  margin-bottom: 48px;
}
.contact-details {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border-strong);
  margin-top: 12px;
  flex-wrap: wrap;
}
.contact-item-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-item-value {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.contact-item-value:hover,
.contact-item-value:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent-dark);
}
.contact-note {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Kontakt page Calendly embed */
.calendly-inline {
  max-width: 1080px;
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
}
.calendly-inline-widget {
  min-width: 320px;
  height: 720px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
}
.kontakt-details {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}
.kontakt-details > div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
}

/* ════════════════════════════════════
   O MNĚ page (Bio + Reference)
════════════════════════════════════ */
#o-mne {
  padding: var(--pad-section) 0;
}
.bio-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.bio-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  background: var(--accent-warm);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bio-monogram {
  font-family: 'EB Garamond', serif;
  font-size: 96px;
  font-weight: 500;
  color: var(--bg-dark);
  line-height: 1;
}
.bio-photo-name {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  margin-top: 12px;
}
.bio-headline {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 500;
  margin: 14px 0 28px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.bio-headline em {
  font-style: italic;
  color: var(--accent);
}
.bio-lead {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}
.bio-para {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}
.bio-pullquote {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  line-height: 1.4;
  color: var(--accent);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}
.bio-pullquote em {
  font-style: italic;
}

/* ════════════════════════════════════
   REFERENCES (used on /o-mne/)
════════════════════════════════════ */
#references {
  padding: var(--pad-section) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.ref-header {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
}
.ref-header h2 {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  margin: 14px 0 16px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.ref-header h2 em {
  font-style: italic;
  color: var(--accent);
}
.ref-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}
.ref-list {
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.ref-item {
  padding: 24px 0 0 0;
  border-top: 1px solid var(--border-strong);
}
.ref-item-role {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.ref-item-name {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--text);
}
.ref-item-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.ref-cases {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ref-cases-three {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.ref-cases-three .ref-case {
  padding: 32px 28px;
}
.ref-cases-three .ref-case h3 {
  font-size: 22px;
}
.ref-case {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 32px;
  border-radius: 6px;
}
.ref-case-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.ref-case h3 {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 10px 0 20px;
  line-height: 1.2;
  color: var(--text);
}
.ref-case-meta {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.ref-meta-k {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.ref-meta-v {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--text);
}
.ref-case-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.ref-case-body p {
  margin-bottom: 12px;
}
.ref-case-body p:last-child {
  margin-bottom: 0;
}
.ref-case-body strong {
  color: var(--text);
  font-weight: 600;
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--pad-x);
  border-top: 1px solid var(--border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}
.footer-brand span {
  color: var(--accent);
}
.footer-meta {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-trust {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.3px;
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }
  .hero-headline {
    font-size: 44px;
  }
  .pain-cards {
    grid-template-columns: 1fr 1fr;
  }
  .step-title {
    white-space: normal;
  }
  .subservice-row {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "num content"
      ". price";
    gap: 20px;
  }
  .subservice-row-num {
    grid-area: num;
    font-size: 24px;
  }
  .subservice-row-content {
    grid-area: content;
  }
  .subservice-row-price {
    grid-area: price;
    text-align: left;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .process-steps-five {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .process-steps::before {
    display: none;
  }
  .diff-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pain-headline,
  #process h2,
  .services-header h2,
  .diff-left h2,
  .ai-page-header h2,
  .ref-header h2,
  .contact-headline {
    font-size: 36px;
  }
  .bio-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bio-photo {
    max-width: 240px;
    margin: 0 auto;
  }
  .bio-headline {
    font-size: 36px;
  }
  .ai-cards,
  .usecase-grid {
    grid-template-columns: 1fr;
  }
  .products-grid,
  .products-grid-two {
    grid-template-columns: 1fr 1fr;
  }
  .ref-cases,
  .ref-cases-three {
    grid-template-columns: 1fr;
  }
  .products-header h2 {
    font-size: 36px;
  }
  .kontakt-details {
    grid-template-columns: 1fr;
  }
  .governance-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }
  .governance-right {
    border-left: none;
    border-top: 1px solid rgba(241, 237, 228, 0.15);
    padding-left: 0;
    padding-top: 24px;
  }
  .governance-name {
    font-size: 32px;
  }
}

/* ════════════════════════════════════
   MOBILE NAV (hamburger, CSS-only checkbox toggle)
════════════════════════════════════ */
.nav-toggle {
  display: none;
}
.nav-burger {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  margin-left: 12px;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}
.nav-burger span {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.nav-burger span::before {
  content: '';
  top: -8px;
  left: 0;
}
.nav-burger span::after {
  content: '';
  top: 8px;
  left: 0;
}
.nav-toggle:checked ~ .nav-burger span {
  background: transparent;
}
.nav-toggle:checked ~ .nav-burger span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle:checked ~ .nav-burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links {
    display: flex;
    gap: 18px;
    margin-right: 18px;
  }
  .nav-link {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .nav-burger {
    display: block;
  }
  nav {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 16px calc(-1 * var(--pad-x)) 0;
    margin-right: 0;
    padding: 12px 0 8px 0;
    border-top: 1px solid var(--border);
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
  .nav-link {
    padding: 12px var(--pad-x);
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-link.active {
    color: var(--accent);
    font-weight: 600;
  }
  .nav-dropdown {
    position: static;
  }
  .nav-dropdown > .nav-link::before {
    display: none;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-alt);
    margin: 0 calc(-1 * var(--pad-x));
    margin-top: 0;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-radius: 0;
  }
  .nav-dropdown-menu a {
    padding: 12px var(--pad-x) 12px calc(var(--pad-x) + 16px);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  :root {
    --pad-section: 60px;
  }
  .hero-headline {
    font-size: 36px;
  }
  .hero-quote {
    font-size: 22px;
  }
  .pain-cards {
    grid-template-columns: 1fr;
  }
  .process-steps,
  .process-steps-five {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pain-headline,
  #process h2,
  .services-header h2,
  .diff-left h2,
  .ai-page-header h2,
  .ref-header h2,
  .bio-headline,
  .contact-headline {
    font-size: 30px;
  }
  .diff-quote {
    font-size: 24px;
  }
  .contact-details {
    gap: 32px;
  }
  nav {
    padding: 16px var(--pad-x);
  }
  .bio-photo {
    max-width: 200px;
  }
  .bio-monogram {
    font-size: 72px;
  }
  .ref-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ref-case-meta {
    flex-direction: column;
    gap: 14px;
  }
  .ai-card-name {
    font-size: 26px;
  }
  .ai-card-price {
    font-size: 28px;
  }
  .products-grid,
  .products-grid-two {
    grid-template-columns: 1fr;
  }
  .specializace-card {
    padding: 24px 24px;
  }
  .page-header {
    padding: 56px 0 40px 0;
  }
  .page-header h1 {
    font-size: 36px;
  }
  .calendly-inline-widget {
    height: 600px;
  }
}

/* ════════════════════════════════════
   FAQ details/summary (native disclosure)
════════════════════════════════════ */
.faq-item details {
  width: 100%;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 48px 14px 0;
  position: relative;
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item details[open] summary::after {
  content: '\2212';
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.faq-item details[open] summary {
  margin-bottom: 8px;
}
.faq-item details .faq-answer {
  padding-bottom: 6px;
}

/* ════════════════════════════════════
   Touch device defaults (telefon, tablet bez myši)
   Disable text selection na navigaci/nadpisech/CTAs
   Zachovat selection na body textech, cenách, kontaktech (uživatel může chtít zkopírovat)
════════════════════════════════════ */
@media (hover: none) {
  /* Zakázat text selection + Android long-press search popup na non-text elementech */
  nav, .nav, .nav-link, .nav-cta, .nav-dropdown-menu a,
  h1, h2, h3, h4, h5, h6,
  .btn, .btn-primary, .btn-secondary, button,
  .pain-card-title, .pain-card-num, .pain-card-answer,
  .service-name, .subservice-row-name, .subservice-row-num, .subservice-row-tagline,
  .product-card-name, .product-card-tag, .product-card-subtitle,
  .ai-card-name, .ai-card-subtitle,
  .specializace-card, .specializace-link,
  .step-num, .step-title,
  .faq-item summary,
  .label, .hero-attribution,
  .footer-brand, .footer-meta, .footer-trust,
  .page-header .label {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* Body text, ceny, kontakty - selection ZACHOVAT (kopírovatelné) */
  p, .pain-card-body, .service-desc, .subservice-row-desc, .product-card-desc, .ai-card-desc,
  .product-card-price, .subservice-row-price-amount, .service-price,
  .contact-item-value, .ref-case-body, .faq-answer,
  .hero-quote, .diff-quote, .bio-pullquote {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
  }

  /* Product cards */
  .product-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
  }
  .product-card:hover .product-card-btn-primary {
    background: var(--accent);
  }
  .product-card-btn-secondary:hover {
    background: transparent;
    color: var(--accent);
  }

  /* Subservice rows (dílčí služby pod IT governance) */
  .subservice-row:hover {
    background: var(--bg);
    border-color: var(--border);
  }
  .subservice-row:hover .subservice-row-num,
  .subservice-row:hover .subservice-row-name,
  .subservice-row:hover .subservice-row-tagline,
  .subservice-row:hover .subservice-row-desc,
  .subservice-row:hover .subservice-row-price-amount,
  .subservice-row:hover .subservice-row-price-unit {
    color: inherit;
  }
  .subservice-row:hover .subservice-row-bullets li {
    color: inherit;
  }
  .subservice-row:hover .subservice-row-bullets li::before {
    color: var(--accent);
  }

  /* Specializace karty */
  .specializace-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
  }
  .specializace-card:hover .specializace-link {
    color: var(--accent);
  }

  /* Pain karty - border accent reset */
  .pain-card:hover,
  .pain-card:focus-within {
    border-color: var(--border);
  }

  /* Nav dropdown - na mobilu se otevírá CSS-only s tap, ne hover */
  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }
}

/* ════════════════════════════════════
   Reduced motion (WCAG 2.3.3)
════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
