/* ═══════════════════════════════════════════════════════════
   SPC a DVPP Euroinstitut – kompletní design v2
   Barvy: hluboká modrá + zelená akcentace; font Manrope + Inter
   ═══════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

/* ── Proměnné ─────────────────────────────────────────────── */
:root {
  --c-bg: #f4f7fb;
  --c-surface: #ffffff;
  --c-navy: #0f3460;
  --c-navy-mid: #164b85;
  --c-navy-deep: #08204a;
  --c-blue: #1a6fb8;
  --c-blue-soft: #dbeafe;
  --c-green: #0f7c5b;
  --c-green-soft: #d1fae5;
  --c-text: #0d1a2e;
  --c-muted: #4b5e75;
  --c-subtle: #7a8da0;
  --c-border: #d8e4f0;
  --c-border-lt: #eaf1f9;

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --sh-xs: 0 1px 3px rgba(12, 30, 60, .07), 0 1px 2px rgba(12, 30, 60, .04);
  --sh-sm: 0 4px 12px rgba(12, 30, 60, .09), 0 1px 4px rgba(12, 30, 60, .05);
  --sh-md: 0 8px 28px rgba(12, 30, 60, .12), 0 2px 8px rgba(12, 30, 60, .06);
  --sh-lg: 0 20px 48px rgba(12, 30, 60, .16);

  --w-text: 44rem;
  --w-wide: 72rem;
}

/* ── Reset & základ ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Přístupnost ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .75rem 1.25rem;
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid #3b9efa;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════
   NAVIGACE
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-xs);
}

.site-header__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

/* Logo / název */
.site-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

.site-brand__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--c-navy);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-brand__icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: #fff;
}

.site-brand__text {
  line-height: 1.2;
}

.site-brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -.02em;
  white-space: normal;
  line-height: 1.25;
}

.brand-short {
  display: none;
}

.brand-full {
  display: block;
}

.site-brand__sub {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--c-subtle);
  letter-spacing: .02em;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  border-radius: var(--r-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 55rem) {
  .nav-toggle {
    display: flex;
  }
}

/* Nav seznam */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .1rem;
}

.site-nav__list a {
  display: block;
  padding: .4rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}

.site-nav__list a:hover,
.site-nav__list a:focus {
  color: var(--c-navy);
  background: var(--c-blue-soft);
}

.site-nav__list a[aria-current="page"] {
  color: var(--c-blue);
  font-weight: 600;
  background: var(--c-blue-soft);
}

.site-nav__list .nav-cta a {
  background: var(--c-navy);
  color: #fff;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-weight: 600;
  margin-left: .5rem;
}

.site-nav__list .nav-cta a:hover,
.site-nav__list .nav-cta a:focus {
  background: var(--c-navy-mid);
  color: #fff;
}

/* Mobilní header */
@media (max-width: 55rem) {
  .site-header__inner {
    padding: .6rem 1rem;
    min-height: unset;
    gap: .6rem;
    align-items: center;
  }

  .site-brand__icon {
    display: none;
  }

  .site-brand__name {
    font-size: 1rem;
    letter-spacing: -.01em;
  }

  .brand-full {
    display: none;
  }

  .brand-short {
    display: block;
  }
}

/* Mobilní menu */
@media (max-width: 55rem) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid var(--c-border);
    box-shadow: var(--sh-md);
    padding: .75rem 1.5rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }

  .site-nav__list a {
    font-size: 1rem;
    padding: .65rem .85rem;
  }

  .site-nav__list .nav-cta a {
    margin-left: 0;
    margin-top: .5rem;
    border-radius: var(--r-sm);
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════
   HERO (úvodní stránka)
   ══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(150deg, var(--c-navy-deep) 0%, var(--c-navy) 50%, #1a4f8a 100%);
  color: #fff;
  padding: clamp(4rem, 9vw, 6.5rem) 1.5rem clamp(4.5rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}

/* Dekorativní tvar na pozadí */
.hero::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: -8rem;
  width: clamp(20rem, 50vw, 40rem);
  height: clamp(20rem, 50vw, 40rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 111, 184, .45) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -4rem;
  left: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 124, 91, .3) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-wide);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 55rem) {
  .hero__inner {
    grid-template-columns: 1fr .85fr;
  }
}

