/* CSS Design System for Kateřina Axmannová */

:root {
    /* Colors */
    --primary: #877A70;
    --primary-dark: #5C5248;
    /* Dark brown for hover */
    --primary-light: #a3968c;
    --secondary: #C4C3D0;
    --bg-color: #feffff;
    --text-color: #222222;
    --neutral: #EEEDE9;
    --accent-beige: #DACEC4;

    /* Gradients */
    --gradient-soft: linear-gradient(135deg, var(--secondary) 0%, var(--bg-color) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(34, 34, 34, 0.8) 0%, rgba(34, 34, 34, 0.95) 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    /* 8px */
    --space-s: 1rem;
    /* 16px */
    --space-m: 2rem;
    /* 32px */
    --space-l: 4rem;
    /* 64px */
    --space-xl: 8rem;
    /* 128px */

    /* Typography */
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --font-quote: 'Times New Roman', Times, serif;

    /* Sizes */
    --h1: clamp(1.8rem, 4vw, 3rem);
    --h2: clamp(1.6rem, 3.5vw, 2.5rem);
    --h3: clamp(1.3rem, 2.5vw, 1.8rem);
    --body-text: 1.1rem;

    /* Layout */
    --max-width: 85%;
    --radius: 0px;
    /* Instructions say "Stejně ostré rohy u všech prvků" */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-text);
    line-height: 1.6;
    color: #222222;
    background-color: var(--bg-color);
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main,
section {
    width: 100%;
    position: relative;
    overflow: visible;
}

*,
*::before,
*::after {
    max-width: 100%;
    /* Změněno z 100vw na 100%, aby nebylo započítáno menu mimo obrazovku */
}

/* Oprava přetékání pro AOS animace */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--space-s);
    color: var(--text-color);
    /* Forced to #222222 */
    text-transform: none;
    /* Ensure only first letter is capital by default */
}

/* Quote Style for highlighted texts */
/* Base styles for quotes and highligted text */
.custom-quote,
.quote {
    font-family: var(--font-quote);
    font-style: italic;
    color: #222222 !important;
    line-height: 1.5;
}

.custom-quote::before {
    content: '“';
    position: absolute;
    top: -40px;
    left: -15px;
    font-size: 8rem;
    font-family: var(--font-heading);
    color: var(--secondary);
    /* Full secondary color */
    z-index: -1;
    pointer-events: none;
}

h1 {
    font-size: var(--h1);
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

p {
    margin-bottom: var(--space-s);
    max-width: 70ch;
    color: #222222;
}

.section-title {
    margin-bottom: var(--space-m);
    text-transform: none;
    /* First letter capital only */
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 3.5rem;
    /* Increased top margin */
    margin-bottom: 0.5rem;
    /* Further decreased bottom margin */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-l) 0;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: var(--space-m);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--text-color);
    border-color: var(--secondary);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-large {
    padding: 1.5rem 3.5rem;
    /* Slightly larger */
    font-size: 1.1rem;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(135, 122, 112, 0.1);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo img {
    height: 70px;
    /* Slightly increased size */
    width: auto;
    display: block;
    padding: 2px 0;
}

.nav-list {
    display: flex;
    gap: var(--space-m);
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.nav-list a:not(.cta-menu):hover,
.nav-list a:not(.cta-menu).active {
    color: var(--secondary) !important;
}

/* Hover underline effect */
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-list a:not(.cta-menu):hover::after,
.nav-list a:not(.cta-menu).active::after {
    width: 100%;
}

.cta-menu {
    border: 1px solid var(--secondary);
    background-color: var(--secondary);
    padding: 1rem 2rem !important;
    /* Match standard button height */
    color: var(--text-color) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.cta-menu:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: white !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
    z-index: 1001;
    /* Zvýšení z-indexu */
    align-items: center;
    justify-content: center;
}

/* Hero Section Redesign */
.hero {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 2rem;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 40%, rgba(255, 255, 255, 0) 65%), url('Obrazky/Hlavni/foto-hero-01.jpg');
    background-size: 100% 100%, contain;
    background-position: left, right center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    display: block;
    text-align: left;
}

.hero-content-wrapper {
    max-width: 750px;
    z-index: 10;
    position: relative;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

.hero-mobile-image {
    display: none;
}



/* Floating blob on the left */
.hero-content-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    animation: floating-blob 25s infinite alternate ease-in-out;
    display: block;
}

@media (max-width: 768px) {
    .hero-content-wrapper::before {
        display: none;
        /* Skryje blob na mobilu, který může způsobovat přetečení */
    }
}

@keyframes floating-blob {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        transform: translate(50px, 40px) rotate(15deg) scale(1.1);
    }
}



.text-highlight {
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    left: -2px;
    bottom: 2px;
    width: calc(100% + 4px);
    height: 10px;
    background-color: var(--secondary);
    opacity: 0.5;
    z-index: -1;
}



.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2vw, 1.85rem);
    /* Further reduced max size for PC to match user request */
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--space-m);
    line-height: 1.3;
    max-width: 100%;
    text-transform: none;
}

.hero-subtitle-sub {
    display: block;
    margin-top: 0.5rem;
    font-size: inherit;
    opacity: 1;
}

.section-tag {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: none;
    color: var(--primary);
    margin-bottom: 4rem !important;
    /* Balanced middle ground */
    display: block !important;
}

.hero-quote-wrapper {
    position: relative;
    padding: var(--space-s) 0;
    margin-top: var(--space-l);
    margin-bottom: 0;
}

