/* ============================================
   ZNALCI THEME
   Společnost znalců a poradců v lesnictví a myslivosti
   ============================================ */

:root {
    --green-deep: #0F2A1B;
    --green-forest: #1B4332;
    --green-mid: #2D6A4F;
    --green-leaf: #40916C;
    --green-light: #74C69D;
    --green-pale: #B7E4C7;
    --gold: #C9A96E;
    --gold-light: #DCC49B;
    --gold-dark: #A68B4B;
    --sand: #D4B896;
    --cream: #F8F5F0;
    --cream-dark: #EDE8E0;
    --parchment: #F2EDE5;
    --charcoal: #1A1A1A;
    --text: #2C2C2C;
    --text-muted: #6B7280;
    --white: #FFFFFF;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-ui: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--green-mid); }

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

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav--transparent { background: transparent; }

.nav--solid {
    background: rgba(15, 42, 27, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--white);
}

.nav__logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    overflow: hidden;
}

.nav__logo-icon img { width: 100%; height: 100%; object-fit: cover; }

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.nav__logo-text small {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    color: var(--gold-light);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav__link {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 0.01em;
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--active { color: var(--gold-light); }

.nav__cta {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-deep);
    background: var(--gold);
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.nav__cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4);
}

/* Mobile burger button */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1002;
}

.nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 42, 27, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-menu--open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.6rem 1rem;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(15px);
}

.mobile-menu--open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu--open .mobile-menu__link:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu--open .mobile-menu__link:nth-child(7) { transition-delay: 0.35s; }

.mobile-menu__link:hover { color: var(--gold-light); }

.mobile-menu__cta {
    margin-top: 1.5rem;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-deep);
    background: var(--gold);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s;
}

.mobile-menu--open .mobile-menu__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 2rem 6rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(15, 42, 27, 0.2) 0%,
            rgba(15, 42, 27, 0.1) 30%,
            rgba(15, 42, 27, 0.5) 70%,
            rgba(15, 42, 27, 0.92) 100%
        ),
        var(--hero-bg-image, url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1920&q=80')) center/cover no-repeat;
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFall linear infinite;
}

@keyframes particleFall {
    0% { opacity: 0; transform: translateY(-20px) rotate(0deg); }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}

.hero__content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 50px;
}

.hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero__title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--gold);
    color: var(--green-deep);
}

.btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.btn--ghost-dark {
    background: transparent;
    color: var(--green-forest);
    border: 1.5px solid var(--green-forest);
}

.btn--ghost-dark:hover {
    background: var(--green-forest);
    color: var(--white);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--green-forest);
    padding: 0 2rem;
}

.stats-bar__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats-bar__inner--3 { grid-template-columns: repeat(3, 1fr); }
.stats-bar__inner--2 { grid-template-columns: repeat(2, 1fr); }
.stats-bar__inner--5 { grid-template-columns: repeat(5, 1fr); }

.stats-bar__item {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.stats-bar__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stats-bar__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stats-bar__label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 8rem 2rem;
    background: var(--cream);
}

.about__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about__inner--reverse { direction: rtl; }
.about__inner--reverse > * { direction: ltr; }

.about__media {
    position: relative;
}

.about__image-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.about__image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 6px solid var(--cream);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about__decorator {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: 12px;
    opacity: 0.4;
}

.section-label {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--green-forest);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--green-mid);
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.85;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about__feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.about__feature-text {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 8rem 2rem;
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06), transparent 70%);
    pointer-events: none;
}

.services__inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services__header {
    text-align: center;
    margin-bottom: 5rem;
}

.services__header .section-label {
    justify-content: center;
    color: var(--gold);
}

.services__header .section-label::before { background: var(--gold); }

.services__header .section-title { color: var(--white); }

.services__header .section-title em { color: var(--gold-light); }

.services__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services__grid--2 { grid-template-columns: repeat(2, 1fr); }
.services__grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.05));
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-card__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-card__link {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.service-card__link:hover {
    gap: 0.8rem;
    color: var(--gold-light);
}

.service-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* ============================================
   NEWS / ARTICLES SECTION
   ============================================ */
.news {
    padding: 8rem 2rem;
    background: var(--parchment);
}

.news__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.news__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.news__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.news-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover .news-card__image { transform: scale(1.04); }

.news-card__image-wrap {
    overflow: hidden;
    position: relative;
    background: var(--cream-dark);
    height: 220px;
}

.news-card__image-wrap--empty {
    background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.news-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--green-forest);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.news-card__body { padding: 1.75rem; }

.news-card__date {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--green-forest);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.news-card:hover .news-card__title { color: var(--green-mid); }

.news-card__excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   MEMBERS / TEAM SECTION
   ============================================ */
.members {
    padding: 8rem 2rem;
    background: var(--cream);
    position: relative;
}

.members__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.members__header {
    text-align: center;
    margin-bottom: 5rem;
}

.members__header .section-label { justify-content: center; }

.members__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.members__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 600px; margin: 0 auto; }
.members__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }

