/* -------------------------------------------------------------------------- */
/* Gümrükleme — full-viewport split hero (site header + bottom-right copy)    */
/* -------------------------------------------------------------------------- */

body.page-template-page-gumrukleme-php,
body.page-template-page-gumrukleme-php .site-footer {
	background: #05051e;
}

.customs-page {
	background: #05051e;
	color: #05051e;
}

.customs-hero {
	box-sizing: border-box;
	/* Clear fixed site header */
	min-height: 100vh;
	min-height: 100dvh;
	padding: calc(70px + 12px) 12px 12px;
	background: #05051e;
}

.customs-hero__frame {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	height: calc(100vh - 70px - 24px);
	height: calc(100dvh - 70px - 24px);
	min-height: 520px;
}

.customs-hero__panel {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	min-height: 0;
}

.customs-hero__panel--copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	background: #f4f4f4;
	padding: clamp(28px, 4vw, 56px);
}

.customs-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 34rem;
	margin-left: auto;
	text-align: left;
}

.customs-hero__title {
	margin: 0 0 18px;
	font-family: var(--ykg-font);
	font-size: clamp(2.35rem, 4.4vw, 4.1rem);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #05051e;
}

.customs-hero__lead {
	margin: 0 0 28px;
	max-width: 28rem;
	font-family: var(--ykg-font);
	font-size: clamp(0.98rem, 1.3vw, 1.1rem);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(5, 5, 30, 0.58);
}

