@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap&subset=latin-ext');

:root {
    /* Brand Colors */
    --color-primary: #4F006D;
    --color-primary-dark: #3a0050;
    --color-secondary: #F5E7DE;
    --color-accent: #ECB745;
    --color-text-main: #333333;
    --color-text-light: #555555;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-brand: radial-gradient(circle at 10% 20%, rgba(245, 231, 222, 0.8) 0%, rgba(255, 255, 255, 0.1) 40%),
        radial-gradient(circle at 90% 80%, rgba(79, 0, 109, 0.15) 0%, rgba(255, 255, 255, 0.1) 40%),
        linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);

    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-s: 1rem;
    --spacing-m: 2rem;
    --spacing-l: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --h1-size: clamp(2.5rem, 5vw, 4rem);
    --h2-size: clamp(2rem, 4vw, 3rem);
    --h3-size: clamp(1.5rem, 2.5vw, 2rem);

    /* UI Elements */
    --border-radius-main: 24px;
    --border-radius-sm: 12px;
    --shadow-soft: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px -5px rgba(79, 0, 109, 0.1);

    /* Layout */
    --container-width: 85%;
    --max-content-width: 1400px;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: #fafafa;
    overflow-x: hidden;
}

/* Home Page: Fixed Hero Background throughout until CTA section */
body.page-home {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-home .hero {
    background: transparent;
}

body.page-home .section-problem {
    background: transparent;
}

/* Remaining pages: Fixed Hero Background */
body.page-akce,
body.page-kontakt,
body.page-kviz,
body.page-technicka-konzultace,
body.page-udrzba-webu,
body.page-chci-podcast-vyhodnoceni {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-akce .section-problem,
body.page-kontakt .hero,
body.page-kontakt .section-contact {
    background: transparent;
}

/* O mně Page: Fixed Hero Background */
body.page-o-mne {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-o-mne .hero {
    background: transparent;
}

/* Chci emailing Page: Fixed Hero Background */
body.page-chci-emailing {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-chci-emailing .hero {
    background: transparent;
}

/* Chci podcast Page: Fixed Hero Background */
body.page-chci-podcast {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-chci-podcast .hero {
    background: transparent;
}

/* Chci web Page: Fixed Hero Background */
body.page-chci-web {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-chci-web .hero {
    background: transparent;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-s);
}

h1 {
    font-size: var(--h1-size);
    color: var(--color-primary);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin-bottom: var(--spacing-s);
    max-width: 65ch;
    /* Optimal looking reading width */
    color: var(--color-text-main);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* General Link Style Rule */
a.link-effect {
    color: var(--color-primary);
    position: relative;
    font-weight: 600;
}

a.link-effect:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-main);
}

/* Layout Utilities */
.container {
    width: var(--container-width);
    max-width: var(--max-content-width);
    margin: 0 auto;
}

section {
    padding: var(--spacing-xl) 0;
}

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-m);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(79, 0, 109, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 0, 109, 0.4);
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 0, 109, 0.2);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-s) 0;
    transition: 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 60px;
    width: auto;
    border-radius: 0 !important;
    transition: transform 0.3s ease;
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.logo-name span {
    background: linear-gradient(120deg, #ECB745 40%, var(--color-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.logo a:hover .nav-logo,
.logo a:hover .logo-name {
    transform: scale(1.02);
}


/* Modern Text Highlight */
.text-gradient {
    background: linear-gradient(120deg, #ECB745 40%, var(--color-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: inline-block;
}

/* Gradient jen v h1, v ostatních nadpisech je zvýraznění fialové */
:is(h2, h3, h4, h5, h6) .text-gradient {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--color-primary);
}

/* V CTA sekcích zvýraznění přebírá barvu nadpisu (bílá na fialovém pozadí) */
.section-cta :is(h2, h3, h4, h5, h6) .text-gradient {
    color: inherit;
}

.nav-links {
    display: flex;
    gap: var(--spacing-m);
    list-style: none;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--color-primary);
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links .btn-primary {
    color: var(--color-white) !important;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--gradient-brand);
    position: relative;
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-l);
    align-items: center;
}

.hero-content {
    text-align: left;
    padding-right: var(--spacing-m);
}

.hero-content h1 {
    font-size: var(--h1-size);
    line-height: 1.2;
    margin-bottom: var(--spacing-s);
}

.hero-content p.hero-intro {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: var(--spacing-m);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Decorative Squares */
.hero-square {
    position: absolute;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(236, 183, 69, 0.25);
    top: 40px;
    left: -30px;
    border-radius: var(--border-radius-main);
    animation: float 6s ease-in-out infinite;
}

.hero-square-2 {
    width: 120px;
    height: 120px;
    background: rgba(79, 0, 109, 0.4);
    bottom: -30px;
    right: -40px;
    border-radius: var(--border-radius-main);
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Overlapping Hero Benefits Section */
.hero-benefits-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -40px;
}

.hero-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-m);
    width: 100%;
}

