/* ==========================================================================
   PECKARI.CZ — Swiss Minimal
   Quiet confidence. Airy whitespace. Precise but soft.
   ========================================================================== */

/* — Font: Outfit (self-hosted, variabilní 300–700; latin-ext = česká diakritika) — */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* — Tokens — */
:root {
    /* Logo-aligned palette: black + green only (no red) */
    --green: #4DAE5E;
    --green-soft: #E6F4E8;
    --green-dark: #3A8A48;
    --green-darker: #2C6936;
    /* Red kept for legacy class names but mapped to green */
    --red: #4DAE5E;
    --red-soft: #E6F4E8;
    --red-dark: #3A8A48;

    --gray-950: #0A0F1C;
    --gray-800: #1E293B;
    --gray-600: #475569;
    --gray-400: #94A3B8;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50: #F8FAFC;
    --white: #FFFFFF;

    --font: 'Outfit', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --max-w: 1120px;
    --nav-h: 60px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);

    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --dur: 0.25s;

    --radius: 10px;
    --radius-sm: 6px;
    --radius-pill: 100px;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

/* — Typography — */
h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-950);
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p + p { margin-top: var(--space-sm); }

/* — Layout — */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.section--alt { background: var(--gray-50); }
.section__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 6px;
}
.section__title {
    text-align: center;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 14px;
}
.section__title::after {
    content: "";
    display: block;
    width: 48px; height: 3px;
    background: var(--green);
    border-radius: 2px;
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
}
.section__subtitle {
    text-align: center;
    color: var(--gray-600);
    max-width: 460px;
    margin: 0 auto var(--space-xl);
    font-size: 0.95rem;
}
.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* — Scroll Reveal — */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--dur) var(--ease);
}
.header--scrolled {
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}
.header__logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-950);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}
.header__logo span { color: var(--red); }
.header__logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity var(--dur) var(--ease);
}
.header__logo:hover img { opacity: 0.78; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
    color: var(--gray-600);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--gray-950); background: var(--gray-100); }
.nav__link--active { color: var(--gray-950); }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; z-index: 10;
}
.hamburger__line {
    width: 20px; height: 1.5px; background: var(--gray-800);
    border-radius: 2px; transition: all var(--dur) var(--ease); transform-origin: center;
}
.hamburger.is-active .hamburger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   HERO — Light, clean, welcoming
   ========================================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    margin-top: var(--nav-h);
    overflow: hidden;
    background: var(--gray-50);
}

/* Soft green gradient orbs + figure watermark */
.hero__video-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 22% 35%, rgba(77,174,94,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 45% at 78% 65%, rgba(77,174,94,0.06) 0%, transparent 70%);
}
.hero__video-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: url('../img/favicon-512.png') no-repeat right 4% bottom 8%;
    background-size: clamp(180px, 28vw, 360px);
    opacity: 0.06;
    pointer-events: none;
}
.hero__video-bg video { width: 100%; height: 100%; object-fit: cover; }

/* No grain texture */
.hero::before { display: none; }

.hero__content {
    position: relative; z-index: 5;
    max-width: 600px; padding: var(--space-xl) var(--space-lg);
}
.hero__tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--green-soft);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: var(--space-md);
    animation: fadeUp 0.6s var(--ease) 0.1s both;
}
.hero__tag::before { display: none; }

.hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--gray-950);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: var(--space-sm);
    animation: fadeUp 0.6s var(--ease) 0.2s both;
}
.hero__title span { color: var(--green); }
.hero__title--logo {
    margin: 0 auto var(--space-md);
    line-height: 0;
}
.hero__title--logo img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero__subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.65;
    animation: fadeUp 0.6s var(--ease) 0.35s both;
}

