@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
            --mint: #B9DCC6;
            --forest: #072924;
            --cream: #EEF5F1;
            --forest-60: rgba(7,41,36,0.6);
            --forest-15: rgba(7,41,36,0.15);
            --forest-08: rgba(7,41,36,0.08);
            --cream-20: rgba(238,245,241,0.2);
            --cream-80: rgba(238,245,241,0.8);
            --r: 18px;
            --r-lg: 28px;
            --max: 1180px;
            --serif: 'Playfair Display', Georgia, serif;
            --sans: 'DM Sans', system-ui, sans-serif;
            --primary-bg: #B9DCC6;
            --dark-forest: #072924;
            --off-white: #EEF5F1;
            --accent: #0a3a33;
            --text-dark: #072924;
            --muted: rgba(7, 41, 36, 0.55);
            --line: rgba(7, 41, 36, 0.12);
            --shadow: 0 12px 35px rgba(7, 41, 36, 0.10);
            --radius: 20px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--sans);
            background: var(--cream);
            color: var(--forest);
            line-height: 1.65;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .wrap {
            width: min(calc(100% - 48px), var(--max));
            margin: 0 auto;
        }

        /* ── NAV ── */
        nav {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--forest);
            border-bottom: 1px solid rgba(238,245,241,0.08);
        }

        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 70px;
            gap: 32px;
        }
        .logo-img
        {
            max-width: 262px;
            margin-top: 10px;
            max-height: 86px;
            object-fit: contain;
        }

        .brand {
            font-family: var(--serif);
            font-size: 1.3rem;
            color: var(--cream);
            letter-spacing: 0.01em;
        }

            .brand em {
                font-style: italic;
                color: var(--mint);
            }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

            .nav-links a {
                color: var(--cream-80);
                font-size: 0.9rem;
                font-weight: 500;
                letter-spacing: 0.04em;
                text-transform: uppercase;
                transition: color .2s;
            }

                .nav-links a:hover {
                    color: var(--mint);
                }

        /* ── NAV DROPDOWN ── */
        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--cream-80);
            font-family: var(--sans);
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            transition: color .2s;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 0;
        }

        .nav-dropdown-btn::after {
            content: '▾';
            font-size: 0.72rem;
            transition: transform .25s;
            display: inline-block;
        }

        .nav-dropdown-btn:hover,
        .nav-dropdown.open .nav-dropdown-btn {
            color: var(--mint);
        }

        .nav-dropdown.open .nav-dropdown-btn::after {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: calc(100% + 18px);
            left: 50%;
            transform: translateX(-50%) translateY(-6px);
            background: var(--forest);
            border: 1px solid rgba(238,245,241,0.1);
            border-radius: var(--r);
            padding: 8px;
            min-width: 250px;
            opacity: 0;
            visibility: hidden;
            transition: opacity .2s ease, transform .2s ease, visibility .2s;
            z-index: 200;
            box-shadow: 0 20px 48px rgba(7,41,36,0.35);
        }

        .nav-dropdown.open .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        /* hover fallback for pointer devices */
        @media (hover: hover) {
            .nav-dropdown:hover .nav-dropdown-menu {
                opacity: 1;
                visibility: visible;
                transform: translateX(-50%) translateY(0);
            }
            .nav-dropdown:hover .nav-dropdown-btn::after {
                transform: rotate(180deg);
            }
            .nav-dropdown:hover .nav-dropdown-btn {
                color: var(--mint);
            }
        }

        .nav-dropdown-menu a {
            display: block;
            padding: 10px 14px;
            border-radius: 10px;
            color: var(--cream-80);
            font-size: 0.87rem;
            font-weight: 500;
            transition: background .15s, color .15s;
            white-space: nowrap;
            text-transform: none;
            letter-spacing: 0.01em;
        }

        .nav-dropdown-menu a:hover {
            background: rgba(238,245,241,0.07);
            color: var(--mint);
        }

        .dropdown-divider {
            height: 1px;
            background: rgba(238,245,241,0.1);
            margin: 6px 8px;
        }

        .dropdown-all {
            color: var(--mint) !important;
            font-weight: 600 !important;
            font-size: 0.82rem !important;
            letter-spacing: 0.04em !important;
        }

        /* mobile nav specializace links — smaller */
        .mobile-nav .mobile-sub {
            font-family: var(--sans);
            font-size: 1.1rem !important;
            color: var(--cream-80) !important;
        }
        .mobile-nav .mobile-sub:hover { color: var(--mint) !important; }
        .mobile-nav-label {
            font-family: var(--sans);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(238,245,241,0.35);
            margin-top: 8px;
            margin-bottom: 4px;
        }

        .nav-cta {
            background: var(--mint);
            color: var(--forest) !important;
            padding: 9px 20px;
            border-radius: 999px;
            font-weight: 600 !important;
            font-size: 0.85rem !important;
            transition: opacity .2s !important;
        }

            .nav-cta:hover {
                opacity: 0.85 !important;
                color: var(--forest) !important;
            }

        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            gap: 5px;
        }

            .hamburger span {
                display: block;
                width: 24px;
                height: 2px;
                background: var(--cream);
                border-radius: 2px;
                transition: .3s;
            }

        /* ── HERO ── */
        .hero {
            background: var(--forest);
            padding: 0 0 0;
            position: relative;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(185,220,198,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 20% 80%, rgba(185,220,198,0.05) 0%, transparent 60%);
        }

        /* Decorative vertical lines */
        .hero-lines {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .hero-line {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(185,220,198,0.12) 30%, rgba(185,220,198,0.12) 70%, transparent);
        }

            .hero-line:nth-child(1) {
                left: 20%;
            }

            .hero-line:nth-child(2) {
                left: 40%;
            }

            .hero-line:nth-child(3) {
                left: 60%;
            }

            .hero-line:nth-child(4) {
                left: 80%;
            }

        .hero-inner {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 60px;
            align-items: center;
            padding: 100px 0 90px;
        }

        .hero-aside {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .hero-aside-img {
            width: 100%;
            max-width: 400px;
            aspect-ratio: 400 / 365;
            object-fit: contain;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            display: block;
        }

        .hero-aside-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--mint);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 28px;
        }

            .hero-tag::before {
                content: '';
                display: block;
                width: 28px;
                height: 1px;
                background: var(--mint);
            }

        .hero h1 {
            font-family: var(--serif);
            font-size: clamp(2.2rem, 5.0vw, 4.5rem);
            font-weight: 400;
            line-height: 1.05;
            letter-spacing: -0.02em;
            color: var(--cream);
            margin-bottom: 28px;
        }

            .hero h1 em {
                font-style: italic;
                color: var(--mint);
            }

        .hero-def {
            border-left: 2px solid var(--mint);
            padding: 16px 0 16px 24px;
            margin-bottom: 40px;
        }

            .hero-def p {
                font-style: italic;
                color: var(--cream-80);
                font-size: 0.95rem;
                line-height: 1.7;
            }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 26px;
            border-radius: 999px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: .25s ease;
            border: 1.5px solid transparent;
            letter-spacing: 0.01em;
        }

        .btn-light {
            background: var(--mint);
            color: var(--forest);
        }

            .btn-light:hover {
                background: #ceeada;
            }

        .btn-outline {
            border-color: rgba(238,245,241,0.3);
            color: var(--cream);
        }

            .btn-outline:hover {
                border-color: var(--mint);
                color: var(--mint);
            }

        /* Hero card */
        .hero-aside {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .hero-stat-card {
            background: rgba(8, 41, 36, 1);
            border: 1px solid rgba(238,245,241,0.1);
            border-radius: var(--r-lg);
            padding: 28px 32px;
            backdrop-filter: blur(10px);
        }

            .hero-stat-card h3 {
                font-family: var(--serif);
                color: var(--cream);
                font-size: 1.05rem;
                font-weight: 400;
                margin-bottom: 18px;
                padding-bottom: 14px;
                border-bottom: 1px solid rgba(238,245,241,0.12);
            }

            .hero-stat-card ul {
                list-style: none;
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .hero-stat-card li {
                color: var(--cream-80);
                font-size: 0.88rem;
                display: flex;
                align-items: flex-start;
                gap: 10px;
            }

                .hero-stat-card li::before {
                    content: '→';
                    color: var(--mint);
                    flex-shrink: 0;
                    font-size: 0.8rem;
                    margin-top: 2px;
                }

        .hero-mini {
            background: var(--mint);
            border-radius: var(--r);
            padding: 20px 24px;
            display: flex;
            align-items: baseline;
            gap: 16px;
        }

        .hero-mini-num {
            font-family: var(--serif);
            font-size: 2rem;
            font-weight: 700;
            color: var(--forest);
            line-height: 1;
            display: flex;
            align-items: center;
        }

        .hero-mini-label {
            font-size: 0.82rem;
            color: var(--forest-60);
            font-weight: 500;
            line-height: 1.4;
            display: flex;
            align-items: center;
        }

        /* ── DIVIDER ── */
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, var(--forest-15), transparent);
        }

        /* ── SECTION HEADER ── */
        .sec-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--forest-60);
            margin-bottom: 14px;
        }

            .sec-label::before {
                content: '';
                display: block;
                width: 22px;
                height: 1px;
                background: currentColor;
            }

        .sec-title {
            font-family: var(--serif);
            font-size: clamp(2rem, 3.5vw, 3rem);
            font-weight: 400;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin-bottom: 20px;
        }

        /* ── O NÁS ── */
        .about-section {
            padding: 100px 0;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .about-left p {
            color: var(--forest-60);
            font-size: 1rem;
            margin-bottom: 18px;
            line-height: 1.75;
        }

            .about-left p strong {
                color: var(--forest);
                font-weight: 600;
            }

        .about-values {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-top: 32px;
        }

        .value-item {
            background: var(--forest);
            color: var(--cream);
            border-radius: var(--r);
            padding: 22px 20px;
        }

            .value-item .vi-icon {
                width: 50px;
                height: 50px;
                margin-bottom: 10px;
                display: block;
                object-fit: contain;
                color: var(--mint);
            }

            .value-item h4 {
                font-family: var(--serif);
                font-size: 1rem;
                font-weight: 400;
                margin-bottom: 6px;
            }

            .value-item p {
                font-size: 0.8rem;
                color: var(--cream-80);
                line-height: 1.5;
            }

        .about-right {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .about-quote {
            background: var(--mint);
            border-radius: var(--r-lg);
            padding: 36px 36px 28px;
            position: relative;
        }

            .about-quote::before {
                content: '"';
                font-family: var(--serif);
                font-size: 5rem;
                line-height: 0.7;
                color: rgba(7,41,36,0.18);
                position: absolute;
                top: 24px;
                left: 28px;
            }

            .about-quote p {
                font-family: var(--serif);
                font-style: italic;
                font-size: 1.05rem;
                line-height: 1.65;
                color: var(--forest);
                position: relative;
                z-index: 1;
                padding-left: 12px;
            }

        .about-approach {
            background: var(--forest);
            border-radius: var(--r-lg);
            padding: 32px;
            color: var(--cream);
        }

            .about-approach h3 {
                font-family: var(--serif);
                font-weight: 400;
                font-size: 1.1rem;
                color: var(--mint);
                margin-bottom: 16px;
            }

            .about-approach ul {
                list-style: none;
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .about-approach li {
                font-size: 0.88rem;
                color: var(--cream-80);
                display: flex;
                gap: 10px;
                align-items: flex-start;
            }

                .about-approach li::before {
                    content: '—';
                    color: var(--mint);
                    flex-shrink: 0;
                }

        /* ── SERVICES ── */
        .services-section {
            background: var(--forest);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

            .services-section::before {
                content: '';
                position: absolute;
                top: -100px;
                right: -100px;
                width: 500px;
                height: 500px;
                border-radius: 50%;
                background: radial-gradient(circle, rgba(185,220,198,0.06) 0%, transparent 70%);
            }

            .services-section .sec-label {
                color: rgba(238,245,241,0.5);
            }

            .services-section .sec-title {
                color: var(--cream);
            }

        .services-intro {
            color: var(--cream-80);
            font-size: 1rem;
            line-height: 1.75;
            max-width: 640px;
            margin-bottom: 60px;
        }

        /* Flip grid — 3 columns, even tiles */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        /* Flip card wrapper — fixed height so all tiles are equal */
        .flip-card {
            height: 260px;
            perspective: 1200px;
            cursor: pointer;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.65s cubic-bezier(.2,.8,.2,1);
        }

        .flip-card:hover .flip-card-inner,
        .flip-card.is-flipped .flip-card-inner {
            transform: rotateY(180deg);
        }

        .flip-face {
            position: absolute;
            inset: 0;
            border-radius: var(--r-lg);
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            padding: 32px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* FRONT */
        .flip-front {
            background: #0d2e2e;
            border: 1px solid rgba(238,245,241,0.07);
            /* clip-path místo overflow:hidden — overflow:hidden ruší backface-visibility v Safari/Chrome */
            clip-path: inset(0 round var(--r-lg));
            justify-content: flex-start;
        }

        /* Dekorativní číslo v pozadí — geometrický sans má konzistentní bbox číslic, serif ne */
        .fc-bg-num {
            position: absolute;
            bottom: -0.1em;
            right: -0.02em;
            font-family: var(--sans);
            font-variant-numeric: tabular-nums;
            font-size: 148px;
            font-weight: 700;
            line-height: 1;
            display: block;
            color: var(--cream);
            opacity: 0.07;
            pointer-events: none;
            user-select: none;
            z-index: 0;
        }

        /* "Otočit" — absolutně vpravo nahoře, žádné fc-top wrapper */
        .flip-hint {
            position: absolute;
            top: 32px;
            right: 32px;
            z-index: 1;
            font-size: 0.7rem;
            color: rgba(238,245,241,0.28);
            font-weight: 500;
            letter-spacing: 0.05em;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .flip-hint::after {
            content: '↻';
            font-size: 0.85rem;
        }

        /* Spodní obsah: kategorie + název */
        .fc-bottom {
            position: relative;
            z-index: 1;
        }

        .fc-category {
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #2db88a;
            margin-bottom: 7px;
        }

        .flip-front h3 {
            font-family: var(--serif);
            font-weight: 400;
            font-size: 1.15rem;
            color: var(--cream);
            line-height: 1.25;
        }

        /* BACK — mint accent on forest */
        .flip-back {
            background: var(--mint);
            transform: rotateY(180deg);
            flex-direction: column;
            justify-content: space-between;
        }

            .flip-back h3 {
                font-family: var(--serif);
                font-weight: 400;
                font-size: 1rem;
                color: var(--forest);
                margin-bottom: 12px;
                line-height: 1.25;
            }

            .flip-back p {
                font-size: 0.84rem;
                color: rgba(7,41,36,0.75);
                line-height: 1.6;
                flex: 1;
            }

            .flip-back .fc-cta {
                font-size: 0.78rem;
                font-weight: 700;
                color: var(--forest);
                letter-spacing: 0.06em;
                text-transform: uppercase;
            }

        /* ── TEAM ── */
        .team-section {
            padding: 100px 0;
            background: var(--cream);
        }

        .team-partners {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 40px;
            align-items: start;
        }

        .team-card {
            background: var(--forest);
            color: var(--cream);
            border-radius: var(--r-lg);
            padding: 36px 32px;
            position: relative;
            overflow: visible;
            cursor: pointer;
            transition: transform .3s;
        }

            .team-card:hover {
                transform: translateY(-4px);
            }

            .team-card::after {
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                width: 120px;
                height: 120px;
                border-radius: 50%;
                background: radial-gradient(circle, rgba(185,220,198,0.12) 0%, transparent 70%);
                transform: translate(40px, -40px);
                pointer-events: none;
            }

        /* Horní část karty — text vlevo, miniatura vpravo */
        .tc-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 20px;
        }

        .tc-header-text {
            flex: 1;
        }

        .tc-photo {
            flex: none;
            width: 80px;
            height: 108px;
            border-radius: 10px;
            object-fit: cover;
            object-position: top center;
            /*background: rgba(185,220,198,0.15); */
            opacity: 0.85;
        }

        .tc-role {
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--mint);
            margin-bottom: 10px;
        }

        .tc-name {
            font-family: var(--serif);
            font-size: 1.45rem;
            font-weight: 400;
            color: var(--cream);
            margin-bottom: 4px;
            line-height: 1.2;
        }

        .tc-title {
            font-size: 0.8rem;
            color: var(--cream-80);
            margin-bottom: 0;
        }

        .tc-divider {
            height: 1px;
            background: rgba(238,245,241,0.12);
            margin-bottom: 20px;
        }

        .tc-bio {
            font-size: 0.84rem;
            color: var(--cream-80);
            line-height: 1.65;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            line-clamp: 4;
            overflow: hidden;
        }

        .tc-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .tc-tag {
            background: rgba(185,220,198,0.15);
            color: var(--mint);
            border-radius: 999px;
            padding: 4px 12px;
            font-size: 0.72rem;
            font-weight: 600;
            border: 1px solid rgba(185,220,198,0.2);
        }

        .team-others {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }

        .team-other-card {
            background: rgba(7,41,36,0.06);
            border: 1px solid var(--forest-15);
            border-radius: var(--r);
            padding: 24px 22px;
        }

        .toc-name {
            font-family: var(--serif);
            font-size: 1rem;
            color: var(--forest);
            margin-bottom: 4px;
        }

        .toc-role {
            font-size: 0.78rem;
            color: var(--forest-60);
            font-weight: 500;
        }

        /* ── SPECIALTY SECTIONS ── */
        .specialty-section {
            padding: 100px 0;
            background: var(--mint);
            position: relative;
            overflow: hidden;
        }

            .specialty-section::before {
                content: '';
                position: absolute;
                bottom: -80px;
                left: -80px;
                width: 400px;
                height: 400px;
                border-radius: 50%;
                background: rgba(7,41,36,0.06);
            }

        .specialty-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 20px;
        }

        .specialty-card {
            background: var(--forest);
            color: var(--cream);
            border-radius: var(--r-lg);
            padding: 36px 32px;
            transition: transform .3s;
            position: relative;
        }

            .specialty-card:hover {
                transform: translateY(-3px);
            }

            .specialty-card h3 {
                font-family: var(--serif);
                font-weight: 400;
                font-size: 1.2rem;
                color: var(--cream);
                margin-bottom: 14px;
                line-height: 1.25;
            }

            .specialty-card p {
                font-size: 0.85rem;
                color: var(--cream-80);
                line-height: 1.65;
                margin-bottom: 20px;
            }

            .specialty-card a {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                color: var(--mint);
                font-size: 0.82rem;
                font-weight: 600;
                transition: gap .2s;
                position: relative;
                z-index: 1;
            }

            .specialty-card a::after {
                content: '';
                position: absolute;
                inset: 0;
                z-index: 0;
                /* roztáhne klikatelnou plochu přes celou kartu */
                top: calc(-134px - 100%);
                left: -28px;
                right: -261px;
                bottom: -32px;
            }

                .specialty-card a:hover {
                    gap: 10px;
                }

        .specialty-main {
            background: var(--cream);
            color: var(--forest);
            grid-column: span 3;
        }

            .specialty-main h3 {
                color: var(--forest);
            }

            .specialty-main p {
                color: var(--forest-60);
            }

            .specialty-main a {
                color: var(--forest);
            }

        /* ── REFERENCE BANNER ── */
        @keyframes marquee {
            from { transform: translateX(0); }
            to   { transform: translateX(-50%); }
        }

        .ref-banner {
            padding: 56px 0;
            background: var(--forest);
            overflow: hidden;
        }

        .ref-banner-title {
            text-align: center;
            font-family: var(--serif);
            font-size: clamp(2rem, 3.5vw, 3rem);
            font-weight: 400;
            line-height: 1.1;
            letter-spacing: -0.02em;
            color: var(--cream);
            margin: 0 0 32px;
        }

        .ref-track-wrap {
            /* fade-out hrany vlevo a vpravo */
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
            overflow: hidden;
        }

        .ref-track {
            display: flex;
            align-items: center;
            gap: 64px;
            width: max-content;
            animation: marquee 110s linear infinite;
        }

        .ref-track:hover {
            animation-play-state: paused;
        }

        .ref-item {
            flex: none;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 40px;
        }

        .ref-item img {
            height: 100%;
            width: auto;
            max-width: 140px;
            object-fit: contain;
            /*filter: brightness(0) invert(1);
            opacity: 0.35; 
            transition: opacity 0.3s;*/
        }

        .ref-item img:hover {
            opacity: 0.7;
        }

        /* ── CONTACT ── */
        .contact-section {
            padding: 100px 0;
            background: var(--cream);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .contact-form-wrap {
            background: var(--forest);
            border-radius: var(--r-lg);
            padding: 44px;
        }

            .contact-form-wrap h3 {
                font-family: var(--serif);
                font-weight: 400;
                font-size: 1.5rem;
                color: var(--cream);
                margin-bottom: 8px;
            }

            .contact-form-wrap > p {
                font-size: 0.88rem;
                color: var(--cream-80);
                margin-bottom: 32px;
            }

        .form-group {
            margin-bottom: 18px;
        }

            .form-group label {
                display: block;
                font-size: 0.78rem;
                font-weight: 600;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                color: rgba(238,245,241,0.5);
                margin-bottom: 7px;
            }

            .form-group input,
            .form-group textarea,
            .form-group select {
                width: 100%;
                background: rgba(238,245,241,0.06);
                border: 1px solid rgba(238,245,241,0.12);
                border-radius: 10px;
                padding: 12px 16px;
                color: var(--cream);
                font-family: var(--sans);
                font-size: 0.9rem;
                outline: none;
                transition: border-color .2s;
            }

                .form-group input::placeholder,
                .form-group textarea::placeholder {
                    color: rgba(238,245,241,0.3);
                }

                .form-group input:focus,
                .form-group textarea:focus {
                    border-color: var(--mint);
                }

            .form-group textarea {
                resize: vertical;
                min-height: 120px;
            }

        .form-submit {
            width: 100%;
            background: var(--mint);
            color: var(--forest);
            border: none;
            border-radius: 999px;
            padding: 15px;
            font-family: var(--sans);
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            transition: opacity .2s;
            margin-top: 8px;
            letter-spacing: 0.02em;
        }

            .form-submit:hover {
                opacity: 0.85;
            }

        .contact-info h3 {
            font-family: var(--serif);
            font-weight: 400;
            font-size: 2rem;
            line-height: 1.15;
            margin-bottom: 20px;
        }

        .contact-info > p {
            color: var(--forest-60);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 40px;
        }

        .contact-people {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 40px;
        }

        .contact-person {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 18px 22px;
            background: rgba(7,41,36,0.05);
            border: 1px solid var(--forest-15);
            border-radius: var(--r);
        }

        .cp-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--forest);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--mint);
            font-family: var(--serif);
            font-size: 1rem;
            font-style: italic;
            flex-shrink: 0;
        }

        .cp-name {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 2px;
        }

        .cp-contact {
            font-size: 0.8rem;
            color: var(--forest-60);
        }

            .cp-contact a {
                text-decoration: underline;
                text-underline-offset: 3px;
            }

        .contact-offices {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .office-card {
            padding: 20px 22px;
            background: var(--forest);
            color: var(--cream);
            border-radius: var(--r);
        }

            .office-card h4 {
                font-size: 0.72rem;
                font-weight: 600;
                letter-spacing: 0.1em;
                text-transform: uppercase;
                color: var(--mint);
                margin-bottom: 8px;
            }

            .office-card p {
                font-size: 0.85rem;
                color: var(--cream-80);
                line-height: 1.55;
            }

        /* ── MODAL ── */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 200;
            background: rgba(7,41,36,0.85);
            backdrop-filter: blur(6px);
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

            .modal-overlay.open {
                display: flex;
            }

        .modal-box {
            background: var(--cream);
            border-radius: var(--r-lg);
            padding: 48px;
            max-width: 760px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--forest-08);
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            cursor: pointer;
            font-size: 1rem;
            color: var(--forest);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s;
            z-index: 2;
        }

            .modal-close:hover {
                background: var(--forest-15);
            }

        /* Foto floatuje vpravo — text obtéká přirozeně */
        .modal-photo {
            float: right;
            width: 220px;
            height: 300px;
            border-radius: var(--r);
            object-fit: cover;
            object-position: top center;
            /*background: var(--forest-15); */
            margin: 20px 20px 24px 28px;
            shape-outside: inset(0 round var(--r));
        }

        .modal-header {
            margin-bottom: 0;
        }

        /* clearfix — tagy pod fotkou se nezlomí */
        .modal-box::after {
            content: '';
            display: table;
            clear: both;
        }

        .modal-divider {
            margin-right: 0;
        }

        .modal-header-text {
            padding-top: 4px;
        }

        .modal-role {
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--forest-60);
            margin-bottom: 8px;
        }

        .modal-name {
            font-family: var(--serif);
            font-size: 1.9rem;
            font-weight: 400;
            color: var(--forest);
            margin-bottom: 4px;
        }

        .modal-title {
            color: var(--forest-60);
            font-size: 0.9rem;
            margin-bottom: 0;
            font-style:italic;
        }

        .modal-divider {
            display: none;
            height: 1px;
            background: var(--forest-15);
            margin-bottom: 24px;
        }

        .modal-bio {
            font-size: 0.9rem;
            color: var(--forest-60);
            line-height: 1.75;
            margin-bottom: 24px;
            text-align: justify;
        }

        .modal-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .modal-tag {
            background: var(--forest);
            color: var(--mint);
            border-radius: 999px;
            padding: 6px 14px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        /* ── FOOTER ── */
        footer {
            background: var(--forest);
            color: var(--cream);
            padding: 60px 0 40px;
        }

        .footer-inner {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-brand {
            font-family: var(--serif);
            font-size: 1.4rem;
            color: var(--cream);
            margin-bottom: 14px;
        }

            .footer-brand em {
                font-style: italic;
                color: var(--mint);
            }

        .footer-tagline {
            font-size: 0.85rem;
            color: var(--cream-80);
            line-height: 1.6;
            max-width: 260px;
        }

        .footer-col h4 {
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--mint);
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer-col li a {
            font-size: 0.86rem;
            color: var(--cream-80);
            transition: color .2s;
        }

            .footer-col li a:hover {
                color: var(--cream);
            }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 32px;
            border-top: 1px solid rgba(238,245,241,0.08);
            font-size: 0.8rem;
            color: rgba(238,245,241,0.4);
        }

        /* ── SCROLL ANIMATIONS ── */
        .fade-up {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity .7s ease, transform .7s ease;
        }

            .fade-up.visible {
                opacity: 1;
                transform: none;
            }

        /* ── MOBILE NAV ── */
        .mobile-nav {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 99;
            background: var(--forest);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 32px;
        }

            .mobile-nav.open {
                display: flex;
            }

            .mobile-nav a {
                font-family: var(--serif);
                font-size: 2rem;
                color: var(--cream);
            }

                .mobile-nav a:hover {
                    color: var(--mint);
                }

        /* ── RESPONSIVE ── */
        @media (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .flip-card {
                height: 240px;
            }

            .specialty-card {
                grid-column: span 1;
            }

            .specialty-main {
                grid-column: span 3;
            }
        }

        @media (max-width: 900px) {
            .hero-inner, .about-grid, .contact-grid {
                grid-template-columns: 1fr;
            }

            .hero-inner {
                gap: 40px;
                padding: 70px 0 60px;
            }

            .team-partners {
                grid-template-columns: 1fr;
            }

            .team-others {
                grid-template-columns: 1fr 1fr;
            }

            .specialty-grid {
                grid-template-columns: 1fr;
            }

            .specialty-main {
                grid-column: span 1;
            }

            .footer-inner {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 8px;
                text-align: center;
            }

            .hamburger {
                display: flex;
            }

            .nav-links {
                display: none;
            }

            .contact-offices {
                grid-template-columns: 1fr;
            }

            .about-values {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            .services-grid {
                grid-template-columns: 1fr;
            }

            .flip-card {
                height: 260px;
            }

            .flip-front h3, .flip-back h3 {
                font-size: 0.95rem;
            }

            .flip-back p {
                font-size: 0.84rem;
            }

            .flip-face {
                padding: 26px 22px;
            }

            .team-others {
                grid-template-columns: 1fr;
            }

            .modal-box {
                padding: 32px 24px;
            }

            .modal-photo {
                float: right;
                width: 100px;
                height: 130px;
                margin: 16px 0 16px 20px;
                shape-outside: inset(0 round var(--r));
            }

            .about-grid {
                gap: 36px;
            }

            .wrap {
                width: calc(100% - 32px);
            }

            .logo-img {
                max-width: 200px;
                max-height: 66px;
            }

        }

/* ── VOP PAGE STYLES ── */
/* ── VOP PAGE STYLES ── */
.page-wrap {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    padding: 64px 0 100px;
}

.doc-header {
    margin-bottom: 52px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.doc-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(7,41,36,0.08);
    color: var(--dark-forest);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.doc-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dark-forest);
    margin: 0 0 20px;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 500;
}

.doc-meta span { display: flex; align-items: center; gap: 5px; }

.toc {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 52px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.toc-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 16px;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 32px;
}

.toc li {
    font-size: 0.92rem;
    font-weight: 500;
}

.toc a {
    text-decoration: none;
    color: var(--dark-forest);
    transition: 0.2s;
}

.toc a:hover { opacity: 0.6; }

.vop-section {
    margin-bottom: 48px;
    scroll-margin-top: 90px;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
}

.section-num {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--muted);
    flex-shrink: 0;
    min-width: 28px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-forest);
    margin: 0;
    border-bottom: 2px solid var(--dark-forest);
    padding-bottom: 8px;
    flex: 1;
}

