/* ═══════════════════════════════════════════════════════════════
   Doughnut Czechia — style.css
   Jeden zdroj pravdy pro veškeré styly webu.

   Obsah:
   1.  Design tokens       — :root custom properties
   2.  Reset & Base        — normalizace + typografická základna
   3.  Layout              — .container, .section, .section-header
   4.  Ikony               — .icon třídy pro SVG sprite
   5.  Buttons             — .btn, .btn-primary, .btn-outline
   6.  Badge               — .badge-soon
   7.  Header & Desktop nav
   8.  Mobile nav
   9.  Footer
   10. Newsletter
   11. Page: Home          — hero, pillars, events, initiative
   12. Page: O nás         — team, history
   13. Page: Kontakt       — contact
   14. Page: Akce
   15. Responsive          — @media tablet (900px), mobile (640px)
   16. Utility
═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Barvy */
  --color-primary: #52d15b;
  --color-accent:  #002fff;
  --color-white:   #ffffff;
  --color-dark:    #1e1e1e;
  --color-black:   #000000;
  --color-grey:    #f5f5f5;

  /* Typografie */
  --font: 'Funnel Sans', system-ui, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3.25rem;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;

  --lh-tight:   1.2;
  --lh-base:    1.5;
  --lh-relaxed: 1.8;

  /* Mezery (8px grid) */
  --sp2:  0.5rem;
  --sp3:  0.75rem;
  --sp4:  1rem;
  --sp5:  1.25rem;
  --sp6:  1.5rem;
  --sp8:  2rem;
  --sp10: 2.5rem;
  --sp12: 3rem;
  --sp16: 4rem;
  --sp20: 5rem;

  /* Layout */
  --container: 1160px;
  --cp: 1.25rem;          /* container padding-inline */

  /* Zaoblení */
  --r:  6px;
  --rl: 10px;
  --rs: 4px;

  /* Sekce */
  --section-py: var(--sp20);
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 { line-height: var(--lh-tight); }
p   { line-height: var(--lh-base); }


/* ═══════════════════════════════════════════════════════════════
   3. LAYOUT
═══════════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--cp);
}

.section { padding-block: var(--section-py); }
.section--grey { background: var(--color-grey); }
.section--dark { background: var(--color-dark); color: var(--color-white); }

.section-header {
  text-align: center;
  margin-bottom: var(--sp12);
}
.section-header h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--sp3);
}
.section-header p {
  font-size: var(--fs-lg);
  max-width: 560px;
  margin-inline: auto;
}


/* ═══════════════════════════════════════════════════════════════
   4. IKONY
   Použití: <svg class="icon icon-NAME" aria-hidden="true">
              <use href="/assets/icons.svg#NAME"></use>
            </svg>
═══════════════════════════════════════════════════════════════ */
.icon {
  display: inline-block;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Chevron v nav dropdown tlačítku */
.icon-chevron-down {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}
.site-nav__item--dropdown.is-open .icon-chevron-down {
  transform: rotate(180deg);
}

/* Ikona externího odkazu (inline v textu a nav) */
.icon-external-link {
  width: 13px;
  height: 13px;
  vertical-align: middle;
  margin-left: 5px;
}

/* Šipky v mobilní navigaci */
.icon-chevron-right,
.icon-chevron-down-lg {
  width: 18px;
  height: 18px;
  opacity: .5;
}

/* Křížek v close tlačítku mobilního menu */
.icon-close {
  width: 16px;
  height: 16px;
}

/* Ikony v pillar kartách — wrapper nastavuje pozadí, SVG barvu */
.pillar-card__icon svg,
.pillar-card__icon .icon {
  width: 26px;
  height: 26px;
  stroke: var(--color-black);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ═══════════════════════════════════════════════════════════════
   5. BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp2);
  padding: var(--sp3) var(--sp8);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-align: center;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover { background: #0020cc; border-color: #0020cc; }

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}
.btn-outline:hover { background: rgba(0,0,0,.07); }


/* ═══════════════════════════════════════════════════════════════
   6. BADGE
═══════════════════════════════════════════════════════════════ */
.badge-soon {
  display: inline-block;
  padding: var(--sp3) var(--sp8);
  border: 2px solid rgba(0,0,0,.2);
  border-radius: var(--r);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: rgba(0,0,0,.35);
}


/* ═══════════════════════════════════════════════════════════════
   7. HEADER & DESKTOP NAV
═══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--color-primary);
  border-bottom: 2px solid rgba(0,0,0,.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-block: var(--sp12);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp3);
  text-decoration: none;
  color: var(--color-black);
  font-weight: var(--fw-black);
  font-size: var(--fs-lg);
  letter-spacing: -.01em;
  flex-shrink: 0;
}

.site-logo__img {
  height: 40px;
  width: auto;
  display: block;
}

/* Desktop navigace */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp2);
  list-style: none;
}

