/* ==========================================================================
   Divotábor — hlavní styl webu
   Přístup: mobile-first, žádné externí CSS frameworky, plynulá typografie.
   ========================================================================== */

:root {
    /* Barvy — přepisovatelné z administrace přes proměnné v <style> v hlavičce */
    --green-900: #05301f;
    --green-800: #06402b;
    --green-700: #0b5638;
    --green-600: #12704a;
    --green-100: #e4efe8;
    --green-050: #f2f8f4;

    --sun-600: #d9622c;
    --sun-500: #e8763c;
    --sun-400: #f29b5f;
    --sun-100: #fdeee4;

    --ink-900: #16211c;
    --ink-700: #33453c;
    --ink-500: #5f6f67;
    --ink-300: #9aa8a1;
    --line: #e3e9e5;

    --paper: #fbfaf6;
    --white: #ffffff;

    --brand: var(--green-800);
    --brand-dark: var(--green-900);
    --accent: var(--sun-500);

    /* Rozměry */
    --wrap: 1180px;
    --wrap-narrow: 780px;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --shadow-xs: 0 1px 2px rgba(11, 40, 28, .06);
    --shadow-sm: 0 2px 10px rgba(11, 40, 28, .07);
    --shadow-md: 0 10px 30px rgba(11, 40, 28, .09);
    --shadow-lg: 0 24px 60px rgba(11, 40, 28, .14);

    --step: clamp(3rem, 6vw, 5.5rem);
    --ease: cubic-bezier(.22, 1, .36, 1);

    --font-head: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1rem, .97rem + .15vw, 1.075rem);
    line-height: 1.7;
    color: var(--ink-700);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink-900);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
    font-weight: 600;
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
h4 { font-size: 1.15rem; }

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

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sun-600); }

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

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }

blockquote {
    margin: 1.6rem 0;
    padding: 1.1rem 1.5rem;
    border-left: 4px solid var(--accent);
    background: var(--sun-100);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--ink-700);
}

table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .96em; }
th, td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
th { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); background: var(--green-050); }

