/*
 * Artex production visual refinements.
 * Loaded after the original Portfex template styles.
 */

:root {
	--artex-blue: #01377B;
	--artex-blue-dark: #002E68;
	--artex-red: #E31E26;
	--artex-green: #1C3F39;
	--artex-border: #E5E7EB;
	--artex-text: #222222;
	--artex-muted: #555555;
}

.section-title {
	isolation: isolate;
	margin-bottom: 44px;
}

.section-title span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	line-height: 1.4;
	letter-spacing: 0;
}

.section-title span::before {
	position: static;
	content: '';
	order: 2;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	background: var(--artex-red);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(227, 30, 38, 0.12);
}

.section-title h2 {
	margin-top: 14px;
	margin-bottom: 0;
	font-size: 42px;
	line-height: 1.18;
	letter-spacing: 0;
}

.about-img {
	overflow: hidden;
	border-radius: 15px;
}

.about-img .ab_btn {
	left: 16px;
	right: auto;
	bottom: 16px;
	width: 108px;
	height: 108px;
	line-height: 108px;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.72);
	box-shadow: 0 18px 36px rgba(1, 55, 123, 0.18);
}

.about-img .ab_btn img {
	width: 15px;
	border-radius: 0;
}

.services {
	padding: 112px 0 96px;
	background: #ffffff;
	overflow: hidden;
}

.services .row {
	align-items: stretch;
}

.services .service-column {
	display: flex;
}

.service {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 360px;
	margin-bottom: 30px;
	padding: 48px 42px 38px;
	border-color: var(--artex-border);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 20px 42px rgba(1, 55, 123, 0.05);
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service:hover,
.service:focus-within {
	border-color: var(--artex-blue);
	background: var(--artex-blue);
	color: #ffffff;
	transform: translateY(-5px);
	box-shadow: 0 26px 52px rgba(1, 55, 123, 0.16);
}

.service .ser-icon {
	min-height: 60px;
	margin-bottom: 22px;
	font-size: 58px;
	line-height: 1;
	color: var(--artex-green);
}

.service .ser-icon i {
	color: var(--artex-green) !important;
}

.service:hover .ser-icon i,
.service:focus-within .ser-icon i {
	color: #ffffff !important;
}

.service h3 {
	margin-bottom: 18px;
	font-size: 28px;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--artex-text);
}

.service p {
	max-width: 92%;
	margin-bottom: 34px;
	color: var(--artex-muted);
	font-size: 17px;
	line-height: 1.72;
}

.service:hover h3,
.service:focus-within h3,
.service:hover p,
.service:focus-within p {
	color: #ffffff;
}

.service:hover p,
.service:focus-within p {
	opacity: 0.92;
}

.service a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	line-height: 1;
	margin-top: auto;
	background: var(--artex-blue);
}

.service:hover a,
.service:focus-within a {
	background: var(--artex-red);
}

.service a::before {
	width: 36px;
	height: 36px;
	top: 5px;
	left: 5px;
}

.service a svg {
	left: 48px;
	width: 58px;
}

.service a svg path {
	fill: var(--artex-green);
}

.service:hover a svg path,
.service:focus-within a svg path {
	fill: #ffffff;
}

.artex-portfolio {
	padding: 112px 0;
	background: #ffffff;
	overflow: hidden;
}

.artex-portfolio .section-title {
	max-width: 720px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.portfolio-showcase {
	align-items: stretch;
}

.project-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--artex-border);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 20px 44px rgba(1, 55, 123, 0.06);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.project-card:hover,
.project-card:focus-within {
	border-color: rgba(1, 55, 123, 0.35);
	box-shadow: 0 26px 56px rgba(1, 55, 123, 0.13);
	transform: translateY(-4px);
}

.project-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f3f4f6;
}

.project-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
	transition: transform 0.35s ease;
}

.project-card:hover .project-card__image img,
.project-card:focus-within .project-card__image img {
	transform: scale(1.04);
}

.project-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 30px 30px 28px;
}

