/* Process Vanilla Section - používá stejné styly jako originální process-tabs */
.process-vanilla-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

/* Wrapper pro flex layout */
.process-vanilla-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header vlevo - sticky */
.process-vanilla-header {
    flex: 0 0 500px;
    position: sticky;
    top: 200px;
    text-align: left;
}

/* Container pro vanilla taby */
.vanilla-tabs-container {
    flex: 1;
    max-width: 100%;
    position: relative;
    overflow: visible;
}

/* Vanilla process tab - unikátní třída */
.vanilla-process-tab {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 1rem;
    display: flex !important;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    opacity: 1 !important;
    visibility: visible !important;
    /* Žádné transition ani hover efekty */
}

/* Číslo tabu vlevo */
.vanilla-process-tab::before {
    content: attr(data-step);
    font-size: 3.5rem;
    font-weight: 700;
    color: #e8e8e8;
    line-height: 1;
    margin-top: -10px;
    flex-shrink: 0;
}

/* Kontejner pro název a popis */
.vanilla-process-tab-content {
    flex: 1;
}

.vanilla-process-tab h3 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    /* Odstraníme číslo z h3, protože je v ::before */
}

.vanilla-process-tab p {
    margin: 0;
    line-height: 1.7;
    color: #6b6b6b;
    font-size: 1rem;
}

/* Final tab - jako tlačítko */
a.vanilla-process-tab.vanilla-final-tab {
    background: #333333;
    color: var(--color-white);
    justify-content: center;
    padding: 60px 36px;
    margin-top: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

a.vanilla-process-tab.vanilla-final-tab:hover {
    transform: translateY(-2px);
}

/* Skryjeme číslo u finálního tabu */
.vanilla-process-tab.vanilla-final-tab::before {
    display: none;
}

.vanilla-process-tab.vanilla-final-tab .vanilla-process-tab-content {
    text-align: center;
    max-width: 500px;
}

/* Wrapper pro animaci titulku */
.tab-title-wrapper {
    position: relative;
    height: 2.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.tab-title-default,
.tab-title-hover {
    color: #ffffff;
    font-size: 2.25rem;
    margin: 0;
    font-weight: 700;
    position: absolute;
    width: 100%;
    left: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-title-default {
    transform: translateY(0);
}

.tab-title-hover {
    transform: translateY(100%);
}

/* Při hoveru se texty prohodí */
a.vanilla-process-tab.vanilla-final-tab:hover .tab-title-default {
    transform: translateY(-100%);
}

a.vanilla-process-tab.vanilla-final-tab:hover .tab-title-hover {
    transform: translateY(0);
}

.vanilla-process-tab.vanilla-final-tab p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.8;
    font-size: 1.125rem;
}

/* Sticky class pro vanilla taby */
.vanilla-process-tab.is-sticky {
    position: sticky !important;
}

/* Responsive */
@media (max-width: 768px) {
    .process-vanilla-section {
        padding: 80px 0 0 0;
    }
    
    .process-vanilla-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-vanilla-header {
        position: relative;
        top: auto;
        flex: none;
        text-align: center;
    }
    
    .vanilla-tabs-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .vanilla-process-tab {
        padding: 20px;
        gap: 16px;
    }
    
    .vanilla-process-tab::before {
        font-size: 2.5rem;
    }
    
    .vanilla-process-tab h3 {
        font-size: 1.5rem;
    }
    
    a.vanilla-process-tab.vanilla-final-tab {
        padding: 40px 24px;
    }
    
    .tab-title-wrapper {
        height: 2rem;
    }
    
    .tab-title-default,
    .tab-title-hover {
        font-size: 1.75rem;
    }
    
    .vanilla-process-tab.vanilla-final-tab p {
        font-size: 1rem;
    }
}