/*!
 * Enzo — home styles (conditionally enqueued)
 * Selectors preserved from main.css.
 */

.home-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(48px, 7vw, 96px);
	align-items: center;
}

.home-hero__content {
	max-width: 650px;
}

.home-hero-slider__viewport {
	position: relative;
	overflow: hidden;
}

.home-hero-slider__track {
	position: relative;
	display: grid;
	grid-template-areas: "hero-slide";
}

.home-hero-slider__slide {
	grid-area: hero-slide;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 520px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 0;
	transition: opacity 0.55s ease, visibility 0.55s ease;
}

.home-hero-slider__slide.is-visible {
	visibility: visible;
}

.home-hero-slider__slide.is-visible.is-shown {
	opacity: 1;
}

.home-hero-slider__slide.is-active {
	pointer-events: auto;
}

/* First slide paints before JS: server-side is-active + is-visible + is-shown. */
.home-hero-slider__slide.is-active.is-visible.is-shown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.home-hero-slider__controls {
	position: absolute;
	left: auto;
	right: max(24px, calc((100% - var(--enzo-container)) / 2 + 24px));
	bottom: 32px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin: 0;
	padding: 8px 10px 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(28, 34, 42, 0.88);
	transform: none;
	pointer-events: none;
}

.home-hero-slider__status,
.home-hero-slider__nav,
.home-hero-slider__arrow,
.home-hero-slider__dots,
.home-hero-slider__dot {
	pointer-events: auto;
}

.home-hero-slider__status {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.home-hero-slider__counter {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	margin: 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1;
	white-space: nowrap;
}

.home-hero-slider__counter-current {
	color: var(--white);
}

.home-hero-slider__counter-separator {
	opacity: 0.7;
}

.home-hero-slider__nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.home-hero-slider__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-hero-slider__arrow svg {
	display: block;
	width: 16px;
	height: 16px;
}

.home-hero-slider__arrow:hover,
.home-hero-slider__arrow:focus-visible {
	border-color: var(--primary);
	background: var(--primary);
	color: var(--white);
	outline: none;
	box-shadow: none;
	transform: none;
}

.home-hero-slider__arrow:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.home-hero-slider__dots {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	min-width: 0;
	max-width: none;
}

.home-hero-slider__dot {
	position: relative;
	flex: 0 0 auto;
	width: 28px;
	height: 2px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	overflow: hidden;
	transition: background-color 0.25s ease;
}

.home-hero-slider__dot:hover,
.home-hero-slider__dot:focus-visible {
	background: rgba(255, 255, 255, 0.55);
	outline: none;
}

.home-hero-slider__dot:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 3px;
}

.home-hero-slider__dot.is-active {
	width: 28px;
	background: var(--primary);
}

.home-hero-slider__dot-progress {
	display: none;
}

.home-hero-slider__dot.is-active .home-hero-slider__dot-progress {
	animation: none;
}