.hero-bento .bento-card {
    display: block;
    padding: var(--spacing-m);
    background: var(--color-white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(79, 0, 109, 0.05);
    border-radius: var(--border-radius-main);
    transition: all 0.3s ease;
    text-align: center;
}

.hero-bento .bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(79, 0, 109, 0.15);
    border-color: rgba(79, 0, 109, 0.2);
}

.sticky-card {
    /* No sticky on mobile by default */
}

@media (min-width: 1025px) {
    .sticky-card {
        position: -webkit-sticky;
        position: sticky;
        top: 120px;
        z-index: 10;
        align-self: start;
    }
}

.hero-bento .bento-content i {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

.hero-bento .bento-content h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.hero-bento .bento-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0 auto;
    max-width: 90%;
}

/* Section Problem & Solution */
.section-problem {
    background: var(--gradient-brand);
    padding-top: 50px;
    padding-bottom: var(--spacing-xl);
    position: relative;
}

.section-showcase {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-l);
}

.section-benefits {
    padding-top: var(--spacing-l);
    padding-bottom: var(--spacing-xl);
}

.section-problem h2.section-title {
    max-width: 80%;
    margin: 0 auto var(--spacing-l);
    position: relative;
    z-index: 2;
    line-height: 1.3;
    padding-bottom: var(--spacing-s);
    text-align: center;
}

.section-problem h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #ECB745);
    border-radius: 2px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-m);
    margin: 0 auto var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.bento-card.card-main {
    grid-column: span 3;
    background-color: var(--color-secondary);
}

/* CTA Section Grid */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-l);
    text-align: center;
}

.cta-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Service Pathway */
.service-path {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-l) 0;
}

.service-path::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 4px;
}

.service-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.service-step.revealed {
    opacity: 1;
    transform: translateX(0);
}

.service-content {
    background: #fff;
    padding: var(--spacing-m);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-soft);
    width: 45%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-marker {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(79, 0, 109, 0.15);
    z-index: 2;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-m);
}

.card-testimonial {
    background: #fff;
    border-radius: var(--border-radius-main);
    padding: var(--spacing-m);
    box-shadow: var(--shadow-soft);
    position: relative;
    border-left: 5px solid var(--color-accent);
    display: flex;
    flex-direction: column;
}

.card-testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: var(--color-secondary);
    font-family: serif;
    opacity: 0.5;
}

.card-testimonial.no-quote::before {
    display: none;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-author .author-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.testimonial-author strong {
    color: var(--color-primary);
    font-size: 1.1rem;
    display: block;
}

.testimonial-author span, 
.testimonial-author p {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

.testimonial-author a {
    color: var(--color-primary);
    font-weight: 500;
}

.case-study {
    background: transparent;
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    height: auto;
    margin-bottom: 0;
}

.case-study h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

/* Vertical / Mini Case Studies */
.case-study-mini {
    display: flex;
    flex-direction: column;
}

.case-study-mini .case-visual {
    justify-content: center;
    padding-right: 30px;
    padding-bottom: 30px;
    margin-bottom: 0.5rem;
}

.case-study-mini .testimonial-author {
    margin-top: 0;
}

.case-study-mini .mobi-preview {
    flex: 0 0 130px !important;
    width: 130px !important;
}

.case-study-mini .scroll-wrapper {
    height: 350px; /* Slightly shorter for grid layout */
}

.case-study-mini .card-testimonial {
    flex-grow: 1;
}


.case-study:hover {
    transform: translateY(-5px);
}

.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.comparison-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 3;
    /* Increased flex to give more space for the desktop preview */
    max-width: 600px;
}


/* Scroll Overlay Effect */
.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}


@media (max-width: 1024px) {
    .showcase-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.case-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 40px;
    padding-right: 40px;
}