.vop-section p {
    margin: 0 0 14px;
    color: var(--text-dark);
    font-size: 0.97rem;
    font-weight: 300;
}

.vop-section p:last-child { margin-bottom: 0; }

.vop-section ul,
.vop-section ol {
    margin: 0 0 14px;
    padding-left: 22px;
    font-size: 0.97rem;
    font-weight: 300;
}

.vop-section li { margin-bottom: 6px; }

.subsection-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-forest);
    margin: 28px 0 12px;
}

.highlight-box {
    background: var(--dark-forest);
    color: var(--off-white);
    border-radius: 14px;
    padding: 22px 26px;
    margin: 20px 0;
    font-size: 0.93rem;
    line-height: 1.65;
}

.highlight-box strong { color: var(--primary-bg); }

.info-box {
    background: rgba(7,41,36,0.06);
    border-left: 3px solid var(--dark-forest);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 18px 0;
    font-size: 0.92rem;
}

.doc-footer {
    background: var(--dark-forest);
    color: var(--off-white);
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 64px;
    text-align: center;
}

.doc-footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: var(--off-white);
}

.doc-footer p {
    color: rgba(238,245,241,0.7);
    margin: 0 0 24px;
    font-size: 0.95rem;
}

.footer-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 640px) {
    .toc ol { grid-template-columns: 1fr; }
    .doc-footer { padding: 28px 24px; }
}