.brand-dot {
    color: var(--secondary);
    font-size: 1.3em;
    font-weight: 700;
}

.custom-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    /* Proportionally increased */
    position: relative;
    z-index: 1;
    max-width: 65ch;
    margin: 0;
    padding: var(--space-xs) 0;
    display: block;
    line-height: 1.6;
}

.for-companies-intro .custom-quote {
    max-width: none;
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    margin-bottom: 2rem;
    line-height: 1.25;
}

.hero .custom-quote {
    line-height: 1.2;
}

.custom-quote::before {
    content: '“';
    position: absolute;
    top: -30px;
    /* Moved slightly down */
    left: -25px;
    /* Moved closer to the line/left */
    font-size: 7rem;
    /* Slightly smaller to fit better */
    font-family: var(--font-heading);
    color: var(--secondary);
    z-index: -1;
    pointer-events: none;
}

.hero-buttons {
    display: flex;
    gap: var(--space-m);
    justify-content: center;
    margin-top: var(--space-l);
}

.hero-intro-text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.container-hero-intro {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-intro-buttons {
    display: flex;
    gap: var(--space-m);
    justify-content: center;
    margin-top: 3rem;
}

.hero-image-single {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
}

.hero-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    /* Soft premium shadow */
    border: 1px solid rgba(135, 122, 112, 0.05);
}

.hero-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 650px;
    /* Increased from 550px */
    position: relative;
}

.slide {
    height: 100%;
    /* Standardized height for stability */
    flex: 1;
    transition: opacity 1s ease, filter 1s ease;
    /* Removed height from transition */
    filter: grayscale(80%) blur(2px);
    opacity: 0.4;
    cursor: default;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #EEEDE9;
}

.slide-center {
    height: 100%;
    flex: 1.8;
    opacity: 1;
    filter: grayscale(0) blur(0);
    z-index: 5;
    order: 2;
}

.slide-prev {
    order: 1;
    /* Force to left */
}

.slide-next {
    order: 3;
    /* Force to right */
}

.slide-center img {
    border: 3px solid #EEEDE9;
    /* Slightly thicker for center */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Key Values */
.values {
    background-color: var(--bg-color);
    position: relative;
    padding: 0;
}

.values-header {
    margin-bottom: 2rem;
    /* Reduced from var(--space-xl) */
}

.values-header .section-title {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Changed from 3 to 4 columns */
    gap: var(--space-m);
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-l) var(--space-m);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    background: #f8f7f4;
    /* Constant background */
}

.value-item:hover {
    background: #f8f7f4;
    /* No change on hover */
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-m);
    color: #222222;
    /* Black icon by default */
    background: var(--secondary);
    /* Secondary color background */
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
}

.value-icon {
    width: 50px;
    height: 50px;
    color: inherit;
    stroke: currentColor;
    stroke-width: 2px;
    fill: none;
    display: block;
}

.custom-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.value-item:hover .value-icon-wrapper {
    transform: translateY(-5px);
    background: #ffffff;
    /* White background on hover */
    color: #222222;
    /* Black icon on hover */
    box-shadow: 0 10px 30px rgba(135, 122, 112, 0.15);
}

.value-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--accent-beige);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.5;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.value-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: var(--space-s);
    color: var(--text-color);
    line-height: 1.3;
    font-family: var(--font-body);
}

.value-text {
    font-size: 1.05rem;
    opacity: 0.8;
    margin: 0;
    max-width: 100%;
    line-height: 1.6;
}

/* Levitate Section (Bubbles) */
.levitate-container {
    position: relative;
    min-height: 650px;
    margin: 4rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
}

.levitate-center-wrapper {
    z-index: 10;
    position: relative;
}

.levitate-center {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    background: #fff;
    padding: 1.5rem 3rem;
    border-radius: 120px;
    box-shadow: 0 25px 60px rgba(135, 122, 112, 0.12);
    border: 1px solid var(--secondary);
    position: relative;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f9f8f6 100%);
    text-transform: none;
    letter-spacing: 0.05em;
}


@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.3;
    }
}

.levitate-options {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.levitate-item {
    position: absolute;
    padding: 1.8rem 2.2rem;
    border-radius: 50px;
    box-shadow: 0 15px 45px rgba(135, 122, 112, 0.08);
    max-width: 320px;
    border: 1px solid var(--secondary);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: auto;
    cursor: default;
    z-index: 5;
    background: rgba(196, 195, 208, 0.15);
    /* Light secondary tint */
    backdrop-filter: blur(12px);
}

.levitate-item p {
    margin: 0;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    line-height: 1.45;
    text-align: center;
    color: var(--text-color);
}

.levitate-item:hover {
    transform: scale(1.05) translateY(-10px);
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 25px 55px rgba(135, 122, 112, 0.18);
    z-index: 15;
}

/* Levitating Animations with different delays */
.levitate-item:nth-child(1) {
    animation: float-bubble 7s infinite ease-in-out;
}

.levitate-item:nth-child(2) {
    animation: float-bubble 8s infinite ease-in-out 0.5s;
}

.levitate-item:nth-child(3) {
    animation: float-bubble 6s infinite ease-in-out 1s;
}

.levitate-item:nth-child(4) {
    animation: float-bubble 9s infinite ease-in-out 1.5s;
}

.levitate-item:nth-child(5) {
    animation: float-bubble 7.5s infinite ease-in-out 0.2s;
}

.levitate-item:nth-child(6) {
    animation: float-bubble 8.5s infinite ease-in-out 0.8s;
}

@keyframes float-bubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1100px) {
    .levitate-container {
        min-height: 800px;
    }

    .levitate-item {
        max-width: 260px;
        padding: 1.2rem 1.8rem;
    }
}

