/* =================================================================
   DESIGN SYSTEM — martynkova.cz v2
   Brand: Teplý editoriální design × Autorita & Elegance
   Primární akcent: #E05C2A
   ================================================================= */

/* ─── SELF-HOSTED FONTS (GDPR) ────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700 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: 700 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: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-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: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-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;
}

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  --cream:        #F7F3EC;
  --paper:        #FAF8F4;
  --ink:          #1C1A17;
  --orange:       #E05C2A;
  --orange-soft:  #F4896A;
  --orange-dark:  #C44D20;
  --warm-mid:     #C4A882;
  --muted:        #7A6F62;
  --rule:         #E4DDD2;
  --dark:         #1A1714;
  --card-bg:      #F2ECE2;

  --font-heading: 'Inter', sans-serif;
  --font-body:    'Outfit', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --px: clamp(24px, 5vw, 80px);
  --py: clamp(64px, 9vw, 112px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ─── TYPOGRAPHY ──────────────────────────────────────────────── */
h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ─── LAYOUT ──────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 var(--px);
}

section {
  padding: var(--py) 0;
  border-top: 1px solid var(--rule);
}

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

/* ─── NAVIGATION ──────────────────────────────────────────────── */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  pointer-events: none;
}

nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  pointer-events: all;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  transition: opacity 0.3s var(--ease);
}

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-side a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.nav-side a:hover,
.nav-side a.active {
  color: var(--ink);
}

.nav-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: 100px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}

/* Hide theme toggle — brand is light-only */
.theme-toggle {
  display: none;
}

@media (max-width: 680px) {
  .nav-side.left { display: none; }
  nav { padding: 0 20px; }
  .nav-logo { position: static; transform: none; }
}

/* ─── EYEBROW ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--orange);
  margin-right: 10px;
  flex-shrink: 0;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn,
.btn-primary,
.btn.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: #ffffff;
  padding: 15px 34px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover,
.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-outline,
.btn.btn-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--ink);
  padding: 14px 32px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.btn-outline:hover,
.btn.btn-outline:hover {
  border-color: var(--ink);
}

/* Remove pulse animation */
.idle-pulse { animation: none; }

/* ─── SECTION HEADER ──────────────────────────────────────────── */
.section-header {
  margin-bottom: 56px;
}

.section-divider {
  display: none;
}

/* ─── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.32s; }
.d4 { transition-delay: 0.46s; }
.d5 { transition-delay: 0.60s; }

/* ─── GLASS CARD → EDITORIAL CARD ────────────────────────────── */
/* No glass: flat, warm, editorial */
.glass-card {
  background: var(--card-bg);
  padding: 36px 32px;
  border-radius: 12px;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.glass-card::before,
.glass-card::after {
  display: none;
}

.glass-card:hover {
  background: var(--card-bg);
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.specular {
  display: none !important;
}

/* ─── DARK SECTIONS ───────────────────────────────────────────── */
.dark-section {
  background: var(--dark);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: var(--paper);
}

.dark-section p,
.dark-section li {
  color: rgba(250, 248, 244, 0.55);
}

.dark-section .eyebrow { color: var(--orange-soft); }
.dark-section .eyebrow::before { background: var(--orange-soft); }

.dark-section .glass-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── CLIENT STRIP ────────────────────────────────────────────── */
.clients-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
  background: var(--paper);
}

.clients-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 36px;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 44px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.client-logo img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s var(--ease);
}

.client-logo.logo-ccp img {
  height: 40px;
  max-width: 72px;
}

.client-logo.logo-forendors img {
  height: 76px;
  max-width: 200px;
}

.client-logo:hover img {
  filter: grayscale(0) opacity(1);
}

/* ─── STATS ROW ───────────────────────────────────────────────── */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── SERVICE TAGS ────────────────────────────────────────────── */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.service-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ─── PRODUCTION ICONS ────────────────────────────────────────── */
.prod-icon {
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
}

/* ─── MOSAIC / ŠACHOVNICE ─────────────────────────────────────── */
#portfolio { padding-bottom: 0; }

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
}

