:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --bg-dark-alt: #0a0a0c;
  --text: #1d1d1f;
  --text-soft: #86868b;
  --text-on-dark: #f5f5f7;
  --text-on-dark-soft: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --border-dark: #2b2b2d;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section { padding: 120px 24px; }
.wrap { max-width: var(--max-w); margin: 0 auto; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: var(--border); color: var(--text); }
.btn-ghost-dark:hover { border-color: var(--text); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 52px;
  display: flex; align-items: center;
  background: rgba(0,0,0,.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease;
}
.nav .wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,.85); transition: color .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  font-size: 13px; padding: 7px 16px; border-radius: 980px;
  background: var(--accent); color: #fff; transition: background .2s ease;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 1.5px; background: #fff;
  position: relative; transition: .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,113,227,.25), transparent 70%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  color: var(--text-on-dark);
  padding-top: 52px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0,113,227,.12), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.05), transparent 35%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 840px; padding: 0 24px; }
.hero-word {
  font-size: clamp(40px, 7vw, 84px); font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #b9c2cc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(0,113,227,.25); margin-bottom: 20px;
}
.hero-tagline { font-size: clamp(20px, 3vw, 28px); font-weight: 500; color: var(--text-on-dark); margin-bottom: 14px; letter-spacing: -0.01em; }
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--text-on-dark-soft); max-width: 560px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Section headers */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--text-soft); line-height: 1.5; }

/* Services */
.services { background: var(--bg-alt); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff; border-radius: 22px; padding: 36px 30px;
  transition: transform .25s ease, box-shadow .25s ease; border: 1px solid rgba(0,0,0,.04);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #6bb6ff); margin-bottom: 22px;
}
.service-icon svg { width: 22px; height: 22px; stroke: #fff; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { font-size: 15px; line-height: 1.55; color: var(--text-soft); }

/* Process */
.process { background: var(--bg); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { text-align: left; }
.process-num { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 12px; display: block; }
.process-step h3 { font-size: 22px; margin-bottom: 10px; }
.process-step p { font-size: 15.5px; line-height: 1.6; color: var(--text-soft); }

/* Booking */
.booking {
  background: linear-gradient(180deg, var(--bg-dark-alt) 0%, var(--bg-dark) 100%);
  color: var(--text-on-dark); text-align: center; position: relative; overflow: hidden;
}
.booking::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0,113,227,.25), transparent 70%); pointer-events: none;
}
.booking .wrap { position: relative; max-width: 680px; }
.booking h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 18px; }
.booking p { font-size: 18px; color: var(--text-on-dark-soft); line-height: 1.6; margin-bottom: 40px; }
.booking-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; padding: 40px 32px; backdrop-filter: blur(10px);
}
.booking-card p.small { font-size: 14px; color: var(--text-on-dark-soft); margin-top: 18px; margin-bottom: 0; }