@media (max-width: 991px) {
    .levitate-container {
        min-height: auto;
        flex-direction: column;
        gap: 3rem;
        margin: 2rem auto;
        padding: 2rem 0;
    }

    .levitate-options {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .levitate-item {
        position: static !important;
        max-width: 90%;
        width: 100%;
        transform: none !important;
        animation: none !important;
        padding: 1.5rem 2rem;
    }

    .levitate-center {
        font-size: 2.5rem;
        padding: 1.5rem 3rem;
    }
}

.hand-drawn-icon {
    width: 100%;
    height: 100%;
}

/* Video Section */
.video-section {
    background-color: transparent;
    padding: 0;
}

.video-section .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.video-section .section-title {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

.video-container-inner {
    width: 85%;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.homepage-video {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}


/* Shared Layout & Components */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
    align-items: center;
}

.grid-2-rev {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
    align-items: center;
}

.flex-buttons {
    display: flex;
    gap: var(--space-m);
    /* Increased gap */
    margin-top: var(--space-l);
    /* Increased margin from text */
}

.image-box img {
    width: 100%;
    height: auto;
    border: 1px solid #EEEDE9;
}

.text-box {
    position: relative;
    z-index: 2;
}

/* How I work Redesign */
.how-i-work {
    background-color: var(--bg-color);
    overflow: hidden;
    padding: 0;
}

.how-i-work-wrapper {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.how-i-work-image,
.decorated-image {
    position: relative;
    z-index: 1;
}

.image-inner {
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.image-inner img {
    width: 100%;
    height: auto;
    border: none;
    display: block;
}

.image-decoration {
    display: none;
}



/* Hero Section */
.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    /* Reduced gap to move photos closer to text */
    text-align: left;
}

.hero-content-wrapper {
    flex: 1.2;
    z-index: 10;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 5;
}

.hero-title {
    margin-bottom: var(--space-m);
    line-height: 1.1;
    position: relative;
    z-index: 10;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.gold-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    border-left: 4px solid var(--primary);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-color);
    line-height: 1;
    font-weight: 700;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin-top: 0.5rem;
    text-align: center;
}

.how-i-work-content {
    max-width: 850px;
    width: 100%;
    padding: var(--space-m) 0;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.section-tag,
.promo-tag {
    display: block;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.2em;
    color: var(--text-color);
    /* Ensure tags are also #222222 */
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-m);
    color: var(--text-color);
}

.work-methods {
    margin: var(--space-s) 0;
}

.method-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0.75rem;
    transition: var(--transition);
}

.method-item:hover {
    background: rgba(135, 122, 112, 0.05);
    transform: translateX(5px);
}

.how-i-work .method-item:hover,
.for-companies .method-item:hover {
    background: transparent;
    transform: none;
}

.method-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for dots - used in Jak pracuji and For Companies sections */
.how-i-work .method-icon,
.for-companies .method-icon {
    width: 14px;
    height: 14px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-top: 0.45rem;
    display: block;
}

.method-icon i {
    display: flex;
}

.method-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

.mentoring-note {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: var(--space-m);
    padding-left: 1rem;
    border-left: 2px solid var(--secondary);
}

/* Responsive How I Work */
@media (max-width: 991px) {
    .how-i-work-wrapper {
        gap: var(--space-l);
    }

    .how-i-work-content {
        margin-left: 0;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        backdrop-filter: none !important;
    }

    .experience-badge {
        right: 0;
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .experience-badge {
        display: none;
    }
}

.quote {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin: var(--space-m) 0 var(--space-l);
}

.for-companies .grid-2-rev {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
}

.for-companies .text-box p {
    margin-bottom: var(--space-m);
}

.for-companies .btn {
    margin-top: var(--space-m);
}

/* Image box styles handled by .decorated-image */

.link-more {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

/* Intro Meeting Section */
.intro-meeting {
    position: relative;
    padding: 1rem 0 2rem 0;
    /* Reduced top padding from 2rem to 1rem */
    background-color: #ffffff;
    /* Section background to white */
    overflow: hidden;
}

.intro-meeting-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Lower than text */
    pointer-events: none;
    background-color: #F8F7F4;
    /* Color moved inside box bg container */
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: floatBlob 15s ease-in-out infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-beige);
    bottom: -50px;
    left: -50px;
    animation: floatBlob 20s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 40px) scale(1.1);
    }
}

.promo-box {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 0;
    /* Removed padding to make it more compact */
}

.promo-content {
    max-width: 900px;
    text-align: center;
    padding: 3.5rem var(--space-m);
    /* Slightly reduced padding */
    background: radial-gradient(circle at center, var(--secondary) 0%, #fdfdfb 100%);
    /* Gradient using secondary color */
    position: relative;
    overflow: hidden;
    /* For blobs */
    z-index: 2;
}

.promo-content h2,
.promo-content p,
.promo-content .promo-actions {
    position: relative;
    z-index: 10 !important;
    /* Force high z-index */
    color: #222222 !important;
    /* Force visible color */
}

.promo-content h2 {
    color: #000000 !important;
}

/* Varianta bez boxu – jen text na bílém pozadí (stránka Pro firmy) */
.intro-meeting-plain .promo-content {
    background: none;
}

.promo-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary);
    font-weight: 600;
}