.customs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.customs-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.customs-hero__btn--primary {
	background: var(--ykg-emerald, #2cac66);
	color: #fff;
	border: 1px solid transparent;
}

.customs-hero__btn--primary:hover,
.customs-hero__btn--primary:focus-visible {
	background: var(--ykg-emerald-deep, #239454);
	color: #fff;
}

.customs-hero__btn--ghost {
	background: #fff;
	color: #05051e;
	border: 1px solid rgba(5, 5, 30, 0.14);
}

.customs-hero__btn--ghost:hover,
.customs-hero__btn--ghost:focus-visible {
	border-color: rgba(5, 5, 30, 0.28);
	background: #fff;
	color: #05051e;
}

.customs-hero__panel--media {
	background: #121222;
}

.customs-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 960px) {
	.customs-hero {
		padding: calc(64px + 10px) 10px 10px;
	}

	.customs-hero__frame {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(38vh, 1fr) auto;
		height: auto;
		min-height: calc(100vh - 64px - 20px);
		min-height: calc(100dvh - 64px - 20px);
		gap: 10px;
	}

	.customs-hero__panel {
		border-radius: 22px;
	}

	.customs-hero__panel--media {
		order: -1;
		min-height: 38vh;
	}

	.customs-hero__panel--copy {
		align-items: stretch;
		padding: 28px 22px 32px;
	}

	.customs-hero__copy {
		max-width: none;
		margin-left: 0;
	}

	.customs-hero__title {
		font-size: clamp(1.9rem, 7.5vw, 2.6rem);
	}

	.customs-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.customs-hero__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.customs-hero__btn {
		transition: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Core Services — sticky horizontal scrub (right → left)                     */
/* -------------------------------------------------------------------------- */

.customs-core {
	--customs-core-steps: 3.4;
	position: relative;
	z-index: 1;
	height: calc(100vh * var(--customs-core-steps));
	height: calc(100dvh * var(--customs-core-steps));
	min-height: 2200px;
	background: #05051e;
	color: #fff;
}

.customs-core__pin {
	--customs-mx: 50%;
	--customs-my: 40%;
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(36px, 5vh, 56px);
	height: 100vh;
	height: 100dvh;
	padding: clamp(88px, 12vh, 120px) 0 clamp(40px, 6vh, 64px);
	box-sizing: border-box;
	overflow: hidden;
	background: #05051e;
	isolation: isolate;
}

.customs-core__grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
	background-image: var(--customs-core-grid);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transition: opacity 0.35s ease;
	-webkit-mask-image: radial-gradient(
		circle 340px at var(--customs-mx) var(--customs-my),
		#000 0%,
		rgba(0, 0, 0, 0.55) 42%,
		transparent 72%
	);
	mask-image: radial-gradient(
		circle 340px at var(--customs-mx) var(--customs-my),
		#000 0%,
		rgba(0, 0, 0, 0.55) 42%,
		transparent 72%
	);
}

.customs-core__pin.is-lit .customs-core__grid {
	opacity: 1;
}

.customs-core__intro {
	position: relative;
	z-index: 1;
	width: min(calc(100% - var(--ykg-gutter) * 2), 820px);
	margin: 0 auto;
	text-align: center;
}

.customs-core__title {
	margin: 0 0 18px;
	font-family: var(--ykg-font);
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
}

.customs-core__title--snake {
	color: rgba(255, 255, 255, 0.38);
}

.customs-core__title--snake .solutions-section__snake-char {
	color: rgba(255, 255, 255, 0.38);
}

.customs-core__title--snake .solutions-section__snake-char.is-lit.is-lit--tip {
	color: #7dff9a;
}

.customs-core__title--snake .solutions-section__snake-char.is-lit.is-lit--green {
	color: color-mix(
		in srgb,
		#ffffff calc((1 - var(--lit-level, 1)) * 100%),
		#28ee5f calc(var(--lit-level, 1) * 100%)
	);
}

.customs-core__title--snake .solutions-section__snake-char.is-lit.is-lit--navy {
	color: #fff;
}

.customs-core__lead {
	margin: 0 auto;
	max-width: 42rem;
	font-family: var(--ykg-font);
	font-size: clamp(0.98rem, 1.35vw, 1.1rem);
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.58);
}

.customs-core__window {
	position: relative;
	z-index: 1;
	width: 100%;
	overflow: hidden;
	padding-left: max(var(--ykg-gutter), calc((100vw - min(100vw - var(--ykg-gutter) * 2, var(--ykg-container-max))) / 2));
	padding-right: var(--ykg-gutter);
}

.customs-core__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 22px;
	width: max-content;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.customs-core__card {
	flex: 0 0 440px;
	width: 440px;
	max-width: 88vw;
	min-height: 320px;
	height: 320px;
	padding: 36px 34px;
	border-radius: 24px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.customs-core__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 28px;
	color: #2ee66a;
}

.customs-core__icon svg {
	width: 34px;
	height: 34px;
}

.customs-core__card-title {
	margin: 0 0 16px;
	font-family: var(--ykg-font);
	font-size: clamp(1.45rem, 2.1vw, 1.75rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}

.customs-core__card-text {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: clamp(1.02rem, 1.25vw, 1.12rem);
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
	.customs-core {
		--customs-core-steps: 3;
		min-height: 1800px;
	}

	.customs-core__pin {
		padding-top: 96px;
		gap: 28px;
	}

	.customs-core__card {
		flex-basis: min(360px, 86vw);
		width: min(360px, 86vw);
		min-height: 300px;
		height: auto;
		padding: 30px 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.customs-core {
		height: auto;
	}

	.customs-core__pin {
		position: relative;
		height: auto;
	}

	.customs-core__window {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-right: var(--ykg-gutter);
	}

	.customs-core__track {
		transform: none !important;
		padding-bottom: 8px;
	}
}

/* Mission block on customs page — white card copy (about vars live on .about-page) */
.about-mission--customs {
	--about-light: #f0f0f0;
	--about-soft: #f9f9ff;
	--about-card-radius: 1rem;
	color: #f9f9ff;
}

.about-mission--customs .about-mission__label {
	color: rgba(249, 249, 255, 0.7);
	opacity: 1;
}

.about-mission--customs .about-mission__body {
	color: #ffffff;
}