/* Contact & Footer */
.contact { background: var(--bg-alt); text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.contact p { font-size: 17px; color: var(--text-soft); margin-bottom: 28px; }
.contact-email { font-size: clamp(20px, 3vw, 28px); font-weight: 500; color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.contact-email:hover { border-color: var(--accent); }

/* Footer styly viz konsolidovaný blok "SITE FOOTER" na konci souboru */
/* =====================================================================
   CORTEY AGENCY — CLEAN WHITE CONTACT & FOOTER (Matches top sections)
   ===================================================================== */

/* Kontatní sekce — Čisté bílé pozadí */
.contact {
  background:#f5f5f7 !important;
  color: #1d1d1f;
  padding: 80px 0;
  text-align: center;
}

.contact .section-head h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #1d1d1f;
}

.contact .section-head p {
  color: #86868b;
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* Elegantní bílá karta formuláře se stínem jako mají služby nahoře */
.contact-form {
  max-width: 500px;
  margin: 40px auto 0;
  background: #ffffff;
  padding: 36px;
  border-radius: 18px;
  border: 1px solid #e5e5e7;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

/* Světlá textová pole */
.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 16px;
  background: #ffffff;
  color: #1d1d1f;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
  color: #b8b8bc;
}

/* Aktivní pole chytí tvou jasně modrou barvu */
.form-control:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

/* Tlačítko přesně v barvě tvého hlavního CTA */
.contact-form .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  background: #0071e3;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form .btn-primary:hover {
  background: #0077ed;
}
/* Styly pro plynulé potvrzení odeslání */
.form-body {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
}

/* Skrytý stav potvrzení */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Když formulář odešleme, aktivujeme tyto třídy přes JS */
.form-body.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.form-success.fade-in {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Design potvrzovacího boxu (Prémiový Apple styl) */
.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(52, 199, 89, 0.1); /* Jemný zelený kruh */
  color: #34c759; /* Apple zelená */
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.form-success p {
  color: #86868b;
  font-size: 15px;
  line-height: 1.5;
}

/* Footer styly viz konsolidovaný blok "SITE FOOTER" na konci souboru */

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  section { padding: 80px 20px; }
  .nav-links {
    position: fixed; top: 52px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(0,0,0,.96); backdrop-filter: blur(20px);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 16px 24px; width: 100%; font-size: 16px; }
  .nav-links .nav-cta { margin: 12px 24px; }
  .nav-toggle { display: block; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* =====================================================================
   COLLABORATIONS — reference marquee (kartičky jedoucí zprava doleva)
   -------------------------------------------------------------------
   Vzhled karet je řízený přes .client-card / .client-card img,h4,p níže.
   Šířka karty je pevná (--card-w), díky tomu je pás vždy stejně
   spolehlivý i po přidání dalších karet.
   ===================================================================== */
 
:root{
  --card-w: 220px;
}
 
.collaborations {
  background: #ffffff;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}
 
.collaborations .section-head {
  margin-bottom: 48px;
}
 
.collaborations .section-head h2 {
  color: #1d1d1f;
}
 
.logo-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
 
.client-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: logo-scroll 32s linear infinite;
}
 
/* Track obsahuje karty 2x za sebou → posun o přesně polovinu jeho šířky
   (-50%) znamená, že na konci animace vypadá úplně stejně jako na
   začátku, takže se to nikde "nezjeví odnikud" ani netrhne.
   DŮLEŽITÉ: na .client-track nesmí být žádný padding/margin navíc (např.
   padding-right) — i pár pixelů navíc rozbije přesný střed -50% a pás
   se na konci smyčky viditelně zasekne/trhne. Mezery mezi kartami řeší
   výhradně "gap" výše. Obě řady karet v HTML musí být vždy identické
   (stejný počet, stejné pořadí). */
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
 
.logo-marquee:hover .client-track {
  animation-play-state: paused;
}
 
.client-card {
  flex: none;
  width: var(--card-w);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #ffffff;
  border: 2px solid #e5e5e7;
  border-radius: 18px;
  padding: 28px 20px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
 
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
  border-color: #d2d2d7;
}
 
/* Logo firmy — větší, nahoře v kartě */
.client-card img {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
 
.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
 
/* Název firmy */
.client-card h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
 
/* Malý popisek služby */
.client-card p {
  font-size: 13px;
  color: #86868b;
  line-height: 1.4;
}
 
/* Volitelný štítek "Freshly Signed" — přidej třídu "is-new" na
   .client-card a vlož <span class="client-badge">Freshly Signed</span>
   jako první prvek uvnitř karty (viz komentář v index.html). */
.client-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 8px;
  font-weight: 730;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1d1d1f;
  background: #f0f0f2;
  border: 1px solid #d2d2d7;
  border-radius: 980px;
  padding: 4px 10px;
  white-space: nowrap;
}
 
@media (max-width: 680px) {
  :root{ --card-w: 180px; }
  .collaborations { padding-top: 64px; padding-bottom: 64px; }
  .client-track { gap: 16px; }
  .client-card { padding: 22px 16px 18px; }
  .client-card img { height: 44px; margin-bottom: 12px; }
  .client-card h4 { font-size: 15px; }
  .client-card p { font-size: 12.5px; }
  .client-badge { font-size: 9px; padding: 3px 8px; top: 8px; right: 8px; }
}
 
@media (prefers-reduced-motion: reduce) {
  .client-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}

/* =====================================================================
   SEO ADDITIONS — kicker nad H1 v hero sekci
   ===================================================================== */

.seo-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  opacity: 0.7;
  margin-bottom: 18px;
}

@media (max-width: 680px) {
  .seo-kicker {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
}

/* =====================================================================
   INSIGHTS PAGE — insights.html
   -------------------------------------------------------------------
   Samostatná, tichá "Apple Newsroom / Stripe Journal" soft-light
   paleta, oddělená od tmavého hero designu hlavní stránky. Tyto
   proměnné platí jen v rámci .insights-page, takže nijak neovlivní
   zbytek webu (index.html).
   ===================================================================== */

.insights-page {
  --insights-bg: #f5f5f7;
  --insights-text: #1d1d1f;
  --insights-text-soft: #6e6e73;
  --insights-card-bg: #ffffff;
  --insights-border: #e5e5e7;
  background: var(--insights-bg);
  color: var(--insights-text);
}

/* --- Nav: tichá, žádné tmavé pozadí, jen jemný spodní rámeček --- */
.insights-nav {
  background: rgba(245,245,247,.85);
  border-bottom: 1px solid var(--insights-border);
}
.insights-nav .nav-logo { color: var(--insights-text); }
.back-to-site-link {
  font-size: 13px;
  color: var(--insights-text-soft);
  transition: color .2s ease;
}
.back-to-site-link:hover { color: var(--insights-text); }

/* --- Hero: centrovaný nadpis, velkorysý prostor pod ním --- */
.insights-hero {
  padding: 172px 24px 96px;
  text-align: center;
}
.insights-h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--insights-text);
}
.insights-sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--insights-text-soft);
}

