.flex{
	display: flex;
	gap: 30px;
}
.flex-a{
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.flex-b{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.flex-c{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
}

/* =============== SECTION-2 =============== */
.section-2,
.section-3{
	margin-bottom: 0;
}
.section-2 .areas-activity{
	padding: 100px 0;
	background: url(../img/bg-2.webp) no-repeat center;
	background-size: cover;
}
.section-2-content{
/*	border: 2px solid #F47734;*/
	border-radius: 20px;
	padding: 30px;
	background: rgba(255,255,255,0.5);
	margin-bottom: 40px;
	max-width: 600px;
}

.section-2-content .name b{
	color: #F47734;
}



.section-2 .btn-fin{
	border: 2px solid #F47734;
	padding: 24px !important;
	width: 330px;
}
.btn-fin span{
	margin: auto;
}

/* =============== SECTION-3 =============== */
.section-3{
	padding: 50px 0;
}
.section-3-item{
	align-items: flex-start;
	gap: 18px;
}
.section-3-item h2{
	font-size: 20px;
	margin-bottom: 0;
	font-weight: 600;	
}

/* =============== SECTION-4 =============== */
.section-4{
	background: #e2e2e2;
	margin-bottom: 0;
	padding: 80px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.employee-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 166/256;
    position: relative;
}

.employee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.employee-photo {
    width: 100%;
    height: 72%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.employee-info {
    padding: 15px;
    height: 27%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.employee-name {
	text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.employee-position {
    font-size: 14px;
    color: #666;
}
.section-4 .openModalBtn{
    border: 2px solid #F47734;
    border-radius: 20px;
    padding: 20px 30px !important;
    transition: 0.3s ease;
    width: auto;
}
.employee-card:hover .openModalBtn{
	background-color: #F47734;
	color: #fff;
	border: 2px solid transparent;
	box-shadow: 0 0 25px #F47734;
}



/* Адаптивность */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    
    .employee-card {
        aspect-ratio: 166/256;
    }
}

@media (max-width: 480px) {
    
    .gallery {
        gap: 10px;
    }
    
    .employee-info {
        padding: 10px;
    }
    
    .employee-name {
    	margin: 10px;
        font-size: 16px;
    }
    
    .employee-position {
        font-size: 13px;
    }
}

/* =============== SECTION-5 =============== */
.section-5{
	margin-bottom: 0;
	padding: 80px 0;
}

.section-5-content{
	flex-wrap: wrap;
	gap: 20px;
}
.section-5-item{
	align-items: flex-start;
	max-width: 575px;
	border-radius: 20px;
    padding: 20px;
    background: #eeebeb;
}
.section-5 .name{
	margin-bottom: 70px;
}
.section-5 h3{
	font-size: 17px;
}
.section-5-item p{
	margin-bottom: 0;
}

/* =============== SECTION-6 =============== */
.section-6{
	background: url(../img/bg-6.webp) no-repeat center fixed;
	background-size: cover;
	margin-bottom: 0;
	padding: 80px 0;
}
.section-6-box{
	flex-wrap: wrap;
}
.section-6-item{
	max-width: 350px;
	background: #fff;
	padding: 20px;
	border-radius: 20px;
	position: relative;
}

.section-6 .title{
	color: #fff;
}
.section-6-item h3{
	color: #F47734;
    opacity: 0.34;
    font-size: 150px;
	position: absolute;
	right: 4%;
	bottom: -33px;
}

.section-6-item h4{
	margin-bottom: 24px;
}

/* =============== SECTION-7 =============== */
.section-7{
	background: #efeef3;
	margin-bottom: 0;
	padding: 80px 0;
}
.section-7 .container{
	align-items: center;
	flex-wrap: wrap;
	border-radius: 20px;
	border: 2px solid #F47734;
}
.section-7-left{
	max-width: 500px;
	padding: 24px;
}
.section-7-right{
	max-width: 670px;
	padding: 24px;
}

.section-7 .b24-form-wrapper.b24-form-border-bottom {
    padding: 20px;
    border-radius: 20px;
}



/* Стили модального окна */
.modal-2 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content-2 {
    background-color: #fff;
    margin: 80px auto 20px;
    padding: 24px;
    border-radius: 8px;
    width: 95%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #333;
}
/* Анимация появления */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}


.b24-form-padding-side {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#contacts iframe{
	width: 100%;
	height: 100%;
}

/* ==================== FOOTER ==================== */
.footer .link-finance{
	color: #fff; 
	display: block; 
	text-align: center;
}
.footer .link-finance:hover{
	color: orange;
}



/* ==================== MEDIA ==================== */
@media(max-width: 1200px){
	.section-3 .container {
		flex-wrap: wrap;
		gap: 20px;
		padding-left: 50px;
	}

}

@media(max-width: 768px){
    .section-6-item {
        max-width: 100%;
    }
}


@media(max-width: 550px){
	.section-2 .areas-activity{
		padding: 50px 0;
	}
	.section-2 .areas-activity .title{
		font-size: 18px;
	}
	.section-2 .areas-activity .name{
		font-size: 17px;
	}
	.btn-fin{
		margin: auto;
	}
	.section-7{
		padding-left: 10px;
		padding-right: 10px;
	}
	.section-7 .container{
		gap:0;
	}
	.section-7-left,
	.section-7-right{
		padding: 24px 0;
	}
	.section-7-left h2,
	.section-7-left p{
		text-align: center;
	}
}

@media(max-width: 440px){
	.section-5-item h4{
		font-size: 17px;
	}
	.section-5-item p{
		font-size: 14px;
	}	
}



@media(max-width: 360px){
	.btn-fin{
		width: 95%;
	}

}