::selection { background: var(--sun-400); color: #fff; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--brand); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.4rem, var(--wrap-narrow)); }
@media (max-width: 640px) { .wrap { width: min(100% - 1.8rem, var(--wrap)); } }

.section { padding-block: var(--step); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--paper { background: var(--white); }
.section--mint { background: var(--green-050); }
.section--forest { background: var(--green-800); color: #dbe8e0; }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--forest a { color: var(--sun-400); }

.stack > * + * { margin-top: 1.2rem; }

/* ---------- Hlavička ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 250, 246, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }

.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand__mark {
    width: 42px; height: 42px; border-radius: 13px; object-fit: cover;
    background: var(--green-800); color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}
/* Vlastní značka je SVG — vlastní pozadí i rohy si nese v kresbě. */
svg.brand__mark { background: none; box-shadow: none; border-radius: 13px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
    font-family: var(--font-head); font-weight: 700; font-size: 1.28rem;
    color: var(--green-800); letter-spacing: -.02em;
}
.brand__tag { font-size: .74rem; color: var(--ink-500); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Navigace ---------- */
.nav { display: flex; align-items: center; gap: .15rem; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }

.nav__link {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .55rem .85rem; border-radius: 999px;
    font-size: .95rem; font-weight: 500; color: var(--ink-700);
    text-decoration: none; white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: var(--green-100); color: var(--green-800); }
.nav__link.is-active { background: var(--green-800); color: #fff; }
.nav__link--cta {
    background: var(--sun-500); color: #fff; font-weight: 600;
    box-shadow: 0 4px 14px rgba(232, 118, 60, .32);
}
.nav__link--cta:hover { background: var(--sun-600); color: #fff; transform: translateY(-1px); }

.nav__caret { width: 9px; height: 9px; opacity: .5; }

.nav__sub {
    position: absolute; top: calc(100% + .4rem); left: 0; min-width: 220px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: .45rem; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: all .22s var(--ease);
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub .nav__link { display: flex; width: 100%; border-radius: var(--radius-sm); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--line);
    background: var(--white); border-radius: 14px; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    padding: 0;
}
.nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--green-800);
    border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: 74px 0 auto; z-index: 99;
        background: var(--white); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.2rem 1.6rem;
        flex-direction: column; align-items: stretch;
        max-height: calc(100dvh - 74px); overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: all .25s var(--ease);
    }
    .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; width: 100%; }
    .nav__link { padding: .8rem 1rem; border-radius: 12px; font-size: 1.02rem; }
    .nav__sub {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-left: 2px solid var(--green-100);
        border-radius: 0; margin-left: 1rem; padding: .2rem 0 .2rem .4rem;
    }
    .nav__link--cta { justify-content: center; margin-top: .4rem; }
}

/* ---------- Tlačítka ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .82rem 1.55rem; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-head); font-size: 1rem; font-weight: 600;
    text-decoration: none; cursor: pointer; line-height: 1.2;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--sun-500); color: #fff; box-shadow: 0 6px 20px rgba(232, 118, 60, .32); }
.btn--primary:hover { background: var(--sun-600); color: #fff; box-shadow: 0 10px 26px rgba(232, 118, 60, .38); }

.btn--forest { background: var(--green-800); color: #fff; box-shadow: 0 6px 20px rgba(6, 64, 43, .25); }
.btn--forest:hover { background: var(--green-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--green-800); border-color: rgba(6, 64, 43, .25); }
.btn--ghost:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }

.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--green-800); }

.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row--center { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1.4s var(--ease), transform 9s linear;
    transform: scale(1.06);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(5,38,25,.62) 0%, rgba(5,38,25,.32) 42%, rgba(5,38,25,.82) 100%);
}
.hero__inner {
    position: relative;
    min-height: clamp(430px, 66vh, 660px);
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(3.5rem, 9vw, 6rem);
    color: #fff; text-align: center; align-items: center;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(8px);
    padding: .4rem 1rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.hero__title {
    color: #fff; margin-bottom: .6rem;
    font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.6rem);
    font-weight: 700; letter-spacing: -.03em;
    text-shadow: 0 3px 30px rgba(0,0,0,.32);
}
.hero__subtitle {
    font-size: clamp(1.05rem, .98rem + .5vw, 1.35rem);
    max-width: 44ch; margin: 0 auto 2rem;
    color: rgba(255,255,255,.94);
    text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.hero__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 2.4rem; }
.hero__dot {
    width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.42); transition: all .3s var(--ease);
}
.hero__dot.is-active { background: #fff; width: 30px; border-radius: 999px; }

.hero--compact .hero__inner { min-height: clamp(220px, 34vh, 340px); }

/* ---------- Karty táborů ---------- */
.camp-grid {
    display: grid; gap: clamp(1.2rem, 2.5vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.camp-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.camp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.camp-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.camp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.camp-card:hover .camp-card__media img { transform: scale(1.05); }
.camp-card__badge {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    background: var(--sun-500); color: #fff;
    padding: .32rem .85rem; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(232,118,60,.36);
}
/* Karta bez obrázku: štítek stojí v textu, ne přes nadpis. */
.camp-card__badge--inline {
    position: static; align-self: flex-start; margin-bottom: .9rem;
    box-shadow: none;
}
.camp-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.camp-card__title { margin-bottom: .3rem; font-size: 1.5rem; }
.camp-card__theme { color: var(--sun-600); font-weight: 600; font-family: var(--font-head); margin-bottom: 1.1rem; }
.camp-card__meta { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.camp-card__meta li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; font-size: .96rem; }
.camp-card__meta dt, .camp-card__meta .lbl {
    color: var(--ink-500); min-width: 5.4rem; flex-shrink: 0; font-size: .88rem;
    text-transform: uppercase; letter-spacing: .05em; padding-top: .12rem;
}
.camp-card__meta .val { color: var(--ink-900); font-weight: 500; }
.camp-card__price {
    margin-top: auto; padding-top: 1.1rem; border-top: 1px dashed var(--line);
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem;
}
.camp-card__price strong { font-family: var(--font-head); font-size: 1.65rem; color: var(--green-800); letter-spacing: -.02em; }
.camp-card__price span { color: var(--ink-500); font-size: .88rem; }

/* ---------- Karty s ikonou ---------- */
.card-grid {
    display: grid; gap: clamp(1rem, 2vw, 1.6rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.info-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem; box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card__icon {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    background: var(--green-050); color: var(--green-700); margin-bottom: 1.1rem;
}
.info-card__icon svg { width: 27px; height: 27px; }
.info-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.info-card p { color: var(--ink-500); font-size: .97rem; margin: 0; }

/* ---------- Medailonky týmu ---------- */
.team-group + .team-group { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.team-group__head { margin-bottom: 1.8rem; }
.team-group__head h3 {
    display: inline-flex; align-items: center; gap: .8rem; margin-bottom: .3rem;
}
.team-group__head h3::after {
    content: ''; height: 2px; width: 46px; background: var(--sun-400); border-radius: 2px;
}

.team-grid {
    display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}
.member {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-xs);
    display: flex; flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member__photo { aspect-ratio: 4 / 5; background: var(--green-100); overflow: hidden; position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__photo--empty { display: grid; place-items: center; font-size: 3rem; color: var(--green-600); opacity: .35; }
.member__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.member__name { font-size: 1.3rem; margin-bottom: .1rem; }
.member__fullname { color: var(--ink-500); font-size: .92rem; margin-bottom: .7rem; }
.member__role {
    display: inline-block; align-self: flex-start;
    background: var(--green-050); color: var(--green-700);
    padding: .25rem .75rem; border-radius: 999px;
    font-size: .8rem; font-weight: 600; margin-bottom: .9rem;
}
.member__facts { list-style: none; margin: 0 0 .9rem; padding: 0; font-size: .87rem; color: var(--ink-500); }
.member__facts li { margin: 0 0 .2rem; display: flex; gap: .4rem; }
.member__facts .lbl { color: var(--ink-300); }
.member__bio { font-size: .95rem; color: var(--ink-700); }
.member__bio.is-clamped {
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
    overflow: hidden;
}
.member__more {
    align-self: flex-start; margin-top: .7rem; background: none; border: 0; padding: 0;
    color: var(--sun-600); font-family: var(--font-head); font-weight: 600; font-size: .92rem;
    cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.member__contact { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .8rem; font-size: .88rem; }

/* ---------- Obrázky a mřížka fotek ---------- */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.figure figcaption { margin-top: .7rem; font-size: .88rem; color: var(--ink-500); text-align: center; }
.figure--wide { width: 100%; }
.figure--center { max-width: 720px; margin-inline: auto; }

.photo-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photo-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.photo-grid__item {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
    background: var(--green-100); border: 0; padding: 0; cursor: zoom-in; display: block;
}
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid__item:hover img { transform: scale(1.06); }

/* ---------- Rozbalovací FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink-900);
}
.faq__q:hover { background: var(--green-050); }
.faq__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
    content: ''; position: absolute; background: var(--sun-500); border-radius: 2px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    transition: transform .3s var(--ease);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.4rem; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); }
.faq__item.is-open .faq__a { padding: 0 1.4rem 1.4rem; max-height: 2400px; }

/* ---------- Seznam souborů ---------- */
.file-list { display: grid; gap: .7rem; }
.file-item {
    display: flex; align-items: center; gap: 1rem; text-decoration: none;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem 1.3rem; color: var(--ink-900);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.file-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--green-100); color: var(--green-800); }
.file-item__icon {
    width: 42px; height: 42px; border-radius: 12px; background: var(--sun-100);
    color: var(--sun-600); display: grid; place-items: center; flex-shrink: 0;
}
.file-item__icon svg { width: 22px; height: 22px; }
.file-item__text { flex: 1; min-width: 0; }
.file-item__name { font-family: var(--font-head); font-weight: 600; display: block; }
.file-item__note { font-size: .86rem; color: var(--ink-500); }
.file-item__arrow { color: var(--ink-300); transition: transform .25s var(--ease); }
.file-item:hover .file-item__arrow { transform: translateX(3px); color: var(--sun-500); }

/* ---------- Statistiky ---------- */
.stats { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); text-align: center; }
.stat__num {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em;
    font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem); color: var(--green-800); line-height: 1;
}
.section--forest .stat__num { color: var(--sun-400); }
.stat__label { color: var(--ink-500); font-size: .95rem; margin-top: .4rem; }
.section--forest .stat__label { color: rgba(255,255,255,.78); }

/* ---------- Citát ---------- */
.quote {
    max-width: 760px; margin-inline: auto; text-align: center;
}
.quote__mark { font-family: var(--font-head); font-size: 4rem; color: var(--sun-400); line-height: .6; }
.quote__text { font-family: var(--font-head); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); color: var(--ink-900); font-weight: 500; line-height: 1.5; }
.quote__author { margin-top: 1.2rem; color: var(--ink-500); font-size: .95rem; }

/* ---------- CTA pruh ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
    border-radius: var(--radius-lg); color: #fff; padding: clamp(2.2rem, 5vw, 3.6rem);
    text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: rgba(232,118,60,.18); top: -160px; right: -110px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }

/* ---------- Vložený obsah (Google Forms, mapy, video) ---------- */
.embed { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed--video { aspect-ratio: 16 / 9; }
.embed--video iframe { height: 100%; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
    width: 44px; height: 44px; border-radius: 14px; background: var(--green-050);
    color: var(--green-700); display: grid; place-items: center; flex-shrink: 0;
}
.contact-item__icon svg { width: 23px; height: 23px; }
.contact-item__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-300); }
.contact-item__value { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1.05rem; }
.contact-item__value a { color: inherit; text-decoration: none; }
.contact-item__value a:hover { color: var(--sun-600); }

/* ---------- Nadpis sekce ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__eyebrow {
    display: inline-block; color: var(--sun-600); font-family: var(--font-head);
    font-weight: 600; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: .7rem;
}
.section-head p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Bohatý text z editoru ---------- */
.rich { max-width: 72ch; }
.rich--wide { max-width: none; }
.rich h2 { margin-top: 2.2rem; }
.rich h3 { margin-top: 1.8rem; }
.rich > :first-child { margin-top: 0; }
.rich img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1.4rem 0; }
.rich a { font-weight: 500; }
.rich ul { list-style: none; padding-left: 0; }
.rich ul li { position: relative; padding-left: 1.6rem; }
.rich ul li::before {
    content: ''; position: absolute; left: .3rem; top: .68em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--sun-400);
}
.rich ol { padding-left: 1.4em; }
.rich ol li::marker { color: var(--sun-600); font-weight: 700; }

/* ---------- Sloupce ---------- */
.columns { display: grid; gap: clamp(1.5rem, 3vw, 2.6rem); }
.columns--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.columns--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.columns .rich { max-width: none; }

/* ---------- Patička ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding-block: clamp(2.8rem, 6vw, 4.5rem) 0; margin-top: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--sun-400); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links li { margin: 0; }
.site-footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.site-footer__brand .brand__name { color: #fff; }
.site-footer__about { font-size: .94rem; max-width: 40ch; }
.site-footer__bottom {
    margin-top: 2.6rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
    font-size: .86rem; color: rgba(255,255,255,.55);
}
.social-row { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-row a {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); transition: background .25s, transform .25s;
}
.social-row a:hover { background: var(--sun-500); transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- Světelný box pro fotky ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; background: rgba(8, 20, 14, .95);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
    backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: 8px; }
.lightbox__caption { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .92rem; padding: 0 4rem; }
.lightbox__btn {
    position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 1.3rem; transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.26); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
    .lightbox__prev { left: .6rem; } .lightbox__next { right: .6rem; }
    .lightbox__btn { width: 42px; height: 42px; }
}

/* ---------- Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Zprávy / upozornění ---------- */
.alert {
    display: flex; gap: .8rem; align-items: flex-start;
    padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem;
    font-size: .95rem; border: 1px solid;
}
.alert--success { background: #edf8f1; border-color: #b9e2c9; color: #17603a; }
.alert--error   { background: #fdeceb; border-color: #f4c2bd; color: #98241b; }
.alert--info    { background: #eaf2fb; border-color: #c2d8f0; color: #1c4f85; }
.alert--warning { background: #fff6e6; border-color: #f5dda8; color: #8a5b06; }

/* ---------- Chybová stránka ---------- */
.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.error-page__code { font-family: var(--font-head); font-size: clamp(4.5rem, 14vw, 9rem); font-weight: 700; color: var(--green-100); line-height: 1; letter-spacing: -.04em; }
.error-page h1 { margin-top: -1.5rem; }

/* ---------- Pomocné třídy ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-body { display: flex; flex-direction: column; min-height: 100dvh; }
.page-main { flex: 1; }
