/* Vlastní hosting fontů — bez volání na Google, o dva round-tripy méně před vykreslením. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/syne-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   dominikgaud.cz — sdílený styl podstránek
   Design systém převzatý 1:1 z index.html (barvy, fonty, komponenty).
   index.html si ponechává vlastní inline CSS a tento soubor nepoužívá.
   ============================================================ */

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

:root {
  --off-white: #F2F1EF;
  --black: #0D0D0D;
  --mid: #6B6B6B;
  --border: rgba(255,255,255,0.15);
  --border-dark: #E0DFDD;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--black);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* pevné černé pozadí — stejná hlavička na všech stránkách */
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: auto;
  display: block;
}

.header-logo img { height: 22px; width: auto; display: block; }

/* Desktop nav */
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

nav a:hover { color: #fff; }

nav a.active {
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
}

/* Dropdown Služby */
.nav-drop { position: relative; }

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: color 200ms ease;
}

.nav-drop-toggle:hover,
.nav-drop:hover .nav-drop-toggle { color: #fff; }

.nav-drop-toggle::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
}

.nav-drop:hover .nav-drop-toggle::after { transform: translateY(1px) rotate(-135deg); }

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  text-transform: none;
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--black);
}

.nav-drop-menu a:hover { background: var(--off-white); }

/* Hamburger */
.nav-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 250ms ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5,5,5,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms ease, visibility 250ms ease;
  overflow-y: auto;
  padding: 90px 20px 40px;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav > a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: color 200ms ease;
}

.mobile-nav > a:hover { color: #fff; }

.mobile-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 0 10px;
}

.mobile-sub a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.mobile-sub a:hover { color: #fff; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--black);
  padding: 150px 40px 90px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.breadcrumb span { margin: 0 6px; opacity: 0.4; }

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 22px;
  /* pojistka: žádné dlouhé slovo nesmí rozbít layout do stran */
  overflow-wrap: break-word;
}

.page-hero-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
}

/* odkaz v úvodním odstavci — bez tohoto pravidla by spadl na výchozí modrou prohlížeče */
.page-hero-lead a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 180ms ease;
}

.page-hero-lead a:hover { opacity: 0.72; }

/* ── SECTIONS ── */
.section {
  background: var(--off-white);
  padding: 90px 40px;
  border-top: 1px solid var(--border-dark);
}

.section:first-of-type { border-top: none; }

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-inner.wide { max-width: 1200px; }

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 32px;
}

/* ── PROSE ── */
.prose h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 48px 0 18px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}

.prose p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 18px;
}

.prose strong { color: var(--black); font-weight: 600; }

.prose a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover { opacity: 0.65; }

.prose ul, .prose ol {
  margin: 0 0 22px 0;
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 11px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
}

.prose ol { counter-reset: step; }

.prose ol li {
  position: relative;
  padding-left: 42px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 20px;
  counter-increment: step;
}

.prose ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--black);
}

.prose ol li strong { display: block; color: var(--black); margin-bottom: 3px; }

/* Zvýrazněný blok (konkurenční výhoda) */
.callout {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--black);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}

.callout p { margin-bottom: 0; }

.callout p + p { margin-top: 12px; }

/* Placeholder pro doplnění */
.todo {
  background: #FFF4D6;
  border: 1px dashed #C9A227;
  color: #6B5310;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.85em;
  font-weight: 500;
}

/* ── CARD GRID (služby, reference, blog) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 30px 28px;
  text-decoration: none;
  color: var(--black);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.09);
}

.card-eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}

.card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 18px;
  flex: 1;
}

.card-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 3px;
  align-self: flex-start;
}

.card-media {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #E8E6E3;
  aspect-ratio: 16 / 10;
}

/* ── BLOG — filtr kategorií ── */
.blog-filter {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.blog-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.blog-filter-toggle:hover { border-color: var(--black); }

.blog-filter.open .blog-filter-toggle {
  border-color: var(--black);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.blog-filter-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
  flex-shrink: 0;
}

.blog-filter-bars span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
  transition: transform 220ms ease, opacity 220ms ease, width 220ms ease;
}

.blog-filter-bars span:nth-child(1) { width: 16px; }
.blog-filter-bars span:nth-child(2) { width: 11px; }
.blog-filter-bars span:nth-child(3) { width: 16px; }