.hero__actions {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.6s var(--ease) 0.5s both;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--gray-400);
    font-size: 0.65rem; font-weight: 500;
    animation: fadeUp 0.6s var(--ease) 0.8s both;
}
.hero__scroll-line {
    width: 1px; height: 28px;
    background: linear-gradient(to bottom, var(--gray-400), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 0.8; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px;
    font-family: var(--font);
    font-size: 0.85rem; font-weight: 500;
    border: none; border-radius: var(--radius-pill);
    transition: all var(--dur) var(--ease);
}
.btn--red,
.btn--green {
    background: var(--green); color: var(--white);
}
.btn--red:hover,
.btn--green:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(77,174,94,0.28);
}
.btn--outline {
    background: transparent; color: var(--gray-800);
    border: 1px solid var(--gray-200);
}
.btn--outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}
.btn--ghost {
    background: var(--white); color: var(--gray-800);
    border: 1px solid var(--gray-200);
}
.btn--ghost:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}
.btn--sm { padding: 6px 14px; font-size: 0.78rem; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.card__image {
    width: 100%; height: 180px;
    background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 0.8rem;
}
.card__body { padding: var(--space-md); }
.card__date {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 4px;
    display: block;
}
.card__level {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--green-dark);
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.card__level svg { width: 22px; height: 22px; flex-shrink: 0; }
.card__title { font-size: 1rem; margin-bottom: 4px; font-weight: 600; }
.card__text { color: var(--gray-600); font-size: 0.88rem; line-height: 1.6; }
.card__link {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: var(--space-sm);
    font-size: 0.82rem; font-weight: 500;
    color: var(--green-dark);
    transition: gap var(--dur) var(--ease);
}
.card__link:hover { gap: 8px; }

/* ==========================================================================
   ICON BOXES
   ========================================================================== */
.icon-box {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--dur) var(--ease);
}
.icon-box::before { display: none; }
.icon-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.icon-box__icon {
    width: 56px; height: 56px;
    background: var(--green-soft);
    color: var(--green-dark);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--space-sm);
    transition: transform var(--dur) var(--ease);
}
.icon-box__icon svg { width: 28px; height: 28px; }
.icon-box:hover .icon-box__icon { transform: scale(1.05); }
.icon-box__title { margin-bottom: 4px; font-size: 1rem; font-weight: 600; }
.icon-box__text { color: var(--gray-600); font-size: 0.88rem; line-height: 1.6; }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.event-list {
    display: flex; flex-direction: column; gap: 8px;
    max-width: 640px; margin: 0 auto;
}
.event {
    display: flex; align-items: center; gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--dur) var(--ease);
}
.event:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}
.event__date-box {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--gray-950);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.event__date-day { font-size: 1.1rem; font-weight: 700; line-height: 1; }
.event__date-month { font-size: 0.55rem; font-weight: 500; text-transform: uppercase; opacity: 0.6; }
.event__info { flex: 1; }
.event__title { font-size: 0.92rem; margin-bottom: 1px; font-weight: 600; }
.event__meta { font-size: 0.78rem; color: var(--gray-400); }

/* ==========================================================================
   SUPPORTERS
   ========================================================================== */
.supporters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
.supporter {
    display: flex; align-items: center; justify-content: center;
    padding: var(--space-md) var(--space-sm);
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    min-height: 72px;
    transition: all var(--dur) var(--ease);
}
.supporter:hover { border-color: var(--green); }
.supporter__name {
    font-weight: 500; color: var(--gray-600);
    font-size: 0.8rem; text-align: center;
}
.supporter:hover .supporter__name { color: var(--green-dark); }
.supporter__logo { max-height: 44px; filter: grayscale(1); opacity: 0.5; transition: all var(--dur); }
.supporter:hover .supporter__logo { filter: none; opacity: 1; }

/* ==========================================================================
   MEMBER CARDS
   ========================================================================== */
