/* Секция "Превратите долг в возможности" */
.debt-opportunity-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4285f4 0%, #1e40af 100%);
    border-radius: 32px;
    margin: 80px 20px;
    position: relative;
    overflow: hidden;
}

.debt-opportunity-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.debt-opportunity-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.debt-opportunity-content {
    flex: 2;
    max-width: 60%;
}

@media(max-width: 1600px) {
    .debt-opportunity-content {
        flex: 1;
        max-width: 600px;
    }
    .debt-opportunity-title {
        font-size: 50px !important;
    }
    .debt-opportunity-subtitle {
        font-size: 20px !important;
    }
}

.debt-opportunity-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

.debt-opportunity-subtitle {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.debt-opportunity-btn {
    background: linear-gradient(90deg, #d10e0e 0%, #680707 50%, white 50%, white 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #1e40af;
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.debt-opportunity-btn:hover {
    background-position: 0% 0;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(196, 181, 253, 0.4);
}

.debt-opportunity-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    height: 400px;
}

.debt-opportunity-image img {
    width: 120%;
    height: 200%;
}

.debt-opportunity-percent-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

/* Декоративные элементы */
.debt-opportunity-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.debt-opportunity-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .debt-opportunity-section {
        margin: 60px 15px;
        padding: 60px 0;
    }

    .debt-opportunity-container {
        padding: 0 30px;
    }

    .debt-opportunity-image img {
        max-width: 80%;
        position: absolute;
        top: -30px;
        left: 340px;
        z-index: -1;
    }

    .debt-opportunity-content {
        max-width: 100%;
    }

    .debt-opportunity-wrapper {
        gap: 40px;
        flex-direction: column;
    }

    .debt-opportunity-title {
        font-size: 40px;
    }

    .debt-opportunity-image {
        max-width: 400px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .debt-opportunity-section {
        margin: 40px 10px;
        padding: 80px 0;
        border-radius: 24px;
    }

    .debt-opportunity-container {
        padding: 0 20px;
    }

    .debt-opportunity-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .debt-opportunity-content {
        max-width: 100%;
    }

    .debt-opportunity-title {
        font-size: 32px !important;
        margin-bottom: 20px;
    }

    .debt-opportunity-subtitle {
        font-size: 16px !important;
        margin-bottom: 30px;
    }
    
    .debt-opportunity-image img {
        max-width: 100%;
        top: 0px;
        left: 270px;
    }

    .debt-opportunity-image {
        max-width: 100%;
        height: 250px;
    }

}

@media (max-width: 768px) {
    .debt-opportunity-image img {
        top: 0px;
        left: -140px;
    }
}

@media (max-width: 480px) {
    .debt-opportunity-section {
        margin: 30px 5px;
        padding: 30px 0;
        border-radius: 20px;
    }

    .debt-opportunity-container {
        padding: 0 15px;
    }

    .debt-opportunity-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .debt-opportunity-subtitle {
        font-size: 15px;
    }

    .debt-opportunity-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .debt-opportunity-image {
        height: 200px;
    }

}