.home-hero-slider__slide--gradient {
	background: linear-gradient(135deg, var(--hero-gradient-1, var(--enzo-dark)) 0%, var(--hero-bg, #24272B) 58%, var(--hero-gradient-2, #24272B) 100%);
}

.home-hero-slider__slide--split {
	background: linear-gradient(135deg, var(--hero-gradient-1, var(--enzo-dark)) 0%, var(--hero-bg, #24272B) 58%, var(--hero-gradient-2, #24272B) 100%);
}

.home-hero-slider__slide--split .container.home-hero__grid {
	grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.home-hero-slider__slide h2 {
	max-width: 650px;
	margin: 0;
	font-size: clamp(40px, 4vw, 54px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.home-hero-slider__slide--split .hero-showcase__image {
	min-height: 340px;
	aspect-ratio: 4 / 5;
}

.home-hero-slider__slide--split .hero-showcase__image img,
.home-hero-slider__slide--split .hero-showcase__image picture {
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero-slider__slide--split .hero-showcase__image img {
	object-fit: contain;
	object-position: center center;
}

.home-hero-slider__slide .home-hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.home-hero-slider__slide .home-hero__background picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero-slider__slide .home-hero__background-image,
.home-hero-slider__slide .home-hero__background img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.home-hero-slider__slide--image .home-hero__background-image,
.home-hero-slider__slide--image .home-hero__background img {
	object-position: center center;
}

.home-hero-slider__slide .home-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: var(--hero-overlay-color, #000);
	opacity: var(--hero-overlay-opacity, 0);
	pointer-events: none;
}

.home-hero-slider__slide.home-hero--text-dark {
	color: var(--dark);
}

.home-hero-slider__slide.home-hero--text-dark .lead,
.home-hero-slider__slide.home-hero--text-dark .lead p {
	color: rgba(21, 21, 21, 0.78);
}

.home-hero-slider__slide.home-hero--text-dark .hero-actions .button--light {
	background: var(--white);
	border-color: var(--border);
	color: var(--dark);
}

@media (prefers-reduced-motion: reduce) {
.home-hero-slider__slide {
		transition: none;
	}
.home-hero-slider__arrow,
	.home-hero-slider__dot {
		transition: none;
	}
.home-hero-slider__dot-progress {
		animation: none !important;
	}
}

@media (max-width: 960px) {
.home-hero__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
.home-hero-slider__slide--split .container.home-hero__grid {
		grid-template-columns: 1fr;
	}
.home-hero.home-hero-slider .home-hero-slider__slide .container.home-hero__grid {
		padding-top: clamp(44px, 5vw, 64px);
		padding-bottom: clamp(20px, 3vw, 32px);
	}
.home-hero-slider__slide {
		min-height: 460px;
	}
.home-hero-slider__slide--split .hero-showcase__image {
		min-height: 280px;
		aspect-ratio: 1 / 1;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image {
		min-height: clamp(480px, 70vw, 560px);
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background-image,
	.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background img {
		object-position: center center;
	}
.home-hero {
		padding-top: calc(clamp(72px, 8vw, 110px) - 5px);
	}
.home-hero h1 {
		font-size: 41px;
		line-height: 1.05;
		letter-spacing: -0.03em;
	}
.home-hero h2,
.home-hero-slider__slide h2 {
		font-size: 41px;
		line-height: 1.05;
		letter-spacing: -0.03em;
	}
.home-hero-slider__controls {
		bottom: 20px;
		gap: 12px;
		padding: 7px 8px 7px 12px;
	}
.home-hero-slider__status {
		gap: 10px;
	}
.home-hero-slider__arrow {
		width: 36px;
		height: 36px;
	}
.home-hero-slider__dot {
		width: 22px;
	}
.home-hero-slider__dot.is-active {
		width: 22px;
	}
.home-hero .lead {
		font-size: 17px;
		margin-top: 14px;
	}
.home-hero .hero-actions {
		margin-top: 22px;
	}
}

@media (max-width: 640px) {
.home-hero {
		padding: 51px 0 64px;
	}
.home-hero.home-hero-slider .home-hero-slider__slide .container.home-hero__grid {
		padding-top: 40px;
		padding-bottom: 44px;
		gap: 24px;
	}
.home-hero-slider__slide {
		min-height: 500px;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		min-height: 700px;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .container.home-hero__grid {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		align-content: start;
		min-height: auto;
		padding-top: 24px;
		padding-bottom: 32px;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__content {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		width: 100%;
		max-width: 340px;
		margin-top: 0;
		transform: none;
		text-align: center;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .eyebrow {
		margin: 0;
		text-align: center;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image h1,
	.home-hero.home-hero-slider .home-hero-slider__slide--image h2 {
		margin: 0;
		max-width: 100%;
		font-size: 28px;
		line-height: 1.08;
		text-align: center;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .lead {
		margin-top: 6px;
		max-width: 100%;
		font-size: 15px;
		line-height: 1.45;
		text-align: center;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .lead p {
		margin: 0;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .hero-actions {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 8px;
		width: 100%;
		max-width: 340px;
		margin-top: 12px;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .hero-actions .button {
		flex: 1 1 0;
		min-height: 46px;
		padding: 11px 12px;
		font-size: 14px;
	}
.home-hero-slider__slide--split .hero-showcase__image {
		min-height: 260px;
	}
.home-hero h1 {
		font-size: 33px;
		line-height: 1.05;
		letter-spacing: -0.03em;
	}
.home-hero h2,
.home-hero-slider__slide h2 {
		font-size: 33px;
		line-height: 1.05;
		letter-spacing: -0.03em;
	}
.home-hero.home-hero-slider .home-hero-slider__controls {
		right: max(16px, calc((100% - var(--enzo-container)) / 2 + 16px), env(safe-area-inset-right, 0px));
		left: auto;
		bottom: 16px;
		max-width: calc(100% - 32px);
	}
.home-hero-slider__controls {
		gap: 10px;
		padding: 7px 8px 7px 12px;
	}
.home-hero-slider__counter {
		font-size: 11.5px;
	}
.home-hero-slider__arrow {
		width: 36px;
		height: 36px;
	}
.home-hero-slider__dot.is-active {
		width: 18px;
	}
.home-hero-slider__dot {
		width: 18px;
		height: 2px;
	}
.home-hero .lead {
		font-size: 16px;
		line-height: 1.75;
		margin-top: 14px;
	}
.home-hero .hero-actions {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
		margin-top: 20px;
	}
.home-hero .hero-actions .button {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		min-height: 46px;
		padding: 11px 14px;
		font-size: 14px;
	}
}

@media (max-width: 768px) {
.home-hero.home-hero-slider .home-hero-slider__slide--image {
		min-height: calc(100vw * 61 / 40);
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background {
		inset: 0 auto auto;
		width: 100%;
		height: auto;
		aspect-ratio: 40 / 67;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background picture {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background-image,
	.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
.home-hero.home-hero-slider .home-hero__content h1,
	.home-hero.home-hero-slider .home-hero__content h2 {
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 700px) {
.page-template-template-home .home-category-grid .category-card--visual {
		min-height: 264px;
	}
.page-template-template-home .home-category-grid .category-card__content {
		padding: 5px 14px 5px;
	}
.page-template-template-home .home-category-grid .category-card__content h3 {
		font-size: 0.95rem;
		line-height: 1.32;
	}
}

@media (min-width: 961px) {
.page-template-template-home .reference-carousel {
		padding-bottom: 140px;
	}
}

@media (max-width: 640px) {
.page-template-template-home .content-section {
		padding: 70px 0 140px 0;
	}
.page-template-template-home .content-section:has(.home-category-grid) {
		padding-bottom: 60px;
	}
.page-template-template-home .home-featured-products {
		padding: 32px 0 48px;
	}
.page-template-template-home .home-company-highlight {
		padding: 44px 0 40px;
	}
.page-template-template-home .home-blog,
	.page-template-template-home .enzo-certificates {
		padding: 44px 0 40px;
	}
}

.reference-carousel__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.reference-carousel__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.reference-carousel__heading {
	min-width: 0;
}

.reference-carousel__header-controls {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.reference-carousel__title {
	margin: 0;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
}

.reference-carousel__title::after {
	display: block;
	width: 48px;
	height: 2px;
	margin-top: 16px;
	border-radius: 999px;
	background: var(--primary);
	content: "";
}

.reference-carousel__viewport {
	min-width: 0;
	overflow: hidden;
	outline: none;
}

.reference-carousel__viewport:focus-visible {
	box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.28);
	border-radius: 16px;
}

.reference-carousel__track {
	display: flex;
	gap: 24px;
	will-change: transform;
}

.reference-carousel__item {
	flex: 0 0 calc((100% - 144px) / 7);
	min-width: 0;
}

.reference-carousel__card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 112px;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--white);
	box-shadow: 0 8px 24px rgba(21, 21, 21, 0.04);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.reference-carousel__card:hover {
	border-color: rgba(var(--primary-rgb), 0.2);
	box-shadow: 0 12px 32px rgba(21, 21, 21, 0.08);
	transform: translateY(-2px);
}

.reference-carousel__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80px;
}

.reference-carousel__logo-image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.reference-carousel__header-controls[hidden],
.reference-carousel__arrow[hidden],
.reference-carousel__dots[hidden] {
	display: none;
}

.reference-carousel__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--white);
	color: var(--text);
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(21, 21, 21, 0.06);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.reference-carousel__arrow:hover,
.reference-carousel__arrow:focus-visible {
	border-color: var(--primary);
	background: var(--primary);
	color: var(--enzo-white);
	transform: scale(1.05);
	box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.24);
	outline: none;
}

.reference-carousel__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	margin-top: -8px;
}

@media (max-width: 768px) {
	.reference-carousel__dots {
		margin-bottom: 80px;
	}
}

.reference-carousel__dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(21, 21, 21, 0.18);
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.25s ease;
}

.reference-carousel__dot.is-active {
	width: 28px;
	background: var(--primary);
}

.reference-carousel__dot:hover,
.reference-carousel__dot:focus-visible {
	background: rgba(var(--primary-rgb), 0.55);
	outline: none;
}

@media (max-width: 1200px) {
.reference-carousel__item {
		flex: 0 0 calc((100% - 120px) / 6);
	}
}

@media (max-width: 960px) {
.reference-carousel__item {
		flex: 0 0 calc((100% - 72px) / 4);
	}
}

@media (max-width: 640px) {
.reference-carousel__inner {
		gap: 24px;
	}
.reference-carousel__item {
		flex: 0 0 calc((100% - 24px) / 2);
	}
.reference-carousel__card {
		min-height: 96px;
		padding: 12px;
		border-radius: 14px;
	}
.reference-carousel__logo {
		height: 64px;
	}
.reference-carousel__header {
		align-items: flex-end;
		gap: 16px;
	}
.reference-carousel__header-controls {
		gap: 8px;
	}
.reference-carousel__arrow {
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
.reference-carousel__track {
		transition: none !important;
	}
.reference-carousel__card {
		transition: border-color 160ms ease, box-shadow 160ms ease;
	}
.reference-carousel__card:hover {
		transform: none;
	}
}

.home-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(72px, 8vw, 110px) 0;
	background: linear-gradient(135deg, var(--enzo-dark) 0%, #24272B 58%, #24272B 100%);
	color: var(--enzo-white);
}

.home-hero .eyebrow {
	margin: 0 0 14px;
	color: var(--primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.home-hero h1,
.home-hero h2 {
	max-width: 650px;
	margin: 0;
	font-size: clamp(40px, 4vw, 54px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.home-hero .lead {
	max-width: 620px;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 18px;
	line-height: 1.8;
}

.home-hero .lead p {
	margin: 0;
}

.home-hero .hero-actions {
	margin-top: 28px;
}

.home-hero .hero-actions .button {
	min-height: 52px;
	padding: 14px 26px;
	border-radius: 999px;
}

.home-hero .hero-actions .button--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--dark);
	box-shadow: none;
}

.home-hero .hero-actions .button--light:hover,
.home-hero .hero-actions .button--light:focus-visible {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--white);
}

.home-hero.home-hero-slider {
	padding-top: 0;
	padding-bottom: 0;
	background: transparent;
}

.home-hero.home-hero-slider.is-autoplay-paused .home-hero-slider__dot.is-active .home-hero-slider__dot-progress {
	animation-play-state: paused;
}

.home-hero.home-hero-slider .home-hero__content h1,
.home-hero.home-hero-slider .home-hero__content h2 {
	color: var(--white);
}

@media (min-width: 961px) {
.home-hero.home-hero-slider .home-hero__content h1,
	.home-hero.home-hero-slider .home-hero__content h2 {
		max-width: 620px;
	}
}

.home-hero.home-hero-slider .home-hero-slider__slide--image {
	overflow: hidden;
	min-height: clamp(500px, 32.3vw, 620px);
}

.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background,
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background picture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background-image,
.home-hero.home-hero-slider .home-hero-slider__slide--image .home-hero__background img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	object-fit: cover;
	object-position: center center;
}

.home-hero.home-hero-slider .home-hero-slider__slide .container.home-hero__grid {
	position: relative;
	z-index: 2;
	width: 100%;
	grid-template-columns: minmax(0, 1fr);
	align-content: center;
	padding-top: clamp(48px, 5vw, 72px);
	padding-bottom: clamp(24px, 3vw, 40px);
}

.home-hero .home-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
}

.page-template-template-home .content-section {
	padding: clamp(56px, 7vw, 96px) 0;
}

.page-template-template-home .content-section--compact {
	padding: 28px 0;
}

.home-category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.page-template-template-home .content-section:has(.home-category-grid) {
	padding-top: 0;
}

.page-template-template-home .home-category-grid .category-card.category-card--visual {
	display: grid;
	grid-template-rows: minmax(0, 72fr) minmax(0, 28fr);
	min-height: 288px;
	padding: 0;
	border: 1px solid rgba(21, 21, 21, 0.06);
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-template-template-home .home-category-grid .category-card.category-card--visual::after {
	display: none;
}

.page-template-template-home .home-category-grid .category-card.category-card--visual:hover {
	transform: translateY(-5px);
	border-color: rgba(var(--primary-rgb), 0.14);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.page-template-template-home .home-category-grid .category-card__media {
	aspect-ratio: auto;
	min-height: 0;
	height: 100%;
}

.page-template-template-home .home-category-grid .category-card__media img,
.page-template-template-home .home-category-grid .category-card__placeholder {
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-template-template-home .home-category-grid .category-card--visual:hover .category-card__media img,
.page-template-template-home .home-category-grid .category-card--visual:hover .category-card__placeholder {
	transform: scale(1.04);
}

.page-template-template-home .home-category-grid .category-card__content {
	display: flex;
	align-items: center;
	min-height: 0;
	padding: 3px 14px 4px;
}

.page-template-template-home .home-category-grid .category-card__content h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin: 0;
	color: var(--dark);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.012em;
}

.page-template-template-home .home-category-grid .category-card__content h3::after {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	background: rgba(var(--primary-rgb), 0.08);
	color: var(--primary);
	font-size: 0.78rem;
	line-height: 1;
	content: "→";
	transition: background-color 0.28s ease, color 0.28s ease;
}

.page-template-template-home .home-category-grid .category-card--visual:hover .category-card__content h3::after {
	background: var(--primary);
	color: var(--white);
}

@media (min-width: 1200px) {
.page-template-template-home .home-category-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
.page-template-template-home .home-category-grid .category-card.category-card--visual {
		min-height: 320px;
	}
.page-template-template-home .home-category-grid .category-card__content {
		padding: 4px 16px 4px;
	}
.page-template-template-home .home-category-grid .category-card__content h3 {
		font-size: 1.02rem;
		line-height: 1.28;
		letter-spacing: -0.018em;
	}
}

@media (max-width: 767px) {
.page-template-template-home .home-category-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

.page-template-template-home .home-featured-products {
	padding: clamp(28px, 3.4vw, 44px) 0 clamp(48px, 5vw, 68px);
	background: #ffffff;
}

.page-template-template-home .home-featured-products .related-products-carousel__heading.section-heading {
	margin-bottom: 36px;
}

.page-template-template-home .home-featured-products .section-heading .eyebrow {
	margin: 0 0 11px;
}

.page-template-template-home .home-featured-products .section-heading h2 {
	margin: 0;
}

.page-template-template-home .home-featured-products .section-heading p {
	margin: 12px 0 0;
}

.page-template-template-home .home-featured-products .related-products-carousel__track {
	gap: 25px;
}

.page-template-template-home .home-featured-products .related-products-carousel__slide {
	flex: 0 0 100%;
}

@media (min-width: 641px) {
.page-template-template-home .home-featured-products .related-products-carousel__slide {
		flex: 0 0 calc((100% - 25px) / 2);
	}
}

@media (min-width: 1100px) {
.page-template-template-home .home-featured-products .related-products-carousel__slide {
		flex: 0 0 calc((100% - 50px) / 3);
	}
}

@media (max-width: 1024px) {
.page-template-template-home .home-featured-products .related-products-carousel__track {
		gap: 24px;
	}
}

@media (max-width: 640px) {
.page-template-template-home .home-featured-products {
		padding: 32px 0 48px;
	}
.page-template-template-home .home-featured-products .related-products-carousel__heading.section-heading {
		margin-bottom: 28px;
	}
}

.page-template-template-home .home-features {
	padding: clamp(40px, 4.2vw, 56px) 0;
	background: #ffffff;
}

/* Mobile only: icon boxes below Turnike Sistemleri (category) section. */
@media (max-width: 768px) {
	.page-template-template-home .site-main {
		display: flex;
		flex-direction: column;
	}

	.page-template-template-home .site-main > .content-section:has(.home-category-grid) {
		order: 2;
		margin-top: 45px;
		padding-bottom: 45px;
	}

	.page-template-template-home .site-main > .home-features {
		order: 3;
		padding-top: clamp(32px, 5vw, 44px);
	}

	.page-template-template-home .site-main > .home-featured-products,
	.page-template-template-home .site-main > .home-company-highlight,
	.page-template-template-home .site-main > .reference-carousel,
	.page-template-template-home .site-main > .home-blog,
	.page-template-template-home .site-main > .enzo-certificates {
		order: 4;
	}
}

.home-features .home-features__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	align-items: start;
}

.home-features .home-features__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 4px clamp(18px, 2vw, 28px);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: none;
}

.home-features .home-features__card:first-child {
	padding-left: 0;
}

.home-features .home-features__card:last-child {
	padding-right: 0;
}

.home-features .home-features__card:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 20%;
	right: 0;
	bottom: 20%;
	width: 1px;
	height: auto;
	background: rgba(20, 25, 30, 0.09);
	transform: none;
	pointer-events: none;
}

.home-features .home-features__card:hover {
	transform: none;
	box-shadow: none;
}

.home-features .home-features__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 26px;
}

.home-features .home-features__index {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

.home-features .home-features__marker {
	display: block;
	width: 5px;
	height: 5px;
	flex-shrink: 0;
	background: var(--primary);
}

.home-features .home-features__icon {
	display: inline-flex;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 0;
	background: transparent;
	color: var(--primary);
	transition: transform 0.3s ease;
}

.home-features .home-features__card:hover .home-features__icon {
	background: transparent;
	transform: translateX(3px);
}

.home-features .home-features__icon svg {
	display: block;
	width: 26px;
	height: 26px;
}

.home-features .home-features__content {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	max-width: 320px;
	gap: 9px;
}

.home-features .home-features__title {
	margin: 0;
	color: var(--dark);
	font-size: clamp(1.05rem, 1.1vw, 1.125rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	transition: color 0.3s ease;
}

.home-features .home-features__card:hover .home-features__title {
	color: var(--primary);
}

.home-features .home-features__text {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

@media (max-width: 959px) {
.home-features .home-features__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
.home-features .home-features__card {
		padding: 18px 0;
	}
.home-features .home-features__card:first-child {
		padding-top: 0;
	}
.home-features .home-features__card:last-child {
		padding-bottom: 0;
	}
.home-features .home-features__card:not(:last-child)::after {
		top: auto;
		right: auto;
		bottom: 0;
		left: 0;
		width: min(72px, 28%);
		height: 1px;
		transform: none;
	}
.home-features .home-features__content {
		max-width: none;
	}
}

@media (max-width: 640px) {
.page-template-template-home .content-section.home-features {
		padding: 36px 0 40px;
	}
.home-features .home-features__card {
		padding: 16px 0;
		gap: 12px;
	}
.home-features .home-features__icon,
	.home-features .home-features__icon svg {
		width: 24px;
		height: 24px;
	}
.home-features .home-features__icon {
		flex-basis: 24px;
	}
.home-features .home-features__title {
		font-size: 1.05rem;
	}
.home-features .home-features__text {
		font-size: 0.875rem;
		line-height: 1.58;
	}
}

@media (prefers-reduced-motion: reduce) {
.home-features .home-features__icon,
	.home-features .home-features__title {
		transition: none;
	}
.home-features .home-features__card:hover .home-features__icon {
		transform: none;
	}
}

.page-template-template-home .home-company-highlight {
	padding: clamp(56px, 6.2vw, 70px) 0 clamp(48px, 5.5vw, 64px);
	background: #1c222a;
}

.page-template-template-home .home-company-highlight__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
	gap: clamp(48px, 6vw, 88px);
	align-items: start;
	padding-bottom: clamp(32px, 3.5vw, 44px);
}

.page-template-template-home .home-company-highlight__lead {
	min-width: 0;
}

.page-template-template-home .home-company-highlight__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-template-template-home .home-company-highlight__eyebrow-line {
	display: block;
	width: 28px;
	height: 2px;
	flex-shrink: 0;
	background: var(--primary);
}

.page-template-template-home .home-company-highlight__title {
	margin: 0;
	max-width: 700px;
	color: #ffffff;
	font-size: clamp(2.05rem, 3.2vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.page-template-template-home .home-company-highlight__text {
	margin: 26px 0 0;
	max-width: 620px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15.5px;
	line-height: 1.7;
}

.page-template-template-home .home-company-highlight__aside {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 360px;
	justify-self: end;
	align-self: center;
	padding: 28px 30px;
	border: 0;
	border-radius: 14px;
	background: #232a33;
}

.page-template-template-home .home-company-highlight__aside-label {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-template-template-home .home-company-highlight__aside-note {
	margin: 0;
	max-width: 280px;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(16px, 1.25vw, 18px);
	font-weight: 500;
	line-height: 1.5;
}

.page-template-template-home .home-company-highlight__actions {
	display: flex;
	align-items: center;
	margin-top: 22px;
}

.page-template-template-home .home-company-highlight__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: auto;
	white-space: nowrap;
}

.page-template-template-home .home-company-highlight__actions-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.page-template-template-home .home-company-highlight__actions-icon svg {
	display: block;
}

.page-template-template-home .home-company-highlight__rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.page-template-template-home .home-company-highlight__stat {
	position: relative;
	min-width: 0;
	padding: 28px 34px;
	text-align: left;
}

.page-template-template-home .home-company-highlight__stat:first-child {
	padding-left: 0;
}

.page-template-template-home .home-company-highlight__stat:last-child {
	padding-right: 0;
}

.page-template-template-home .home-company-highlight__stat + .home-company-highlight__stat::before {
	content: "";
	position: absolute;
	top: 26%;
	bottom: 20%;
	left: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.08);
}

.page-template-template-home .home-company-highlight__stat-accent {
	display: block;
	width: 24px;
	height: 2px;
	margin: 0 0 14px;
	background: var(--primary);
}

.page-template-template-home .home-company-highlight__stat-value {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: clamp(1.85rem, 2.45vw, 2.4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

.page-template-template-home .home-company-highlight__stat-label {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

@media (max-width: 1100px) {
	.page-template-template-home .home-company-highlight__top {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
		gap: clamp(36px, 5vw, 56px);
	}

	.page-template-template-home .home-company-highlight__title {
		max-width: none;
	}

	.page-template-template-home .home-company-highlight__aside {
		max-width: 340px;
		padding: 26px 28px;
	}
}

@media (max-width: 992px) {
	.page-template-template-home .home-company-highlight {
		padding-top: clamp(48px, 6.5vw, 60px);
		padding-bottom: clamp(40px, 5vw, 52px);
	}

	.page-template-template-home .home-company-highlight__top {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-bottom: 32px;
	}

	.page-template-template-home .home-company-highlight__aside {
		max-width: 500px;
		justify-self: start;
		align-self: stretch;
		width: 100%;
		padding: 26px 28px;
	}

	.page-template-template-home .home-company-highlight__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-template-template-home .home-company-highlight__stat {
		padding: 22px 20px;
	}

	.page-template-template-home .home-company-highlight__stat:first-child,
	.page-template-template-home .home-company-highlight__stat:last-child {
		padding-left: 0;
		padding-right: 0;
	}

	.page-template-template-home .home-company-highlight__stat + .home-company-highlight__stat::before {
		display: none;
	}

	.page-template-template-home .home-company-highlight__stat:nth-child(odd) {
		padding-right: 20px;
	}

	.page-template-template-home .home-company-highlight__stat:nth-child(even) {
		padding-left: 20px;
	}

	.page-template-template-home .home-company-highlight__stat:nth-child(even)::before {
		content: "";
		display: block;
		position: absolute;
		top: 24%;
		bottom: 20%;
		left: 0;
		width: 1px;
		background: rgba(255, 255, 255, 0.08);
	}

	.page-template-template-home .home-company-highlight__stat:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.11);
	}
}

@media (max-width: 640px) {
	.page-template-template-home .home-company-highlight {
		padding-top: 44px;
		padding-bottom: 40px;
	}

	.page-template-template-home .home-company-highlight__top {
		padding-bottom: 28px;
		gap: 22px;
	}

	.page-template-template-home .home-company-highlight__title {
		font-size: clamp(1.7rem, 6.5vw, 2.05rem);
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}

	.page-template-template-home .home-company-highlight__text {
		margin-top: 20px;
	}

	.page-template-template-home .home-company-highlight__aside {
		max-width: none;
		width: 100%;
		padding: 24px;
	}

	.page-template-template-home .home-company-highlight__actions .button {
		width: auto;
	}

	.page-template-template-home .home-company-highlight__stat {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.page-template-template-home .home-company-highlight__stat:nth-child(even)::before {
		display: none;
	}

	.page-template-template-home .home-company-highlight__stat-value {
		font-size: clamp(1.6rem, 5.8vw, 1.9rem);
	}
}

@media (max-width: 360px) {
	.page-template-template-home .home-company-highlight {
		padding-bottom: 36px;
	}

	.page-template-template-home .home-company-highlight__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.page-template-template-home .home-company-highlight__actions .button {
		width: 100%;
	}

	.page-template-template-home .home-company-highlight__rail {
		grid-template-columns: 1fr;
	}

	.page-template-template-home .home-company-highlight__stat,
	.page-template-template-home .home-company-highlight__stat:nth-child(odd),
	.page-template-template-home .home-company-highlight__stat:nth-child(even),
	.page-template-template-home .home-company-highlight__stat:first-child,
	.page-template-template-home .home-company-highlight__stat:last-child {
		padding-right: 0;
		padding-left: 0;
	}

	.page-template-template-home .home-company-highlight__stat + .home-company-highlight__stat {
		border-top: 1px solid rgba(255, 255, 255, 0.11);
	}

	.page-template-template-home .home-company-highlight__stat:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.11);
	}
}

.reference-carousel {
	background: var(--light);
}

/* -------------------------------------------------------------------------- */
/* Home blog / Teknik İçerikler carousel                                       */
/* -------------------------------------------------------------------------- */

.page-template-template-home .home-blog {
	--home-blog-gap: 24px;
	--home-blog-per-view: 3.18;
	padding: clamp(52px, 6vw, 80px) 0 clamp(40px, 5vw, 56px);
	background: #ffffff;
}

.page-template-template-home .home-blog__heading {
	align-items: flex-end;
	margin-bottom: clamp(32px, 4vw, 40px);
}

.page-template-template-home .home-blog__intro {
	min-width: 0;
	max-width: 720px;
}

.page-template-template-home .home-blog__controls {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
	align-self: flex-end;
}

.page-template-template-home .home-blog__controls.is-hidden {
	display: none;
}

.page-template-template-home .home-blog__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #ffffff;
	color: var(--text);
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.page-template-template-home .home-blog__arrow svg {
	display: block;
}

.page-template-template-home .home-blog__arrow:hover,
.page-template-template-home .home-blog__arrow:focus-visible {
	border-color: var(--primary);
	color: var(--primary);
	background: rgba(var(--primary-rgb), 0.04);
	outline: none;
}

.page-template-template-home .home-blog__arrow:focus-visible {
	box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.page-template-template-home .home-blog__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.page-template-template-home .home-blog__viewport {
	min-width: 0;
	overflow: hidden;
}

.page-template-template-home .home-blog__track {
	display: flex;
	gap: var(--home-blog-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.page-template-template-home .home-blog__track::-webkit-scrollbar {
	display: none;
}

.page-template-template-home .home-blog__slide {
	flex: 0 0 calc((100% - (var(--home-blog-per-view) - 1) * var(--home-blog-gap)) / var(--home-blog-per-view));
	min-width: 0;
	scroll-snap-align: start;
}

.page-template-template-home .home-blog__slide .blog-card--home {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--border);
	border-radius: var(--enzo-radius);
	background: #ffffff;
	box-shadow: none;
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.page-template-template-home .home-blog__slide .blog-card--home:hover,
.page-template-template-home .home-blog__slide .blog-card--home:focus-within {
	border-color: rgba(var(--primary-rgb), 0.32);
	box-shadow: 0 8px 24px rgba(17, 19, 21, 0.05);
	transform: none;
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__media {
	aspect-ratio: 16 / 10;
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__image {
	transition: transform 220ms ease;
}

.page-template-template-home .home-blog__slide .blog-card--home:hover .blog-card__image {
	transform: scale(1.02);
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 20px 22px;
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__body::before {
	width: 28px;
	margin-bottom: 14px;
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__title {
	font-size: clamp(17px, 1.35vw, 19px);
	-webkit-line-clamp: 3;
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__excerpt {
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.65;
	-webkit-line-clamp: 2;
}

.page-template-template-home .home-blog__slide .blog-card--home .blog-card__more {
	margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
	.page-template-template-home .home-blog__track {
		scroll-behavior: auto;
	}

	.page-template-template-home .home-blog__slide .blog-card--home,
	.page-template-template-home .home-blog__slide .blog-card--home .blog-card__image,
	.page-template-template-home .home-blog__arrow {
		transition: none;
	}

	.page-template-template-home .home-blog__slide .blog-card--home:hover .blog-card__image {
		transform: none;
	}
}

@media (max-width: 1280px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 2.95;
	}
}

@media (max-width: 1100px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 2.35;
		--home-blog-gap: 22px;
	}
}

@media (max-width: 992px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 2.15;
	}

	.page-template-template-home .home-blog__heading {
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 1.55;
		--home-blog-gap: 18px;
		padding: clamp(44px, 7vw, 60px) 0 40px;
	}

	.page-template-template-home .home-blog__heading.section-heading--split {
		flex-direction: row;
		align-items: flex-end;
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 1.12;
		padding: 44px 0 36px;
	}

	.page-template-template-home .home-blog__heading.section-heading--split {
		flex-wrap: wrap;
	}

	.page-template-template-home .home-blog__controls {
		margin-left: auto;
	}
}

@media (max-width: 480px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 1.1;
		padding: 40px 0 32px;
	}

	.page-template-template-home .home-blog__slide .blog-card--home .blog-card__body {
		padding: 18px 18px 20px;
	}
}

@media (max-width: 320px) {
	.page-template-template-home .home-blog {
		--home-blog-per-view: 1;
	}
}

/* Home: blog → certificates rhythm (both white). */
.page-template-template-home .home-blog {
	padding-bottom: clamp(48px, 5vw, 64px);
}

.page-template-template-home .enzo-certificates {
	background: #ffffff;
	padding-top: clamp(56px, 6vw, 72px);
	padding-bottom: clamp(64px, 7vw, 80px);
}