.member-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden; text-align: center;
    transition: all var(--dur) var(--ease);
}
.member-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.member-card__photo {
    width: 100%; height: 160px;
    background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 2rem;
}
.member-card__body { padding: var(--space-sm) var(--space-md) var(--space-md); }
.member-card__name { font-size: 0.92rem; margin-bottom: 2px; font-weight: 600; }
.member-card__role { font-size: 0.75rem; color: var(--gray-400); }
.member-card__badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.65rem; font-weight: 500;
    border-radius: var(--radius-pill);
    margin-top: 6px;
}
.member-card__badge--trener { background: var(--green-soft); color: var(--green-dark); }
.member-card__badge--rozhodci { background: var(--red-soft); color: var(--red-dark); }
.member-card__badge--zavodnik { background: #EEF2FF; color: #4338CA; }

/* ==========================================================================
   GALLERY – viditelné popisky, tlumené fotky, lightbox
   ========================================================================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md) 12px;
}
.gallery__item { margin: 0; cursor: zoom-in; border-radius: var(--radius); }
.gallery__item:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.gallery__img {
    aspect-ratio: 4/3; overflow: hidden;
    border-radius: var(--radius); background: var(--gray-100);
    border: 1px solid var(--gray-200);
}
.gallery__img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.85);
    transition: transform 0.4s var(--ease), filter var(--dur) var(--ease);
}
.gallery__item:hover .gallery__img img { transform: scale(1.03); filter: none; }
.gallery__caption {
    display: block; font-size: 0.8rem; color: var(--gray-600);
    padding: 6px 2px 0; line-height: 1.4;
}

/* ==========================================================================
   DOCUMENTS
   ========================================================================== */
.doc-list { display: flex; flex-direction: column; gap: 8px; max-width: 680px; margin: 0 auto; }
.doc-item {
    display: flex; align-items: center; gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--white); border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--dur) var(--ease);
}
.doc-item:hover { box-shadow: var(--shadow-sm); transform: translateX(2px); }
.doc-item__icon {
    flex-shrink: 0; width: 36px; height: 36px;
    background: var(--red-soft); color: var(--red);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.6rem;
}
.doc-item__info { flex: 1; }
.doc-item__title { font-weight: 600; font-size: 0.88rem; margin-bottom: 1px; }
.doc-item__desc { font-size: 0.78rem; color: var(--gray-400); }

/* ==========================================================================
   TRAINING TABLE
   ========================================================================== */
.training-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--gray-200);
}
.training-table thead { background: var(--gray-950); color: var(--white); }
.training-table th {
    padding: 10px var(--space-md); text-align: left;
    font-weight: 600; font-size: 0.78rem;
}
.training-table td {
    padding: 10px var(--space-md);
    border-bottom: 1px solid var(--gray-200); font-size: 0.88rem;
}
.training-table tbody tr:last-child td { border-bottom: none; }
.training-table tbody tr { transition: background 0.15s; }
.training-table tbody tr:hover { background: var(--gray-50); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form__group { margin-bottom: var(--space-md); }
.form__label {
    display: block; font-weight: 500; margin-bottom: 4px;
    font-size: 0.82rem; color: var(--gray-800);
}
.form__input, .form__textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 0.9rem;
    background: var(--white);
    transition: border-color var(--dur) var(--ease);
}
.form__input:focus, .form__textarea:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
}
.form__textarea { min-height: 130px; resize: vertical; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: var(--space-2xl); text-align: center; padding: var(--space-lg) 0;
}
.stats > div { min-width: 140px; }
.stat__number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.stat__label {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--gray-950); color: var(--gray-400);
    padding: var(--space-2xl) 0 var(--space-md);
}
.footer__grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: var(--space-xl); margin-bottom: var(--space-xl);
}
.footer__title {
    color: var(--white);
    font-size: 0.88rem; font-weight: 600;
    margin-bottom: var(--space-sm);
}
.footer__text { font-size: 0.82rem; line-height: 1.65; }
.footer__link {
    display: block; color: var(--gray-400);
    font-size: 0.82rem; padding: 3px 0;
    transition: color var(--dur) var(--ease);
}
.footer__link:hover { color: var(--green); }
.footer__social { display: flex; gap: 6px; margin-top: var(--space-sm); }
.footer__social-link {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 0.7rem; font-weight: 600;
    transition: all var(--dur) var(--ease);
}
.footer__social-link:hover {
    background: var(--green); color: var(--white);
}
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: var(--space-md);
    text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.25);
}