/* --- Grid --- */
.insights-section {
  padding-bottom: 140px;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Card: čistě bílá, jemný stín a hairline border, jak zadáno --- */
.insight-card {
  position: relative;
  background: var(--insights-card-bg);
  border: 1px solid var(--insights-border);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.insight-summary {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.insight-card time {
  font-size: 13px;
  color: var(--insights-text-soft);
}

.insight-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--insights-text);
  background: var(--insights-bg);
  border: 1px solid var(--insights-border);
  border-radius: 980px;
  padding: 4px 12px;
}

.insight-card h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-top: 4px;
  color: var(--insights-text);
}

.insight-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--insights-text-soft);
}

.insight-meta {
  font-size: 12.5px;
  color: var(--insights-text-soft);
}

.insight-expand-trigger {
  margin-top: 10px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--insights-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease, color .2s ease;
}
.insight-expand-trigger:hover {
  gap: 10px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .insight-grid { grid-template-columns: 1fr; }
  .insights-hero { padding: 148px 20px 72px; }
  .insight-summary { padding: 26px 22px; }
}

/* =====================================================================
   INSIGHTS MODAL — izolovaný, "bulletproof" reader overlay
   -------------------------------------------------------------------
   Tento blok je záměrně napsaný jako samostatný, plochý systém dvou
   tříd (.insights-modal-overlay a .insights-modal-content), který nic
   nedědí a nic nesdílí se zbytkem stránky (žádné .wrap, žádné
   .service-card layouty, žádný grid). Overlay žije mimo běžný tok
   dokumentu (position: fixed), takže ho nemůže rozhodit ani grid
   kontejner .insight-grid, ani žádný jiný rodič.

   DŮLEŽITÉ PRO SEO: tento CSS blok pouze PŘEPÍNÁ VIDITELNOST. Text
   článků zůstává natvrdo v HTML (viz .insight-full v gridu) — JS jen
   zkopíruje jeho obsah do .insights-modal-content, nic nedotahuje.
   ===================================================================== */

.insights-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  overflow-y: auto;
  padding: 40px 20px;
  background: rgba(245, 245, 247, 0.85);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  box-sizing: border-box;
}

.insights-modal-overlay.is-active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.insights-modal-content {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 720px;
  margin: 40px auto;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* Typografie čtečky — vlastní, nezávislá na .insight-card stylech */
.insights-modal-content * {
  max-width: 100%;
  box-sizing: border-box;
}

.insights-modal-content .modal-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-right: 56px; /* místo pro close tlačítko, ať se text nepodlézá pod něj */
}

.insights-modal-content time {
  font-size: 13px;
  color: #6e6e73;
}

.insights-modal-content .modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #1d1d1f;
  background: #f5f5f7;
  border: 1px solid #e5e5e7;
  border-radius: 980px;
  padding: 4px 12px;
  white-space: nowrap;
}

.insights-modal-content h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1d1d1f;
  margin: 0 0 28px;
}