.promo-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: var(--space-l);
    color: var(--text-color);
    text-align: center;
}

.promo-actions {
    display: flex;
    justify-content: center;
}

/* References */
.references {
    background: #FEFFFF;
}

.reference-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-m);
}

.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: var(--space-m);
}

.reference-card {
    background: #F8F7F4;
    border: 1px solid rgba(135, 122, 112, 0.1);
    transition: none;
    padding: var(--space-m);
}

.reference-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.reference-card:hover {
    transform: none;
    background: #F8F7F4;
}

.ref-content-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-card.active .ref-content-full {
    max-height: 1000px;
    /* Large enough to hold the text */
}

.ref-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0.5rem;
    transition: var(--transition);
    width: 100%;
    font-weight: 700;
    text-decoration: underline;
}

.ref-text {
    position: relative;
    transition: var(--transition);
}

.reference-card:not(.active) .ref-text {
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    max-height: 110px;
    overflow: hidden;
}

.reference-card.active .ref-text {
    mask-image: none;
    -webkit-mask-image: none;
    max-height: none;
}

.ref-toggle i {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.reference-card.active .icon-plus {
    display: none !important;
}

.reference-card.active .icon-minus {
    display: block !important;
}

.ref-toggle:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Process */
.process {
    background: white;
    padding-bottom: 6rem;
    /* Extra large gap as requested */
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
    margin-top: var(--space-m);
}

.process-steps-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-l);
    margin-top: var(--space-m);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.step {
    border-top: 1px solid var(--primary);
    padding-top: var(--space-s);
}

.step-num {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: var(--space-s);
    transition: var(--transition);
}

.step:hover .step-num {
    color: var(--primary);
    transform: scale(1.1);
}

/* About brief */
.about-brief {
    position: relative;
    z-index: 1;
    background-image: url('Obrazky/Hlavni/foto-10-o-mne.jpg');
    background-size: 100% auto;
    background-position: right 10%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 1rem 0;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.about-brief::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* Semi-transparent white overlay */
    z-index: 1;
}

.about-brief-grid {
    display: block;
    position: relative;
    z-index: 2;
}

.about-brief-content {
    max-width: 600px;
    padding-left: var(--space-s);
    /* subtle left padding inside the tunnel */
}

/* FAQ */
.faq {
    background-color: var(--bg-color);
    position: relative;
    z-index: 20;
    /* To cover the peony as it scrolls down */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--secondary);
    overflow: hidden;
    list-style: none !important;
}

.faq-item::before,
.faq-item::after {
    display: none !important;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: left;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    /* Odstranění výchozích značek pro Safari */
    list-style: none !important;
    list-style-type: none !important;
    appearance: none;
    -webkit-appearance: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    opacity: 0.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Pricing */
.pricing {
    background: var(--neutral);
    position: relative;
    z-index: 20;
    /* To cover the peony as it scrolls down */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-m);
    margin-bottom: var(--space-l);
}

.price-item {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 4rem 2rem;
    /* Consistent padding at the top */
    transition: var(--transition);
    border: 1px solid rgba(135, 122, 112, 0.08);
    position: relative;
    box-shadow: 0 10px 30px rgba(135, 122, 112, 0.03);
}

/* .price-item::after removed – no bottom bar */


.price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(135, 122, 112, 0.12);
    border-color: var(--secondary);
}







.price-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    min-height: auto;
    display: block;
}

.duration {
    display: block;
    /* Full width so it aligns consistently */
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: 1px;
    margin: 0 -2rem 2rem -2rem;
    /* Extend to full width of the card if needed, or just keep margin-bottom */
    background: var(--secondary);
    padding: 0.3rem 1rem;
    opacity: 0.85;
    text-align: center;
}

.price {
    font-size: 1.85rem;
    font-family: var(--font-body);
    color: #000;
    margin-bottom: 1.5rem;
}

.price b {
    font-weight: 700;
}

.best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.3rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    white-space: nowrap;
}

/* .price::after removed – no decorative dot */


.price-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.price-item .btn {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

.price-notes {
    max-width: 800px;
    margin: 3rem auto 0;
    border-top: 1px solid var(--secondary);
    padding-top: 2rem;
    text-align: center;
    /* Centered as per request */
}

.price-notes p {
    margin: 0.8rem 0;
    font-size: 1rem;
    color: var(--text-color);
}

/* Footer */
.main-footer {
    position: relative;
    z-index: 20;
    background: linear-gradient(180deg, #44403c 0%, #1c1917 100%);
    /* Dark grey -> Black */
    color: white;
    overflow: hidden;
}

.footer-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
    /* Hidden on desktop, shown on mobile */
}

.footer-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.8) 0%, rgba(28, 25, 23, 0.95) 100%);
    z-index: 1;
}

.footer-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.6;
    /* Good visibility but allows text to breathe */
    filter: sepia(10%) contrast(110%);
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: var(--space-l) 0;
    display: flex;
    flex-direction: column;
}

.footer-layout-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.footer-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

.footer-desktop-image {
    flex: 0 0 auto;
    height: 250px;
    position: relative;
}

.footer-desktop-image .image-inner {
    height: 100%;
    display: block;
}

.footer-desktop-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    border: none;
    display: block;
}