.blog-filter.open .blog-filter-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); width: 16px; }
.blog-filter.open .blog-filter-bars span:nth-child(2) { opacity: 0; }
.blog-filter.open .blog-filter-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 16px; }

.blog-filter-current {
  color: var(--mid);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.blog-filter-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.blog-filter.open .blog-filter-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.blog-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.blog-filter-option:hover { background: var(--off-white); }

.blog-filter-option.is-active { background: var(--black); color: #fff; }

.blog-filter-option.is-active .blog-filter-count { color: rgba(255,255,255,0.55); }

.blog-filter-count { font-size: 0.72rem; color: var(--mid); }

.card.is-hidden { display: none; }

@media (max-width: 640px) {
  .blog-filter-menu { grid-template-columns: 1fr; min-width: 260px; }
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── PRICE CARDS (ceník) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--black);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--black);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.price-desc {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 42px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 4px;
}

.price-amount .from { font-size: 0.85rem; color: var(--mid); white-space: nowrap; }

.price-amount .value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  /* menší váha než dřív — hodnota (benefit) nese sdělení, cena ji jen doplňuje */
  font-size: clamp(1.3rem, 1.85vw, 1.7rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* ── Přerámování ceníku: proč jsou ceny nižší ── */
.cenik-why {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--black);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
  max-width: 780px;
}

.cenik-why h2,
.cenik-why h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cenik-why p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
}

.cenik-why p + p { margin-top: 10px; }

/* ── Vstupní bod bez rizika: audit zdarma ── */
.cenik-audit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--black);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
}

.cenik-audit-text { max-width: 620px; }

.cenik-audit-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.cenik-audit h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cenik-audit p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.cenik-audit-cta {
  flex-shrink: 0;
  background: #fff;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cenik-audit-cta:hover { transform: translateY(-2px); opacity: 0.9; }

/* garance u konkrétního balíčku — nad tlačítkem, aby ji klient viděl před rozhodnutím */
.price-guarantee {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--mid);
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
  margin-bottom: 20px;
}

.price-guarantee strong { color: var(--black); font-weight: 600; }

/* omezená kapacita — bez čísla, aby to zůstalo pravdivé */
.cenik-capacity {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mid);
  border-left: 3px solid var(--black);
  padding-left: 18px;
  margin-bottom: 40px;
  max-width: 780px;
}

/* benefit nad cenou — hodnota má větší váhu než částka */
.price-benefit {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-dark);
  min-height: 44px;
}

/* ── Co dostanete vždy ── */
.always-included {
  margin-top: 56px;
  padding: 36px 32px;
  background: var(--black);
  color: var(--off-white);
  border-radius: 16px;
}

.always-included h2,
.always-included h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.always-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.always-grid li { display: flex; flex-direction: column; gap: 6px; }

.always-grid .always-title {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.always-grid svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.always-grid .always-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(242,241,239,0.62);
  padding-left: 24px;
}

/* ── ROI blok: kolik stojí web, který nevydělává ── */
.roi-block {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 36px 32px;
  margin-top: 48px;
}

.roi-block h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.roi-block p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 68ch;
}

.roi-block p + p { margin-top: 12px; }

.roi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* vlastní tlačítka — .btn-primary je bílé pro tmavou sekci, na světlém bloku by zaniklo */
.roi-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.roi-actions .roi-btn-primary {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
}

.roi-actions .roi-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.roi-actions .roi-btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border-dark);
}

.roi-actions .roi-btn-secondary:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.price-period { font-size: 0.85rem; color: var(--mid); white-space: nowrap; }

.price-note {
  font-size: 0.72rem;
  color: var(--mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.price-features svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease, background 200ms ease, color 200ms ease;
}

.price-card:not(.featured) .price-cta {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.price-card:not(.featured) .price-cta:hover { background: var(--black); color: #fff; }

.price-card.featured .price-cta {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
}

.price-card.featured .price-cta:hover { transform: translateY(-2px); opacity: 0.9; }

.monthly-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ── FAQ ── */
.faq-list { border-top: 1px solid var(--border-dark); }

.faq-item { border-bottom: 1px solid var(--border-dark); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 200ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--mid); }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 250ms ease;
}

.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq-answer {
  padding: 0 44px 24px 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mid);
}

.faq-answer a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }

/* ── CTA SECTION (tmavá) ── */
.cta-section {
  background: var(--black);
  padding: 100px 40px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.05;
}