.desktop-preview {
    flex: 1;
    width: 100%;
}

.mobi-preview {
    position: absolute !important;
    bottom: 0;
    right: 0;
    z-index: 10;
    flex: 0 0 160px !important;
    width: 160px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

.scroll-wrapper {
    height: 480px;
    /* Window height */
    overflow: hidden;
    position: relative;
}

.scroll-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(79, 0, 109, 0.1);
}

.scroll-hint i {
    font-size: 2.22rem;
    line-height: 1;
    animation: hintBounce 2s infinite;
}

@keyframes hintBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

.scroll-wrapper:hover .scroll-hint {
    opacity: 0;
    transform: translate(-50%, -80%) scale(0.8);
}


.scroll-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 8s ease-in-out;
    transform: translateY(0);
    border-radius: 0 !important;
    /* Forces sharp corners on the scrolling image */
}


.scroll-wrapper:hover .scroll-image,
.scroll-wrapper.auto-scroll .scroll-image {
    transform: translateY(calc(-100% + 480px));
}


.comparison-item.mobi {
    flex: 0 0 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 6px solid #222;
    border-radius: 36px;
    background: #222;
}

.comparison-item.mobi .comparison-image {
    border-radius: 26px !important;
}


.comparison-image {
    border-radius: 0 !important;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.comparison-item:hover .comparison-image {
    transform: scale(1.02);
}

.comparison-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    text-transform: uppercase;
}

.label-old {
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    border: 1px solid #ddd;
}

.label-new {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(79, 0, 109, 0.3);
}

/* Footer Section */
.footer-modern {
    background-color: #1a0524;
    color: #e0e0e0;
    padding: var(--spacing-xl) 0 var(--spacing-m);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--spacing-l);
    margin-bottom: var(--spacing-l);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-m);
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.copy-email-btn {
    cursor: pointer;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.copy-email-btn:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

.copy-email-btn i {
    font-size: 1.1rem;
}

.copy-success {
    position: absolute;
    background: var(--color-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.copy-success.show {
    opacity: 1;
    bottom: calc(100% + 5px);
}

.footer-bottom p {
    margin: 0 auto;
    max-width: none;
    text-align: center;
    color: #888;
}

/* FAQ Styles */
.faq-accordion {
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-item {
    background: #fff;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Photo and decoration fixes */
.solution-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-image img {
    width: 100%;
    max-width: 320px;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.solution-square {
    position: absolute;
    z-index: 1;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.solution-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(236, 183, 69, 0.2);
    top: -20px;
    left: -20px;
}

.solution-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(79, 0, 109, 0.1);
    bottom: -20px;
    right: -20px;
}

.footer-modern h3 {
    color: var(--color-white) !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-white);
}

.contact-email-link:hover {
    text-decoration: underline !important;
}

/* Mobile Responsiveness */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-primary);
    margin: 6px 0;
}

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

    .hero .container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .solution-text, .about-text, .section-strategy div:first-child {
        text-align: left;
        margin-bottom: var(--spacing-m);
        padding: 0;
    }

    .solution-list li {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 0.5rem; /* Significantly reduced to bring image closer */
    }

    .hero-image {
        display: block; /* Show image even on mobile, just stacked */
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image img {
        transform: none;
    }

    .hero-image:hover img {
        transform: translateY(-5px);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    /* Bento grid stacking */
    .hero-bento, .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.card-main {
        grid-column: span 1;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-l);
    }

    /* Footer stacking */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-m);
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100% !important;
    }

    .footer-newsletter-cta {
        margin-bottom: 2rem;
    }
}

