/* ============================================================
   ZŠ a MŠ Rudník — main stylesheet
   Mobile-first, WCAG 2.1 AA, custom properties throughout
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colours — zelená na tmavé, jako původní web */
  --c-primary:        #00a651;   /* zelená z originálu */
  --c-primary-dark:   #007f3e;
  --c-primary-light:  #00c962;
  --c-accent:         #00a651;
  --c-accent-dark:    #007f3e;
  --c-accent-light:   #e6f7ee;

  --c-dark:           #101010;   /* skoro černá z originálu */
  --c-dark-2:         #1a1a1a;
  --c-dark-3:         #252525;

  --c-text:           #101010;
  --c-text-muted:     #5a5a5a;
  --c-text-light:     #9a9a9a;

  --c-bg:             #f8f8f5;
  --c-surface:        #FFFFFF;
  --c-border:         #e2e2de;
  --c-border-dark:    #c8c8c4;

  --c-topbar-bg:      #101010;
  --c-topbar-text:    rgba(255 255 255 / .65);

  /* Typography */
  --font-body:        'Figtree', system-ui, -apple-system, sans-serif;
  --font-heading:     'Fraunces', Georgia, serif;

  --text-xs:   clamp(.6875rem, 1.5vw, .75rem);
  --text-sm:   clamp(.8125rem, 1.8vw, .875rem);
  --text-base: 1rem;
  --text-lg:   clamp(1rem, 2vw, 1.125rem);
  --text-xl:   clamp(1.125rem, 2.5vw, 1.25rem);
  --text-2xl:  clamp(1.375rem, 3vw, 1.75rem);
  --text-3xl:  clamp(1.75rem, 4vw, 2.25rem);
  --text-4xl:  clamp(2.25rem, 5.5vw, 3.25rem);

  /* Spacing */
  --space-1:   .25rem;
  --space-2:   .5rem;
  --space-3:   .75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0 0 0 / .07), 0 1px 2px rgba(0 0 0 / .05);
  --shadow-md: 0 4px 16px rgba(0 0 0 / .08);
  --shadow-lg: 0 12px 40px rgba(0 0 0 / .10);

  /* Layout */
  --container:         1200px;
  --container-pad:     clamp(1rem, 5vw, 2rem);
  --topbar-h:          36px;
  --header-h:          68px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--c-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top .1s;
}
.skip-link:focus { top: var(--space-4); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { line-height: 1.7; color: var(--c-text-muted); }

/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-16);
}

.section--alt {
  background: var(--c-surface);
}

.section__header {
  margin-bottom: var(--space-10);
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: var(--text-3xl);
  color: var(--c-text);
  margin-bottom: var(--space-3);
}

.section__lead {
  font-size: var(--text-lg);
  max-width: 580px;
  color: var(--c-text-muted);
}

.section__footer {
  margin-top: var(--space-10);
  text-align: center;
}

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: .75em 1.5em;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  white-space: nowrap;
  line-height: 1.3;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--c-accent-dark); box-shadow: 0 4px 14px rgba(217 119 6 / .4); }

.btn--secondary {
  background: var(--c-primary);
  color: #fff;
}
.btn--secondary:hover { background: var(--c-primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary); color: #fff; }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255 255 255 / .5);
}
.btn--outline-white:hover { background: rgba(255 255 255 / .12); border-color: #fff; }

.btn--sm {
  padding: .5em 1.1em;
  font-size: var(--text-sm);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.link-more:hover { border-color: var(--c-accent); color: var(--c-accent); }
.link-more svg { transition: transform .15s; }
.link-more:hover svg { transform: translateX(3px); }

.link-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 2px;
  transition: border-color .15s, color .15s;
}
.link-all:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ── 6. TOP BAR ───────────────────────────────────────────── */
.topbar {
  background: var(--c-topbar-bg);
  height: var(--topbar-h);
  font-size: var(--text-xs);
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-topbar-text);
  text-decoration: none;
  transition: color .15s;
}
.topbar__item:hover { color: #fff; }
.topbar__item svg { flex-shrink: 0; width: 13px; height: 13px; }

.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255 255 255 / .2);
}