.site-nav__item { position: relative; }

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--sp2) var(--sp4);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: rgba(0,0,0,.65);
  text-decoration: none;
  border-radius: var(--r);
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.site-nav__link:hover         { color: var(--color-black); background: rgba(0,0,0,.08); }
.site-nav__link--active       { color: var(--color-black); font-weight: var(--fw-bold); }

/* Dropdown panel */
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);   /* 8px = výška přemostíku */
  left: 0;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: var(--rl);
  padding: var(--sp2);
  min-width: 240px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 200;
}

/* Neviditelný přemostek eliminuje mezeru mezi tlačítkem a dropdownem */
.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.site-nav__item--dropdown.is-open .site-nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.site-nav__dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp3) var(--sp4);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  text-decoration: none;
  border-radius: var(--r);
  transition: background .12s ease;
}
.site-nav__dropdown-link:hover { background: var(--color-grey); }

/* Hamburger tlačítko */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--sp2);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--r);
  transition: background .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger:hover { background: rgba(0,0,0,.08); }

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  pointer-events: none;
}
.hamburger.is-open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════════════════
   8. MOBILNÍ NAVIGACE
═══════════════════════════════════════════════════════════════ */

/* Overlay — vždy v DOM, zobrazuje se přes opacity */
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 290;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav__overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Slide-in panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: var(--color-black);
  border-left: 2px solid #333;
  padding: var(--sp16) var(--sp6) var(--sp8);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp3) var(--sp4);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border-radius: var(--r);
  transition: color .15s, background .15s;
  cursor: default;
}
a.mobile-nav__link         { cursor: pointer; }
a.mobile-nav__link:hover   { color: var(--color-white); background: rgba(255,255,255,.08); }
.mobile-nav__link--active  { color: var(--color-primary); }

.mobile-nav__sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: var(--sp2);
}

.mobile-nav__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp2) var(--sp4) var(--sp2) var(--sp6);
  font-size: var(--fs-base);
  color: rgba(255,255,255,.5);
  text-decoration: none;
  border-radius: var(--r);
  transition: color .15s, background .15s;
}
.mobile-nav__sublink:hover { color: var(--color-white); background: rgba(255,255,255,.06); }

.mobile-nav__sublink--disabled {
  opacity: .45;
  cursor: default;
  pointer-events: none;
}

/* Tlačítko zavřít */
.mobile-nav__close {
  position: absolute;
  top: var(--sp5);
  right: var(--sp5);
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease;
}
.mobile-nav__close:hover { background: rgba(255,255,255,.18); }


/* ═══════════════════════════════════════════════════════════════
   9. FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: var(--sp12);
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp4);
}

.site-footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: var(--sp6);
  flex-wrap: wrap;
}

.site-footer__link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s ease;
}
.site-footer__link:hover { color: var(--color-white); }


/* ═══════════════════════════════════════════════════════════════
   10. NEWSLETTER
═══════════════════════════════════════════════════════════════ */
.newsletter { background: var(--color-dark); }

.newsletter__inner { max-width: 560px; }

.newsletter h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--color-white);
  margin-bottom: var(--sp2);
}

