/* ==========================================================================
   Bikepark Opálená — production stylesheet
   Mobile-first · system fonts (no render-blocking webfont) · WCAG-aware
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header/Nav · 5 Status
   6 Buttons · 7 Hero · 8 Components · 9 Forms · 10 Footer · 11 Mobile bar
   12 Utilities · 13 Media queries
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* brand */
  --green-900: #0d3a5e;
  --green-800: #114f80;
  --green-700: #15639f;
  --green-600: #1b79c4;
  --green-500: #2e90d6;
  --sky:       #1f7fc4;
  --amber:     #f5c518;
  --amber-700: #cf9e00;
  --sand:      #c89b5e;

  /* neutrals */
  --ink:    #14222e;
  --body:   #2b3946;
  --muted:  #5a6675;
  --line:   #e2e8ef;
  --paper:  #ffffff;
  --paper-2:#f1f5f9;
  --paper-3:#e4edf5;

  /* difficulty */
  --diff-green: #2e7d32;
  --diff-blue:  #1f6fd6;
  --diff-red:   #d23f34;
  --diff-black: #1c1c1c;

  /* status */
  --ok:   #2e9e4f;
  --warn: #e0972a;
  --bad:  #d23f34;

  /* type scale (fluid) */
  --fs-300: clamp(.82rem, .8rem + .1vw, .9rem);
  --fs-400: clamp(.95rem, .92rem + .15vw, 1.05rem);
  --fs-500: clamp(1.12rem, 1.05rem + .35vw, 1.3rem);
  --fs-600: clamp(1.3rem, 1.15rem + .7vw, 1.65rem);
  --fs-700: clamp(1.6rem, 1.35rem + 1.2vw, 2.2rem);
  --fs-800: clamp(2rem, 1.6rem + 2vw, 3.1rem);

  /* spacing */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem;
  --sp-5:1.5rem; --sp-6:2rem; --sp-7:3rem; --sp-8:4.5rem;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13,40,70,.06), 0 2px 8px rgba(13,40,70,.06);
  --shadow:    0 6px 24px rgba(13,40,70,.10);
  --shadow-lg: 0 14px 44px rgba(13,40,70,.16);

  --container: 1140px;
  --header-h: 76px;
  --statusbar-h: 46px; /* výška horní lišty; JS ji přepočítá dle reálného zalomení */

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* 2. BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }
p { margin: 0 0 1rem; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-800); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
li { margin: .3em 0; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .15s;
}
.skip-link:focus { top: 8px; color: #fff; }

/* 3. LAYOUT -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--alt { background: var(--paper-2); }
.section--tint { background: var(--green-900); color: #e6eef6; }
.section--tint h2, .section--tint h3 { color: #fff; }
.section--tint .lead { color: #e6eef6; }
.section--tint .eyebrow { color: #bfe6c6; }
.section__head { margin-bottom: var(--sp-6); }
.section__head.center { max-width: 46rem; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: var(--fs-300); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: .5rem;
}
.pagetitle { font-size: var(--fs-800); color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .5em; }
.lead { font-size: var(--fs-500); color: var(--body); }

.grid { display: grid; gap: clamp(1rem, 3vw, 1.75rem); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* 4. HEADER / NAV -------------------------------------------------------- */
.site-header {
  position: sticky; top: var(--statusbar-h); z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--sp-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand__tag { font-weight: 800; color: var(--ink); font-size: .95rem; letter-spacing: -.01em; }
.nav { margin-left: auto; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-700); color: #fff; border: 0; border-radius: 10px;
  padding: .55rem .8rem; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars span { top: 5px; } .nav-toggle__bars::after { top: 10px; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav-list a {
  display: block; padding: .5rem .6rem; border-radius: 9px; color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--paper-3); color: var(--green-800); }
.nav-cta { margin-left: .4rem; }

/* mobile drawer */
@media (max-width: 919px) {
  .nav {
    position: fixed; inset: calc(var(--statusbar-h) + var(--header-h)) 0 0 auto; width: min(86vw, 360px);
    background: var(--paper); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
    overflow-y: auto; padding: var(--sp-4); margin: 0;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-list a { padding: .8rem .9rem; font-size: 1.05rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,20,12,.4); opacity: 0; visibility: hidden;
    transition: opacity .2s; z-index: 99;
  }
  .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
}
@media (min-width: 920px) {
  .nav-toggle, .nav-backdrop { display: none; }
  .nav { position: static; transform: none; box-shadow: none; width: auto; padding: 0; }
}

/* 5. STATUS BAR ---------------------------------------------------------- */
.statusbar { position: sticky; top: 0; z-index: 101; background: var(--amber); color: var(--green-900); font-size: var(--fs-400); font-weight: 600; border-bottom: 2px solid var(--amber-700); }
.statusbar__inner { display: block; text-align: center; padding-block: .6rem; }
.statusbar a { color: var(--green-900); }
.status-pill { display: inline; font-weight: 800; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(46,158,79,.25); }
.dot.is-warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(224,151,42,.25); }
.dot.is-closed { background: var(--bad); box-shadow: 0 0 0 3px rgba(210,63,52,.25); }
.statusbar__sep { opacity: .45; }
.statusbar__meta { opacity: .85; }
.statusbar__cta { margin-left: auto; font-weight: 700; text-decoration: underline; }

/* 6. BUTTONS ------------------------------------------------------------- */
.btn {
  --bg: var(--green-700); --fg: #fff; --bd: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  padding: .72rem 1.25rem; border-radius: 11px; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn--accent { --bg: var(--amber); --fg: #0d3a5e; --bd: var(--amber); }
.btn--accent:hover { background: #15639f; border-color: #15639f; color: #fff; }
.btn--green { --bg: #1f6f3a; --fg: #fff; --bd: #1f6f3a; }
.btn--green:hover { background: #1a6234; border-color: #1a6234; color: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--green-800); --bd: var(--green-600); }
.btn--ghost:hover { background: var(--green-700); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--green-800); --bd: #fff; }
.btn--light:hover { background: #fff; border-color: #5aa6dd; color: #0d3a5e; }
.btn--lg { padding: .9rem 1.6rem; font-size: var(--fs-500); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* 7. HERO ---------------------------------------------------------------- */
.hero { position: relative; color: #fff; isolation: isolate; display: flex; align-items: center; min-height: 560px; min-height: calc(100svh - var(--header-h)); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,28,16,.32) 0%, rgba(12,28,16,.5) 55%, rgba(10,24,14,.78) 100%);
}
.hero__inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 42rem; width: 100%; }
.hero h1 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero .lead { color: #eef4ee; font-size: var(--fs-500); text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.hero__badge {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: .3rem .7rem; border-radius: 999px; font-size: var(--fs-300); font-weight: 700;
  backdrop-filter: blur(4px);
}

/* 8. COMPONENTS ---------------------------------------------------------- */
/* card */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .15s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 3 / 2; background: var(--paper-3); position: relative; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__body h3 { margin-bottom: .15rem; }
.card__price { font-weight: 800; color: var(--green-700); }
.card__cta { margin-top: auto; padding-top: .6rem; font-weight: 700; }

/* audience cards */
.audience { display: grid; gap: 1rem; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.audience__card {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid #2a7d43;
  border-radius: var(--radius); padding: 1.3rem 1.35rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .4rem;
}
.audience__card .icon { font-size: 1.6rem; line-height: 1; }
.audience__card h3 { min-height: 2.4em; }
@media (max-width: 759px) { .audience__card h3 { min-height: 0; } }
.audience__card a, .audience__cta { margin-top: auto; font-weight: 700; }
.audience__cta { padding-top: .3rem; color: #1f6f3a; }
a.audience__card { text-decoration: none; color: inherit; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease; }
a.audience__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-left-color: #1a6234; }
a.audience__card:hover .audience__cta { color: #1a6234; text-decoration: underline; }

/* feature row (image + text) */
.feature { display: grid; gap: clamp(1.2rem, 4vw, 2.5rem); align-items: center; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--flip .feature__media { order: 2; }
}
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.feature + .feature { margin-top: clamp(2rem, 6vw, 4rem); }

/* icon list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem;
  background: var(--green-600); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* steps */
.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; list-style: none; }
@media (min-width: 760px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.25rem 1.25rem; box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -.9rem; left: 1.1rem; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; background: var(--green-700); color: #fff;
  border-radius: 50%; font-weight: 800;
}

/* difficulty badge */
.badge {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: var(--fs-300);
  padding: .2rem .6rem; border-radius: 999px; background: var(--paper-3); color: var(--ink);
}
.badge::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: currentColor; }
.badge--green { color: var(--diff-green); } .badge--blue { color: var(--diff-blue); }
.badge--red { color: var(--diff-red); } .badge--black { color: var(--diff-black); }

/* tabs */
.tablist { display: flex; flex-wrap: wrap; gap: .3rem; border-bottom: 2px solid var(--line); margin-bottom: 2.2rem; }
.tab {
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
  padding: .8rem 1.1rem; font: inherit; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .02em; color: var(--muted); cursor: pointer;
  border-radius: 8px 8px 0 0;
}
.tab:hover { color: var(--green-800); background: var(--paper-2); }
.tab[aria-selected="true"] { color: var(--green-800); border-bottom-color: var(--green-600); }
.tabpanel[hidden] { display: none; }

/* pricing table */
.pricetable { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pricetable caption { text-align: left; font-weight: 800; color: var(--ink); padding: .9rem 1rem; font-size: var(--fs-500); }
.pricetable th, .pricetable td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.pricetable thead th { background: var(--green-900); color: #fff; font-size: var(--fs-300); letter-spacing: .02em; }
.pricetable td + td, .pricetable th + th, .pricetable th + td { text-align: center; }
.pricetable tbody tr:nth-child(even) { background: var(--paper-2); }
.pricetable .row-em td { font-weight: 800; color: var(--ink); }
.pricetable .row-em { background: #fff7e6 !important; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.note { font-size: var(--fs-300); color: var(--muted); }

/* callout */
.callout {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--amber);
  border-radius: var(--radius); padding: 1.15rem 1.3rem; box-shadow: var(--shadow-sm);
}
.callout--green { border-left-color: #2a7d43; }
.callout--danger { border-left-color: #d23b2f; }
.callout--orange { border-left-color: #e8821e; }
.rules-list { max-width: 54rem; line-height: 1.6; padding-left: 1.3rem; }
.rules-list > li { margin-bottom: .85rem; }
.rules-list ul { margin: .4rem 0 0; padding-left: 1.25rem; list-style: disc; }
.rules-list ul li { margin-bottom: .25rem; }
/* non-clickable emergency phone fields */
.phone-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.phone-field { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem 1rem; }
.phone-field__label { display: block; font-size: var(--fs-300); color: var(--muted); }
.phone-field__num { font-weight: 800; font-size: var(--fs-600); letter-spacing: .01em; }
@media (max-width: 560px) { .phone-fields { grid-template-columns: 1fr; } }
/* equal-height contact boxes with bottom-aligned buttons */
.contact-grid > .callout { display: flex; flex-direction: column; }
.contact-grid > .callout > p:last-child { margin-top: auto; margin-bottom: 0; padding-top: 1.2rem; }

/* FAQ */
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.1rem; margin-bottom: .6rem;
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--ink);
  padding: 1rem 2rem 1rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--green-600); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq p:last-child { margin-bottom: 1rem; }

/* simple two-col facts */
.facts { display: grid; gap: .1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); margin: 0; } .facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* breadcrumb */
.breadcrumb { font-size: var(--fs-300); color: var(--muted); padding-top: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumb li::after { content: "›"; margin-left: .35rem; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }

/* 9. FORMS --------------------------------------------------------------- */
.form { display: grid; gap: 1rem; max-width: 38rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; color: var(--ink); font-size: var(--fs-400); }
.field .req { color: var(--diff-red); }
.field input, .field select, .field textarea {
  font: inherit; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-600); outline: 3px solid rgba(31,127,196,.25); outline-offset: 0; }
.field textarea { min-height: 7rem; resize: vertical; }
.field .hint { font-size: var(--fs-300); color: var(--muted); }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-300); color: var(--muted); }
.form__consent input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: 0 0 auto; }

/* 10. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: #cfe0d2; padding-block: clamp(2.5rem,6vw,4rem) 6rem; font-size: var(--fs-400); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 { color: #fff; font-size: var(--fs-500); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-brand { margin: 0 0 1.1rem; }
.footer-brand img { height: 62px; width: auto; background: #fff; padding: .55rem .85rem; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.footer-links { margin-top: 1.1rem; }
.footer-links a { color: #dff0e2; }
.footer-links a:hover { color: #fff; }
/* newsletter */
/* Newsletter — light card on white background */
.newsletter { background: var(--paper-2); padding-block: clamp(2.5rem, 6vw, 4rem); }
.newsletter__card { max-width: 40rem; margin: 0 auto; text-align: center; }
.newsletter__card h2 { margin-bottom: .4rem; }
.newsletter__card > p { color: var(--muted); max-width: 32rem; margin: 0 auto 1.6rem; }
/* Ecomail widget inside light card (native light styling) */
#f-3-b6fcc542fb021c84fdaff536dd0a74a1 .ec-v-form-holder-basic { background: transparent !important; box-shadow: none !important; border: 0 !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
#f-3-b6fcc542fb021c84fdaff536dd0a74a1 .ec-v-form-step-visible h2 { display: none !important; }
#f-3-b6fcc542fb021c84fdaff536dd0a74a1 button { background: var(--amber) !important; color: #0d3a5e !important; border: 0 !important; }
#f-3-b6fcc542fb021c84fdaff536dd0a74a1 button:hover { background: var(--amber-700) !important; color: #fff !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: var(--fs-300); opacity: .85; }
/* partners */
.partners-wrap { margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.8rem; }
.partners-wrap--top { margin: 0 0 2.4rem; border-top: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 0 0 2rem; }
.partners__title { text-align: center; font-size: var(--fs-500); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 1.3rem; }
.partners { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; }
.partners__funding { max-width: 62rem; margin: 1.5rem auto 0; text-align: center; font-size: var(--fs-300); line-height: 1.55; color: rgba(255,255,255,.72); }
.partners__funding a { color: #fff; text-decoration: underline; }
.partners__chip { background: #fff; border-radius: 10px; padding: .6rem 1rem; display: inline-flex; align-items: center; text-decoration: none; transition: transform .12s ease, box-shadow .15s ease; }
.partners__chip:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.partners__chip img { height: 48px; width: auto; display: block; }

/* 11. MOBILE STICKY ACTION BAR ------------------------------------------ */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20,40,26,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: .5rem .2rem; color: var(--ink); text-decoration: none; font-size: .72rem; font-weight: 600;
}
.mobile-bar a:hover, .mobile-bar a[aria-current="page"] { color: var(--green-700); }
.mobile-bar svg { width: 22px; height: 22px; }
@media (min-width: 920px) { .mobile-bar { display: none; } }

/* 12. UTILITIES ---------------------------------------------------------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .5rem 0 0; }
.tag-list li { background: var(--paper-3); border-radius: 999px; padding: .25rem .75rem; font-size: var(--fs-300); font-weight: 600; color: var(--green-800); }
body { padding-bottom: 64px; } /* room for mobile bar */
@media (min-width: 920px) { body { padding-bottom: 0; } }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 2rem; background: rgba(8,20,33,.9); cursor: zoom-out; }
.lightbox img { max-width: 96%; max-height: 92%; border-radius: 10px; box-shadow: 0 12px 50px rgba(0,0,0,.5); }

/* ---- Kalendář akcí ---- */
.event-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.event-filter button {
  font: inherit; font-size: var(--fs-300); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  color: var(--muted); cursor: pointer; transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.event-filter button:hover { border-color: var(--green-600); color: var(--green-700); }
.event-filter button[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.event-list { display: grid; gap: 1.1rem; }
.event {
  display: grid; grid-template-columns: 134px 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .12s ease, box-shadow .15s ease;
}
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.event__date { background: var(--green-900); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.event__day { font-size: var(--fs-700); font-weight: 800; line-height: 1; }
.event__month { font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .06em; color: var(--amber); margin-top: .35rem; }
.event__body { padding: 1.15rem 1.4rem; }
.event__body h3 { margin: .1rem 0 .3rem; }
.event__loc { font-size: var(--fs-300); color: var(--muted); margin: 0 0 .5rem; }
.event__desc { margin: 0 0 .7rem; }
.event__more { font-weight: 700; color: var(--green-700); font-size: var(--fs-300); }
.event:hover .event__more { text-decoration: underline; }
.event-empty { text-align: center; padding: 1.5rem; }
@media (max-width: 559px) {
  .event { grid-template-columns: 1fr; }
  .event__date { flex-direction: row; gap: .5rem; padding: .7rem 1rem; justify-content: flex-start; }
  .event__month { margin-top: 0; }
}

/* ---- Dotace / loga podpory ---- */
.dotace-logos { display: grid; gap: 1.2rem; justify-items: center; }
.dotace-logos figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.5rem; box-shadow: var(--shadow-sm); max-width: 700px; width: 100%; }
.dotace-logos img { width: 100%; height: auto; }