/* Specific Mobile Optimization < 768px */
@media (max-width: 768px) {
    section {
        padding: var(--spacing-l) 0;
    }

    .container {
        width: 90%;
    }

    /* Service Pathway Mobile Fix */
    .service-path::before {
        left: 30px;
    }

    .service-step {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 70px;
        margin-bottom: var(--spacing-l);
    }

    .service-content {
        width: 100%;
    }

    .service-marker {
        left: 30px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-step div[style*="width: 45%"] {
        display: none; /* Hide spacers */
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Showcase Case Visual Fix */
    .case-visual {
        padding-right: 20px;
        padding-bottom: 20px;
        justify-content: center;
    }

    .mobi-preview {
        width: 120px !important;
        flex: 0 0 120px !important;
    }

    /* Gallery Stacking */
    .henna-gallery-row {
        grid-template-columns: 1fr !important;
    }

    .henna-gallery-row img {
        height: 250px !important;
    }

    /* Photos decorations - hide on mobile */
    .hero-square, .solution-square, .problem-square {
        display: none !important;
    }

    /* Hide scroll hint icons on mobile */
    .scroll-hint {
        display: none !important;
    }

    /* Centering mobile text utility */
    .text-center-mobile {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .showcase-row {
        flex-direction: column;
    }

    .comparison-item.mobi {
        max-width: 250px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .case-study {
        padding: 1.5rem 0;
    }
}

/* Case Study Main (Věrka) */
.case-study-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .case-study-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.case-study-main .case-visual {
    justify-content: center;
    padding-right: 0;
    padding-bottom: 30px;
}

.case-study-main .card-testimonial {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* Additional Utilities */
.solution-list {
    list-style: none;
}

.solution-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.solution-list li.revealed {
    opacity: 1;
    transform: translateY(0);
}

.solution-list i {
    color: var(--color-primary);
    margin-right: 15px;
}

.bento-card.card-sub {
    background: var(--color-white);
    border: 1px solid rgba(79, 0, 109, 0.05);
    box-shadow: var(--shadow-soft);
}


.section-benefits .solution-list li {
    font-size: 1.05rem;
}

/* Contact Specific Styles */
.section-contact {
    background: var(--gradient-brand);
    padding-top: 2rem;
}

.contact-wrapper {
    background: #fff;
    border-radius: var(--border-radius-main);
    padding: var(--spacing-m);
    box-shadow: var(--shadow-soft);
}

/* =========================================================
   BLOG – RADU RADÍ
   ========================================================= */

/* Pozadí stránek blogu (stejné jako ostatní podstránky) */
body.page-blog {
    background: var(--gradient-brand);
    background-attachment: fixed;
}

body.page-blog .hero,
body.page-blog section {
    background: transparent;
}

/* Menší hero pro blog a článek */
.hero.hero-blog {
    min-height: auto;
    padding-bottom: var(--spacing-l);
}

.hero-blog .hero-image img {
    max-height: 460px;
    object-fit: cover;
}

/* Drobečková navigace */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-s);
}

.breadcrumb li + li::before {
    content: '›';
    margin-right: 0.4rem;
    color: var(--color-primary);
}

.breadcrumb a {
    color: var(--color-primary);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Štítek kategorie a meta údaje */
.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(79, 0, 109, 0.08);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: var(--spacing-s);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-s);
}

.post-meta i {
    color: var(--color-primary);
    margin-right: 0.35rem;
}

/* ----- Přehled článků ----- */
.post-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    background: var(--color-white);
    border: 1px solid rgba(79, 0, 109, 0.05);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-card-image {
    overflow: hidden;
    min-height: 240px;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

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

.post-card-body {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.post-card-body h2 {
    font-size: var(--h3-size);
    line-height: 1.25;
}

.post-card-link {
    margin-top: var(--spacing-s);
    color: var(--color-primary);
    font-weight: 600;
}

.post-card-link i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.post-card:hover .post-card-link i {
    transform: translateX(5px);
}

.blog-newsletter {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-secondary);
    border-radius: var(--border-radius-main);
    padding: clamp(2rem, 5vw, 3.5rem);
}

.blog-newsletter i {
    font-size: 2.4rem;
    color: var(--color-primary);
}

.blog-newsletter p {
    margin: 0 auto var(--spacing-m);
}

/* ----- Rozvržení článku ----- */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--spacing-l);
    align-items: start;
}

.article-body {
    min-width: 0;
}

.article-body > section {
    padding: 0 0 var(--spacing-l);
    scroll-margin-top: 110px;
}

.article-body h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: var(--spacing-m);
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.75;
}

.article-lead p {
    font-size: 1.25rem;
    color: #444;
}

/* Boční panel: obsah článku */
.article-aside {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-m);
}

.article-toc {
    background: var(--color-white);
    border: 1px solid rgba(79, 0, 109, 0.05);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-m);
}

.article-toc h2 {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-s);
}

.article-toc ol {
    list-style: none;
    counter-reset: toc;
}

.article-toc li {
    counter-increment: toc;
    margin-bottom: 0.6rem;
}

.article-toc a {
    display: flex;
    gap: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-text-main);
}

