:root {
    /* Brand Colors ze zadání */
    --clr-primary: #DF692A;
    --clr-secondary: #5D3A00;
    --clr-bg: #F5F5F5;
    --clr-text-main: #27292A;
    --clr-text-light: #ffffff;

    /* Vlastní odvozené barvy z referenčního fota */
    --clr-header-bg: #F8F6F2;

    /* Typography */
    --font-heading: 'M PLUS Rounded 1c', sans-serif;
    --font-text: 'Open Sans', sans-serif;

    /* Spaces & Sizes */
    --container-width: 80%;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Běžný text rem */
}

body {
    font-family: var(--font-text);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.2;
    font-weight: 500;
}

/* Nadpisy clamp (z instrukce) */
h1 {
    font-size: clamp(3rem, 5vw + 1rem, 5.5rem);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
    max-width: 1600px;
}

/* --- HEADER --- */
.header {
    position: absolute;
    /* Usazení na hero pozadí */
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    position: fixed;
    top: 0;
    padding-top: 18px;
}

.header-inner {
    background-color: var(--clr-header-bg);
    padding: 12px 30px;
    border-radius: 40px;
    /* Tvar pilulky z designu vzoru */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 72px;
    /* Fixní výška lišty pro případ větších elementů (logo) */
}

.logo img {
    height: 115px;
    /* Zvětšeno pro nečitelné logo - přesahuje přes lištu */
    display: block;
    border-radius: 50%;
    /* Vytvoření z loga kulatý prvek */
    aspect-ratio: 1 / 1;
    /* Pojistka pro perfektní kruh */
    object-fit: cover;
    mix-blend-mode: multiply;
    /* pro případ bílého pozadí na logu */
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-text-main);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--clr-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-only {
    display: none;
}

/* --- TLAČÍTKA --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px 18px 36px;
    /* Záměrně asymetrický vertikální padding (menší nahoře, větší dole) kvůli posunutému těžišti daného fontu */
    border-radius: 30px;
    /* Tvar pilulky po vzoru z hlavičky */
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    font-size: 1.15rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
    box-shadow: 0 4px 15px rgba(223, 105, 42, 0.25);
}