.mosaic-item {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: var(--cream);
  color: var(--warm-mid);
  transition: opacity 0.25s var(--ease);
}

/* šachovnice 6 sloupců — tmavé čtverce */
.mosaic-item:nth-child(-n+6):nth-child(odd),
.mosaic-item:nth-child(n+7):nth-child(even) {
  background: var(--ink);
  color: var(--warm-mid);
}

.mosaic-item:hover { opacity: 0.75; }

.mosaic-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.3;
  user-select: none;
}

/* reálné obrázky */
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.mosaic-item:hover img { 
  transform: scale(1.04);
  filter: grayscale(0%);
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(28,26,23,0.9) 0%, rgba(28,26,23,0) 80%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 2;
}

.mosaic-item:hover .mosaic-overlay {
  opacity: 1;
}

.mosaic-client {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-soft);
  margin-bottom: 6px;
  transform: translateY(28px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.mosaic-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  transform: translateY(28px);
  opacity: 0;
  transition: transform 0.45s 0.06s var(--ease), opacity 0.45s 0.06s var(--ease);
}

.mosaic-item:hover .mosaic-client,
.mosaic-item:hover .mosaic-title {
  transform: translateY(0);
  opacity: 1;
}

/* tablet: 4 sloupce × 4 řádky ───────────────── */
@media (max-width: 900px) {
  .mosaic-grid { grid-template-columns: repeat(4, 1fr); }

  /* reset na světlé */
  .mosaic-item { background: var(--cream); }

  /* šachovnice 4 sloupce */
  .mosaic-item:nth-child(-n+4):nth-child(odd),
  .mosaic-item:nth-child(n+5):nth-child(-n+8):nth-child(even),
  .mosaic-item:nth-child(n+9):nth-child(-n+12):nth-child(odd),
  .mosaic-item:nth-child(n+13):nth-child(even) {
    background: var(--ink);
  }
}

/* mobil: 2 sloupce × 8 řádků ────────────────── */
@media (max-width: 500px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); }

  /* reset */
  .mosaic-item { background: var(--cream); }

  /* šachovnice 2 sloupce: tmavé = 1. ve dvojici liché, 2. ve dvojici sudé */
  .mosaic-item:nth-child(4n+1),
  .mosaic-item:nth-child(4n) {
    background: var(--ink);
  }
}

/* ─── CONTACT SECTION ─────────────────────────────────────────── */
.contact-section {
  text-align: center;
  background: var(--cream);
}

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--orange);
  border-bottom: 1px solid rgba(224, 92, 42, 0.3);
  padding-bottom: 4px;
  margin-bottom: 40px;
  transition: border-color 0.3s var(--ease);
}

.contact-email:hover { border-color: var(--orange); }

/* ─── SOCIAL ICONS ────────────────────────────────────────────── */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.social-icon:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: none;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-pill {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.social-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ─── BACK TO TOP ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  z-index: 90;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 var(--px);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(250, 248, 244, 0.35);
  letter-spacing: 0.04em;
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(250, 248, 244, 0.35);
  transition: color 0.3s var(--ease);
}

.footer-links a:hover { color: rgba(250, 248, 244, 0.7); }

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ─── PAGE HERO (shared sub-pages) ───────────────────────────── */
.page-hero {
  padding-top: 120px;
  padding-bottom: var(--py);
  background: var(--cream);
  border-top: none;
}

.page-hero .eyebrow { margin-bottom: 20px; }

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ─── PROCESS STEPS ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}

.step-card {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.step-number {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; line-height: 1.75; color: var(--muted); }

/* ─── IMAGE PLACEHOLDER ───────────────────────────────────────── */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  background: var(--card-bg);
  border: 2px dashed var(--rule);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.img-placeholder-icon { font-size: 28px; opacity: 0.5; line-height: 1; }
.img-placeholder-label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.12em; color: var(--orange); text-transform: uppercase; }
.img-placeholder-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; max-width: 220px; }

