/* ==========================================================================
   Probit About Block
   ========================================================================== */

.about {
	background: #ffffff;
	padding-top: 64px;
	padding-bottom: 64px;
}

.about .container {
	max-width: var(--container-wide);
}

.about__shell {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(15, 27, 45, 0.1);
	background: var(--color-white);
	min-width: 0;
}

/* Left — company info */
.about__left {
	position: relative;
	padding: 40px 40px;
	background:
		radial-gradient(circle at 100% 100%, rgba(59, 111, 255, 0.12) 0%, transparent 42%),
		linear-gradient(135deg, #0f1b2d 0%, #1a2f4a 100%);
	color: rgba(255, 255, 255, 0.88);
	min-width: 0;
	overflow-wrap: break-word;
}

.about__left::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 180px;
	height: 180px;
	background:
		repeating-linear-gradient(
			-35deg,
			transparent,
			transparent 8px,
			rgba(96, 165, 250, 0.08) 8px,
			rgba(96, 165, 250, 0.08) 10px
		);
	opacity: 0.8;
	pointer-events: none;
}

.about__left > * {
	position: relative;
	z-index: 1;
}

.about__left .section-eyebrow {
	color: #60a5fa;
	margin-bottom: 14px;
}

.about__title {
	margin: 0 0 14px;
	font-size: clamp(1.5rem, 2.2vw, 1.875rem);
	line-height: 1.2;
	color: var(--color-white);
}

.about__desc {
	margin: 0 0 20px;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
	max-width: 520px;
	overflow-wrap: break-word;
}

.about__features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.about__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 6px 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	overflow-wrap: break-word;
}

.about__feature > span:last-child {
	flex: 1;
	min-width: 0;
}

.about__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--color-white);
	flex-shrink: 0;
}

.about__btn {
	margin-top: 4px;
}

/* Right — team */
.about__right {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 32px;
	background: #f3f5f8;
	min-width: 0;
}

.about-team {
	width: 100%;
	max-width: 480px;
	text-align: center;
}

.about-team__header {
	margin-bottom: 20px;
}

.about-team__header .section-eyebrow {
	display: block;
	margin-bottom: 10px;
}

.about-team__title {
	margin: 0 0 10px;
	font-size: clamp(1.35rem, 2vw, 1.625rem);
	line-height: 1.25;
	color: var(--color-navy);
	overflow-wrap: break-word;
}

.about-team__title::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	margin: 10px auto 0;
	border-radius: 999px;
	background: var(--color-primary);
}

.about-team__slider {
	position: relative;
}

.about-team__slider--active {
	padding: 0 40px 24px;
}

.about-team__viewport {
	overflow: hidden;
	width: 100%;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.about-team__viewport.is-dragging {
	cursor: grabbing;
}

.about-team__track {
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

.about-team__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0 4px;
}

.about-team__photo-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.about-team__photo,
.about-team__avatar {
	width: 136px;
	height: 136px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 12px 32px rgba(15, 27, 45, 0.12);
}

.about-team__avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #dbeafe, #93c5fd);
	color: #1e3a8a;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.about-team__name {
	margin: 0 0 6px;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-navy);
}

.about-team__role {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-primary);
}

.about-team__arrow {
	position: absolute;
	top: 56px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--color-white);
	color: #64748b;
	box-shadow: 0 4px 14px rgba(15, 27, 45, 0.1);
	cursor: pointer;
	transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.about-team__arrow--prev {
	left: 0;
}

.about-team__arrow--next {
	right: 0;
}

.about-team__arrow:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.about-team__arrow:disabled,
.about-team__arrow[hidden] {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

.about-team__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.about-team__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(15, 27, 45, 0.18);
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.about-team__dot.is-active {
	background: var(--color-primary);
	transform: scale(1.15);
}

@media (max-width: 1024px) {
	.about__shell {
		grid-template-columns: 1fr;
	}

	.about__left {
		padding: 36px 28px;
	}

	.about__right {
		padding: 32px 24px 36px;
	}
}

@media (max-width: 768px) {
	.about {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.about .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.about__left,
	.about__right {
		padding: 24px 18px;
	}

	.about__title {
		font-size: 1.35rem;
		line-height: 1.3;
	}

	.about__desc {
		font-size: 0.8125rem;
		line-height: 1.6;
		margin-bottom: 16px;
		max-width: none;
	}

	.about__feature {
		font-size: 0.8125rem;
	}

	.about__btn.btn {
		white-space: normal;
		text-align: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
	}

	.about-team__header {
		margin-bottom: 16px;
		padding: 0 4px;
	}

	.about-team__title {
		font-size: 1.2rem;
		line-height: 1.35;
	}

	.about-team__slider--active {
		padding: 0 0 20px;
	}

	.about-team__photo,
	.about-team__avatar {
		width: 108px;
		height: 108px;
	}

	.about-team__name {
		font-size: 1rem;
	}

	.about-team__role {
		font-size: 0.875rem;
	}

	.about-team__arrow {
		display: none;
	}
}

@media (max-width: 480px) {
	.about__left,
	.about__right {
		padding: 20px 16px;
	}

	.about__title {
		font-size: 1.2rem;
	}

	.about-team__title {
		font-size: 1.1rem;
	}

	.about-team__slider--active {
		padding: 0 0 18px;
	}
}