.newsletter__sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp8);
}

.newsletter__form {
  display: flex;
  gap: var(--sp3);
  flex-wrap: wrap;
}

.nl-input {
  flex: 1;
  min-width: 200px;
  padding: var(--sp3) var(--sp4);
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--color-white);
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  outline: none;
  transition: border-color .15s ease;
}
.nl-input::placeholder { color: rgba(255,255,255,.35); }
.nl-input:focus        { border-color: rgba(255,255,255,.5); }

.nl-submit {
  padding: var(--sp3) var(--sp8);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
  white-space: nowrap;
}
.nl-submit:hover { transform: translateY(-2px); background: #45c04f; }

.newsletter__note {
  margin-top: var(--sp4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
}
.newsletter__note a { color: rgba(255,255,255,.6); text-decoration: underline; }

.nl-banner {
  display: none;
  margin-top: var(--sp4);
  padding: var(--sp4) var(--sp5);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}
.nl-banner--success { background: #e8fbe9; border: 2px solid var(--color-primary); color: #1a5c1f; }
.nl-banner--error   { background: #fde8e8; border: 2px solid #c00; color: #a00; }
.nl-banner.is-visible { display: block; }


/* ═══════════════════════════════════════════════════════════════
   11. PAGE: HOME
═══════════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  background: var(--color-primary);
  padding-block: var(--sp20) var(--sp16);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: var(--sp16);
  align-items: center;
}

.hero__image { overflow: hidden; border-radius: var(--rl); }
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.hero__inner { max-width: 680px; }

.hero h1 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--color-black);
  margin-bottom: var(--sp6);
}

.hero__lead {
  font-size: var(--fs-xl);
  color: var(--color-black);
  max-width: 560px;
}

/* Pilíře */
.pillars { background: var(--color-grey); }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp8);
}

.pillar-card {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: var(--rl);
  padding: var(--sp8);
  display: flex;
  flex-direction: column;
  gap: var(--sp4);
}

.pillar-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border: 2px solid var(--color-black);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
}

.pillar-card p {
  font-size: var(--fs-base);
  flex: 1;
}

/* Akce */
.events { background: var(--color-white); }

.events-list {
  border: 2px solid var(--color-black);
  border-radius: var(--rl);
  overflow: hidden;
}

.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp6);
  padding: var(--sp5) var(--sp8);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.event-row:last-child  { border-bottom: none; }
.event-row:nth-child(even) { background: var(--color-grey); }

.event-row__info { min-width: 0; }

.event-row__name {
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-row__location {
  font-size: var(--fs-sm);
  color: #555;
  margin-top: 3px;
}

.event-row__date {
  width: 6rem;
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  text-align: center;
  background: var(--color-black);
  color: var(--color-primary);
  padding: 3px 10px;
  border-radius: var(--rs);
}

.event-row__actions {
  display: flex;
  align-items: center;
  gap: var(--sp6);
}

.event-row__more {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  color: var(--color-black);
  white-space: nowrap;
}
.event-row__more:hover { color: var(--color-accent); }

/* Iniciativy */
.initiative      { background: var(--color-white); }
.initiative--alt { background: var(--color-grey); }

.initiative__inner {
  display: grid;
  grid-template-columns: 1fr 42%;
  grid-template-rows: auto auto 1fr auto;
  column-gap: var(--sp16);
  row-gap: var(--sp6);
  align-items: start;
}

/* Výchozí pořadí: tag | obrázek */
.initiative__inner > .initiative__tag   { grid-column: 1; grid-row: 1; }
.initiative__inner > h2                 { grid-column: 1; grid-row: 2; }
.initiative__inner > p                  { grid-column: 1; grid-row: 3; }
.initiative__inner > .btn,
.initiative__inner > .badge-soon        { grid-column: 1; grid-row: 4; align-self: start; justify-self: start; }
.initiative__inner > .initiative__image { grid-column: 2; grid-row: 1 / -1; align-self: stretch; }

/* Alt varianta: obrázek vlevo */
.initiative--alt .initiative__inner { grid-template-columns: 42% 1fr; }
.initiative--alt .initiative__inner > .initiative__tag   { grid-column: 2; }
.initiative--alt .initiative__inner > h2                 { grid-column: 2; }
.initiative--alt .initiative__inner > p                  { grid-column: 2; }
.initiative--alt .initiative__inner > .btn,
.initiative--alt .initiative__inner > .badge-soon        { grid-column: 2; }
.initiative--alt .initiative__inner > .initiative__image { grid-column: 1; grid-row: 1 / -1; }

.initiative__image {
  border-radius: var(--rl);
  overflow: hidden;
}
.initiative__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.initiative__tag {
  display: inline-block;
  align-self: start;
  justify-self: start;
  background: var(--color-black);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--rs);
}