/* ─── BLOG GRID ───────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 200px;
}

.blog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.blog-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 1px solid var(--rule);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.blog-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--card-bg);
  border-radius: 12px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #ffffff;
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  border-radius: 11px 11px 0 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover { background: #ffffff; border-color: var(--rule); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-content {
  padding: 20px 20px 39px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  text-align: center;
  border-radius: 0 0 11px 11px;
}

.blog-meta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  justify-content: center;
}

.blog-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}
.blog-card:hover h3 { color: var(--orange); }

/* skryto pro čistší kartu */
.blog-excerpt { display: none; }
.blog-read-more { display: none; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-content { padding: 20px 24px; }
}

/* ─── NEWSLETTER BOX ──────────────────────────────────────────── */
.newsletter-box {
  margin-top: 40px;
  padding: 48px 40px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-content { flex: 1; }
.newsletter-content h3 { font-size: 1.25rem; margin-bottom: 10px; }
.newsletter-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; max-width: 480px; }

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  flex-shrink: 0;
  width: 100%;
}

.newsletter-form {
  display: flex;
  gap: 0;
  width: 100%;
}

.newsletter-form input[type="email"] {
  flex-grow: 1;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-right: none;
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 100px 0 0 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.newsletter-form input[type="email"]:focus { border-color: var(--orange); }
.newsletter-form input[type="email"]::placeholder { color: var(--muted); }
.newsletter-form .btn,
.newsletter-form button { border-radius: 0 100px 100px 0; }
.newsletter-success {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--orange);
  font-weight: 500;
  padding: 12px 0;
}

@media (max-width: 860px) {
  .newsletter-box { flex-direction: column; text-align: center; padding: 36px 24px; gap: 24px; }
  .newsletter-form-wrap { max-width: 100%; }
}

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-form input[type="email"] {
    border-right: 1px solid var(--rule);
    border-radius: 100px;
  }
  .newsletter-form .btn,
  .newsletter-form button { border-radius: 100px; }
}

/* ─── SERVICE COLUMNS ─────────────────────────────────────────── */
.service-col-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-col-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.service-col h3 { font-size: 1.5rem; margin-bottom: 16px; }

.service-col p { font-size: 0.95rem; line-height: 1.8; color: var(--muted); margin-bottom: 14px; }

.service-col p:last-of-type { margin-bottom: 28px; }

/* ─── SERVICES GRID ───────────────────────────────────────────── */
.services-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.services-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.services-b2b {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* zaoblené rohy a border pro karty v sekci Spolupráce */
.services-cols .glass-card,
.services-sub .glass-card,
.services-b2b .glass-card {
  border-radius: 12px;
  border: 1px solid var(--rule);
}

/* Featured card — oranžový top accent */
.service-col-featured {
  border-top: 3px solid var(--orange) !important;
}

/* Oranžová CTA karta — Poptávka školení */
.b2b-card-poptavka {
  background: var(--orange);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 20px;
}

/* Standalone varianta — full-width banner pod sekcí */
.b2b-card-standalone {
  flex-direction: row;
  align-items: center;
  text-align: left;
  margin-top: 16px;
  gap: 32px;
}

.b2b-card-standalone .b2b-poptavka-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.b2b-card-standalone .btn-poptavka {
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-width: 600px) {
  .b2b-card-standalone {
    flex-direction: column;
    text-align: center;
  }
}

.b2b-card-poptavka h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.b2b-poptavka-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.b2b-card-poptavka p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.btn-poptavka {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.btn-poptavka:hover {
  background: var(--ink);
  color: #fff;
}

/* Obsah karet */
.services-sub .glass-card h3,
.services-b2b .glass-card h3 { font-size: 1.1rem; margin-bottom: 6px; margin-top: 16px; }

.services-sub .glass-card p,
.services-b2b .glass-card p { font-size: 0.9rem; line-height: 1.75; color: var(--muted); }

.b2b-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px !important;
}

.b2b-card > p:not(.b2b-tagline):not(.service-col-label) {
  margin-bottom: 20px;
}

.b2b-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
}

.b2b-list li {
  font-size: 0.84rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: start;
  line-height: 1.5;
}