.insights-modal-content .modal-body p {
  font-size: 16.5px;
  line-height: 1.75;
  color: #6e6e73;
  margin: 0 0 20px;
}

.insights-modal-content .modal-body p:last-of-type {
  margin-bottom: 32px;
}

/* Editorial bridge text — poslední odstavec před CTA, JS ho vždy
   automaticky připojí s touto třídou navíc pro jemné odlišení */
.insights-modal-content .modal-bridge-text {
  color: #1d1d1f;
  font-weight: 500;
}

.insights-modal-content .modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: #0071e3;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.insights-modal-content .modal-cta:hover {
  background: #0077ed;
}
.insights-modal-content .modal-cta:active {
  transform: scale(.97);
}

/* Minimalistické Close tlačítko — malé, tiché, přesně v rohu karty */
.insights-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 32px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #e5e5e7;
  border-radius: 980px;
  color: #6e6e73;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.insights-modal-close:hover,
.insights-modal-close:focus-visible {
  color: #1d1d1f;
  border-color: #b8b8bc;
}
.insights-modal-close svg {
  width: 12px;
  height: 12px;
  flex: none;
}

body.insights-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .insights-modal-overlay {
    padding: 0;
  }
  .insights-modal-content {
    max-width: none;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 72px 24px 48px;
  }
  .insights-modal-close {
    top: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights-modal-overlay { transition: none; }
}

/* =====================================================================
   SEO SOURCE TEXT — skrytý zdroj pro modal
   -------------------------------------------------------------------
   .insight-full leží uvnitř každé karty v gridu a obsahuje kompletní,
   natvrdo napsaný text článku — Googlebot ho čte normálně jako součást
   stránky. Vizuálně ho ale schováváme (mimo viewport, ne display:none,
   ne visibility:hidden), protože to je jediný spolehlivý způsob, jak
   obsah zůstane 100% přístupný asistivním technologiím i crawlerům,
   zatímco pro běžného návštěvníka existuje jen uvnitř modalu, kam ho
   JS zkopíruje. Nijak neovlivňuje layout karty ani gridu.
   ===================================================================== */
.insight-full {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* --- Footer: čistý, tichý, jen copyright + lokace --- */
.insights-footer {
  padding: 40px 24px 56px;
  text-align: center;
  background: var(--insights-bg);
}
.insights-footer p {
  font-size: 12px;
  color: var(--insights-text-soft);
}

/* =====================================================================
   SITE FOOTER — index.html
   -------------------------------------------------------------------
   Konsolidovaný, jediný zdroj pravdy pro footer na hlavní stránce.
   3-vrstvá struktura inspirovaná Apple.com:
   1) footer-row--primary  → hlavní byznys info (copyright/lokace/telefon)
   2) footer-divider        → tenká oddělovací linka
   3) footer-row--nav       → odkazy na Insights, tlumené, menší
   4) footer-seo-text       → SEO odstavec, téměř neviditelný pro oko
   ===================================================================== */

.site-footer {
  background: #000000;
  padding: 56px 24px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Řádek 1: hlavní byznys info --- */
.footer-row--primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-location,
.footer-phone {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #f5f5f7;
  text-decoration: none;
  white-space: nowrap;
}

.footer-phone {
  transition: color .2s ease;
}
.footer-phone:hover {
  color: #ffffff;
}

/* --- Oddělovací linka (Apple style) --- */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 28px 0 20px;
}

/* --- Řádek 2: navigační odkazy Insights --- */
.footer-row--nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 12px;
  letter-spacing: -0.005em;
  color: #f5f5f7;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity .2s ease;
}
.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  opacity: 1;
}

.footer-nav-sep {
  font-size: 12px;
  color: #f5f5f7;
  opacity: 0.25;
}

/* --- Řádek 3: SEO text, téměř neviditelný --- */
.footer-seo-text {
  margin: 18px 0 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #f5f5f7;
  opacity: 0.3;
}

/* --- Responsive: mobil skládá vše pod sebe, na střed --- */
@media (max-width: 680px) {
  .site-footer {
    padding: 48px 20px 36px;
  }
  .footer-row--primary {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .footer-divider {
    margin: 24px 0 18px;
  }
  .footer-row--nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-nav-sep {
    display: none;
  }
}