.footer-col a:hover {
    color: var(--accent-beige);
    padding-left: 5px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-m);
    color: var(--accent-beige);
    text-transform: none;
    /* Sentence case */
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-col i {
    color: var(--accent-beige);
    margin-right: 10px;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.25rem;
    margin-left: 0.4rem;
    cursor: pointer;
    vertical-align: middle;
    color: inherit;
    opacity: 0.7;
    transition: var(--transition);
}

.copy-btn i {
    font-size: 1.3em;
    pointer-events: none;
}

.copy-btn:hover {
    opacity: 1;
}

.copy-btn.copied {
    color: var(--primary);
    opacity: 1;
}

.footer-col .copy-btn {
    color: var(--accent-beige);
}

.footer-col .copy-btn.copied {
    color: #6fbf73;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a:hover {
    color: var(--accent-beige);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-l);
    padding-top: var(--space-m);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #ffffff !important;
    position: relative;
    z-index: 5;
}

.footer-bottom p {
    color: #a8a29e !important;
    opacity: 0.8 !important;
    font-size: 0.85rem;
    text-align: center;
    width: 100%;
}

.footer-bottom p:first-child {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .footer-bottom p:first-child {
        white-space: normal;
    }
}

.footer-bottom a {
    color: #a8a29e !important;
    opacity: 0.8 !important;
    display: inline;
    font-size: 0.85rem;
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34, 34, 34, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1999;
    opacity: 1;
    transition: var(--transition);
}

.cookie-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92%, 460px);
    background: var(--bg-color);
    color: var(--text-color);
    z-index: 2000;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.cookie-banner.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    pointer-events: none;
}

.container-cookie {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    text-align: center;
}

.cookie-banner p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
}

.cookie-btns .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
}

.cookie-banner #cookie-accept {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-color);
    font-weight: 600;
}