.b2b-list li::before {
  content: '→';
  color: var(--orange);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* separator mezi řadami (Pro tvůrce / Pro firmy) */
.services-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 820px) {
  .services-sub { grid-template-columns: 1fr 1fr; }
  .services-b2b { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .services-cols { grid-template-columns: 1fr; }
  .services-sub { grid-template-columns: 1fr; }
  .services-b2b { grid-template-columns: 1fr; }
}

/* ─── OKO FEATURED ────────────────────────────────────────────── */
.oko-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
  padding: 0;
  border-radius: 0;
  border: 1px solid var(--rule) !important;
  background: none;
}

.oko-content {
  padding: 48px 44px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}

.program-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  border: 1px solid var(--orange);
  border-radius: 100px;
  background: transparent;
  padding: 5px 12px;
  margin-bottom: 20px;
  width: fit-content;
}

.coming-soon {
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  border: 1px solid var(--orange);
  border-radius: 100px;
  background: transparent;
  padding: 4px 12px;
  margin-bottom: 18px;
  width: fit-content;
}

.oko-featured h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 14px; line-height: 1.2; }

.oko-featured .desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.program-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }

.program-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.oko-visual {
  background: var(--cream);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.oko-visual::before { display: none; }

.oko-visual-text { position: relative; z-index: 1; text-align: center; }

.big-oko {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 900;
  color: rgba(224, 92, 42, 0.12) !important;
  letter-spacing: 0.10em;
  line-height: 1;
  margin-bottom: 12px;
}

.oko-visual-text p {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted) !important;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .oko-featured { grid-template-columns: 1fr; min-height: auto; }
  .oko-visual { border-left: none; border-top: 1px solid var(--rule); padding: 48px 24px; min-height: 160px; }
  .oko-content { padding: 36px 32px; }
}

/* ─── FOR-WHOM BOX ────────────────────────────────────────────── */
.for-whom {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px 48px;
  margin-top: 2px;
}

.for-whom h3 { font-size: 1.25rem; margin-bottom: 20px; }

.for-whom ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}

.for-whom ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.for-whom ul li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 9px;
}

@media (max-width: 640px) {
  .for-whom { padding: 32px 24px; }
  .for-whom ul { grid-template-columns: 1fr; }
}

/* ─── SIGNUP FORM ─────────────────────────────────────────────── */
.signup-form {
  display: flex;
  gap: 0;
  max-width: 440px;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-right: none;
  border-radius: 100px 0 0 100px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.signup-form .btn,
.signup-form button { border-radius: 0 100px 100px 0; }

.signup-form input[type="email"]::placeholder { color: var(--muted); }
.signup-form input[type="email"]:focus { border-color: var(--orange); }

.signup-msg {
  font-size: 0.82rem;
  color: var(--orange);
  margin-top: 12px;
  display: none;
}

.signup-msg.visible { display: block; }

@media (max-width: 768px) {
  .signup-form { max-width: 100%; }
}

/* ─── ABOUT SHORT ─────────────────────────────────────────────── */
.about-short { background: var(--cream); }

.about-short p {
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ─── ORANGE GLOW — remove ────────────────────────────────────── */
.orange-glow { display: none; }

/* ─── PROJECT LINK ────────────────────────────────────────────── */
.project-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
}

.project-link:hover { opacity: 0.75; }

/* ─── PROJECT FEATURED CARD ───────────────────────────────────── */
.project-featured { padding: 0; overflow: hidden; border-radius: 12px; }

.pfeat-inner {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  min-height: 260px;
}

.pfeat-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
}

.pfeat-visual {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border-left: 1px solid var(--rule);
  position: relative;
}

.pfeat-visual::before { display: none; }

.pfeat-oko {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 900;
  color: rgba(224, 92, 42, 0.14);
  letter-spacing: 0.14em;
  position: relative;
  z-index: 1;
  user-select: none;
}

@media (max-width: 640px) {
  .pfeat-inner { grid-template-columns: 1fr; }
  .pfeat-visual { display: none; }
  .pfeat-content { padding: 30px 26px; }
}