.btn-primary:hover {
    background-color: #c45a23;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(223, 105, 42, 0.35);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--clr-text-light);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Zmenšený padding specifikovaný pouze pro tlačítko uvnitř hlavičky */
.header-action .btn {
    padding-top: 10px;
    padding-bottom: 10px;
}


/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--clr-text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* --- HERO SEKCE --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 0;
    /* Odstraněn padding, aby čísla byla opravdu úplně dole */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scaleX(-1);
    /* Zrcadlové převrácení obrázku */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Přechod zleva doprava jako tónování pro bílý text (viz pattern fotky) */
    background: linear-gradient(90deg, rgba(39, 41, 42, 0.85) 0%, rgba(39, 41, 42, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
}

.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    position: relative;
    padding-bottom: 80px;
    /* Obnovení paddingu, protože sekce pod ní (s negativním marginem) potřebuje tento prostor, aby nepřekrývala text hero sekce */
}

.hero-content {
    max-width: 60%;
    /* Rozšířeno na 60% pro řádek na jeden zátah u nadpisu */
    color: var(--clr-text-light);
    animation: fadeUp 1s ease-out forwards;
    align-self: center;
    padding-left: 30px;
    /* Posunutí obsahu, aby se zarovnal se samotným logem a nepřečníval přes zaoblení menu */
}

.hero-content h1 {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    max-width: 90%;
}

.hero-content p.hero-lead {
    font-size: calc(1.25rem + 2px);
    /* Zvětšeno o 2px */
    font-weight: 600;
    /* Větší tučnost */
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* --- STATISTIKY --- */

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-box {
    text-align: center;
    flex: 1 1 250px;
}

.stat-num-large {
    display: block;
    font-size: clamp(3.5rem, 6vw, 4.5rem);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-title-dark {
    display: block;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.stat-desc-dark {
    display: block;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 250px;
}

/* ANIMACE */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- FOOTER SEPARATOR (OLD) --- */

/* =========================================================================
   NOVÉ SEKCE: O NÁS, ČLENOVÉ A DALŠÍ (ZÁKLAD)
   ========================================================================= */

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--clr-header-bg);
}

.bg-gray {
    background-color: var(--clr-header-bg);
}

.subheading {
    display: inline-block;
    color: var(--clr-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: calc(0.9rem + 5px);
    /* Větší o 5px podle požadavku */
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-700 {
    max-width: 700px;
}

.section-header {
    margin-bottom: 4rem;
}

/* --- NOVÝ O NÁS (Kreativní s fotkami a custom ikonami) --- */
.about-section {
    position: relative;
    overflow: hidden;
    background-color: var(--clr-header-bg);
    /* Stejné jako menu */
    padding: 120px 0 150px 0;
    /* Zvětšený spodní padding kvůli zaoblenému přechodu pod ním */
    margin-top: -60px;
    /* Překrytí hero obrázku zespodu */
    border-radius: 60px 60px 0 0;
    z-index: 10;
}

/* Dekorativní plovoucí tlapky v pozadí */
.decor-icon {
    position: absolute;
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
}

.decor-paw-1 {
    top: -5%;
    left: -5%;
    width: 300px;
    transform: rotate(25deg);
}

.decor-paw-2 {
    bottom: 10%;
    right: -2%;
    width: 200px;
    transform: rotate(-15deg);
}

.decor-paw-3 {
    top: 40%;
    left: 45%;
    width: 150px;
    opacity: 0.04;
    transform: rotate(45deg);
}

.about-container {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    /* Zmenšit fotku (prostor na 1fr oproti textu 1.35fr) */
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.section-title-wrapper {
    margin-bottom: 2rem;
}

.inline-paw {
    width: 16px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
    transform: translateY(-2px);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
}

/* Feature položky (místo 2x2 gridu jsme přesunuli pod container jako 4x1 slider - teď je z toho horizontální pruh ikon) */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Rozloží se do sloupců vedle sebe (max 4) a zarovná zbytek do řádku */
    column-gap: 2.5rem;
    row-gap: 3rem;
    margin-top: 6rem;
    /* Odsazení od galerie a textu nad */
    position: relative;
    z-index: 1;
}

.about-feature {
    display: flex;
    flex-direction: column;
    /* Ikonka nahoře, text pod ní */
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.about-feature-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(223, 105, 42, 0.1);
    box-shadow: 0 8px 25px rgba(223, 105, 42, 0.05);
    transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
    transform: scale(1.05) translateY(-3px);
    border-color: var(--clr-primary);
    box-shadow: 0 12px 30px rgba(223, 105, 42, 0.15);
}

.about-feature-icon img {
    width: 30px;
    object-fit: contain;
}

.about-feature h4 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-top: 5px;
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    font-weight: 600;
}

/* O Nás Galerie Swiper */
.about-gallery {
    position: relative;
    padding-left: 0;
    min-width: 0;
    max-width: 100%;
}

.about-gallery-swiper {
    overflow: hidden;
    /* PŮVODNĚ: visible - OPRAVA: overflow hidden je kritické pro Swiper, jinak způsobuje infinite re-layout (tj. blikání webu). */
    padding: 20px;
    margin: -20px;
    /* Kompenzace pro stíny */
    padding-bottom: 60px;
}

.gallery-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding-bottom: 66.6%;
    /* Změněno ze 110% na 66.6%. Tím vznikne fotka na šířku (landscape ratio pr. 3:2), čímž vymizí rozmazání. */
    box-shadow: none;
    /* Odstraněn stín ze slideru podle požadavku */
    background: var(--clr-bg);
}

.gallery-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.about-pagination {
    position: static;
    width: auto;
    display: flex;
    gap: 6px;
}

.about-arrows {
    display: flex;
    gap: 1rem;
    position: relative;
}

.about-prev,
.about-next {
    position: static;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--clr-bg);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    margin: 0;
}

.about-prev::after,
.about-next::after {
    display: none;
}

.about-prev:hover,
.about-next:hover {
    background-color: var(--clr-primary);
    color: #fff;
}

/* Členové - Karty do Swiperu */
#clenove {
    background-color: #ffffff;
    margin-top: -60px;
    border-radius: 60px 60px 0 0;
    position: relative;
    z-index: 20;
    padding-top: 130px;
    /* Zvětšeno */
    padding-bottom: 115px;
    /* Zmenšeno na polovinu podle požadavku */
    overflow: hidden;
    /* Zachycení přebalů bez osekávání bočních stínů díky paddingu v swiperu */
}