.article-toc a::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding-top: 0.1rem;
}

.article-toc a:hover,
.article-toc a.is-active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Otázky čtenářky */
.question-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-s);
}

.question-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-white);
    border: 1px solid rgba(79, 0, 109, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.2rem;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
}

.question-list i {
    color: var(--color-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Čísla */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-s);
    margin: var(--spacing-m) 0 var(--spacing-s);
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--border-radius-main);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(79, 0, 109, 0.05);
}

.stat-card strong {
    display: block;
    color: var(--color-primary);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.article-body .stat-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.stat-card small {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.market-card {
    background: var(--color-secondary);
    border-radius: var(--border-radius-main);
    padding: 1.5rem;
}

.market-card h3 {
    font-size: 1.25rem;
}

.market-bar {
    height: 14px;
    background: rgba(79, 0, 109, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0 0.6rem;
}

.market-bar span {
    display: block;
    width: 13%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #ECB745);
    border-radius: 10px;
}

.market-legend {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.article-body .source-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-s);
}

/* Cesta k důvěře */
.journey-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-s);
    margin: var(--spacing-m) 0;
}

.journey-steps li {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-main);
    padding: 1.4rem 1.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(79, 0, 109, 0.05);
    text-align: center;
}

.journey-steps li:not(:last-child)::after {
    content: '\F138';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: -0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1.1rem;
    z-index: 1;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
}

.journey-steps i {
    display: block;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.journey-steps strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.journey-steps span {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.4;
    display: block;
}

.journey-steps li.is-final {
    background: var(--color-primary);
}

.journey-steps li.is-final i,
.journey-steps li.is-final strong,
.journey-steps li.is-final span {
    color: var(--color-white);
}

/* Přínosy – bento */
.benefit-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-s);
}

.benefit-grid li {
    grid-column: span 2;
    background: var(--color-white);
    border-radius: var(--border-radius-main);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(79, 0, 109, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.benefit-grid li:nth-child(4),
.benefit-grid li:nth-child(5) {
    grid-column: span 3;
}

.benefit-grid li:nth-child(5) {
    background: var(--color-secondary);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 0, 109, 0.07);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-body .benefit-grid li p {
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

/* Jedna epizoda = více obsahu */
.content-flow {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--spacing-m);
    background: var(--color-white);
    border-radius: var(--border-radius-main);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    margin: var(--spacing-m) 0;
}

.content-flow-source {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(79, 0, 109, 0.25);
}

.content-flow-source i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.content-flow ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.content-flow li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    background: rgba(245, 231, 222, 0.6);
    font-weight: 500;
}

.content-flow li i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Zvýrazněná citace */
.pull-quote {
    margin: var(--spacing-m) 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 5px solid var(--color-primary);
    background: var(--color-white);
    border-radius: 0 var(--border-radius-main) var(--border-radius-main) 0;
    box-shadow: var(--shadow-soft);
}

.article-body .pull-quote p {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.5;
    margin: 0;
}

/* Srovnání: sítě vs. podcast */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-s);
    margin-bottom: var(--spacing-m);
}

.compare-card {
    border-radius: var(--border-radius-main);
    padding: 1.5rem;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(79, 0, 109, 0.05);
}

.compare-card i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.compare-card strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0.5rem 0 0.2rem;
}

.compare-card span {
    color: var(--color-text-light);
}

.compare-card.is-podcast {
    background: var(--color-primary);
}

.compare-card.is-podcast i,
.compare-card.is-podcast strong,
.compare-card.is-podcast span {
    color: var(--color-white);
}

/* Komu se hodí */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-s);
}

.fit-card {
    background: var(--color-white);
    border-radius: var(--border-radius-main);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid #2e7d4f;
}

.fit-card.is-no {
    border-top-color: #b23a48;
}

.fit-card h3 {
    font-size: 1.2rem;
    color: var(--color-text-main);
}

.fit-card ul {
    list-style: none;
}

.fit-card li {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.fit-card li i {
    color: #2e7d4f;
    font-size: 1.2rem;
}

.fit-card.is-no li i {
    color: #b23a48;
}

/* Autorka článku */
.author-box {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: var(--spacing-m);
    align-items: center;
    background: var(--color-secondary);
    border-radius: var(--border-radius-main);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-l);
}