/* ==========================================================================
   PAGE HEADER (subpages)
   ========================================================================== */
.page-header {
    background: var(--gray-950);
    padding: var(--space-2xl) 0 var(--space-xl);
    margin-top: var(--nav-h);
    text-align: center; color: var(--white);
}
.page-header__title {
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
}
.page-header__breadcrumb {
    margin-top: var(--space-xs);
    font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.page-header__breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--dur); }
.page-header__breadcrumb a:hover { color: var(--green); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px); z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: var(--space-lg);
}
.lightbox.is-active { display: flex; }
.lightbox__close {
    position: absolute; top: var(--space-lg); right: var(--space-lg);
    background: rgba(255,255,255,0.1);
    color: var(--white); font-size: 1.1rem;
    width: 36px; height: 36px; border: none; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--dur);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__img { max-width: 100%; max-height: 82vh; width: auto; border-radius: var(--radius); margin: 0 auto; }
.lightbox__figure { margin: 0; text-align: center; max-width: min(90vw, 1100px); }
.lightbox__caption { color: rgba(255,255,255,0.72); font-size: 0.85rem; margin-top: 10px; }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: none; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1); cursor: pointer; transition: background var(--dur);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
    border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.lightbox__nav--prev { left: var(--space-sm); }
.lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lightbox__nav--next { right: var(--space-sm); }
.lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ==========================================================================
   DOPLŇKY 2026-09 – no-JS, skip link, hero fotka v pozadí, notice, fotky,
   video, novinky, kalendář, kontakt, mapa, tabulka limitů, seznamy
   ========================================================================== */
[hidden] { display: none !important; }
.no-js .reveal { opacity: 1; transform: none; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 2000;
    background: var(--gray-950); color: var(--white);
    padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.85rem;
}
.skip-link:focus { left: 8px; }

/* Hero – fotka upozaděná pod obsahem */
.hero__photo {
    position: absolute; inset: 0; pointer-events: none;
    background: url('../img/hero-bg.jpg') center 32% / cover no-repeat;
    opacity: 0.16;
    filter: saturate(0.55);
}
.hero__fade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(248,250,252,0.35) 0%, rgba(248,250,252,0.05) 40%, rgba(248,250,252,0.98) 100%);
}

/* Aktuálně (pruh pod hero) */
.notice { background: var(--green-soft); border-top: 1px solid #D5EAD9; border-bottom: 1px solid #D5EAD9; }
.notice__text { text-align: center; font-size: 0.9rem; color: var(--green-darker); padding: 12px 0; margin: 0; }
.notice__label { font-weight: 600; color: var(--green-dark); margin-right: 8px; }
.notice__link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.notice__link:hover { color: var(--green-dark); }

/* Fotky – tlumené, menší, s popiskem */
.photo {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius); border: 1px solid var(--gray-200);
    filter: saturate(0.8) contrast(0.97); opacity: 0.92;
    transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.photo:hover { filter: none; opacity: 1; }
.photo-figure { margin: 0; }
.photo-figure figcaption { font-size: 0.75rem; color: var(--gray-400); text-align: center; margin-top: 8px; }
.photo-figure--side { max-width: 360px; width: 100%; margin: 0 auto; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 820px; margin: 0 auto; }
.photo-row--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.photo-row .photo { aspect-ratio: 4/3; object-fit: cover; }
.grid--center { align-items: center; }

/* Video (klikací poster, YouTube nocookie) */
.video {
    position: relative; aspect-ratio: 16/9; max-width: 820px; margin: 0 auto;
    border-radius: var(--radius); overflow: hidden;
    background: var(--gray-950); border: 1px solid var(--gray-200);
}
.video__poster { position: absolute; inset: 0; display: block; }
.video__poster img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.8; filter: saturate(0.75);
    transition: opacity var(--dur) var(--ease);
}
.video__poster:hover img { opacity: 0.95; }
.video__play {
    position: absolute; left: 50%; top: 50%;
    width: 68px; height: 68px; margin: -34px 0 0 -34px;
    border-radius: 50%; background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-md);
    transition: transform var(--dur) var(--ease);
}
.video__play::before {
    content: ""; position: absolute; left: 50%; top: 50%;
    transform: translate(-40%, -50%);
    border-style: solid; border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent var(--gray-950);
}
.video__poster:hover .video__play { transform: scale(1.06); }
.video__label {
    position: absolute; left: 14px; bottom: 12px;
    font-size: 0.75rem; color: var(--white);
    background: rgba(10,15,28,0.55); padding: 4px 10px; border-radius: var(--radius-pill);
}
.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__note { text-align: center; font-size: 0.72rem; color: var(--gray-400); margin-top: 10px; }