.member-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: rgba(201, 169, 110, 0.2);
}

.member-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.member-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card__avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
}

.member-card:hover .member-card__avatar::after { opacity: 1; }

.member-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green-forest);
    margin-bottom: 0.3rem;
}

.member-card__title {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.member-card__location {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.member-card__contact {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-ui);
    font-size: 0.82rem;
}

.member-card__contact a {
    color: var(--green-mid);
    text-decoration: none;
}

.member-card__contact a:hover { color: var(--gold-dark); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 8rem 2rem;
    background:
        linear-gradient(135deg, rgba(15, 42, 27, 0.92), rgba(27, 67, 50, 0.88)),
        var(--cta-bg-image, url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=1920&q=80')) center/cover no-repeat;
    text-align: center;
    position: relative;
}

.cta__inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta .section-label {
    justify-content: center;
    color: var(--gold);
}

.cta .section-label::before { background: var(--gold); }

.cta .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta .section-title em { color: var(--gold-light); }

.cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta__contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.cta__contact-item { text-align: center; }

.cta__contact-label {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cta__contact-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
}

.cta__contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.cta__contact-value a:hover { color: var(--gold-light); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 2rem 2rem;
}

.footer__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__brand { max-width: 320px; }

.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__brand-text {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer__brand-meta {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__heading {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.footer__link:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__bar a {
    color: var(--gold);
    text-decoration: none;
}

/* ============================================
   FOREST SILHOUETTE DIVIDER
   ============================================ */
.forest-divider {
    height: 120px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: -120px;
    z-index: 2;
}

.forest-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================
   CONSULTANTS TABLE
   ============================================ */
.consultants__filter-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
}

.consultants__filter-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.consultants__filter-input:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

select.consultants__filter-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.25rem;
}

.consultants-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-ui);
    font-size: 0.92rem;
}

.consultants-table thead th {
    text-align: left;
    padding: 1rem 1.25rem;
    background: var(--cream);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--cream-dark);
}

.consultants-table tbody td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: top;
}

.consultants-table tbody tr:last-child td {
    border-bottom: none;
}

.consultants-table tbody tr:hover {
    background: var(--cream);
}

.consultants-table__name {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.consultants-table__avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-forest), var(--green-mid));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultants-table__name strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--green-forest);
    line-height: 1.2;
}

.consultants-table__role-badge {
    display: inline-block;
    margin-top: 0.3rem;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.18rem 0.55rem;
    border-radius: 50px;
}

.consultants-table__role-badge.role-predseda {
    background: var(--gold);
    color: var(--green-deep);
}

.consultants-table__role-badge.role-mistopredseda {
    background: rgba(201, 169, 110, 0.2);
    color: var(--gold-dark);
    border: 1px solid rgba(201, 169, 110, 0.4);
}

.consultants-table__ico {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.consultants-table__spec {
    color: var(--text);
    line-height: 1.5;
}

.consultants-table__region {
    font-weight: 500;
    color: var(--text);
}

.consultants-table__city {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.consultants-table__contact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.consultants-table__contact a {
    color: var(--green-mid);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.88rem;
}

.consultants-table__contact a:hover {
    color: var(--gold-dark);
}

.consultants-table__web {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green-forest);
    text-decoration: none;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.consultants-table__web:hover {
    background: var(--green-forest);
    color: var(--white);
    border-color: var(--green-forest);
}

.consultants-table__empty {
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-ui);
}

/* Mobile — přepnout na karty */
@media (max-width: 768px) {
    .consultants-table thead {
        display: none;
    }

    .consultants-table,
    .consultants-table tbody,
    .consultants-table tr,
    .consultants-table td {
        display: block;
        width: 100%;
    }

    .consultants-table tr {
        padding: 1.25rem;
        border-bottom: 1px solid var(--cream-dark);
    }

    .consultants-table tbody tr:hover {
        background: transparent;
    }

    .consultants-table td {
        padding: 0.4rem 0;
        border: none;
    }

    .consultants-table td:nth-child(2),
    .consultants-table td:nth-child(3),
    .consultants-table td:nth-child(4) {
        padding-left: 3.5rem;
        font-size: 0.88rem;
    }

    .consultants-table td:nth-child(2)::before {
        content: 'Specializace: ';
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: block;
        margin-bottom: 0.15rem;
    }

    .consultants-table td:nth-child(3)::before {
        content: 'Lokalita: ';
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: block;
        margin-bottom: 0.15rem;
    }

    .consultants-table td:nth-child(4)::before {
        content: 'Kontakt: ';
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: block;
        margin-bottom: 0.15rem;
    }

    .consultants-table td:nth-child(5) {
        padding-left: 3.5rem;
        margin-top: 0.5rem;
    }
}

/* ============================================
   STATIC CONTENT (CMS Pages, Blog detail)
   ============================================ */
.page-wrap {
    padding: 10rem 2rem 6rem;
    background: var(--cream);
    min-height: 60vh;
}

.page-wrap__inner {
    max-width: 860px;
    margin: 0 auto;
}

.page-wrap__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--green-forest);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.page-wrap__lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.85;
}