.author-box img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.article-body .author-box p {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

/* CTA na konci článku */
.article-cta {
    background: var(--color-primary);
    border-radius: var(--border-radius-main);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.article-body .article-cta h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-s);
}

.article-body .article-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto var(--spacing-m);
}

.article-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-s);
}

.article-cta .btn-light {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-cta .btn-light:hover {
    transform: translateY(-3px);
}

.article-cta .btn-ghost {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.article-cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Jemné objevení karet při scrollu */
.page-blog .bento-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.1, 0.7, 0.1, 1), box-shadow 0.3s ease;
}

.page-blog .bento-item.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .page-blog .bento-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Menu se 7 položkami na menších desktopech */
@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a:not(.btn) {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
        order: -1;
    }

    .journey-steps {
        grid-template-columns: 1fr 1fr;
    }

    .journey-steps li:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .post-card {
        grid-template-columns: 1fr;
    }

    .post-card-image {
        min-height: 220px;
    }

    .question-list,
    .stat-grid,
    .compare-grid,
    .fit-grid,
    .benefit-grid,
    .journey-steps {
        grid-template-columns: 1fr;
    }

    .benefit-grid li,
    .benefit-grid li:nth-child(4),
    .benefit-grid li:nth-child(5) {
        grid-column: auto;
    }

    .journey-steps li:not(:last-child)::after,
    .journey-steps li:nth-child(2)::after {
        content: '\F128';
        display: block;
        right: 50%;
        top: auto;
        bottom: -0.95rem;
        transform: translateX(50%);
    }

    .content-flow {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .content-flow ul {
        width: 100%;
    }

    .author-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

/* Vnořené <nav> v blogu nesmí přebírat styl hlavního menu */
nav.breadcrumb-nav,
nav.article-toc {
    position: static;
    width: auto;
    z-index: auto;
}

nav.breadcrumb-nav {
    padding: 0;
}

/* Výška karty se řídí textem, fotka se ořízne */
.post-card-image {
    position: relative;
}

.post-card-image img {
    position: absolute;
    inset: 0;
    object-position: center 30%;
}
/* Schéma epizody: dvě skupiny (platformy + další obsah) */
.content-flow-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-m);
    width: 100%;
}

.article-body .content-flow-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

/* Reference v článku */
.article-testimonial {
    margin: var(--spacing-m) 0 0;
}

.article-testimonial h3 {
    font-size: 1.25rem;
    color: var(--color-text-main);
}

.article-body .article-testimonial .testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
}

@media (max-width: 1024px) {
    .content-flow-groups {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBIL: fixní pozadí
   Mobilní prohlížeče (hlavně iOS Safari) ignorují
   background-attachment: fixed, proto je gradient
   na mobilu ve fixní vrstvě za obsahem.
   ========================================================= */
@media (max-width: 1024px) {
    body.page-home,
    body.page-akce,
    body.page-kontakt,
    body.page-kviz,
    body.page-technicka-konzultace,
    body.page-udrzba-webu,
    body.page-chci-podcast-vyhodnoceni,
    body.page-o-mne,
    body.page-chci-emailing,
    body.page-chci-podcast,
    body.page-chci-web,
    body.page-blog {
        background-image: none;
        background-attachment: scroll;
    }

    body.page-home::before,
    body.page-akce::before,
    body.page-kontakt::before,
    body.page-kviz::before,
    body.page-technicka-konzultace::before,
    body.page-udrzba-webu::before,
    body.page-chci-podcast-vyhodnoceni::before,
    body.page-o-mne::before,
    body.page-chci-emailing::before,
    body.page-chci-podcast::before,
    body.page-chci-web::before,
    body.page-blog::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
        background: var(--gradient-brand);
    }
}


/* =========================================================
   HLAVNÍ STRÁNKA: žlutý akcent
   ========================================================= */

/* Fajky v seznamu */
body.page-home .solution-list i {
    color: var(--color-accent);
}

/* Timeline (web, e-mailing, podcast): bílý kruh se žlutým okrajem a žlutou ikonou */
body.page-home .service-marker {
    background: var(--color-white);
    border-color: var(--color-accent);
    color: var(--color-accent);
}


/* Ikony v boxech pod hero (web, e-mailing, podcast) */
body.page-home .hero-bento .bento-content i {
    color: var(--color-accent);
}

/* Všechny bento boxy zaoblené jako na hlavní stránce */
.bento-card {
    border-radius: var(--border-radius-main);
}