.clenove-decor-paw {
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 400px;
    opacity: 0.25;
    /* Zvýšena viditelnost podle požadavku */
    pointer-events: none;
    z-index: 1;
    /* Posunuto nad bílé pozadí sekce */
    transform: rotate(-15deg);
}

.clenove-decor-paw-left {
    position: absolute;
    top: -20px;
    left: -80px;
    width: 350px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
    transform: rotate(165deg) scaleY(-1);
    /* Otočeno a zrcadleno pro levý horní roh */
}


#clenove .container {
    position: relative;
    z-index: 2;
    /* Obsah musí být nad tlapkami */
}



.members-swiper {
    padding: 40px;
    /* Více prostoru pro stíny */
    /* Odstraněn negativní margin, který slider "lepil" k okrajům */
    padding-bottom: 90px;
    /* Místo pro navigaci a stíny */
    overflow: visible !important;
}

.member-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    /* Extrémně jemný a rozlehlý stín bez viditelných hran */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.03), 0 2px 10px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.01);
    height: 100%;
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.06);
}

.member-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--clr-bg);
}

.member-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Swiper custom navigace (Kulatá šipečka jako v návrhu uživatele) */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    position: relative;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    /* Zabrání deformaci na ovál */
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(223, 105, 42, 0.3);
    color: var(--clr-primary);
    margin: 0;
    display: flex;
    /* Centrování obsahu šipky */
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
    /* Skryjeme výchozí šipky ze Swiperu a použijeme FontAwesome */
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--clr-primary);
    color: #ffffff;
}

.swiper-pagination {
    position: static;
    width: auto;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(223, 105, 42, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--clr-primary);
    width: 24px;
    border-radius: 4px;
}

/* RESPONZIVITA PRO NOVÉ SEKCE */
@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }

    .section-inner-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CANISTERAPEUTICKÉ TÝMY --- */
#tymy {
    background-color: var(--clr-header-bg);
    padding: 120px 0 150px 0;
    position: relative;
    z-index: 30;
    margin-top: -60px;
    border-radius: 60px 60px 0 0;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.team-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(223, 105, 42, 0.1);
}

.team-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.team-info p {
    font-size: 0.95rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 0;
}

.teams-section {
    background-color: var(--clr-header-bg);
    padding: 120px 0 150px 0;
    position: relative;
    /* Nezbytné pro absolutní pozicování tlap */
    z-index: 30;
    margin-top: -60px;
    border-radius: 60px 60px 0 0;
    overflow: hidden;
    /* Aby tlapky nepřesahovaly mimo sekci */
}

.teams-section .container {
    position: relative;
    z-index: 2;
    /* Obsah nad tlapkami */
}

.tymy-decor-paw-header {
    position: absolute;
    top: 50px;
    left: 45%;
    /* Mezi nadpisem a tlačítkem */
    width: 280px;
    /* Zmenšeno o 20% */
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
    transform: rotate(20deg);
}

.tymy-decor-paw-bottom {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 360px;
    /* Zmenšeno o 20% */
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-15deg);
}

.teams-top-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "header action"
        "intro intro";
    /* Intro bere celou šířku pod ním */
    align-items: flex-end;
    gap: 0 2rem;
    /* Zmenšeno z 4rem */
}

.teams-header {
    grid-area: header;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 0;
}

.teams-intro {
    grid-area: intro;
    max-width: 800px;
    margin-top: 0.5rem;
    /* Zmenšeno na minimum */
    /* Zmenšeno z 2rem */
    margin-bottom: 2rem;
    /* Zmenšeno z 4rem */
}

.teams-header-link {
    grid-area: action;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    background-color: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
    font-size: 1rem;
    gap: 8px;
    margin-bottom: 0.5rem;
    /* Zarovnání s linkou textu v headeru */
}

.teams-header-link:hover {
    background-color: var(--clr-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(223, 105, 42, 0.2);
}

.teams-header-link i {
    transition: transform 0.3s ease;
}

.teams-header-link:hover i {
    transform: translateX(5px);
}

.teams-intro {
    max-width: 800px;
    margin-bottom: 4rem;
}

.teams-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

/* Sidebar se seznamem členů (levá část) */
.teams-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    /* Oříznutí seznamu, aby byly vidět jen 4 */
}