/* Levý sloupec */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .9rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #a5d8ff;
  margin-bottom: 1.25rem;
}

.hero__badge::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #34d399;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: #7dd3fc;
}

.hero__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
  max-width: 34rem;
  margin: 0 0 2.25rem;
}

.hero__lead a {
  color: #93c5fd;
}

.hero__lead a:hover {
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.5rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
  cursor: pointer;
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn:active {
  transform: scale(.97);
}

.btn--white {
  background: #fff;
  color: var(--c-navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}

.btn--white:hover,
.btn--white:focus {
  background: #f0f8ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.btn--outline:hover,
.btn--outline:focus {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .75);
}

.btn--primary {
  background: var(--c-navy);
  color: #fff;
  box-shadow: var(--sh-sm);
}

.btn--primary:hover,
.btn--primary:focus {
  background: var(--c-navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn--green {
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 124, 91, .35);
}

.btn--green:hover,
.btn--green:focus {
  background: #0a6349;
  transform: translateY(-1px);
}

/* Pravý sloupec – info karta */
.hero__panel {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.hero__panel-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0 0 .5rem;
}

.hero__stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero__stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero__stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #7dd3fc;
  min-width: 3.25rem;
  text-align: right;
}

.hero__stat-label {
  font-size: .9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
  padding-top: .2rem;
}

/* ══════════════════════════════════════════════════════════
   DOMOVSKÁ STRÁNKA – sekce pod hrdinou
   ══════════════════════════════════════════════════════════ */
.home-sections {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
}

/* Kdo může přijít */
.who-section {
  padding: 3.5rem 0 2rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .who-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

.who-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-xs);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .2s, transform .2s;
}

.who-card:hover {
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}

.who-card__ico {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-card__ico--blue {
  background: var(--c-blue-soft);
}

.who-card__ico--green {
  background: var(--c-green-soft);
}

.who-card__ico--navy {
  background: #e0e9f8;
}

.who-card__ico svg {
  width: 1.35rem;
  height: 1.35rem;
}

.who-card__ico--blue svg {
  color: var(--c-blue);
}

.who-card__ico--green svg {
  color: var(--c-green);
}

.who-card__ico--navy svg {
  color: var(--c-navy);
}

.who-card h3 {
  margin: 0 0 .35rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}

.who-card p {
  margin: 0;
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.55;
}

/* Sekce nadpis */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin: 0 0 .5rem;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 1rem;
  color: var(--c-navy-deep);
  line-height: 1.2;
}

.section-lead {
  color: var(--c-muted);
  max-width: 38rem;
  margin: 0 0 2.25rem;
  font-size: 1.025rem;
  line-height: 1.65;
}

/* Jak to funguje / kroky */
.steps-section {
  padding: 3rem 0 3.5rem;
}

.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sh-xs);
  position: relative;
}

.step-num {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--c-blue);
  background: var(--c-blue-soft);
  border-radius: 999px;
  padding: .25rem .7rem;
  display: inline-block;
  margin-bottom: .85rem;
}

.step-card h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* CTA pás */
.cta-strip {
  background: linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 60%, var(--c-navy-mid) 100%);
  border-radius: var(--r-lg);
  padding: 2.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
}

.cta-strip__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
}

.cta-strip__text p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   VNITŘNÍ STRÁNKY – page banner
   ══════════════════════════════════════════════════════════ */
.page-banner {
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(2.25rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 65%);
  pointer-events: none;
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-wide);
  margin: 0 auto;
}

.page-banner__breadcrumb {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 .75rem;
}

.page-banner__breadcrumb a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.page-banner__breadcrumb a:hover {
  color: #fff;
}

.page-banner__breadcrumb span {
  margin: 0 .4rem;
}

.page-banner h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 0 0 .85rem;
  color: #fff;
}

.page-banner__lead {
  font-size: 1.025rem;
  color: rgba(255, 255, 255, .8);
  max-width: 48rem;
  margin: 0;
  line-height: 1.65;
}

