/**
 * About Page Styles (Про нас / Про Академію).
 * Figma: Desktop 355:8865, Mobile 355:10073.
 *
 * @package unique
 */

/* ==========================================================================
   Base & Common Tokens for About Page
   ========================================================================== */
.about-page-main {
	background: var(--Grey-light, #F6F6F6);
	overflow-x: hidden;
	position: relative;
}

.about-section-title-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.about-section-title {
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--black, #1F1F1F);
	margin: 0;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.about-section-title .tag-yellow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--yellow, #FDB913);
	color: var(--purple, #8F1575);
	padding: 8px 16px;
	border-radius: 40px;
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	transform: rotate(-3.14deg);
	box-shadow: 0 4px 12px rgba(253, 185, 19, 0.2);
	white-space: nowrap;
}

/* ==========================================================================
   1. Breadcrumbs & Hero Section
   ========================================================================== */
.about-hero-section {
	position: relative;
	padding-top: 24px;
	padding-bottom: 40px;
	width: 100%;
	box-sizing: border-box;
}

.about-hero-decor-left {
	position: absolute;
	left: -209px;
	top: 194px;
	width: 415px;
	height: 120px;
	background: rgba(219, 208, 235, 0.4);
	border-radius: 425px;
	transform: rotate(30.36deg);
	pointer-events: none;
	z-index: 0;
}

.about-hero-decor-sticker {
	position: absolute;
	right: -60px;
	top: 90px;
	width: 336px;
	height: 332px;
	pointer-events: none;
	z-index: 0;
}

.about-hero-decor-sticker img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.about-hero-container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about-hero-container .site-breadcrumbs {
	align-self: flex-start;
	margin-bottom: 32px;
}

.about-hero-content {
	max-width: 626px;
	width: 100%;
	margin: 0 auto 48px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.about-hero-title-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.about-hero-title {
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--black, #1F1F1F);
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.about-hero-title .tag-yellow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--yellow, #FDB913);
	color: var(--purple, #8F1575);
	padding: 8px 16px;
	border-radius: 40px;
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	transform: rotate(-3.14deg);
	box-shadow: 0 4px 12px rgba(253, 185, 19, 0.2);
}

.about-hero-text {
	display: flex;
	flex-direction: column;
	gap: 32px;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.5;
	color: var(--black, #1F1F1F);
	text-align: center;
}

.about-hero-p {
	margin: 0;
}

.about-hero-image-wrap {
	width: 100%;
	max-width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	background: #E8E8E8;
	margin: 0;
	padding: 0;
}

.about-hero-img {
	width: 100%;
	height: auto;
	max-height: 695px;
	object-fit: cover;
	display: block;
	border-radius: 16px;
}

/* ==========================================================================
   2. Mission & Vision Section
   ========================================================================== */
.about-mission-section {
	position: relative;
	padding: 80px 0;
	width: 100%;
	box-sizing: border-box;
}

.about-mission-decor {
	position: absolute;
	right: -100px;
	top: 40px;
	width: 380px;
	height: 380px;
	background-image: url('../assets/img/donut-purple.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.15;
	pointer-events: none;
	z-index: 0;
}

.about-mission-container {
	position: relative;
	z-index: 1;
}

.about-mission-grid {
	display: grid;
	grid-template-columns: 522px 1fr;
	gap: 40px;
	align-items: start;
}

.about-mission-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.about-mission-texts {
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.5;
	color: var(--black, #1F1F1F);
}

.about-mission-p {
	margin: 0;
}

.about-highlight-purple {
	color: var(--purple, #8F1575);
	font-weight: 700;
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	margin-right: 4px;
}

.about-mission-image-wrap {
	width: 100%;
	height: 487px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	background: #E8E8E8;
}

.about-mission-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   3. Values Section
   ========================================================================== */
.about-values-section {
	position: relative;
	padding: 80px 0;
	width: 100%;
	box-sizing: border-box;
}

.about-values-decor-left {
	position: absolute;
	left: -196px;
	top: 50%;
	transform: translateY(-50%);
	width: 414px;
	height: 414px;
	background-image: url('../assets/img/donut-purple.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.2;
	pointer-events: none;
	z-index: 0;
}

.about-values-decor-right {
	position: absolute;
	right: 0;
	top: 60%;
	width: 230px;
	height: 242px;
	background-image: url('../assets/img/decor-wave-pattern.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
}

.about-values-container {
	position: relative;
	z-index: 1;
}

.about-values-header {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	text-align: center;
}

.about-values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.about-value-card {
	background: #FFFFFF;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 196px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
}

.about-value-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.about-value-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.about-value-card-title {
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--purple, #8F1575);
	margin: 0;
}

.about-value-card-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-value-card-icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.about-value-card-desc {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.4;
	color: var(--black, #1F1F1F);
	margin: 0;
}

/* ==========================================================================
   4. What We Develop Section
   ========================================================================== */
.about-develop-section {
	position: relative;
	padding: 80px 0;
	width: 100%;
	box-sizing: border-box;
}

.about-develop-decor-right {
	position: absolute;
	right: -20px;
	top: 20px;
	width: 230px;
	height: 242px;
	background-image: url('../assets/img/decor-wave-pattern.svg');
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
	z-index: 0;
}

.about-develop-container {
	position: relative;
	z-index: 1;
}

.about-develop-header {
	margin-bottom: 40px;
}

.about-develop-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
}

.about-develop-card {
	background: #FFFFFF;
	border-radius: 16px;
	padding: 8px;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 200px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
}

.about-develop-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Row 1: 738px card + 521px card in 1280px container */
.about-develop-card--wide {
	flex: 1 1 calc(58% - 10px);
	min-width: 540px;
}

.about-develop-card--standard {
	flex: 1 1 calc(42% - 10px);
	min-width: 380px;
}

.about-develop-card--wide .about-develop-card-img-wrap {
	width: 297px;
	height: 184px;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
	background: #E8E8E8;
}

.about-develop-card--standard .about-develop-card-img-wrap {
	width: 190px;
	height: 184px;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
	background: #E8E8E8;
}

.about-develop-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.about-develop-card-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 8px 16px 8px 0;
	flex: 1;
}

.about-develop-card-title {
	font-family: var(--font-heading, 'Comfortaa', cursive, sans-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--purple, #8F1575);
	margin: 0;
}

.about-develop-card-desc {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.4;
	color: var(--black, #1F1F1F);
	margin: 0;
}

/* ==========================================================================
   5. How We Work Section
   ========================================================================== */
.about-work-section {
	position: relative;
	padding: 80px 0;
	width: 100%;
	box-sizing: border-box;
}

.about-work-decor-right {
	position: absolute;
	right: -40px;
	top: -20px;
	width: 255px;
	height: 370px;
	background-image: url('../assets/img/decor-faq-chevrons.svg');
	background-repeat: no-repeat;
	background-size: contain;
	transform: rotate(90deg);
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
}

.about-work-decor-left {
	position: absolute;
	left: -150px;
	bottom: -40px;
	width: 320px;
	height: 320px;
	background: rgba(219, 208, 235, 0.4);
	border-radius: 400px;
	transform: rotate(30deg);
	pointer-events: none;
	z-index: 0;
}

.about-work-container {
	position: relative;
	z-index: 1;
}

.about-work-grid {
	display: grid;
	grid-template-columns: 554px 1fr;
	gap: 40px;
	align-items: center;
}

.about-work-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.about-work-texts {
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.5;
	color: var(--black, #1F1F1F);
}

.about-work-p {
	margin: 0;
}

.about-work-image-wrap {
	width: 100%;
	height: 508px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	background: #E8E8E8;
}

.about-work-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   6. CTA Section on About Page
   ========================================================================== */
.about-cta-section {
	margin-bottom: 80px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media screen and (max-width: 1199px) {
	.about-mission-grid,
	.about-work-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.about-values-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}

	.about-develop-card--wide {
		flex: 1 1 100%;
		min-width: 0;
	}

	.about-develop-card--standard {
		flex: 1 1 100%;
		min-width: 0;
	}
}

@media screen and (max-width: 991px) {
	.about-mission-grid,
	.about-work-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.about-mission-image-wrap {
		height: 380px;
	}

	.about-work-image-wrap {
		height: 380px;
	}

	.about-values-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.about-values-header {
		text-align: left;
		justify-content: flex-start;
	}
}

@media screen and (max-width: 768px) {
	/* Section Paddings */
	.about-hero-section {
		padding-top: 16px;
		padding-bottom: 32px;
	}

	.about-mission-section,
	.about-values-section,
	.about-develop-section,
	.about-work-section {
		padding: 40px 0;
	}

	.about-cta-section {
		margin-bottom: 60px;
	}

	/* Titles on Mobile */
	.about-section-title,
	.about-hero-title {
		font-size: 24px;
		line-height: 1.4;
		gap: 8px;
	}

	.about-section-title .tag-yellow,
	.about-hero-title .tag-yellow {
		font-size: 24px;
		line-height: 1.4;
		padding: 6px 14px;
	}

	/* Hero Section Mobile */
	.about-hero-content {
		max-width: 100%;
		margin-bottom: 24px;
		gap: 20px;
	}

	.about-hero-text {
		gap: 16px;
		text-align: center;
	}

	.about-hero-decor-sticker {
		display: none;
	}

	.about-hero-image-wrap {
		width: 100%;
		max-width: 100%;
		height: 280px;
		border-radius: 16px;
		overflow: hidden;
	}

	.about-hero-img {
		height: 100%;
		width: 100%;
		object-fit: cover;
		border-radius: 16px;
	}

	/* Mission Section Mobile */
	.about-mission-grid {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.about-mission-content {
		gap: 20px;
	}

	.about-mission-texts {
		gap: 16px;
	}

	.about-mission-image-wrap {
		height: 232px;
		width: 100%;
	}

	/* Values Section Mobile */
	.about-values-header {
		margin-bottom: 24px;
	}

	.about-values-grid {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.about-value-card {
		padding: 24px;
		min-height: auto;
		gap: 16px;
	}

	.about-value-card-top {
		margin-bottom: 0;
	}

	.about-value-card-title {
		font-size: 18px;
	}

	.about-value-card-icon {
		width: 40px;
		height: 40px;
	}

	/* What We Develop Section Mobile */
	.about-develop-decor-right {
		right: -30px;
		top: 10px;
		width: 130px;
		height: 136px;
	}

	.about-develop-header {
		margin-bottom: 24px;
	}

	.about-develop-grid {
		display: flex;
		flex-direction: column;
		gap: 17px;
	}

	.about-develop-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 8px;
		gap: 16px;
		min-height: auto;
		width: 100%;
	}

	.about-develop-card--wide .about-develop-card-img-wrap,
	.about-develop-card--standard .about-develop-card-img-wrap {
		width: 100%;
		height: 220px;
		border-radius: 16px;
	}

	.about-develop-card-content {
		padding: 0 8px 8px;
		gap: 12px;
	}

	.about-develop-card-title {
		font-size: 18px;
	}

	/* How We Work Section Mobile */
	.about-work-decor-right {
		right: -40px;
		top: 10px;
		width: 160px;
		height: 230px;
		opacity: 0.25;
	}

	.about-work-decor-left {
		display: none;
	}

	.about-work-grid {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.about-work-content {
		gap: 20px;
	}

	.about-work-texts {
		gap: 16px;
	}

	.about-work-image-wrap {
		height: 240px;
		width: 100%;
	}
}