.initiative h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  letter-spacing: -.015em;
}

.initiative p { font-size: var(--fs-lg); }


/* ═══════════════════════════════════════════════════════════════
   12. PAGE: O NÁS
═══════════════════════════════════════════════════════════════ */

/* Hero — o-nas má jiný hero layout (bez .hero__inner max-width) */
.hero--wide h1 { max-width: none; }

/* Tým */
.team { background: var(--color-grey); }

.team__intro {
  max-width: 680px;
  margin-bottom: var(--sp12);
}
.team__intro h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--sp6);
}
.team__intro p { font-size: var(--fs-lg); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp8);
}

.member {
  display: flex;
  flex-direction: column;
  gap: var(--sp3);
}

.member__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}

.member__name a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity .15s ease;
}
.member__name a:hover { opacity: .65; }

.member__bio {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: #333;
}

/* Foto strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 220px;
}

.photo-strip__img { overflow: hidden; }

.photo-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.photo-strip__img:hover img { transform: scale(1.03); }

/* Historie */
.history { background: var(--color-white); }

.history__intro {
  max-width: 680px;
  margin-bottom: var(--sp12);
}
.history__intro h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--sp6);
}
.history__intro p { font-size: var(--fs-lg); }

.history__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp16);
}

.history__col-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--sp8);
  padding-bottom: var(--sp4);
  border-bottom: 2px solid var(--color-black);
}

.history__year-block        { margin-bottom: var(--sp8); }
.history__year-block:last-child { margin-bottom: 0; }

.history__year {
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp4);
}

.history__items {
  display: flex;
  flex-direction: column;
  gap: var(--sp4);
}

.history__item {
  padding-left: var(--sp5);
  border-left: 2px solid var(--color-primary);
}

.history__item p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}

.history__item strong { font-weight: var(--fw-bold); }


/* ═══════════════════════════════════════════════════════════════
   13. PAGE: KONTAKT
═══════════════════════════════════════════════════════════════ */
.contact { background: var(--color-white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp16);
  max-width: 760px;
}

.contact__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp8);
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
}

.contact__label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.contact__value {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
}

.contact__link {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  transition: opacity .15s ease;
}
.contact__link:hover { opacity: .65; }


/* ═══════════════════════════════════════════════════════════════
   14. PAGE: AKCE DETAIL
═══════════════════════════════════════════════════════════════ */

/* Hero -------------------------------------------------------- */
.akce-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp8);
  max-width: 760px;
}
 
/* Info grid v hero -------------------------------------------- */
.akce-info__grid {
  display: flex;
  gap: var(--sp10);
  flex-wrap: wrap;
}
 
.akce-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
}
 
.akce-info__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(0,0,0,.45);
}
 
.akce-info__value {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
}
 
/* Popis ------------------------------------------------------- */
.akce-popis { padding-block: var(--sp12); }
 
.akce-popis__body {
  max-width: 680px;
}
 
.akce-popis__body h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  margin-top: var(--sp10);
  margin-bottom: var(--sp4);
}
 
.akce-popis__body h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-top: var(--sp8);
  margin-bottom: var(--sp3);
}
 
.akce-popis__body p {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp5);
}
 
