/* ==================== VERTICAL CONVEYOR - BOTTOM TO TOP ==================== */
.vertical-conveyor {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.conveyor-track-vertical {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cards-conveyor-vertical {
    display: flex;
    gap: 10px;
    justify-content: center;
    height: 100%;
    position: relative;
    transform: rotate(3deg);
}

/* Вертикальные ряды */
.vertical-row {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 210px;
    position: absolute;
    animation: slideVerticalUp 90s linear infinite;
    will-change: transform;
}

/* Позиционирование рядов */
.row-left {
    left: 6%;
    top: 0;
}

.row-right {
    right: 6%;
    top: 10%;
}

/* Смещение для правого ряда (кирпичная кладка) */
.offset-vertical {
    margin-top: 35px;
}

/* Анимация движения снизу вверх - бесконечный цикл */
@keyframes slideVerticalUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Карточка визитки - без эффектов при наведении */
.vertical-card {
    width: 210px;
    flex-shrink: 0;
    border-radius: 20px;
    cursor: default;
    background: transparent;
}

/* Стили визитки */
.vertical-card .profile-card {
    margin: 0 !important;
    padding: 1rem !important;
    border-radius: 20px !important;
    box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.vertical-card .profile-header .qr {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.4rem auto;
}

.vertical-card .profile-header .qr-code-container {
    margin: 5px 0;
}

.vertical-card .profile-header {
    margin-bottom: 0.5rem;
}

.vertical-card .profile-header h3 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
}

.vertical-card .profile-header h1 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    color: #2c3e50;
    font-weight: 500;
    text-align: center;
}

.vertical-card .profile-header p {
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
    color: #666;
    text-transform: lowercase;
    text-align: center;
}

.vertical-card .banks-profile {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 0.4rem 0 0.6rem 0;
    flex-wrap: wrap;
}

.vertical-card .banks-profile img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: contain;
    padding: 2px;
    background: #f8f9fa;
}

.vertical-card .profile-contacts {
    gap: 6px;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
}

.vertical-card .contact-button {
    gap: 6px;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.vertical-card .contact-button .icon {
    padding: 4px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
}

.vertical-card .contact-button img {
    width: 10px;
    height: 10px;
    filter: brightness(0) invert(1);
}

.vertical-card .contact-button span {
    font-size: 0.65rem;
    flex: 1;
    text-align: left;
    color: #333;
    font-weight: 500;
}

/* Адаптация для разных размеров */
@media (max-width: 768px) {
    .vertical-conveyor {
        max-width: 500px;
        height: 460px;
    }
    
    .vertical-row {
        width: 170px;
        gap: 10px;
    }
    
    .vertical-card {
        width: 170px;
    }
    
    .vertical-card .profile-card {
        padding: 0.8rem !important;
        min-height: 300px;
    }
    
    .vertical-card .profile-header .qr {
        width: 42px;
        height: 42px;
    }
    
    .vertical-card .profile-header h3 {
        font-size: 0.75rem;
    }
    
    .vertical-card .profile-header h1 {
        font-size: 0.7rem;
    }
    
    .vertical-card .profile-header p {
        font-size: 0.6rem;
    }
    
    .vertical-card .banks-profile img {
        width: 18px;
        height: 18px;
    }
    
    .vertical-card .contact-button span {
        font-size: 0.6rem;
    }
    
    .offset-vertical {
        margin-top: 30px;
    }
}

@media (max-width: 580px) {
    .vertical-conveyor {
        max-width: 400px;
        height: 420px;
    }
    
    .vertical-row {
        width: 150px;
        gap: 8px;
    }
    
    .vertical-card {
        width: 150px;
    }
    
    .vertical-card .profile-card {
        padding: 0.7rem !important;
        min-height: 300px;
    }
    
    .vertical-card .profile-header .qr {
        width: 38px;
        height: 38px;
    }
    
    .offset-vertical {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .vertical-conveyor {
        max-width: 320px;
        height: 380px;
    }
    
    .vertical-row {
        width: 135px;
        gap: 6px;
    }
    
    .vertical-card {
        width: 135px;
    }
    
    .vertical-card .profile-card {
        padding: 0.6rem !important;
        min-height: 280px;
    }
    
    .vertical-card .profile-header .qr {
        width: 32px;
        height: 32px;
    }
    
    .vertical-card .profile-header h3 {
        font-size: 0.7rem;
    }
    
    .vertical-card .profile-header h1 {
        font-size: 0.65rem;
    }
    
    .vertical-card .profile-header p {
        font-size: 0.55rem;
    }
    
    .vertical-card .banks-profile img {
        width: 16px;
        height: 16px;
    }
    
    .offset-vertical {
        margin-top: 20px;
    }
}

/* ==================== SUCCESS STORIES SLIDER ==================== */
.success-stories {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.success-stories .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.stories-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.stories-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.stories-slider {
    flex: 1;
    overflow: hidden;
    border-radius: 24px;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
}

.story-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 97, 238, 0.1);
    box-sizing: border-box;
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 97, 238, 0.3);
}

.story-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    padding: 2px;
    background: white;
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
}

.story-name {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.story-profession {
    font-size: 0.8rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.story-text {
    margin: 1rem 0;
    line-height: 1.6;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.story-text p {
    margin: 0;
}

.story-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.story-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
    border-radius: 50px;
    margin-top: 1rem;
}

.result-icon {
    font-size: 1.2rem;
}

.story-result span:last-child {
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 0.85rem;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(67, 97, 238, 0.2);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.stories-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--color-primary);
}

.stories-cta {
    text-align: center;
    margin-top: 3rem;
}

.stories-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .story-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 3rem 0;
        border-radius: 1.5rem;
    }
    
    .success-stories .container {
        padding: 0 0.75rem;
    }
    
    .stories-slider-container {
        gap: 0.5rem;
    }
    
    .story-card {
        flex: 0 0 100%;
        padding: 1.5rem;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .story-avatar {
        width: 70px;
        height: 70px;
    }
    
    .avatar-badge {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stories-subtitle {
        font-size: 0.9rem;
    }
    
    .story-name {
        font-size: 1rem;
    }
    
    .story-text {
        font-size: 0.85rem;
    }
}

/* Статичные кнопки контактов для карусели (без ссылок) */
.contact-button-static {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    cursor: default;
    font-size: 0.7rem;
}

.contact-button-static .icon {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 7px;
    transition: all 0.3s ease;
}

.contact-button-static img {
    width: 10px;
    height: 10px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.contact-button-static span {
    flex: 1;
    margin: 0 0 0 0.2rem;
    text-align: left;
    color: black;
}