.cookie-banner #cookie-accept:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.cookie-reject-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    opacity: 0.65;
    text-decoration: underline;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-reject-link:hover {
    opacity: 1;
    color: var(--primary);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 1280px) {
    .container {
        width: 90%;
    }

    .container-nav {
        padding: 1rem 0;
    }

    .logo img {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
        /* Must be higher than main-nav z-index */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 80%;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: var(--transition);
        transform: translateX(100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .main-nav.active {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hero-slider {
        height: 450px;
    }

    .hero-name-badge {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 1.5rem;
        z-index: 10;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
    }

    .hero-content-box {
        padding: 2rem 1rem;
    }

    .hero-subtitle {
        text-align: left;
    }

    .footer-layout-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-desktop-image {
        flex: none;
        width: auto;
        height: 160px;
        margin: 0 auto;
    }

    .hero-slider-wrapper {
        order: -1;
        margin-bottom: var(--space-m);
    }

    .about-brief-grid {
        grid-template-columns: 1fr;
    }

    .about-brief .glass-about {
        padding: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sluzby-footer-combined .container>div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .wellbeing-layout {
        flex-direction: column !important;
        gap: 2rem !important;
    }
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .process .section-title,
    .faq .section-title,
    .for-companies-process .section-title {
        text-align: left !important;
    }

    .references .section-title {
        text-align: left !important;
        padding-left: 5.5%;
    }

    .about-brief .btn {
        display: table;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .container {
        width: 90%;
        max-width: none;
    }

    .container-nav {
        padding: 0.8rem 0;
    }

    .logo img {
        height: 65px;
    }



    .hero-highlight::before,
    .custom-quote::before {
        display: none !important;
        /* Hide massive decorative quotes to prevent overflow */
    }

    .hero-slider {
        height: 380px;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .how-i-work .container,
    .for-companies .container,
    .process .container,
    .faq .container,
    .main-footer .container,
    .for-companies-process .container,
    .wellbeing-intro-bg .container,
    .wellbeing-section .container {
        width: 80%;
    }

    .grid-2,
    .grid-2-rev,
    .for-companies .grid-2-rev,
    .hero-container {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }

    .grid-2-rev .image-box,
    .for-companies .grid-2-rev .image-box,
    .hero-image-wrapper {
        order: -1;
        margin-bottom: var(--space-m);
        width: 100%;
    }

    /* V intro sekci Pro firmy skryjeme foto z gridu na mobilu – bude za tlačítkem */
    .for-companies-intro .grid-2-rev .image-box {
        display: none;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .reference-slider {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }

    .process {
        padding-bottom: 0 !important;
    }

    .process .container {
        padding-bottom: 0 !important;
    }

    .about-brief {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .about-brief .container {
        padding-top: 5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .process-steps-4 {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }



    .promo-content p {
        font-size: 1.1rem;
    }

    .blob-1 {
        width: 250px;
        height: 250px;
    }

    .blob-2 {
        width: 200px;
        height: 200px;
    }

    .levitate-center {
        font-size: 1.6rem !important;
        padding: 1.2rem 2rem !important;
    }

    .step-num {
        text-align: left;
        margin-right: auto;
    }

    .footer-desktop-image {
        display: block;
        order: 2;
        margin: 1rem auto 0;
        width: 45%;
        max-width: none;
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-m);
        order: 1;
    }

    .footer-bg-image {
        display: none !important;
    }

    .footer-bg-image::after {
        background: linear-gradient(180deg, rgba(28, 25, 23, 0.45) 0%, rgba(28, 25, 23, 0.75) 100%);
    }

    .footer-bg-image img {
        opacity: 0.85;
    }

    .hero-buttons,
    .flex-buttons,
    .hero-intro-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        /* Align buttons to start */
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons .btn,
    .flex-buttons .btn,
    .hero-intro-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Disable hover transforms on mobile to prevent overflow */
    .method-item:hover {
        transform: none !important;
    }

    /* Mobile Background Adjustments */
    .about-brief {
        background-image: none !important;
        background-color: var(--bg-color);
    }
}

@media (max-width: 991px) {
    .container-hero-intro {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .hero {
        background: #f9f9f9;
        /* Remove background image on mobile as we show it as element */
        padding-top: 4.5rem;
        padding-bottom: 0;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-content-wrapper {
        width: 100%;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }

    .hero-buttons {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    .hero-quote-wrapper {
        margin-top: 1rem !important;
    }

    .hero-mobile-image-wrapper {
        display: block;
        width: 100%;
        margin-top: 1.7rem;
    }

    .hero-mobile-image {
        display: block;
        width: 100%;
        height: auto;
        /* Zobrazena celá bez ořezu na mobilu */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        z-index: 5;
    }

    @media (min-width: 601px) {
        .hero-mobile-image {
            height: 400px;
            object-fit: cover;
            object-position: top right;
            /* Taller for tablets to show more of the desktop photo */
        }
    }

    .hero-badge-wrapper {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin-top: -85px;
        /* Much deeper overlap of the image */
        z-index: 10;
        padding: 0 5px;
        margin-bottom: 2.5rem;
        /* Space before buttons */
    }

    .hero-badge-wrapper .flip-card-front,
    .hero-badge-wrapper .flip-card-back {
        background: rgba(255, 255, 255, 0.05) !important;
        /* Pure glass, almost fully transparent */
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    }

    .video-container-inner {
        width: 100% !important;
        border-radius: 0;
    }

    .for-companies {
        padding-top: 1.5rem;
    }

    .for-companies .grid-2-rev .image-box {
        margin-bottom: 1rem !important;
    }

    .for-companies .text-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .for-companies .btn {
        align-self: center;
        width: auto !important;
        min-width: 250px;
        margin-top: 1.5rem;
    }
}

/* Hamburger icon anim */
.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    position: relative;
    transition: var(--transition);
    margin: 0 auto;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    bottom: -10px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* --- About Me Page --- */
.about-me-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 119px 0 6rem;
    background: url('Obrazky/O-mne/foto-09-o-mne.jpg') no-repeat right bottom;
    background-size: auto calc(100vh - 100px);
    /* Výška fotky se přizpůsobí obrazovce mínus výška menu */
    background-attachment: fixed;
    background-color: #fdfdfb;
}

/* Readability filter for the background photo removed as requested */
.about-me-page::before {
    display: none;
}

.about-me-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: var(--max-width);
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
    /* Redukce výchozí mezery od .container */
}

.about-me-content-box {
    background: transparent;
    backdrop-filter: none;
    padding: 2rem 0;
    /* Menší padding na desktopu pro čistý vzhled úměrný menu */
    box-shadow: none;
    border: none;
    max-width: 750px;
    margin-left: 0;
}

/* --- Services Page Header --- */
.services-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 119px 0 6rem;
    background: url('Obrazky/Hlavni/foto-10-sluzby.jpg') no-repeat right bottom;
    background-size: auto calc(100vh - 100px);
    background-attachment: fixed;
    background-color: #fdfdfb;
}

.services-page-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: var(--max-width);
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
}

.services-page-content-box {
    background: transparent;
    padding: 2rem 0;
    max-width: 750px;
    margin-left: 0;
}

.for-companies-content-box {
    background: transparent;
    padding: 2rem 0;
    max-width: 750px;
    margin-left: 0;
}

.for-companies-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 119px 0 6rem;
    background: url('Obrazky/Pro-firmy/foto-01.jpg') no-repeat right bottom;
    background-size: auto calc(100vh - 100px);
    background-attachment: fixed;
    background-color: #fdfdfb;
}

.for-companies-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: var(--max-width);
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
}

/* --- Corporate Services Section in Sluzby.html --- */
.corporate-services-section {
    position: relative;
    padding: 6rem 0;
    background: url('Obrazky/Hlavni/foto-02-hero.jpg') no-repeat right bottom;
    background-size: auto 80%;
    background-attachment: fixed;
    background-color: #fff;
    border-top: 1px solid rgba(135, 122, 112, 0.15);
}

.corporate-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 1;
    display: none;
    /* Hide by default, show on desktop if needed */
}

.corporate-services-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: var(--max-width);
    display: flex;
    justify-content: flex-start;
}

.corporate-services-content {
    max-width: 750px;
    padding: 2rem 0;
}

.about-me-content-box h1,
.services-page-content-box h1,
.for-companies-content-box h1,
.for-companies-intro h1,
.pricing-intro h1,
.references-page h1 {
    font-size: var(--h1);
    margin-bottom: 2rem;
    margin-top: 0 !important;
    color: var(--primary);
}

.about-me-lead {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.about-me-text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-me-highlight-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(196, 195, 208, 0.1);
    border-left: 4px solid var(--secondary);
}

.about-me-highlight-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0.1em;
}

.about-me-list {
    list-style: none;
    padding: 0;
}

.about-me-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.about-me-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 1;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list li::before {
    content: '\F26E';
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 1.2rem;
    line-height: 1;
}

.value-title-no-line::after {
    display: none !important;
}

.value-title-no-line {
    padding-bottom: 0 !important;
}

.about-me-footer-note {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(135, 122, 112, 0.2);
    font-style: italic;
    opacity: 0.8;
    font-size: 1rem;
}

.references-page {
    padding-top: 119px;
    background-color: #fdfdfb;
}

@media (max-width: 1200px) {

    .about-me-page,
    .services-page,
    .for-companies-page,
    .corporate-services-section {
        background-image: none;
    }

    .wellbeing-intro-bg {
        background-image: none !important;
        background-color: var(--neutral) !important;
    }

    .wellbeing-overlay {
        display: none !important;
    }

    .about-me-page::before,
    .services-page::before {
        display: none;
    }

    .about-me-container,
    .services-page-container,
    .for-companies-container,
    .corporate-services-container {
        justify-content: center;
    }

    .about-me-content-box,
    .services-page-content-box,
    .for-companies-content-box,
    .corporate-services-content {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 991px) {

    .about-me-content-box,
    .services-page-content-box,
    .for-companies-content-box,
    .corporate-services-content {
        background: transparent;
        backdrop-filter: none;
        padding: 3rem 2rem;
        box-shadow: none;
        border: none;
    }

    .wellbeing-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .about-me-page,
    .services-page,
    .how-i-work-page,
    .references-page,
    .contact-page,
    .privacy-page {
        padding-top: 170px !important;
        padding-bottom: 1rem;
    }

    .for-companies-page {
        padding-top: 85px !important;
        padding-bottom: 1rem;
    }

    .corporate-services-section {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .about-me-container,
    .services-page-container,
    .for-companies-container,
    .how-i-work-page-container,
    .references-page .container,
    .contact-page-container,
    .corporate-services-container {
        width: 90%;
        padding-top: 0 !important;
    }

    .about-me-content-box,
    .services-page-content-box,
    .for-companies-content-box,
    .how-i-work-page-content,
    .contact-page-content,
    .references-header-box,
    .corporate-services-content {
        padding: 0 1.5rem 1.5rem !important;
    }

    .for-companies-content-box h1,
    .about-me-content-box h1,
    .services-page-content-box h1,
    .how-i-work-page-content h1,
    .references-page h1,
    .contact-page-content h1 {
        margin-top: 0 !important;
    }

    .about-me-lead {
        font-size: 1.3rem;
    }

    .services-page-content-box .custom-quote,
    .for-companies-content-box .custom-quote {
        margin-bottom: 2.5rem;
    }

    .about-me-highlight-box {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2rem 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* --- How I Work Page --- */
.how-i-work-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 119px 0 6rem;
    background: url('Obrazky/Hlavni/foto-07-o-mne.jpg') no-repeat right bottom;
    background-size: auto calc(100vh - 100px);
    background-attachment: fixed;
    background-color: #fdfdfb;
}

/* Readability filter for the background photo removed as requested */
.how-i-work-page::before {
    display: none;
}

.how-i-work-page-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: var(--max-width);
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
    /* Redukce výchozí mezery od .container */
}

.how-i-work-page-content {
    background: transparent;
    backdrop-filter: none;
    padding: 2rem 0;
    box-shadow: none;
    border: none;
    max-width: 800px;
    margin-left: 0;
}

.how-i-work-page-content h1 {
    font-size: var(--h1);
    margin-bottom: 2rem;
    color: var(--primary);
}

.how-i-work-page-content h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 3.5rem 0 1.5rem;
    font-size: 2rem;
    border-bottom: 1px solid rgba(135, 122, 112, 0.2);
    padding-bottom: 0.5rem;
}

.how-i-work-page-content h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin: 2.5rem 0 1rem;
    font-size: 1.4rem;
}

.how-i-work-page-content p {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.how-i-work-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0.5rem;
}

.how-i-work-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    line-height: 1.6;
}

.how-i-work-list li:last-child {
    margin-bottom: 0;
}

.how-i-work-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 1;
}