.akce-popis__body ul,
.akce-popis__body ol {
  padding-left: var(--sp6);
  margin-bottom: var(--sp5);
}
 
.akce-popis__body li {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp2);
}
 
.akce-popis__body strong { font-weight: var(--fw-bold); }
 
.akce-popis__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.akce-popis__body a:hover { opacity: .75; }
 
/* Registrace (šedý pruh) ------------------------------------- */
.akce-registrace {
  background: var(--color-grey);
  padding-block: var(--sp8);
}
 
.akce-registrace__inner {
  display: flex;
  align-items: center;
  gap: var(--sp6);
  flex-wrap: wrap;
}
 
.akce-cena {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}




/* ═══════════════════════════════════════════════════════════════
   15. RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* — Tablet —————————————————————————————————— */
@media (max-width: 900px) {

  /* Hero */
  .hero__grid      { grid-template-columns: 1fr; }
  .hero__image     { display: none; }
  
  /* Pilíře: 2 sloupce, třetí karta na celou šířku centrovaná */
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc((100% - var(--sp8)) / 2);
    margin-inline: auto;
  }

  /* Iniciativy: jeden sloupec */
  .initiative__inner,
  .initiative--alt .initiative__inner {
    display: flex;
    flex-direction: column;
    gap: var(--sp8);
  }
  .initiative__inner > .initiative__tag   { order: 1; }
  .initiative__inner > .initiative__image { order: 2; width: 100%; aspect-ratio: 32 / 9; }
  .initiative__image img { object-fit: cover; object-position: center; }
  .initiative__inner > h2                 { order: 3; }
  .initiative__inner > p                  { order: 4; }
  .initiative__inner > .btn,
  .initiative__inner > .badge-soon        { order: 5; }

  /* Akce: stack */
  .event-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp3);
    padding: var(--sp5) var(--sp6);
  }
  .event-row__actions { margin-top: var(--sp3); }

  /* Tým: 2 sloupce */
  .team__grid { grid-template-columns: repeat(2, 1fr); }

  /* Historie: 1 sloupec */
  .history__cols { grid-template-columns: 1fr; gap: var(--sp12); }

  /* O nás nadpisy */
  .team__intro h2, .history__intro h2 { font-size: var(--fs-2xl); }

  /* Kontakt */
  .contact__grid { grid-template-columns: 1fr; gap: var(--sp8); }
}

/* — Mobil ——————————————————————————————————— */
@media (max-width: 640px) {
  :root { --section-py: var(--sp12); }

  /* Nav: skrýt desktop, zobrazit hamburger */
  .site-nav  { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero            { padding-block: var(--sp8) var(--sp12); }

  /* Pilíře: 1 sloupec */
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar-card:nth-child(3) { grid-column: auto; max-width: none; margin-inline: 0; }

  /* Typografické škálování */
  .hero h1           { font-size: 2rem; }
  .section-header h2 { font-size: var(--fs-2xl); }
  .initiative h2     { font-size: var(--fs-2xl); }

  /* Newsletter */
  .newsletter__form { flex-direction: column; }
  .nl-input         { min-width: 0; }

  /* Footer */
  .site-footer__bar { flex-direction: column-reverse; align-items: flex-start; }

  /* Tým: 1 sloupec */
  .team__grid { grid-template-columns: 1fr; gap: var(--sp8); }

  /* Foto strip */
  .photo-strip { height: 120px; }

  /* Akce – Detail */
  .akce-info__grid        { gap: var(--sp6); }
  .akce-registrace__inner { flex-direction: column; align-items: center; }
  .akce-popis__body p,
  .akce-popis__body li    { font-size: var(--fs-base); }
  .akce-popis             { padding-block: var(--sp8); }
}


/* ═══════════════════════════════════════════════════════════════
   16. UTILITY
═══════════════════════════════════════════════════════════════ */

/* Zvýrazněný inline odkaz (tučný + podtržení) — pro použití v textu */
.text-link {
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: opacity .15s ease;
}
.text-link:hover { opacity: .7; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