/* Novinky */
.news-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.news { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: var(--space-md) var(--space-lg); }
.news__date { display: block; font-size: 0.75rem; color: var(--gray-400); margin-bottom: 4px; }
.news__title { font-size: 1.05rem; margin-bottom: 6px; }
.news__text { color: var(--gray-600); font-size: 0.92rem; }

/* Kalendář – doplňky */
.event__level {
    display: inline-block; vertical-align: middle; margin-left: 6px;
    padding: 1px 8px; border: 1px solid var(--gray-200); border-radius: var(--radius-pill);
    font-size: 0.65rem; font-weight: 600; color: var(--gray-600); background: var(--gray-50);
}
.event__level--ours { border-color: var(--green); color: var(--green-dark); background: var(--green-soft); }
.event--ours { border-color: var(--green); }
.event--ours .event__date-box { background: var(--green-dark); }
.event--past { opacity: 0.55; }
.event--past .event__date-box { background: var(--gray-400); }
.event__extra { font-size: 0.75rem; color: var(--gray-600); margin-top: 2px; }
.event__extra a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.event__title a { text-decoration: underline; text-decoration-color: var(--gray-200); text-underline-offset: 3px; transition: text-decoration-color var(--dur); }
.event__title a:hover { text-decoration-color: var(--green); }
.event-list__empty { text-align: center; color: var(--gray-400); font-size: 0.9rem; }
.legend { max-width: 640px; margin: var(--space-lg) auto 0; font-size: 0.8rem; color: var(--gray-600); text-align: center; }
.legend a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Kontakt */
.contact-cta { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: var(--space-lg); }
.contact-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-md); }
.contact-cta__actions .btn { width: auto; }
.card__text a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Mapa (vložená OpenStreetMap) */
.map {
    position: relative; height: 380px; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gray-200); background: var(--green-soft);
}
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__note { font-size: 0.72rem; color: var(--gray-400); text-align: center; margin-top: 10px; }

/* Tabulka limitů */
.limits-table th { white-space: normal; vertical-align: bottom; }
.limits-table td:not(:first-child), .limits-table th:not(:first-child) { text-align: center; }
.limits-table td:first-child { font-weight: 500; white-space: nowrap; }
.footnotes { font-size: 0.78rem; color: var(--gray-600); margin-top: 10px; }
.source { font-size: 0.78rem; color: var(--gray-400); text-align: center; margin-top: var(--space-md); }
.source a { text-decoration: underline; text-underline-offset: 2px; }
.source a:hover { color: var(--green-dark); }

/* Odkazové karty */
.card--link { display: block; }
.card--link .card__title { color: var(--green-dark); }
.card--link:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }

/* Info box / podpora */
.info-box {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: var(--space-md) var(--space-lg); max-width: 680px; margin: var(--space-lg) auto 0;
    font-size: 0.9rem; color: var(--gray-600); text-align: center;
}
.info-box a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.support-cta {
    background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: var(--space-xl) var(--space-lg); text-align: center; max-width: 720px; margin: var(--space-lg) auto 0;
}
.support-cta p { color: var(--gray-600); }
.text-center .btn + .btn { margin-left: 8px; }

