/* ============================================================
   TEAM
   ============================================================ */
.team {
    background-image: url('/wp-content/uploads/2026/05/biznes-uslugi.png'); 
	padding: 150px 0;
	overflow:hidden;
}

.team__head {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	text-align: center;
	margin-bottom: 50px;
	max-width: 782px;
	margin-left: auto;
	margin-right: auto;
}

.team__title {
	font-size: var(--h2-size);
	line-height: var(--h2-line-height);
	font-weight: var(--h2-weight);
	color: var(--dark);
}

.team__subtitle {
	font-size: var(--text-size);
	line-height: var(--text-line-height);
	color: var(--dark);
}

/* ============================================================
   Верхний блок: описание слева + фичи справа
   ============================================================ */
.team__body {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.team__top {
	display: flex;
	flex-direction: row;
	gap: 60px;
	align-items: flex-start;
}

.team__desc {
	flex: 0 0 50%;
	max-width: 780px;
	font-size: var(--text-size);
	line-height: var(--text-line-height);
	color: var(--dark);
}

.team__features {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 40px;
}

.team__feature {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: flex-start;
}

.team__feature-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	margin-top: 2px;
}

.team__feature-icon svg {
	width: 28px;
	height: 28px;
}

.team__feature-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.team__feature-title {
	font-size: var(--text-size);
	font-weight: 400;
	line-height: var(--text-line-height);
	color: var(--dark);
}

.team__feature-text {
	font-size: 16px;
	line-height: 130%;
	color: var(--dark);
}

/* ============================================================
   Нижний блок: стрелки + карусель
   ============================================================ */
.team__nav {
	display: flex;
	flex-direction: row;
	gap: 12px;
	justify-content: flex-end;
	margin-bottom: 20px;
}

.team-nav-prev,
.team-nav-next {
	width: 60px;
	height: 60px;
    border-radius:50%;
	border: none;

	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;

	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.team-nav-prev:hover,
.team-nav-next:hover {
 opacity:0.75px;
}

.team-swiper {
	overflow: visible !important;
}

.team-swiper .swiper-slide {
	width: 380px;
	flex-shrink: 0;
}

/* Card */
.team__card {
	background: var(--white);
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	box-shadow: var(--shadow-card);
}

.team__card-photo {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: 20px;
	display: block;
}

.team__card-photo--empty {
	width: 100%;
	height: 340px;
	background: #d9d9d9;
	border-radius: 20px;
}

.team__card-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	width: 100%;
}

.team__card-name {
	font-size: 32px;
	line-height: 110%;
	font-weight: 700;
	color: var(--dark);
	text-align: center;
}

.team__card-meta {
	display: flex;
	flex-direction: row;
	gap: 8px;
	align-items: center;
}

.team__card-meta-label {
	font-size: var(--text-size);
	color: var(--dark);
}

.team__card-badge {
	background: var(--main);
	color: var(--white);
	border-radius: 5px;
	padding: 5px 10px;
	font-size: var(--text-size);
	font-weight: 400;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
  @media (max-width: 1440px) {
  .team__desc {flex: 0 0 40%;} 
   
}
 
   

   
@media (max-width: 1100px) {
	.team__top { flex-direction: column; gap: 30px; }
	.team__desc { flex: none; max-width: 100%; }
}

@media (max-width: 768px) {
	.team { padding: 60px 0; }
	.team__features { grid-template-columns: 1fr; }
	.team-swiper .swiper-slide { width: 280px; }
	.team__card-photo,
	.team__card-photo--empty { height: 240px; }
	.team__card-name { font-size: 24px; }
	.team-nav-prev,
	.team-nav-next { width: 48px; height: 48px; }
}