.project-card span.cat {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 16px;
	color: var(--artex-muted);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.project-card h3 {
	margin-bottom: 24px;
	font-size: 26px;
	line-height: 1.18;
	letter-spacing: 0;
}

.project-card h3 a {
	color: var(--artex-text);
}

.project-card h3 a:hover,
.project-card h3 a:focus {
	color: var(--artex-blue);
}

.project-card__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin-top: auto;
	color: var(--artex-blue);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.project-card__link:hover,
.project-card__link:focus {
	color: var(--artex-red);
}

.about-page-banner {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.about-page-banner .container {
	position: relative;
	z-index: 2;
}

.about-page-banner .main_banner_content span,
.about-page-banner .main_banner_content h4 {
	color: #ffffff;
}

.about-page-banner .main_banner_content h4 {
	max-width: 780px;
}

.about-banner-stats {
	display: grid;
	gap: 14px;
	margin-top: 28px;
}

.about-banner-stat {
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.about-banner-stat strong {
	display: block;
	color: #ffffff;
	font-family: 'Rajdhani', sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 8px;
}

.about-banner-stat span {
	display: block;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	line-height: 1.5;
}

.about-rich {
	background: #ffffff;
}

.about-rich .about-img img,
.about-rich .about-img video {
	width: 100%;
	height: 620px;
	object-fit: cover;
}

.about-highlight-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.about-highlight {
	min-height: 150px;
	padding: 22px 20px;
	border: 1px solid var(--artex-border);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 38px rgba(1, 55, 123, 0.05);
}

.about-highlight i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 8px;
	background: rgba(1, 55, 123, 0.08);
	color: var(--artex-blue);
	font-size: 24px;
}

.about-highlight strong,
.about-highlight span {
	display: block;
}

.about-highlight strong {
	margin-bottom: 8px;
	color: var(--artex-text);
	font-family: 'Rajdhani', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
}

.about-highlight span {
	color: var(--artex-muted);
	font-size: 14px;
	line-height: 1.62;
}

.about-story {
	background: #f8f9fc;
	overflow: hidden;
}

.about-story-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	grid-template-rows: repeat(2, minmax(210px, 1fr));
	gap: 18px;
}

.about-story-grid__item {
	position: relative;
	min-height: 230px;
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #eef1f6;
	box-shadow: 0 18px 44px rgba(1, 55, 123, 0.08);
}

.about-story-grid__item:first-child {
	grid-row: span 2;
}

.about-story-grid__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.about-story-grid__item:hover img {
	transform: scale(1.04);
}

.about-story-grid__item figcaption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .92);
	color: var(--artex-text);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.about-story-content {
	padding-left: 34px;
}

.about-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--artex-text);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.about-kicker::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--artex-red);
	box-shadow: 0 0 0 5px rgba(227, 30, 38, 0.12);
}

.about-story-content h2 {
	margin-bottom: 18px;
	color: var(--artex-text);
	font-family: 'Rajdhani', sans-serif;
	font-size: 42px;
	font-weight: 600;
	line-height: 1.18;
}

.about-story-content p {
	margin-bottom: 24px;
	color: var(--artex-muted);
	font-size: 16px;
	line-height: 1.85;
}

.about-story-content ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-story-content li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid rgba(1, 55, 123, .12);
	border-radius: 8px;
	background: #ffffff;
	color: #333333;
	line-height: 1.45;
}

.about-story-content li i {
	color: var(--artex-blue);
	font-size: 13px;
}

.about-services {
	background: #ffffff;
}

.about-services .service {
	padding-top: 0;
	overflow: hidden;
}

.service__media {
	aspect-ratio: 16 / 10;
	margin: 0 -42px 30px;
	overflow: hidden;
	background: #f3f4f6;
}

.service__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.service:hover .service__media img,
.service:focus-within .service__media img {
	transform: scale(1.04);
}

.about-principles {
	background: #f8f9fc;
}

.about-principle {
	height: 100%;
	min-height: 270px;
	padding: 34px 26px;
	border: 1px solid var(--artex-border);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(1, 55, 123, .05);
}

.about-principle i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 22px;
	border-radius: 10px;
	background: var(--artex-blue);
	color: #ffffff;
	font-size: 30px;
}

.about-principle h3,
.about-process-step h3 {
	margin-bottom: 12px;
	color: var(--artex-text);
	font-family: 'Rajdhani', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
}

