/* ==========================================================================
   Sekce: root
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #324D41;
    --color-primary-dark: #14231E;
    --color-primary-light: #7E9D90;
    --color-accent: #C2A68F;
    --color-accent-dark: #A88E78;

    --font-headings: "Libre Baskerville", serif;
 
    --font-body: "Libre Baskerville", serif;

    --border-radius-sm: 10px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --shadow-sm: 0 4px 20px rgba(20, 35, 30, 0.03);
    --shadow-md: 0 12px 35px rgba(20, 35, 30, 0.05);
    --shadow-lg: 0 25px 55px rgba(20, 35, 30, 0.08);

    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.85;
    letter-spacing: 0.1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* ========================================================================== 
    Sekce: Typografie
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    line-height: 1.2;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.section-subtitle.text-center {
    display: block;
    text-align: center;
}

.section-lead-text {
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.75;
    margin-top: 16px;
}

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

/* ========================================================================== 
    Sekce: Pomocné barvy a témata
    ========================================================================== */
.theme-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-light-theme);
}

.theme-light h2 {
    color: var(--color-primary-dark);
}

.theme-light .section-lead-text {
    color: var(--color-text-muted-light);
}

.theme-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark-theme);
}

.theme-dark h2, .theme-dark h3, .theme-dark h4 {
    color: var(--color-text-dark-theme);
}

.theme-dark .contact-lead-text, .theme-dark p {
    color: var(--color-text-muted-dark);
}

/* ==========================================================================
    Sekce: Header
    ========================================================================== */
.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(222, 226, 219, 0.96); 
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(20, 35, 30, 0.15); 
    padding: 18px 0;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-headings);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: -0.5px;
}
.logo div{
    font-size: 0.90rem;
    font-weight: 600;
}

.logo span {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: lowercase;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-accent-dark);
}

.nav-menu a.active {
    color: var(--color-accent) !important;
    font-weight: 700;
}

.nav-menu a.active::after {
    width: 100% !important;
    background-color: var(--color-accent) !important;
}

/* ========================================================================== 
    Sekce: Mobilní navigace
    ========================================================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
    Sekce: Tlačítka
    ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 13px 32px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    letter-spacing: 0.8px;
    text-transform: lowercase;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 15px rgba(216, 156, 116, 0.25);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: #FAF8F5;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(20, 35, 30, 0.35);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 15px rgba(216, 156, 116, 0.25);
    font-weight: 700;
}

.btn-secondary:hover {
    /* background-color: rgba(50, 77, 65, 0.05); */
    transform: translateY(-6px);
}

/* ==========================================================================
    Sekce: Badges
    ========================================================================== */
.badge {
    display: inline-block;
    background-color: rgba(216, 156, 116, 0.12);
    color: var(--color-accent-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

/* ==========================================================================
    Sekce: Hero
    ========================================================================== */
.hero-section {
    padding: 120px 0 140px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 35, 30, 0.7);
    z-index: -1;
    pointer-events: none;
}

.hero-container-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.text-center-hero h1 {
    color: var(--color-text-dark-theme) !important;
    /* color: #333 !important; */
    font-size: 4.6rem;
    line-height: 1.12;
    margin: 20px 0;
    letter-spacing: -2px;
}

.text-center-hero .hero-lead {
    color: #C5D1CB !important;
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 0 auto 40px;
    max-width: 680px;
}

.hero-actions-centered {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.text-center-hero .btn-secondary {
    color: var(--color-text-dark-theme);
    border-color: var(--color-text-dark-theme);
}

.text-center-hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    border-color: var(--color-accent);
    border-radius: 50px;
    padding: 13px 32px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator .scroll-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-text-dark-theme);
    border-radius: 50%;
    animation: bounce-dot 1.6s ease-in-out infinite;
    display: block;
}

@keyframes bounce-dot {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(12px); opacity: 1; }
}

/* ========================================================================== 
    Sekce: O mně
    ========================================================================== */