/* ═══════════════════════════════════════════════════
   ČLÁNKY — přehled (clanky.html)
   ═══════════════════════════════════════════════════ */

.articles-hero {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--forest-15);
}

.articles-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.articles-lead {
    color: var(--forest-60);
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.65;
}

/* Filtr kategorií */
.articles-filter-wrap {
    padding: 24px 0;
    border-bottom: 1px solid var(--forest-15);
    position: sticky;
    top: 70px;
    background: var(--cream);
    z-index: 10;
}

.articles-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--forest-15);
    background: transparent;
    color: var(--forest-60);
    cursor: pointer;
    transition: all .2s;
}

.filter-btn:hover {
    border-color: var(--forest);
    color: var(--forest);
}

.filter-btn.active {
    background: var(--forest);
    color: var(--mint);
    border-color: var(--forest);
}

/* Mřížka karet */
.articles-section {
    padding: 56px 0 100px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.articles-loading,
.articles-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--forest-60);
    padding: 60px 0;
    font-size: 0.95rem;
}

/* Karta článku */
.article-card {
    border-radius: var(--r-lg);
    border: 1px solid var(--forest-15);
    overflow: hidden;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.article-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.04);
}

.article-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-kat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2db88a;
}

.article-date {
    font-size: 0.78rem;
    color: var(--forest-60);
}