.about-principle p,
.about-process-step p {
	margin-bottom: 0;
	color: var(--artex-muted);
	font-size: 16px;
	line-height: 1.75;
}

.about-counter-band {
	position: relative;
	background: var(--artex-blue);
	overflow: hidden;
}

.about-counter-band::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: var(--artex-red);
}

.about-counter-band .single-counter h4,
.about-counter-band .single-counter span,
.about-counter-band .single-counter p {
	color: #ffffff;
}

.about-process {
	background: #ffffff;
}

.about-process-step {
	height: 100%;
	min-height: 230px;
	padding: 32px 24px;
	border: 1px solid rgba(1, 55, 123, .12);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(1, 55, 123, .05);
}

.about-process-step span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--artex-blue);
	color: #ffffff;
	font-family: 'Rajdhani', sans-serif;
	font-size: 22px;
	font-weight: 700;
}

.about-final-cta {
	padding: 96px 0;
	background-size: cover;
	background-position: center;
	text-align: center;
}

.about-final-cta__inner {
	max-width: 880px;
	margin: 0 auto;
}

.about-final-cta__inner span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: rgba(255, 255, 255, .84);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.about-final-cta__inner h2 {
	margin-bottom: 18px;
	color: #ffffff;
	font-family: 'Rajdhani', sans-serif;
	font-size: 42px;
	font-weight: 600;
	line-height: 1.2;
}

.about-final-cta__inner p {
	max-width: 680px;
	margin: 0 auto 30px;
	color: rgba(255, 255, 255, .78);
	font-size: 16px;
	line-height: 1.85;
}

.about-final-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 8px 34px;
	border: 1px solid #ffffff;
	border-radius: 5px;
	background: #ffffff;
	color: var(--artex-blue);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.about-final-cta__button:hover,
.about-final-cta__button:focus {
	border-color: var(--artex-red);
	background: var(--artex-red);
	color: #ffffff;
}

@media only screen and (max-width: 1199px) {
	.about-img .ab_btn {
		left: 16px;
		right: auto;
		bottom: 16px;
	}

	.service {
		padding-right: 32px;
		padding-left: 32px;
	}

	.service__media {
		margin-right: -32px;
		margin-left: -32px;
	}

	.about-highlight-grid {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 991px) {
	.section-title h2 {
		font-size: 36px;
		line-height: 1.22;
	}

	.services {
		padding: 92px 0 70px;
	}

	.artex-portfolio {
		padding: 92px 0;
	}

	.about-page-banner {
		min-height: 460px;
	}

	.about-rich .about-img {
		margin-bottom: 36px;
	}

	.about-rich .about-img img {
		height: 480px;
	}

	.about-story-grid {
		margin-bottom: 36px;
	}

	.about-story-content {
		padding-left: 0;
	}

	.about-story-content h2,
	.about-final-cta__inner h2 {
		font-size: 36px;
	}
}

@media only screen and (max-width: 767px) {
	.section-title {
		margin-bottom: 34px;
	}

	.section-title h2 {
		font-size: 31px;
		line-height: 1.24;
	}

	.about-img .ab_btn {
		width: 92px;
		height: 92px;
		line-height: 92px;
		font-size: 16px;
	}

	.service {
		min-height: 0;
		padding: 34px 28px 30px;
	}

	.service p {
		max-width: none;
	}

	.artex-portfolio {
		padding: 82px 0;
	}

	.project-card__content {
		padding: 26px 24px 24px;
	}

	.project-card h3 {
		font-size: 24px;
	}

	.about-page-banner {
		min-height: 420px;
	}

	.about-banner-stat {
		padding: 16px 18px;
	}

	.about-rich .about-img img {
		height: 380px;
	}

	.about-highlight-grid,
	.about-story-content ul {
		grid-template-columns: 1fr;
	}

	.about-story-grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.about-story-grid__item,
	.about-story-grid__item:first-child {
		grid-row: auto;
		min-height: 260px;
	}

	.about-story-content h2,
	.about-final-cta__inner h2 {
		font-size: 31px;
	}

	.about-final-cta {
		padding: 74px 0;
	}

	.service__media {
		margin-right: -28px;
		margin-left: -28px;
	}
}