.how-i-work-highlight {
    background: rgba(196, 195, 208, 0.1);
    padding: 2rem 2rem 1.2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary);
}

.warning-box {
    margin-top: 4rem;
    padding: 2.5rem;
    background: rgba(214, 84, 84, 0.05);
    border-left: 4px solid #d65454;
}

.warning-box h3 {
    color: #d65454;
    margin-top: 0;
    font-size: 1.5rem;
}

@media (max-width: 1200px) {
    .how-i-work-page {
        background-image: none;
    }

    .how-i-work-page::before {
        display: none;
    }

    .how-i-work-page-container {
        justify-content: center;
    }

    .how-i-work-page-content {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .how-i-work-page-content {
        background: transparent;
        backdrop-filter: none;
        padding: 3rem 2rem;
        box-shadow: none;
        border: none;
    }

}

@media (max-width: 768px) {
    .how-i-work-page {
        padding-top: 119px;
    }

    .how-i-work-page-container {
        width: 90%;
    }

    .how-i-work-page-content {
        padding: 2.5rem 1.5rem;
    }
}

/* Fotka zobrazená jako obrázek na mobilu/tabletu pod textem */
.page-mobile-photo {
    display: none;
    /* Skryto na desktopu */
}

.page-mobile-photo img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .page-mobile-photo {
        display: block;
        margin-top: 0;
    }
}

/* --- Kontaktní stránka --- */
.privacy-page {
    position: relative;
    min-height: 100vh;
    padding: 119px 0 6rem;
}

.contact-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 119px 0 6rem;
    background: url('Obrazky/Hlavni/foto-08-o-mne.jpg') no-repeat right bottom;
    background-size: auto calc(100vh - 100px);
    background-attachment: fixed;
    background-color: #fdfdfb;
}