.about-section {
    padding: 140px 0;
    position: relative;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.theme-light-blobs {
    background-color: #F6F7F4 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: #F6F7F4;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    mix-blend-mode: multiply;
    will-change: filter;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background-color: var(--color-accent);
    top: -100px;
    left: -150px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background-color: var(--color-primary-light);
    bottom: -100px;
    right: -100px;
}

.theme-light-blobs h2, 
.theme-light-blobs h3,
.theme-light-blobs .lead-text {
    color: var(--color-primary-dark) !important;
}

.theme-light-blobs p,
.theme-light-blobs .credo-quote p {
    color: var(--color-text-light-theme) !important;
}

.theme-light-blobs .pillar-card {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(50, 77, 65, 0.15) !important;
    box-shadow: 0 10px 30px rgba(50, 77, 65, 0.05);
}

.theme-light-blobs .pillar-card h4 {
    color: var(--color-primary-dark) !important;
}

.theme-light-blobs .pillar-card p {
    color: var(--color-text-muted-light) !important;
}

.theme-light-blobs .pillar-icon {
    background-color: rgba(50, 77, 65, 0.08) !important;
    color: var(--color-primary) !important;
}

.detail-page {
    background: linear-gradient(180deg, #fbfcf8 0%, #f4f6f1 48%, #eef2ec 100%);
}

.detail-page .header-main {
    background-color: rgba(248, 249, 244, 0.96);
}

.detail-page .blob {
    animation: detail-blob-float 18s ease-in-out infinite;
}

.detail-page .blob-1 {
    animation-delay: -2s;
}

.detail-page .blob-2 {
    animation-delay: -6s;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 70px;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.detail-page .detail-hero-copy.visible,
.detail-page .detail-portrait-card.visible,
.detail-page .detail-story-main.visible,
.detail-page .detail-story-aside.visible {
    animation: detail-rise-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.detail-page .detail-hero-copy.visible {
    animation-delay: 0.05s;
}

.detail-page .detail-portrait-card.visible {
    animation-delay: 0.18s;
}

.detail-page .detail-story-main.visible {
    animation-delay: 0.08s;
}

.detail-page .detail-story-aside.visible {
    animation-delay: 0.18s;
}

.detail-hero-copy h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.03;
    letter-spacing: -2px;
    margin: 18px 0 18px;
    color: var(--color-primary-dark);
}

.detail-hero-lead {
    font-size: 1.18rem;
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 34px;
    color: var(--color-text-muted-light);
}

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

.detail-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 34px;
}

/* .detail-page .detail-fact-card {
    animation: detail-card-bob 6s ease-in-out infinite;
}

.detail-page .detail-fact-card:nth-child(2) {
    animation-delay: -1.5s;
}

.detail-page .detail-fact-card:nth-child(3) {
    animation-delay: -3s;
} */

.detail-fact-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(50, 77, 65, 0.08);
    border-radius: 22px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.detail-fact-card span {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.25rem;
    color: var(--color-accent-dark);
    margin-bottom: 8px;
}

.detail-fact-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted-light);
}

.detail-portrait-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(50, 77, 65, 0.08);
    box-shadow: var(--shadow-lg);
    border-radius: 32px;
    padding: 18px;
    backdrop-filter: blur(12px);
}

.detail-portrait-frame {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.detail-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-portrait-caption {
    padding: 16px 6px 4px;
}

.detail-portrait-caption p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-muted-light);
    font-style: italic;
}

.detail-story {
    padding: 8px 0 120px;
}

.detail-story-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.detail-story-main,
.detail-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(50, 77, 65, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.detail-story-main {
    padding: 34px 34px 30px;
}

.detail-story-main h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 16px 0 24px;
}

.detail-story-main p {
    margin-bottom: 18px;
    line-height: 1.85;
}

.detail-story-aside {
    display: grid;
    gap: 18px;
}

.detail-card {
    padding: 28px;
}

.detail-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
}

.detail-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.detail-list li {
    position: relative;
    padding-left: 22px;
    line-height: 1.7;
    color: var(--color-text-muted-light);
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
}

.detail-quote-card {
    background: linear-gradient(135deg, rgba(50, 77, 65, 0.97) 0%, rgba(79, 116, 97, 0.97) 100%);
    color: #f8faf8;
}

.detail-quote-card .section-subtitle,
.detail-quote-card p,
.detail-quote-card h3 {
    color: #f8faf8 !important;
}

.detail-quote-card p {
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 0;
}

.detail-mini-cta p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: var(--color-text-muted-light);
}