/* Delší textový obsah (propozice apod.) */
.prose h2 { font-size: 1.3rem; margin-bottom: var(--space-sm); }
.prose h3 { font-size: 0.95rem; margin: var(--space-md) 0 4px; }
.prose p { margin-top: var(--space-sm); color: var(--gray-600); }
.prose .list { color: var(--gray-600); line-height: 1.7; }
.prose .list li + li { margin-top: 4px; }
.prose a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose--narrow { max-width: 760px; margin: 0 auto; }
.card__text a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
a.doc-item { color: inherit; text-decoration: none; }
.doc-item__title, .doc-item__desc { display: block; }

/* Seznamy */
.list { list-style: disc; padding-left: 1.4rem; line-height: 1.9; }
.list--num { list-style: decimal; }
.list--check { list-style: none; padding: 0; }
.list--check li { position: relative; padding-left: 26px; }
.list--check li::before {
    content: ""; position: absolute; left: 2px; top: 0.75em;
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

/* ==========================================================================
   ČITELNOST 2026-11 – větší základní písmo, kontrastnější drobné texty,
   vyvážené zalamování nadpisů, viditelný focus. Původní hodnoty výše.
   ========================================================================== */
:root { --gray-500: #64748B; }
body { font-size: 1rem; }
h1, h2, h3, .section__subtitle, .hero__subtitle { text-wrap: balance; }
p, li { text-wrap: pretty; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; border-radius: 4px; }

.section__eyebrow { font-size: 0.8rem; }
.section__subtitle { font-size: 1rem; max-width: 560px; }
.nav__link { font-size: 0.85rem; }
.btn { font-size: 0.92rem; padding: 11px 24px; }
.btn--sm { font-size: 0.82rem; padding: 7px 16px; }
.notice__text { font-size: 0.95rem; }

.card__title, .icon-box__title { font-size: 1.05rem; }
.card__text, .icon-box__text { font-size: 0.95rem; line-height: 1.65; }
.card__link { font-size: 0.9rem; }
.card__date, .news__date { font-size: 0.82rem; color: var(--gray-500); }
.news__title { font-size: 1.1rem; }
.news__text { font-size: 0.98rem; }

.event__title { font-size: 1rem; margin-bottom: 2px; }
.event__meta { font-size: 0.85rem; color: var(--gray-500); }
.event__extra { font-size: 0.82rem; }
.event__level { font-size: 0.72rem; }
.event__date-box { width: 52px; height: 52px; }
.event__date-month { font-size: 0.7rem; opacity: 0.85; }
.event--past { opacity: 0.6; }
.event--past .event__date-box { background: var(--gray-500); }
.event-list__empty { color: var(--gray-500); }

.stat__label { font-size: 0.88rem; color: var(--gray-600); }
.doc-item__icon { width: 40px; height: 40px; font-size: 0.68rem; color: var(--green-darker); }
.doc-item__title { font-size: 0.98rem; }
.doc-item__desc { font-size: 0.85rem; color: var(--gray-500); }
.training-table th { font-size: 0.85rem; }
.training-table td { font-size: 0.95rem; }
.supporter__name { font-size: 0.88rem; }

.photo-figure figcaption { font-size: 0.82rem; color: var(--gray-500); }
.video__note, .map__note { font-size: 0.8rem; color: var(--gray-500); }
.video__label { font-size: 0.82rem; }
.legend { font-size: 0.88rem; }
.footnotes { font-size: 0.85rem; }
.source { font-size: 0.85rem; color: var(--gray-500); }
.info-box { font-size: 0.95rem; }
.prose h3 { font-size: 1rem; }

.page-header__breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.page-header__breadcrumb a { color: rgba(255,255,255,0.8); }
.footer__title { font-size: 0.95rem; }
.footer__text, .footer__link { font-size: 0.9rem; }
.footer__link { padding: 4px 0; }
.footer__text a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.25); text-underline-offset: 3px; }
.footer__text a:hover { color: var(--green); }
.footer__social-link { width: 40px; height: 40px; font-size: 0.78rem; }
.footer__bottom { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.training-table--schedule td:nth-child(2) { white-space: nowrap; }