.cta-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 36px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease, background 200ms ease, border-color 200ms ease;
}

.btn-primary {
  background: #fff;
  color: var(--black);
  border: 1px solid #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.btn-primary svg, .btn-ghost svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.cta-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
}

/* Světlé CTA uvnitř obsahu */
.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.inline-cta:hover { transform: translateY(-2px); opacity: 0.9; }

/* ── CITACE KLIENTA ── */
.quote {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 30px 32px;
  margin: 32px 0;
}

.quote-stars { color: #F5B301; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }

.quote-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 18px;
}

.quote-author { display: flex; align-items: center; gap: 12px; }

.quote-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.quote-name { font-size: 0.85rem; font-weight: 500; }
.quote-role { font-size: 0.72rem; color: var(--mid); }

/* ── FOOTER ── */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--border-dark);
  padding: 60px 40px 32px;
}

.foot-inner { max-width: 1200px; margin: 0 auto; }

.foot-cols {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.foot-brand-col .foot-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 12px;
}

.foot-brand-col p {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 260px;
}

.foot-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
}

.foot-col ul { list-style: none; }

.foot-col li { margin-bottom: 10px; }

.foot-col a {
  font-size: 0.83rem;
  color: var(--mid);
  text-decoration: none;
  transition: color 150ms ease;
}

.foot-col a:hover { color: var(--black); }

.foot-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 22px;
  text-align: center;
}

.foot-bottom p {
  font-size: 0.68rem;
  color: var(--mid);
  line-height: 1.8;
}

.foot-bottom a {
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 150ms ease;
}

.foot-bottom a:hover { color: var(--black); }


/* ── Sociální sítě v patičce ── */
.foot-social { display: flex; gap: 10px; margin-top: 18px; }

/* prvek s atributem hidden nesmí být vidět ani jako flex položka */
.foot-social [hidden] { display: none !important; }

.foot-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--mid);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.foot-social a:hover {
  color: var(--black);
  border-color: var(--black);
  background: rgba(0,0,0,0.04);
}

.foot-social svg {
  width: 17px; height: 17px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Cookie lišta ──
   Markup vkládá /cookie-consent.js, v HTML proto není.
   Sdílené pro celý web včetně úvodní stránky. */
.cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 620px;
  margin: 0 auto;
  z-index: 300;
  background: var(--black);
  color: #fff;
  padding: 22px 26px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.cookie-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  flex: 1;
}

.cookie-text strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.cookie-text a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover { color: #fff; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cookie-btn.solid {
  background: #fff;
  color: var(--black);
  border: 1px solid #fff;
}

.cookie-btn.solid:hover { opacity: 0.85; }

.cookie-btn.ghost {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
}

.cookie-btn.ghost:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

@media (max-width: 640px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 16px;
    padding: 20px;
  }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .foot-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .foot-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: flex; }

  .pricing-grid { grid-template-columns: 1fr; }
  .monthly-grid { grid-template-columns: minmax(0, 1fr); }
  .price-benefit { min-height: 0; }
  .always-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-hero { padding: 130px 24px 70px; }
  .section { padding: 70px 24px; }
  .cta-section { padding: 80px 24px; }
  footer { padding: 48px 24px 28px; }
}

@media (max-width: 640px) {
  header { padding: 0 20px; }
  .header-logo { left: 20px; height: 20px; }
  .header-logo img { height: 20px; }

  .page-hero { padding: 120px 20px 60px; }
  /* dlouhá česká slova (např. „Transparentní") přetékala při 2,1rem přes viewport —
     na malých displejích proto nadpis zmenšíme a necháme ho v krajním případě zalomit */
  .page-hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.6rem); }
  .section { padding: 56px 20px; }
  .cta-section { padding: 70px 20px; }
  footer { padding: 44px 20px 24px; }

  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .faq-item summary { font-size: 0.95rem; padding: 20px 36px 20px 0; }
  .faq-answer { padding: 0 0 22px 0; font-size: 0.87rem; }

  .price-card { padding: 32px 24px; }
  .card { padding: 26px 22px; }
  .cenik-why { padding: 24px 22px; }
  .always-included { padding: 28px 22px; }
  .always-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .roi-block { padding: 28px 22px; }
  .roi-actions a { width: 100%; justify-content: center; }
  .quote { padding: 24px 22px; }
  .callout { padding: 20px 22px; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