.contact-page::before {
    display: none;
}

.contact-page-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: var(--max-width);
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
}

.contact-page-content {
    background: transparent;
    backdrop-filter: none;
    padding: 2rem 0;
    box-shadow: none;
    border: none;
    max-width: 800px;
    margin-left: 0;
}

.contact-page-content h1 {
    font-size: var(--h1);
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-page-content p.contact-lead {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.contact-methods {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.contact-method-item {
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary);
}

.contact-method-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method-item h3 i {
    color: var(--primary);
}

.contact-method-item a {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.contact-method-item a:hover {
    color: var(--primary-dark);
}

.contact-method-item .copy-btn {
    color: var(--primary);
}

.contact-form-wrapper {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 3.5rem 0 1.5rem;
    font-size: 2rem;
    border-bottom: 1px solid rgba(135, 122, 112, 0.2);
    padding-bottom: 0.5rem;
}

.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-row .form-group {
    flex: 1;
}

@media (max-width: 576px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(135, 122, 112, 0.3);
    background: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(135, 122, 112, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem !important;
}

.contact-form.hide {
    display: none;
}

.form-success {
    text-align: center;
    margin-top: 1.5rem;
}

.form-success.hide {
    display: none;
}

.form-success i {
    display: block;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.form-success p {
    opacity: 0.8;
}

.form-notes {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.25rem 1.5rem;
    background: var(--secondary);
    border-radius: var(--radius, 8px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-notes li {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
    padding-left: 1.25rem;
    position: relative;
}

.form-notes li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.btn-submit {
    display: block;
    margin-left: auto;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .btn-submit {
        margin-right: auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 1200px) {
    .contact-page {
        background-image: none;
    }

    .contact-page::before {
        display: none;
    }

    .contact-page-container {
        justify-content: center;
    }

    .contact-page-content {
        max-width: 100%;
    }

    .page-mobile-photo {
        display: block;
    }
}

@media (max-width: 991px) {
    .contact-page-content {
        background: transparent;
        backdrop-filter: none;
        padding: 3rem 2rem;
        box-shadow: none;
        border: none;
    }

}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 119px;
    }

    .contact-page-container {
        width: 90%;
    }

    .contact-page-content {
        padding: 2.5rem 1.5rem;
    }
}

/* Added margin behind custom-quote on specific pages for PC version */
@media (min-width: 992px) {

    .services-page .custom-quote,
    .for-companies-page .custom-quote {
        margin-bottom: 1.5rem;
    }
}

/* ==========================================================================
   Otázky a odpovědi – stránka tématu (NÁVRH)
   ========================================================================== */

.qa-topic-page {
    padding: 119px 0 6rem;
    background-color: var(--bg-color);
}

.qa-topic-container {
    width: var(--max-width);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.qa-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.qa-topic-content h1 {
    font-size: var(--h1);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.qa-lead {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    max-width: 700px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.qa-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 1.2rem;
}

.qa-toc {
    background: var(--neutral);
    padding: 1.75rem 2rem;
    margin-bottom: 3rem;
}

.qa-toc-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.qa-toc-group-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 1.5rem 0 0.6rem;
}

.qa-toc-group-title:first-of-type {
    margin-top: 0;
}

.qa-toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 2rem;
    margin-bottom: 0;
}

.qa-group-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    margin: 3rem 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(135, 122, 112, 0.2);
}

.qa-accordion .qa-group-title:first-child {
    margin-top: 0;
}

.qa-toc-list a {
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--text-color);
}

.qa-toc-list a:hover {
    color: var(--primary);
}

/* Delší odpovědi než na homepage FAQ – vyšší limit, ať se text neuřízne */
.qa-accordion .faq-item.active .faq-answer {
    max-height: 3000px;
}

/* Ať po skoku na otázku (klik v přehledu i přímý odkaz s #otázkou) není nadpis
   schovaný pod pevnou hlavičkou webu (ta má výšku cca 119px) */
.qa-accordion .faq-item {
    scroll-margin-top: 140px;
}

/* Pro firmy – skok z úvodního textu na sekce přednášek a konzultací;
   sekce mají vlastní horní odsazení, stačí odečíst výšku hlavičky */
.for-companies-anchor {
    scroll-margin-top: 119px;
}

/* Pro firmy – karty Přednášky a workshopy / Individuální konzultace */
.program-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.program-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.program-card-icon {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.program-card-title {
    font-size: var(--h3);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.program-card p:last-child {
    margin-bottom: 0;
}

/* Poznámka o důvěrnosti – odsazená ke spodnímu okraji karty */
.program-card-note {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--accent-beige);
    font-size: 0.95rem;
    font-style: italic;
}

.program-card-note i {
    color: var(--primary);
    font-size: 1.2rem;
    font-style: normal;
}

@media (max-width: 991px) {
    .program-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-card {
        padding: 2rem 1.5rem;
    }
}

/* Pro firmy – Nejčastější témata společná pro obě formy spolupráce */
.shared-topics {
    padding: 4rem 0;
    background-color: var(--neutral);
}

.shared-topics-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}


.shared-topics-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    .shared-topics {
        padding: 3rem 0;
    }
}

.qa-cta-box {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--neutral);
    text-align: center;
}

.qa-cta-box h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: var(--h3);
}

.qa-cta-box p {
    margin-bottom: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .qa-toc-list {
        grid-template-columns: 1fr;
    }

    .qa-toc {
        padding: 1.5rem;
    }
}