 /* === Мобильная форма заявки === */
 .mobile-application-form {
    display: none;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}
 
.mobile-application-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #232323;
    margin: 0 0 20px 0;
    text-align: center;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #232323;
}

.application-form .button-black {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
}

.form-agreement {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.form-agreement a {
    color: #232323;
    text-decoration: underline;
}

.form-agreement a:hover {
    text-decoration: none;
} 
@media (max-width: 900px) {
    .mobile-application-form {
        display: block;
        margin-top: 20px;
    }
}

/*  Block2 How it works  */


.step-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.step-block {
    flex: 1;
    min-width: 250px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.step-block-list .step-content{
    text-align: left;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-content {
    text-align: center;
}

.step-title {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 18px;
}

.step-description {
    color: #555;
    font-size: 16px;
}

.step-button {
    background: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
    width: 100%;
    max-width: 250px;
}

.step-button:hover {
    background: #555;
}

.step-list-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.step-list {
    padding-left: 20px;
    margin: 0;
    list-style-type: none;
}

.step-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    font-size: 16px;
}

.step-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}


/* Мобильная версия */
/* Мобильная версия */
@media (max-width: 768px) {
    .step-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-block {
        display: flex;
        align-items: flex-start;
        padding: 15px;
        position: relative;
        min-width: 100%;
    }
    
    /* Блоки с кнопками (1 и 2) */
    .step-block-button {
        align-items: flex-start;
    }
    
    .step-block-button .step-content {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .step-block-button .step-button {
        margin-top: 10px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        padding: 0;
    }
    
    /* Блоки с описанием (3 и 4) */
    .step-block-expandable {
        align-items: flex-start;
    }
    
    .step-block-expandable::after {
        display: none; /* Убираем иконку +/- */
    }
    
    .step-number {
        margin: 0 15px 0 0;
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        font-size: 20px;
    }
    
    .step-content {
        text-align: left;
        flex-grow: 1;
        padding-right: 0;
    }
    
    .step-title {
        margin-bottom: 0;
        margin-top: 0;
        font-size: 20px;
    }
    
    .step-description {
        margin-top: 10px;
    }
    
    .step-button {
        max-width: 100%;
    }
    
    .step-block-list {
        display: none;
    }
}

/* Десктопная версия */
@media (min-width: 769px) {
    .step-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-block-button .step-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .step-block-button .step-button {
        margin-top: 15px;
    }
    
    .step-content {
        width: 100%;
    }
      
    .step-title {
        margin-bottom: 10px;
    }
    
    .step-description {
        margin-top: 10px;
    }
    
    .step-block-list {
        display: block;
        text-align: left;
    }
    
    .step-block-expandable::after {
        display: none;
    }
}
/*  Block2 How it works  */

/*  Block4 Video */
.video-block{
    padding-top: 0px;
}
.video iframe{
    height: 600px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .video iframe{
        height: 400px;
    }
}
@media (max-width: 658px) {
    .video iframe{
        height: 300px;
    }
}
/*  Block4 Video */