.detail-mini-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-page .detail-story-main,
.detail-page .detail-card,
.detail-page .detail-portrait-card,
.detail-page .detail-fact-card {
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.detail-page .detail-story-main:hover,
.detail-page .detail-card:hover,
.detail-page .detail-portrait-card:hover,
.detail-page .detail-fact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(50, 77, 65, 0.12);
    border-color: rgba(50, 77, 65, 0.14);
}

@keyframes detail-rise-in {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes detail-card-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes detail-blob-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -14px, 0) scale(1.04);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-organic-wrapper {
    position: relative;
    width: 320px;
    height: 420px;
}

.about-organic-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 38% 62% 48% 52% / 50% 38% 62% 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: morph-about 12s ease-in-out infinite alternate;
}

.about-offset-shape {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: 38% 62% 48% 52% / 50% 38% 62% 50%;
    z-index: 2;
    animation: morph-about 12s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

.about-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes morph-about {
    0% { border-radius: 38% 62% 48% 52% / 50% 38% 62% 50%; }
    50% { border-radius: 50% 50% 38% 62% / 60% 50% 50% 40%; }
    100% { border-radius: 42% 58% 52% 48% / 46% 60% 40% 54%; }
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.about-content .lead-text {
    font-size: 1.25rem;
    font-weight: 550;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 24px;
}

.approach-block {
    margin-top: 140px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 80px;
}

.approach-block h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.credo-quote {
    max-width: 860px;
    margin: 0 auto 64px;
    text-align: center;
    position: relative;
    padding: 0 40px;
}

.credo-quote .quote-sign {
    font-family: var(--font-headings);
    font-size: 8rem;
    color: var(--color-accent);
    position: absolute;
    top: -50px;
    left: 0;
    opacity: 0.15;
    line-height: 1;
    user-select: none;
}

.credo-quote p {
    font-family: var(--font-headings);
    font-size: 1.65rem;
    font-style: italic;
    line-height: 1.65;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.pillar-card {
    position: relative;
    padding: 28px 28px;
    padding-right: 58px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(249, 246, 240, 0.98) 100%);
    border: 1px solid rgba(50, 77, 65, 0.08);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent) !important;
    box-shadow: 0 15px 35px rgba(50, 77, 65, 0.08);
}

.pillar-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.pillar-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(216, 156, 116, 0.08) 0%, rgba(216, 156, 116, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.pillar-card:hover .pillar-glow {
    opacity: 1;
}

.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.pillar-card h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.pillar-card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.65;
    position: relative;
    z-index: 2;
}

.pillar-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
    margin-top: 0;
}

.pillar-details p {
    padding-top: 6px;
}

.pillar-card.active .pillar-details {
    max-height: 180px;
    opacity: 1;
    margin-top: 12px;
}

.pillar-card.active {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(50, 77, 65, 0.1);
}