.topbar__quicknav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.topbar__quicknav a {
  color: var(--c-topbar-text);
  text-decoration: none;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
  transition: color .15s, background .15s;
}
.topbar__quicknav a:hover { color: #fff; background: rgba(255 255 255 / .1); }

/* ── 7. SITE HEADER / NAV ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-dark);
  border-bottom: 1px solid rgba(255 255 255 / .08);
  height: var(--header-h);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0 0 0 / .4); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo__img { height: 42px; width: auto; }
.nav-logo__text { line-height: 1.2; }
.nav-logo__name {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}
.nav-logo__sub {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255 255 255 / .5);
  font-weight: 400;
}

/* Nav links */
.site-nav { display: flex; align-items: center; gap: var(--space-1); }

.site-nav a {
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255 255 255 / .65);
  padding: .45rem .7rem;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255 255 255 / .08); }

.site-nav__cta {
  background: var(--c-accent);
  color: #fff !important;
  font-weight: 700 !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: background .15s;
  white-space: nowrap;
}
.site-nav__cta:hover { background: var(--c-accent-dark); }

/* header-right: social ikony + Bakaláři CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-social-icons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  color: rgba(255 255 255 / .55);
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-social-icon:hover { color: var(--c-primary); background: rgba(255 255 255 / .08); }

.nav-divider {
  width: 1px; height: 22px;
  background: rgba(255 255 255 / .15);
}

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  color: var(--c-primary);
  transition: background .15s;
  margin-left: var(--space-3);
}
.nav-toggle:hover { background: rgba(30 58 95 / .08); }
.nav-toggle svg { pointer-events: none; }

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-surface);
  flex-direction: column;
  padding: var(--space-6) var(--container-pad);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.mobile-menu__close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--c-primary);
}
.mobile-menu__close:hover { background: rgba(30 58 95 / .08); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
}

.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none;
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-primary);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu__nav a:last-child { border-bottom: none; }

.mobile-menu__contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.mobile-menu__contacts a { text-decoration: none; color: inherit; }

/* ── 8. HERO — čistý tmavý masthead, bez fotky ────────────── */
.hero {
  background: var(--c-dark);
  border-bottom: 3px solid var(--c-primary);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  padding-block: var(--space-16);
}

.hero__body { flex: 1; }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--space-5);
}
.hero__label::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--c-primary);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: var(--space-5);
}
.hero__title span { color: var(--c-primary); }

.hero__perex {
  font-size: var(--text-lg);
  color: rgba(255 255 255 / .6);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Hero aside — kontaktní info box */
.hero__aside {
  flex-shrink: 0;
  width: 260px;
  background: rgba(255 255 255 / .04);
  border: 1px solid rgba(255 255 255 / .1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero__aside-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255 255 255 / .3);
  margin-bottom: var(--space-1);
}

.hero__contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255 255 255 / .7);
  text-decoration: none;
}
.hero__contact-row:hover { color: var(--c-primary); }
.hero__contact-row svg { color: var(--c-primary); flex-shrink: 0; width: 15px; height: 15px; }

.hero__aside-divider {
  height: 1px;
  background: rgba(255 255 255 / .08);
}

/* btn pro tmavé pozadí */
.btn--green {
  background: var(--c-primary);
  color: #fff;
}
.btn--green:hover { background: var(--c-primary-dark); }

.btn--ghost-white {
  background: transparent;
  color: rgba(255 255 255 / .8);
  border: 1.5px solid rgba(255 255 255 / .2);
}
.btn--ghost-white:hover { border-color: rgba(255 255 255 / .5); color: #fff; }

/* Jídelníček pruh — hned pod hero, nejvíc navštěvované */
.jidelnicek-bar {
  background: var(--c-dark-3);
  border-bottom: 1px solid rgba(255 255 255 / .06);
}

.jidelnicek-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

.jidelnicek-bar__icon {
  width: 38px; height: 38px;
  background: var(--c-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.jidelnicek-bar__text {
  flex: 1;
  line-height: 1.3;
}
.jidelnicek-bar__text strong {
  display: block;
  color: #fff;
  font-size: var(--text-base);
  font-weight: 700;
}
.jidelnicek-bar__text span {
  font-size: var(--text-sm);
  color: rgba(255 255 255 / .5);
}

.jidelnicek-bar__link {
  background: var(--c-primary) !important;
  color: #fff !important;
  flex-shrink: 0;
}
.jidelnicek-bar__link:hover { background: var(--c-primary-dark) !important; }

/* ── 9. AKTUALITY CARDS ───────────────────────────────────── */
.aktuality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-5);
}

.aktuality-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.aktuality-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--c-primary);
}

