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

/* ── VARIABLES ── */
:root {
  --navy:  #012E40;
  --aqua:  #3CA6A6;
  --teal:  #026773;
  --red:   #D61355;
  --linen: #F2E3D5;
  --white: #ffffff;
  --max:   1120px;
  --gap:   clamp(48px, 8vw, 96px);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--navy); background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── LANGUAGE SWITCHING ── */
[data-lang="cs"] .en { display: none !important; }
[data-lang="en"] .cs { display: none !important; }

/* ── UTILITIES ── */
.dot { color: var(--red); font-weight: 600; }

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: var(--gap) 0; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1,46,64,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(60,166,166,0.15);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 60px; display: flex; align-items: stretch; justify-content: space-between;
}
.nav-logo {
  font-size: 17px; font-weight: 600; color: var(--linen);
  text-decoration: none; letter-spacing: 0.02em;
  display: flex; align-items: center;
}
.lang-toggle {
  display: flex; gap: 2px; align-items: center;
  background: rgba(255,255,255,0.08); border-radius: 6px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; color: rgba(242,227,213,0.5);
  padding: 5px 12px; border-radius: 4px; transition: all 0.2s;
}
.lang-btn.active { background: var(--aqua); color: var(--navy); }
.lang-btn:hover:not(.active) { color: var(--linen); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  color: rgba(242,227,213,0.65); text-decoration: none; transition: color 0.2s;
}
.nav-link:hover { color: var(--linen); }
.nav-link.active { color: var(--aqua); }

/* ── SECTION SHARED ── */
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after {
  content: ''; flex: 1; height: 1px; background: rgba(2,103,115,0.2); max-width: 60px;
}
.section-h2 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 600;
  line-height: 1.15; margin-bottom: clamp(32px, 5vw, 52px);
}
.section-h2 em { font-style: normal; color: var(--red); }

/* ── PAGE HEADER (ai-projekty + business-led-ai) ── */
.page-header {
  background: var(--linen);
  padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
}
.page-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.page-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--teal); flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: clamp(48px, 7vw, 72px) 0 clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(60,166,166,0.1);
  font-family: 'Outfit', sans-serif; font-size: 14px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 56px);
  margin-bottom: clamp(36px, 5vw, 52px);
}
.footer-heading {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--aqua);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.footer-heading::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(60,166,166,0.18); max-width: 80px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a,
.footer-list .footer-static {
  color: rgba(242,227,213,0.7); text-decoration: none;
  letter-spacing: 0.02em; line-height: 1.5;
  transition: color 0.2s;
}
.footer-list a:hover { color: var(--linen); }
.footer-list .footer-static { color: rgba(242,227,213,0.45); }
.footer-ext { font-size: 0.85em; opacity: 0.7; }

.footer-bottom {
  border-top: 1px solid rgba(242,227,213,0.1);
  padding-top: clamp(20px, 3vw, 28px);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 24px;
  font-size: 13px;
}
.footer-brand { color: rgba(242,227,213,0.65); line-height: 1.6; max-width: 720px; }
.footer-copy { color: rgba(242,227,213,0.5); }
.footer-copy a {
  color: rgba(242,227,213,0.65); text-decoration: none;
  transition: color 0.2s;
}
.footer-copy a:hover { color: var(--linen); }

@media (max-width: 760px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── RESPONSIVE — nav ── */
@media (max-width: 640px) {
  .nav-inner { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .nav-logo { order: 1; flex: 1; }
  .lang-toggle { order: 2; }
  .nav-links { order: 3; width: 100%; gap: 20px; }
}
@media (max-width: 420px) {
  .nav-links { gap: 12px; }
}

/* ── TYPO THUMBNAIL VARIANT: GOVERNANCE (crimson + ink + cream) ── */
/* Used in ai-projekty.html project card thumbnail.
   On crimson background: body uses Deep Navy (ink), <em> accent uses Linen (cream)
   — colours from the brand manual pairing, with the accent reversed so the
   emphasised phrase pops against the dark body. */
.governance-visual { background: var(--red); }
.governance-visual .typo-thumb-text { color: var(--navy); }
.governance-visual .typo-thumb-text em { color: var(--linen); font-style: normal; font-weight: 700; }

/* ── RELATED SERVICES ── */
/* Reusable cross-link block. Base = subtle white-bg variant for lead-gen pages
   (sits below the form so it never competes with the primary CTA).
   --prominent = bigger linen-bg variant for business-led-ai.html. */
.related-section { background: var(--white); padding: clamp(40px, 6vw, 72px) 0; }
.related-section--prominent { background: var(--linen); padding: clamp(56px, 9vw, 96px) 0; }
.related-heading {
  font-size: clamp(13px, 1.6vw, 15px); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.related-section--prominent .related-heading {
  font-size: clamp(20px, 3vw, 28px); text-transform: none;
  letter-spacing: 0; color: var(--navy);
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.related-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(1,46,64,0.1); border-radius: 10px;
  text-decoration: none; color: inherit;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  border-color: var(--aqua);
  box-shadow: 0 4px 18px rgba(60,166,166,0.10);
}
.related-card-pill {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); font-weight: 500;
}
.related-card-title {
  font-size: clamp(15px, 1.8vw, 18px); font-weight: 600;
  color: var(--navy); line-height: 1.3;
}
.related-card-body {
  font-size: 13px; font-weight: 300; line-height: 1.55;
  color: rgba(1,46,64,0.72); flex: 1;
}
.related-card-link {
  font-size: 12px; font-weight: 500;
  color: var(--teal); letter-spacing: 0.04em;
}
.related-section--prominent .related-card { padding: clamp(22px, 3vw, 32px); }
.related-section--prominent .related-card-body { font-size: 14px; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