.pillar-card:nth-child(1) .pillar-icon {
    background: linear-gradient(135deg, #6f8f7e 0%, #4f7461 100%);
}

.pillar-card:nth-child(1) .pillar-glow {
    background: radial-gradient(circle, rgba(111, 143, 126, 0.22) 0%, rgba(111, 143, 126, 0) 68%);
}

.pillar-card:nth-child(1).active {
    box-shadow: 0 18px 40px rgba(79, 116, 97, 0.16);
    border-color: rgba(79, 116, 97, 0.28);
}

.pillar-card:nth-child(1).active h4,
.pillar-card:nth-child(1):focus-visible h4 {
    color: #4f7461;
}

.pillar-card:nth-child(2) .pillar-icon {
    background: linear-gradient(135deg, #d69d74 0%, #b8774a 100%);
}

.pillar-card:nth-child(2) .pillar-glow {
    background: radial-gradient(circle, rgba(214, 157, 116, 0.24) 0%, rgba(214, 157, 116, 0) 68%);
}

.pillar-card:nth-child(2).active {
    box-shadow: 0 18px 40px rgba(184, 119, 74, 0.16);
    border-color: rgba(184, 119, 74, 0.28);
}

.pillar-card:nth-child(2).active h4,
.pillar-card:nth-child(2):focus-visible h4 {
    color: #b8774a;
}

.pillar-card:nth-child(3) .pillar-icon {
    background: linear-gradient(135deg, #6f87b8 0%, #4b6399 100%);
}

.pillar-card:nth-child(3) .pillar-glow {
    background: radial-gradient(circle, rgba(111, 135, 184, 0.22) 0%, rgba(111, 135, 184, 0) 68%);
}

.pillar-card:nth-child(3).active {
    box-shadow: 0 18px 40px rgba(75, 99, 153, 0.16);
    border-color: rgba(75, 99, 153, 0.28);
}

.pillar-card:nth-child(3).active h4,
.pillar-card:nth-child(3):focus-visible h4 {
    color: #4b6399;
}

.pillar-card::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 26px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    z-index: 3;
    pointer-events: none;
    color: var(--color-accent-dark);
}

.pillar-card.active::after {
    transform: rotate(-135deg);
    color: var(--color-accent);
}

.pillar-card.active .pillar-glow {
    opacity: 1;
}

.pillar-card.active h4 {
    color: var(--color-accent-dark);
}
.about-text {
    font-size: 1.25rem;
    line-height: 1.75;
    margin-bottom: 24px;
    color: var(--color-text-muted-light);
}

/* ========================================================================== 
    Sekce: Archivní info bloky
    ========================================================================== */
.info-section {
    padding: 140px 0;
}

.topics-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.topics-header .section-lead-text {
    margin: 16px auto 0;
}

.topics-accordion-list {
    max-width: 900px;
    margin: 64px auto 0;
    display: flex;
    flex-direction: column;
}

.topic-row {
    border-bottom: 1px solid rgba(50, 77, 65, 0.12);
    padding: 28px 16px;
    transition: var(--transition-smooth);
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
}

.topic-row:hover {
    background-color: rgba(216, 156, 116, 0.08);
    padding-left: 28px;
    padding-right: 28px;
    border-bottom-color: transparent;
}

.topic-acc-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topic-acc-num {
    font-family: var(--font-headings);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    width: 48px;
    flex-shrink: 0;
    line-height: 1;
}

.topic-acc-header h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: lowercase;
    flex-grow: 1;
    margin: 0;
}

.topic-acc-arrow {
    width: 24px;
    height: 24px;
    color: var(--color-primary-light);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-acc-arrow svg {
    width: 100%;
    height: 100%;
}

.topic-acc-content {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    padding-left: 72px;
}

.topic-acc-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: var(--color-text-muted-light);
}

.topic-row:hover .topic-acc-content {
    max-height: 140px;
    opacity: 1;
    margin-top: 14px;
}

.topic-row:hover .topic-acc-arrow {
    transform: rotate(180deg);
    color: var(--color-accent-dark);
}

/* ========================================================================== 
    Sekce: Ceník
    ========================================================================== */
.pricing-section {
    padding: 140px 0;
}

.pricing-block {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.pricing-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.pricing-header .section-lead-text {
    margin: 16px auto 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 64px auto 0;
}

.price-card {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(50, 77, 65, 0.05);
    padding: 56px 44px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.price-card-glow {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(216, 156, 116, 0.16) 0%, rgba(216, 156, 116, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 1;
}

.price-card:hover .price-card-glow {
    transform: scale(1.6);
}

.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.price-value {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.price-value span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-muted-light);
    font-weight: 400;
}

.price-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted-light);
    line-height: 1.65;
    margin-bottom: 36px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.price-card .btn {
    width: 100%;
    position: relative;
    z-index: 2;
}



/* ========================================================================== 
    Sekce: Info
    ========================================================================== */
.info-section-clean {
    background-color: #ffffff !important;
    padding: 120px 0;
    color: var(--color-text-light-theme);
}
.info-section-clean .container {
    max-width: 1280px;
}

.info-flex-container {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.info-visual-small {
    width: calc(100% + 160px);
    max-width: calc(100% + 160px);
    box-shadow: none !important;
    border-radius: 0;
    overflow: visible;
    margin-right: -160px;
}

.info-small-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-left: auto;
    margin-right: 0;
}

.info-content-right {
    width: 100%;
    max-width: 600px;
}

.info-section-clean .formats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 992px) {
    .info-flex-container {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 40px;
    }
    
    .info-visual-small {
        width: 100%;
        max-width: 250px;
        margin-right: 0;
        order: 0;
    }

    .info-content-right {
        order: 0;
    }

    .info-small-img {
        margin: 0 auto;
    }
    
    .info-section-clean .formats-grid {
        grid-template-columns: 1fr !important;
    }
}

.info-section-clean .format-card {
    background-color: #F8F9FA;
    border: 1px solid rgba(50, 77, 65, 0.06);
    padding: 36px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.format-card h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.format-card p {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.65;
}

.info-note {
    background-color: rgba(50, 77, 65, 0.04);
    border-left: 4px solid var(--color-primary);
    padding: 24px 32px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    max-width: 100%;
    margin: 32px 0 0 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-note svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-note p {
    font-size: 0.95rem;
    color: var(--color-text-muted-light);
    margin: 0;
    line-height: 1.7;
}

.info-note strong {
    color: var(--color-primary-dark);
}

/* ==========================================================================
    Sekce: Kontakt 
    ========================================================================== */
.contact-section {
    padding: 140px 0 180px;
    position: relative;
}

.contact-clean {
    background-color: #F6F7F4 !important;
    color: var(--color-primary-dark) !important;
}

.contact-clean h2 {
    color: var(--color-primary-dark) !important;
}

.contact-clean .contact-lead-text {
    color: var(--color-text-muted-light) !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-lead-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card-item {
    display: flex;
    gap: 20px;
    align-items: center !important; 
    background-color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(50, 77, 65, 0.06);
    transition: var(--transition-smooth);
}

.contact-card-item:hover {
    transform: translateX(5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.detail-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(216, 156, 116, 0.12);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse-icon 3s infinite alternate;
}

@keyframes pulse-icon {
    0% { box-shadow: 0 0 0 0 rgba(216, 156, 116, 0.18); }
    100% { box-shadow: 0 0 0 10px rgba(216, 156, 116, 0); }
}

.contact-clean .detail-text h4 {
    color: var(--color-primary-dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-clean .detail-text p,
.contact-clean .detail-text a {
    color: var(--color-text-muted-light);
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    margin: 0;
}

.contact-clean .detail-text a:hover {
    color: var(--color-accent);
}

.contact-visual {
    height: 450px;
}

.map-container-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-clean .map-container-tint {
    background-color: rgba(20, 35, 30, 0.05);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: color;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 2;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.map-container-wrapper:hover .map-container-tint {
    opacity: 0;
}

/* ========================================================================== 
    Sekce: Patička
    ========================================================================== */
.footer-main {
    background-color: var(--color-primary-dark);
    color: #edf2f0;
    padding: 80px 0 32px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo {
    color: var(--color-text-dark-theme);
    font-size: 1.8rem;
}

.footer-col h3 {
    color: var(--color-text-dark-theme);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.footer-col.branding p {
    margin-top: 16px;
    opacity: 0.8;
    max-width: 280px;
    font-size: 0.95rem;
}

/* Social links in footer (LinkedIn) */
.footer-col.branding .social-links {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Defenzivní nastavení pro ikony */
.social-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff !important; /* Vynucení bílého kolečka */
    color: #0a66c2; /* Přímo barva LinkedInu nebo tvá proměnná */
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 6px 18px rgba(20,35,30,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Chybějící / Ujisti se že máš tuto animaci v CSS */
@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link:hover,
.social-link:focus {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 40px rgba(20,35,30,0.16);
    color: var(--color-accent);
}

.social-link:focus {
    outline: 3px solid rgba(194,166,143,0.14);
    outline-offset: 3px;
}

/* subtle entrance so icon doesn't distract with constant motion */
.footer-main .social-links {
    opacity: 0;
    transform: translateY(6px);
    animation: fade-in-up 0.6s 0.2s ease forwards;
}

@keyframes fade-in-up {
    to { opacity: 1; transform: none; }
}

.footer-col.links ul {
    list-style: none;
}

.footer-col.links li {
    margin-bottom: 12px;
}

.footer-col.links a {
    color: #edf2f0;
    text-decoration: none;
    opacity: 0.8;
    text-transform: lowercase;
    transition: var(--transition-smooth);
}

.footer-col.links a:hover {
    color: var(--color-accent);
    opacity: 1;
    padding-left: 4px;
}

.footer-col.legal p {
    opacity: 0.8;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-col.legal strong {
    color: var(--color-text-dark-theme);
}

.footer-col.legal .disclaimer {
    margin-top: 16px;
    font-style: italic;
    opacity: 0.55;
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==========================================================================
    Sekce: Scroll Reveal
    ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* ==========================================================================
    Sekce: Media Queries
    ========================================================================== */
@media (max-width: 1024px) {
    .text-center-hero h1 {
        font-size: 3.5rem;
    }

    .hero-section {
        padding: 100px 0 120px;
        min-height: auto;
    }

    .about-section,
    .pricing-section,
    .contact-section {
        padding: 110px 0;
    }

    .about-grid,
    .contact-grid {
        gap: 32px;
    }

    .approach-block {
        margin-top: 100px;
        padding-top: 60px;
    }

    .credo-quote {
        padding: 0 20px;
        margin-bottom: 48px;
    }

    .pillars-grid {
        gap: 16px;
    }

    .pillar-card {
        padding: 24px 22px;
    }

    .pricing-grid {
        gap: 24px;
        margin-top: 48px;
    }

    .price-card {
        padding: 44px 32px;
    }

    .contact-visual {
        height: 400px;
    }
    
    .about-grid,
    .contact-grid {
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col.branding {
        grid-column: span 2;
    }

    .detail-hero-grid,
    .detail-story-grid {
        grid-template-columns: 1fr;
    }

    .detail-facts {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        padding-top: 88px;
    }
}

@media (max-width: 868px) {
    .info-flex-container {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 30px;
    }
    
    .info-visual-small {
        width: 180px;
    }
    
    .info-section-clean .formats-grid {
        grid-template-columns: 1fr;
    }

    .text-center-hero h1 {
        font-size: 3.1rem;
    }

    .text-center-hero .hero-lead {
        font-size: 1.12rem;
        max-width: 600px;
    }

    .about-content h2,
    .pricing-header h2,
    .contact-info h2 {
        font-size: 2.6rem;
    }

    .about-content .lead-text {
        font-size: 1.12rem;
    }

    .space-content-grid {
        gap: 28px;
    }

    .space-image {
        height: 280px;
    }

    .contact-section {
        padding-bottom: 140px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 18px;
    }
    
    .hero-section {
        padding: 88px 0 96px;
        min-height: auto;
    }

    .detail-hero {
        padding: 76px 0 52px;
    }

    .detail-hero-copy h1 {
        font-size: 2.7rem;
    }

    .detail-hero-lead {
        font-size: 1.05rem;
    }

    .detail-story-main,
    .detail-card {
        padding: 24px 20px;
    }

    .text-center-hero h1 {
        font-size: 2.7rem;
    }

    .text-center-hero .hero-lead {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #F8F9FA;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        box-shadow: -10px 0 30px rgba(20, 35, 30, 0.15);
        z-index: 1050;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(50, 77, 65, 0.1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    body.menu-active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(20, 35, 30, 0.5);
        z-index: 999;
    }
    
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        margin-bottom: 18px;
    }
    
    .about-organic-wrapper {
        max-width: 260px;
        height: 340px;
    }

    .about-content h2 {
        font-size: 2.25rem;
        margin-bottom: 20px;
    }

    .about-content .lead-text {
        font-size: 1.05rem;
    }

    .about-content p,
    .space-text-content p {
        margin-bottom: 18px;
    }
    
    .credo-quote p {
        font-size: 1.18rem;
    }

    .approach-block {
        margin-top: 72px;
        padding-top: 44px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillar-card {
        padding: 22px 20px;
    }
    
    .topic-row {
        padding: 24px 8px;
    }
    
    .topic-acc-content {
        padding-left: 56px;
    }
    
    .topic-row:hover .topic-acc-content {
        max-height: 200px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-header h2,
    .contact-info h2 {
        font-size: 2.3rem;
    }

    .price-card {
        padding: 36px 26px;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-note {
        padding: 20px 22px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-visual {
        height: 320px;
    }

    .details-list {
        gap: 20px;
    }

    .contact-card-item {
        padding: 18px 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .text-center-hero h1 {
        font-size: 2.25rem;
    }

    .text-center-hero .hero-lead {
        font-size: 0.98rem;
    }
    
    .hero-actions-centered {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions-centered .btn {
        width: 100%;
    }

    .about-section,
    .pricing-section,
    .contact-section {
        padding: 88px 0;
    }

    .about-organic-wrapper {
        max-width: 230px;
        height: 300px;
    }

    .about-content h2,
    .pricing-header h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .credo-quote {
        padding: 0;
        margin-bottom: 36px;
    }

    .credo-quote p {
        font-size: 1.08rem;
    }

    .pillar-card {
        padding: 20px 18px;
    }

    .price-card {
        padding: 30px 20px;
    }

    .price-value {
        font-size: 1.9rem;
    }

    .contact-visual {
        height: 280px;
    }

    .contact-card-item {
        gap: 14px;
        padding: 16px 18px;
    }

    .detail-icon {
        width: 48px;
        height: 48px;
    }

    .footer-main {
        padding: 64px 0 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col.branding {
        grid-column: span 1;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 24px;
        text-align: center;
    }
    .smallFooter {
        font-size: 2px;
    }
}

@media (max-width: 420px) {
    .text-center-hero h1 {
        font-size: 2rem;
    }

    .badge {
        font-size: 0.74rem;
        padding: 5px 12px;
    }

    .hero-section {
        padding: 78px 0 84px;
    }

    .about-organic-wrapper {
        max-width: 210px;
        height: 280px;
    }

    .section-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.8px;
    }

    .format-card,
    .info-note,
    .contact-card-item {
        border-radius: 16px;
    }

    .space-image {
        height: 240px;
    }

    .contact-visual {
        height: 250px;
    }

    .detail-hero-actions,
    .detail-mini-cta-actions {
        flex-direction: column;
    }

    .detail-hero-actions .btn,
    .detail-mini-cta-actions .btn {
        width: 100%;
    }

    .detail-story {
        padding-bottom: 88px;
    }

}
/* ========================================================================== 
    Sekce: Cookie banner
    ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: calc(100% - 48px);
    max-width: 420px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cookie-hidden {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    pointer-events: none;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cookie-icon {
    font-size: 24px;
}

.cookie-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-desc {
    margin: 0 0 20px 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #b3b3b3;
}

/* Stylování switchů (přepínačů) */
.cookie-switches {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
}

.cookie-switch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch-label {
    font-size: 13.5px;
    font-weight: 500;
}

/* Custom CSS Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider {
    background-color: #2ecc71;
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Tlačítka */
.cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.c-btn {
    border: none;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
}

.c-btn:active {
    transform: scale(0.98);
}

.btn-accept {
    grid-column: span 2;
    background-color: #2ecc71;
    color: #fff;
}
.btn-accept:hover { 
    background-color: #27ae60; 
}

.btn-save {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-save:hover { 
    background-color: rgba(255, 255, 255, 0.2); 
}

.btn-reject {
    background-color: transparent;
    color: #b3b3b3;
}
.btn-reject:hover { 
    background-color: rgba(231, 76, 60, 0.1); 
    color: #e74c3c;
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}
/* ==========================================================================
   Sekce: Terapeutický prostor - rozšíření text + foto
   ========================================================================== */
.space-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    margin-top: 64px;
}

.space-text-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.methodology-badge {
    background-color: rgba(216, 156, 116, 0.12);
    border-left: 3px solid var(--color-accent);
    padding: 18px 24px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-top: 28px;
}

.methodology-badge p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--color-primary-dark);
}

.space-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(50, 77, 65, 0.08);
}

.space-carousel {
    position: relative;
}

.space-carousel-track {
    position: relative;
    height: 420px;
}

.space-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.45s ease;
    opacity: 0;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.space-image.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.space-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background-color: rgba(20, 35, 30, 0.55);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
}

.space-carousel-btn:hover {
    background-color: rgba(20, 35, 30, 0.85);
}

.space-carousel-btn.prev {
    left: 12px;
}

.space-carousel-btn.next {
    right: 12px;
}

.space-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.space-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.space-dot.active {
    width: 26px;
    background-color: #fff;
}

/* Responsive breakpoint pro novou sekci */
@media (max-width: 868px) {
    .space-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }

    .space-carousel-btn {
        width: 34px;
        height: 34px;
    }
    
    .space-carousel-track {
        height: 300px;
    }
}