.teams-nav-swiper {
    height: 440px;
    /* Upraveno přesně pro 4 položky (4x100px + mezery) */
    overflow: hidden !important;
    padding: 10px;
    /* Prostor pro stíny uvnitř */
    margin: -10px;
    padding-right: 20px;
}

.team-nav-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    height: 100px;
    /* Pevná výška pro konzistentní scroll mřížku */
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    position: relative;
    background: transparent;
    border: 1px solid transparent;
}

.team-nav-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.team-nav-item.active {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Výraznější aktivní prvek */
    border-color: rgba(223, 105, 42, 0.1);
    transform: scale(1.02);
}

.team-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background-color: var(--clr-primary);
    border-radius: 0 4px 4px 0;
}

.team-nav-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.team-nav-info h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.team-nav-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 0.7;
    font-weight: 500;
}

/* Detailní karta (pravá část) */
.team-main-slider {
    flex-grow: 1;
    min-width: 0;
    /* Pro správnou funkci swiperu ve flexu */
}

.team-detail-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    display: flex;
    /* overflow: hidden; */
    /* ODSTRANĚNO - toto osekávalo šipky a text */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: auto;
    min-height: 520px;
    /* Zvětšeno pro více místa na text i ovládání */
    position: relative;
    z-index: 10;
}

.team-detail-img {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
    /* Oříznutí fotky řešíme tady */
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.team-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-detail-content {
    padding: 2.5rem;
    /* Snížen padding pro více místa */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    flex-grow: 1;
    min-width: 0;
}

.team-detail-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.team-detail-role {
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    font-family: var(--font-heading);
}

.team-detail-desc {
    font-size: 1rem;
    /* Sníženo z 1.1rem aby se to vešlo */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-stats-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.team-stats-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #444;
}

.team-stats-list li::before {
    content: '•';
    color: var(--clr-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.8rem;
    line-height: 0.8;
}

.team-detail-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    z-index: 100;
}

.teams-pagination {
    display: flex;
    gap: 8px;
}


/* --- SUPPORT SEPARATOR --- */

/* --- PODPOŘTE NÁS --- */
#podporte-nas {
    background-color: #ffffff;
    border-radius: 60px 60px 0 0;
    margin-top: -60px;
    position: relative;
    z-index: 40;
    padding: 130px 0 100px;
    /* Shodný horní padding jako u členů */
    overflow: hidden;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    text-align: left;
}

.support-box {
    background: #fff;
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    /* Nutné pro absolutní pozici packy v podtřídě */
}

/* Speciální oranžový box pro finanční dar podle vzoru */
.support-box-primary {
    background-color: var(--clr-primary);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(223, 105, 42, 0.25);
    border: none;
}

.support-box-paw {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 250px;
    height: auto;
    opacity: 0.15;
    /* Nižší opacita pro bílou tlapku na oranžové */
    pointer-events: none;
    z-index: 1;
    transform: rotate(15deg);
    filter: brightness(0) invert(1);
    /* Převod na bílou barvu */
}

.support-divider {
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Podtržení pro bílý box */
.support-box-secondary .support-divider {
    background-color: var(--clr-primary);
}

/* Ikona psa pro druhý box */
.support-box-secondary .support-box-paw {
    opacity: 0.45;
    /* Redukovaná výraznost pro subtilnější vzhled */
    filter: none;
    /* Neinvertovat v bílém boxu */
    width: 200px;
    top: auto;
    right: 0;
    bottom: 0;
    transform: scaleX(-1);
    /* Zrcadlové otočení */
}

.support-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /* Zajistí, že text i řada pod ním mají stejnou šířku */
}

.support-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    /* Perfektní vycentrování vůči sobě bez marginu */
    flex-wrap: wrap;
}

.support-details-side {
    flex: 1;
}