.aktuality-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--c-accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aktuality-card__icon svg { width: 22px; height: 22px; color: var(--c-accent-dark); }

.aktuality-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.25;
}

.aktuality-card__desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}

/* ── 10. SOUČÁSTI – DEPT CARDS ────────────────────────────── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-6);
}

.dept-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.dept-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.dept-card__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-border);
}
.dept-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.dept-card:hover .dept-card__img-wrap img { transform: scale(1.05); }

.dept-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.dept-card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.dept-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--c-primary);
  line-height: 1.2;
}

.dept-card__desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ── 11. ARTICLES (ze života) ─────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-6);
}

.article-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-card__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-border);
  position: relative;
}
.article-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .article-card__img-wrap img { transform: scale(1.05); }

.article-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25em .65em;
  border-radius: var(--radius-sm);
}

.article-card__body {
  padding: var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--c-text-light);
}
.article-card__meta svg { width: 13px; height: 13px; }

.article-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--c-primary);
  line-height: 1.25;
}

.article-card__perex {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
  flex: 1;
  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 12. STATS STRIP ──────────────────────────────────────── */
.stats-strip {
  background: var(--c-dark);
  padding-block: var(--space-12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255 255 255 / .7);
  font-weight: 500;
  line-height: 1.4;
}

/* ── 13. CTA PÁS ──────────────────────────────────────────── */
.cta-band {
  background: var(--c-dark-2);
  border-top: 3px solid var(--c-primary);
  padding-block: var(--space-16);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-band__text {}
.cta-band__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-3);
}
.cta-band__desc {
  font-size: var(--text-base);
  color: rgba(255 255 255 / .55);
  max-width: 460px;
}

.cta-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cta-band__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255 255 255 / .06);
  border: 1.5px solid rgba(255 255 255 / .12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  text-decoration: none;
  color: rgba(255 255 255 / .85);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: border-color .15s, background .15s, transform .12s;
}
.cta-band__link:hover {
  border-color: var(--c-primary);
  background: rgba(0 166 81 / .15);
  color: #fff;
  transform: translateY(-2px);
}
.cta-band__link svg { width: 18px; height: 18px; color: var(--c-primary); }

/* ── 14. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  color: rgba(255 255 255 / .65);
  padding-top: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255 255 255 / .1);
}

.footer__brand { }
.footer__brand-logo {
  height: 44px;
  width: auto;
  /* logo je barevné na tmavém — ponecháme jak je, jen filtr pro bílou pokud bude potřeba */
  margin-bottom: var(--space-5);
  filter: brightness(10) saturate(0);
  opacity: .65;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: #fff;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 280px;
  color: rgba(255 255 255 / .55);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255 255 255 / .2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255 255 255 / .6);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.footer__social-link:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.footer__social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255 255 255 / .4);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255 255 255 / .6);
  text-decoration: none;
  transition: color .15s;
}
.footer__links a:hover { color: #fff; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255 255 255 / .6);
  margin-bottom: var(--space-3);
}
.footer__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--c-accent); }
.footer__contact-item a { text-decoration: none; color: inherit; transition: color .15s; }
.footer__contact-item a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-size: var(--text-xs);
  color: rgba(255 255 255 / .35);
  flex-wrap: wrap;
}

.footer__bottom a { color: inherit; text-decoration: underline; transition: color .15s; }
.footer__bottom a:hover { color: rgba(255 255 255 / .7); }

/* ── 15. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
  }

  .topbar { display: none; }

  .site-nav { display: none; }
  .nav-social-icons { display: none; }  /* schovány na mobilu — jsou v mobile menu */
  .nav-divider { display: none; }
  .nav-toggle { display: flex; }

  /* Hero: stack na mobilu */
  .hero__inner {
    flex-direction: column;
  }
  .hero__aside {
    width: 100%;
  }

  /* Jídelníček bar */
  .jidelnicek-bar__inner { flex-wrap: wrap; gap: var(--space-3); }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-band__links { flex-direction: column; }
}

/* ── 16. UTILITIES ────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