/* ── Obsah podstránek ─────────────────────────────────────── */
.page-body {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
}

/* Typografie */
h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 2.5rem 0 .75rem;
  color: var(--c-navy-deep);
}

h2:first-child,
h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.75rem 0 .5rem;
  color: var(--c-navy);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul.plain {
  padding-left: 1.4rem;
  margin: .5rem 0 1rem;
}

ul.plain li {
  margin-bottom: .35rem;
  color: var(--c-muted);
}

/* Karty na podstránkách */
.info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin: 0 0 1.25rem;
  box-shadow: var(--sh-xs);
}

.info-card__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.info-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  background: var(--c-blue-soft);
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.info-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--c-navy-deep);
}

.info-card__body p {
  margin: 0 0 .5rem;
  font-size: .9375rem;
  color: var(--c-muted);
}

.info-card__body p:last-child {
  margin-bottom: 0;
}

.info-card a {
  color: var(--c-blue);
  font-weight: 500;
}

.info-card a:hover {
  color: var(--c-navy);
}

/* Karty pro pracovní místa */
.place-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 42rem) {
  .place-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.place-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-xs);
  display: grid;
  gap: .75rem;
  transition: box-shadow .2s, transform .2s;
}

.place-card:hover {
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}

.place-card__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 999px;
}

.place-card__badge--main {
  background: var(--c-blue-soft);
  color: var(--c-blue);
}

.place-card__badge--dislok {
  background: #f0fdf4;
  color: var(--c-green);
}

.place-card__badge--dvpp {
  background: #fdf4ff;
  color: #7c3aed;
}

.place-card__badge::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: currentColor;
}

.place-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy-deep);
}

.place-card__address {
  font-size: .9375rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.place-card__address strong {
  color: var(--c-text);
}

.place-card__hour {
  font-size: .875rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-sm);
  padding: .55rem .85rem;
  color: var(--c-muted);
}

/* Sekce s title separátorem */
.section-sep {
  border: 0;
  border-top: 2px solid var(--c-border-lt);
  margin: 2.5rem 0;
}

/* ── Tabulka (fallback pro PVPI) ──────────────────────────── */
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  margin: 1.25rem 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  border: 1px solid var(--c-border);
}

table.data th,
table.data td {
  padding: .65rem .9rem;
  border: 1px solid var(--c-border-lt);
  text-align: left;
  vertical-align: top;
}

table.data thead th {
  background: #e8f0fb;
  color: var(--c-navy);
  font-weight: 600;
  font-size: .85rem;
}

table.data tbody tr:hover td {
  background: #f7faff;
}

/* ── TOC (obsah PVPI) ─────────────────────────────────────── */
.toc-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--sh-xs);
}

.toc-box ol {
  margin: .5rem 0 0;
  padding-left: 1.35rem;
}

.toc-box li {
  margin-bottom: .25rem;
}

.toc-box a {
  color: var(--c-blue);
  font-weight: 500;
}

/* ── Upozornění / TODO ─────────────────────────────────────── */
.notice {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
  padding: .9rem 1.1rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .9125rem;
  margin: 1.25rem 0;
  color: #78350f;
}

.notice strong {
  color: #92400e;
}

.todo {
  /* ponecháno pro zpětnou kompatibilitu */
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
  padding: .9rem 1.1rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .9125rem;
  margin: 1.25rem 0;
  color: #78350f;
}

/* ══════════════════════════════════════════════════════════
   PATIČKA
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-navy-deep);
  color: #8ba5c2;
  font-size: .875rem;
  line-height: 1.65;
  padding: 3rem 1.5rem 2rem;
}

.site-footer__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .site-footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer__brand {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: #e8f0fb;
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
}

.site-footer p {
  margin: .25rem 0;
  color: #6a8daa;
}

.site-footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4a6885;
  margin: 0 0 .75rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.site-footer a {
  color: #8ba5c2;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #e8f0fb;
}

.site-footer__bottom {
  max-width: var(--w-wide);
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .8rem;
  color: #4a6885;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