.support-qr-side {
    width: 150px;
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.support-qr-side img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.support-qr-side span {
    font-size: 0.75rem;
    color: var(--clr-text-main);
    font-weight: 600;
    line-height: 1.2;
}

.tax-info {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    opacity: 1 !important;
}

.tax-info a {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 700;
}

.content-link {
    color: var(--clr-primary);
    text-decoration: underline;
    font-weight: 600;
}

.support-box-primary h3,
.support-box-primary p {
    color: #fff !important;
    position: relative;
    z-index: 2;
}



.support-box-primary .bank-details {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

/* Úprava odsazení textu nahoře */
.tax-info {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    /* Mezera mezi textem a boxy */
    line-height: 1.5;
    opacity: 1 !important;
}

.support-box-primary .bank-details {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.support-box-primary .copy-text {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.support-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 2rem;
}

.support-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.support-box p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.bank-details {
    background: var(--clr-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--clr-primary);
}

.bank-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.bank-details p:last-child {
    margin-bottom: 0;
}

.copy-text {
    font-family: monospace;
    font-weight: 700;
    color: var(--clr-heading);
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.support-thanks {
    margin: 4rem auto 0;
    font-size: 1.35rem;
    color: var(--clr-text-main);
    font-weight: 700;
    text-align: center;
    max-width: 800px;
    line-height: 1.4;
}

/* --- FACEBOOK SECTION (RECONSTRUCTED) --- */
.facebook-section {
    background-color: #ffffff;
    padding: 160px 0 100px;
    position: relative;
    overflow: visible;
    /* Musíme vidět přesahujícího psa */
    z-index: 10;
}

.facebook-card {
    background: var(--clr-primary);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    /* Rozšířený středový sloupec pro psa */
    gap: 3rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(223, 105, 42, 0.2);
    min-height: 250px;
    padding: 6rem 4rem;
    /* Výraznější padding nahoře a dole */
}

.facebook-card-left h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0;
    font-weight: 700;
}

.facebook-card-center {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.facebook-pes-img {
    position: absolute;
    bottom: -6rem;
    /* Zarovnání na spodní hranu boxu (kompenzace paddingu .facebook-card) */
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    /* Mírně zvětšeno */
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.facebook-card-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.facebook-card-right p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.5;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    color: var(--clr-primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    align-self: flex-start;
}

.facebook-link:hover {
    background: var(--clr-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.facebook-link i {
    font-size: 1.3rem;
}


/* --- FOOTER SEPARATOR --- */

/* --- SITE FOOTER (NEW) --- */
.site-footer {
    background: #3D2600;
    padding: 120px 0 60px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    border-radius: 60px 60px 0 0;
    z-index: 20;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 5rem;
    align-items: start;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col-logo {
    text-align: center;
}

.footer-col-logo .footer-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    mix-blend-mode: normal !important;
    /* Reset blending z horní lišty */
    position: relative;
    z-index: 10;
    filter: none !important;
    /* Pojistka proti filtrům */
}

.footer-col-logo p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--clr-primary);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 1.25rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-list a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--clr-primary);
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
    width: 25px;
    /* Pevná šířka pro zarovnání textu pod sebou */
    text-align: center;
}

.footer-email-link {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-email-link:hover {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 12px;
    padding-bottom: 20px;
    /* Přidáno mírné odsazení zespodu pro lepší vizuál */
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #fff;
}

/* =========================================================================
   CONSOLIDATED RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================= */

@media (max-width: 1200px) {
    .hero-content {
        max-width: 75%;
    }

    .teams-layout {
        gap: 2rem;
    }

    .teams-sidebar {
        width: 280px;
    }

    .team-detail-content {
        padding: 2.5rem;
    }
}

@media (max-width: 1100px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .facebook-section {
        padding: 140px 0 80px;
        /* Výrazně zvětšen padding nahoře, aby hlava psa nebyla oříznutá */
    }

    .facebook-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        grid-template-columns: 1fr;
        text-align: left;
        padding: 3rem 2.5rem 3rem 240px;
        /* Upravený prostor pro menšího psa */
        min-height: 280px;
        position: relative;
        gap: 0.5rem;
    }

    .facebook-card-center {
        position: absolute;
        bottom: 0;
        left: -40px;
        /* Přesah psa vlevo ven z boxu */
        width: 280px;
        /* Zmenšený pes pro tablet */
        height: auto;
        transform: none;
        z-index: 10;
        order: -1;
    }

    .facebook-pes-img {
        width: 100% !important;
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        top: auto !important;
        transform: none !important;
        display: block;
    }

    .facebook-card-left h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    .facebook-link {
        align-self: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .container {
        width: 92%;
    }

    /* Jednotný padding sekcí pro tablet/mobil dle požadavku */
    .section,
    .about-section,
    #clenove,
    #tymy,
    .teams-section,
    #podporte-nas,
    .facebook-section,
    .site-footer {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        margin-top: -40px;
        /* Vrácení přesahu pro efekt zaoblení */
        border-radius: 50px 50px 0 0;
        /* Výraznější zaoblení */
        position: relative;
        z-index: 10;
    }

    /* Specifické zvětšení mezery pod statistikami (O nás) a pod týmy na mobilu */
    .about-section,
    #tymy,
    .teams-section {
        padding-bottom: 110px !important;
    }

    /* Zajištění kaskády vrstev (každá další sekce překrývá tu předchozí) */
    #clenove {
        z-index: 20;
    }

    #tymy,
    .teams-section {
        z-index: 30;
    }

    #podporte-nas {
        z-index: 40;
    }

    .facebook-section {
        z-index: 50;
    }

    .site-footer {
        z-index: 60;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-bottom: 140px;
        /* Ještě o něco více místa, aby negativní margin nesebral prostor tlačítkům */
    }

    .hero-content {
        max-width: 100%;
        margin-top: 3rem;
        align-self: flex-start;
        padding-left: 0;
    }

    .hero-overlay {
        background: rgba(39, 41, 42, 0.6);
    }

    .about-features {
        margin-top: 3rem;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Zvýšení průhlednosti ikon na mobilu pro lepší čitelnost textu */
    .support-box-paw {
        opacity: 0.1 !important;
    }

    .support-box-secondary .support-box-paw {
        opacity: 0.15 !important;
    }

    .teams-top-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .teams-top-layout {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .teams-header {
        order: 1;
        margin-bottom: 0.5rem !important;
    }

    .teams-intro {
        order: 2;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
    }

    .teams-header-link {
        order: 3;
        align-self: flex-start;
        margin-bottom: 2rem !important;
    }

    .teams-layout {
        display: block;
    }

    .teams-sidebar {
        display: none;
    }

    .team-detail-card {
        flex-direction: column;
        height: auto;
    }

    .team-detail-content {
        order: 1;
        padding: 2.5rem 2rem;
    }

    .team-detail-img {
        order: 2;
        width: 100%;
        height: 380px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .team-detail-content h3 {
        font-size: 1.8rem;
    }

    .team-detail-controls {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 2rem;
        justify-content: center;
    }

    /* Skrytí teček u členů na mobilu pro čistší vzhled */
    .members-pagination {
        display: none;
    }

    .slider-controls {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        border-radius: 20px;
        padding: 10px 20px;
        height: 60px;
    }

    .logo img {
        height: 95px;
    }

    .nav-links,
    .header-action {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    /* Mobilní menu - ukáže se po kliknutí na hamburger */
    .main-nav.active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        position: absolute;
        top: 80px;
        left: 5%;
        width: 90%;
        background-color: var(--clr-header-bg);
        border-radius: var(--radius-md);
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hamburger animace do křížku */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .hero-content p.hero-lead {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .hero-buttons {
        margin-top: 2rem;
        flex-direction: row;
        gap: 1.5rem;
    }

    .btn {
        width: auto;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .support-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-qr-side {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }


    .footer-main {
        grid-template-columns: 1fr 1fr !important;
        text-align: left;
        gap: 3rem 2rem;
        padding-bottom: 40px;
    }

    .footer-col:not(.footer-col-logo) {
        text-align: left;
    }

    .footer-col:not(.footer-col-logo) h4::after {
        left: 0;
        transform: none;
    }

    .footer-col-logo {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .facebook-section {
        padding: 120px 0 60px;
    }

    .facebook-card {
        padding: 2.5rem 1.5rem 2.5rem 150px;
        /* Zmenšený prostor pro psa na mobilu */
        min-height: auto;
    }

    .facebook-card-center {
        width: 180px;
        left: -30px;
    }

    .facebook-pes-img {
        width: 100% !important;
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        top: auto !important;
        transform: none !important;
        display: block;
    }

    .facebook-card-left h2 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .facebook-card-right p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        /* Omezíme text aby se vešel vedle psa */
    }

    .facebook-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .support-box {
        padding: 2rem 1.5rem;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-qr-side {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .footer-main {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-col:not(.footer-col-logo) {
        text-align: center;
    }

    .footer-col:not(.footer-col-logo) h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}