.page-wrap__meta {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-wrap__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.page-wrap__content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

.page-wrap__content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--green-forest);
    margin: 2.5rem 0 1rem;
}

.page-wrap__content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-forest);
    margin: 2rem 0 0.75rem;
}

.page-wrap__content p { margin-bottom: 1.25rem; }

.page-wrap__content a {
    color: var(--green-mid);
    text-decoration: underline;
    text-decoration-color: rgba(45, 106, 79, 0.3);
    transition: text-decoration-color 0.3s;
}

.page-wrap__content a:hover { text-decoration-color: var(--green-mid); }

.page-wrap__content ul, .page-wrap__content ol { margin: 0 0 1.25rem 1.5rem; }

.page-wrap__content li { margin-bottom: 0.5rem; }

.page-wrap__content img {
    border-radius: 12px;
    margin: 2rem 0;
}

.page-wrap__content blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.page-wrap__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-mid);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: gap 0.3s;
}

.page-wrap__back:hover { gap: 0.75rem; }

/* Blog list */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
    font-family: var(--font-ui);
}

/* Error page */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    background: var(--cream);
}

.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 10rem);
    font-weight: 600;
    color: var(--green-forest);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--green-forest);
    margin-bottom: 1rem;
}

.error-page__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Flash messages */
.flash-stack {
    position: fixed;
    top: 6rem;
    right: 1.5rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 360px;
}

.flash {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
    border-left: 4px solid var(--green-mid);
    color: var(--text);
}

.flash--success { border-left-color: var(--green-leaf); }
.flash--error, .flash--danger { border-left-color: #d33; }
.flash--warning { border-left-color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about__inner { grid-template-columns: 1fr; gap: 3rem; }
    .services__grid { grid-template-columns: 1fr 1fr; }
    .services__grid--4 { grid-template-columns: 1fr 1fr; }
    .members__grid { grid-template-columns: 1fr 1fr; }
    .members__grid--3 { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-bar__inner,
    .stats-bar__inner--3,
    .stats-bar__inner--4,
    .stats-bar__inner--5 { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { padding: 0 1rem; }
    .nav__inner { height: 64px; }
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__burger { display: flex; }
    .nav__logo-icon { width: 38px; height: 38px; font-size: 1.1rem; }
    .nav__logo-text { font-size: 0.95rem; }
    .nav__logo-text small { font-size: 0.58rem; }
    .nav__logo { gap: 0.7rem; }
    .hero { min-height: 90vh; padding-bottom: 4rem; }
    .hero__badge { font-size: 0.65rem; padding: 0.4rem 0.8rem; }
    .services__grid,
    .services__grid--2,
    .services__grid--4 { grid-template-columns: 1fr; }
    .news__grid { grid-template-columns: 1fr; }
    .news__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .members__grid,
    .members__grid--2,
    .members__grid--3 { grid-template-columns: 1fr; max-width: 400px; }
    .footer__grid { grid-template-columns: 1fr; }
    .cta__contact { flex-direction: column; gap: 1.5rem; }
    .stats-bar__inner,
    .stats-bar__inner--3,
    .stats-bar__inner--4,
    .stats-bar__inner--5 { grid-template-columns: 1fr; }
    .stats-bar__item:not(:last-child)::after { display: none; }
    .about__features { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer__bar { flex-direction: column; text-align: center; }
    .page-wrap { padding: 8rem 1rem 4rem; }
}