.article-card-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--forest);
    line-height: 1.3;
    margin: 0;
}

.article-card-perex {
    font-size: 0.85rem;
    color: var(--forest-60);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--forest-08);
}

.article-autor {
    font-size: 0.78rem;
    color: var(--forest-60);
    font-weight: 500;
}

.article-read {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   ČLÁNEK — detail (clanek.html)
   ═══════════════════════════════════════════════════ */

.clanek-wrap {
    max-width: 760px;
}

.clanek-back {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--forest-60);
    margin-bottom: 36px;
    transition: color .2s;
}

.clanek-back:hover { color: var(--forest); }

.clanek-header {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--forest-15);
}

.clanek-header-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.clanek-perex {
    font-size: 1.05rem;
    color: var(--forest-60);
    line-height: 1.65;
    margin: 12px 0 0;
    font-style: italic;
}

.clanek-autor-row {
    margin-top: 14px;
    font-size: 0.84rem;
    color: var(--forest-60);
}

.clanek-autor-label { font-weight: 600; }

.clanek-cover {
    margin-bottom: 40px;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

/* Tělo článku — typografie */
.clanek-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--forest);
}

.clanek-body h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 48px 0 16px;
    color: var(--forest);
    border-bottom: 1px solid var(--forest-15);
    padding-bottom: 10px;
}

.clanek-body h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--forest);
}

.clanek-body p { margin-bottom: 20px; }

.clanek-body ul, .clanek-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.clanek-body li { margin-bottom: 8px; }

.clanek-body strong { font-weight: 600; color: var(--forest); }

.clanek-body a {
    color: #2db88a;
    text-decoration: underline;
    text-decoration-color: rgba(45,184,138,.35);
}

.clanek-body a:hover { text-decoration-color: #2db88a; }

.clanek-body blockquote {
    border-left: 3px solid var(--mint);
    margin: 24px 0;
    padding: 12px 20px;
    background: var(--forest-08);
    border-radius: 0 var(--r) var(--r) 0;
    color: var(--forest-60);
    font-style: italic;
}

.clanek-body hr {
    border: none;
    border-top: 1px solid var(--forest-15);
    margin: 40px 0;
}

.clanek-doc-footer { margin-top: 64px; }

/* nav-active styl */
.nav-active {
    color: var(--forest) !important;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — články
   ═══════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; }
    .articles-filter-wrap { top: 60px; }
}
