/* DAS Logistics CZ — modern layout */
:root {
	--cyan: #00aeef;
	--navy: #1b2b88;
	--bg: #0a0f1a;
	--bg-elevated: #111827;
	--border: rgba(255, 255, 255, 0.08);
	--text: #ffffff;
	--muted: #cbd5e1;
	--radius: 12px;
	--max: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.75rem;
	scrollbar-gutter: stable;
}

body {
	font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a:not(.btn) {
	color: var(--cyan);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:not(.btn):hover {
	color: #5cc8f5;
}

a.btn--primary,
a.btn--primary:hover {
	color: #ffffff;
}

a.btn--ghost,
a.btn--ghost:hover {
	color: var(--text);
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1rem 1.5rem;
	min-height: 5.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	position: relative;
}

.site-header__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 0;
}

.site-header__brand img {
	height: 3.5rem;
	width: auto;
	max-width: min(240px, 52vw);
	object-fit: contain;
	object-position: left center;
}

.site-header__inner > nav {
	display: flex;
	justify-content: flex-end;
	flex-shrink: 0;
}

.site-header__actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
}

.site-nav a:not(.btn) {
	color: var(--muted);
	font-weight: 500;
	font-size: 0.92rem;
	letter-spacing: 0.01em;
	padding: 0.25rem 0;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).is-active {
	color: var(--text);
	border-bottom-color: var(--cyan);
}

.site-nav .btn--primary {
	color: #ffffff;
	padding: 0.55rem 1rem;
	font-size: 0.88rem;
	box-shadow: none;
}

.site-nav .btn--primary:hover {
	color: #ffffff;
	background: #2536a8;
	transform: none;
	box-shadow: none;
}

.site-nav .btn--primary.is-active {
	background: #2536a8;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.btn--primary {
	background: var(--navy);
	color: #ffffff;
	box-shadow: 0 2px 12px rgba(27, 43, 136, 0.35);
}

.btn--primary:hover {
	background: #2536a8;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 20px rgba(0, 174, 239, 0.2);
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
}

.btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--text);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.gallery__nav:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.25rem;
}

/* Hero */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	padding: 7.5rem 1.5rem 4rem;
	overflow: hidden;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat url("../../images/banner.jpg");
	transform: scale(1.08);
	animation: hero-kenburns 24s ease-out forwards;
	will-change: transform;
}

@keyframes hero-kenburns {
	to {
		transform: scale(1);
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(10, 15, 26, 0.92) 0%, rgba(10, 15, 26, 0.4) 42%, rgba(10, 15, 26, 0.55) 100%),
		linear-gradient(105deg, rgba(27, 43, 136, 0.35) 0%, transparent 55%);
}

.hero__vignette {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: radial-gradient(
		ellipse 85% 75% at 50% 45%,
		transparent 30%,
		rgba(10, 15, 26, 0.55) 70%,
		rgba(10, 15, 26, 0.92) 100%
	);
}

.hero__grain {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 180px 180px;
}

.hero__content {
	position: relative;
	z-index: 4;
	max-width: var(--max);
	margin: 0 auto;
	width: 100%;
	animation: hero-fade-in 1.1s ease-out both;
}

@keyframes hero-fade-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero__logo {
	height: clamp(3.5rem, 14vw, 5.5rem);
	width: auto;
	margin-bottom: 1.25rem;
	filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.45));
}

.hero__eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 0.75rem;
}

.hero h1 {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	max-width: 16ch;
	margin-bottom: 1rem;
	color: #ffffff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero__lead {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: #e2e8f0;
	max-width: 36rem;
	margin-bottom: 2rem;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Sections */
.section {
	padding: 5rem 1.5rem;
}

.section--alt {
	background: var(--bg-elevated);
	border-block: 1px solid var(--border);
}

.section__inner {
	max-width: var(--max);
	margin: 0 auto;
}

.section__label {
	display: none;
}

.section h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 1.5rem;
}

.section__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 0.5rem;
}

.section__eyebrow--center {
	text-align: center;
}

.section__intro {
	color: var(--muted);
	max-width: 40rem;
	margin-bottom: 2.5rem;
}

.section__intro--tight {
	margin-bottom: 0;
}

/* Scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	margin-top: 0.25rem;
}

.section--gallery {
	padding-top: 3rem;
	padding-bottom: 4rem;
}

.gallery-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
	gap: 2.5rem;
	align-items: center;
}

.gallery-layout__header h2 {
	margin-bottom: 0.75rem;
}

.gallery-layout__lead {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 28ch;
	margin-bottom: 1.5rem;
}

.gallery__counter {
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cyan);
	font-variant-numeric: tabular-nums;
}

.gallery {
	max-width: none;
	margin: 0;
	outline: none;
}

.gallery__viewport {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: var(--bg);
	height: min(58vh, 480px);
}

.gallery__track {
	display: flex;
	height: 100%;
	transition: transform 0.4s ease;
}

.gallery__slide {
	flex: 0 0 100%;
	height: 100%;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
}

.gallery__frame {
	position: relative;
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
	line-height: 0;
}

.gallery__frame img {
	max-width: 100%;
	max-height: calc(min(58vh, 480px) - 1rem);
	width: auto;
	height: auto;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

.gallery__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: 2px;
	background: radial-gradient(
		ellipse 78% 74% at 50% 50%,
		transparent 42%,
		rgba(0, 0, 0, 0.35) 72%,
		rgba(0, 0, 0, 0.72) 100%
	);
	box-shadow: inset 0 0 72px rgba(0, 0, 0, 0.55);
}

.gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.25s ease, color 0.2s ease, background 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.gallery:hover .gallery__nav,
.gallery:focus-within .gallery__nav {
	opacity: 1;
}

.gallery__nav:hover {
	color: #fff;
	background: rgba(10, 15, 26, 0.4);
}

.gallery__nav--prev {
	left: 0.35rem;
}

.gallery__nav--next {
	right: 0.35rem;
}

/* About split */
.about-grid__image {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	aspect-ratio: 4 / 3;
}

.about-grid__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-grid__text p {
	color: var(--muted);
	margin-bottom: 1rem;
}

.about-grid__text p:last-child {
	margin-bottom: 0;
}

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 0.5rem;
}

.service-card {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	border-color: rgba(0, 174, 239, 0.3);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-card h3 {
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	padding-left: 0.75rem;
	border-left: 3px solid var(--cyan);
}

.service-card p {
	font-size: 0.92rem;
	color: var(--muted);
}

.services-grid--four {
	grid-template-columns: repeat(2, 1fr);
}

.services-tech {
	margin-top: 1.5rem;
	font-size: 0.92rem;
	color: var(--muted);
}

/* Coverage */
.coverage {
	text-align: center;
}

.coverage__header {
	margin-bottom: 2.5rem;
}

.coverage__header h2 {
	text-align: center;
}

.coverage__lead {
	color: var(--muted);
	max-width: 36rem;
	margin: 0.75rem auto 0;
	font-size: 1.05rem;
	line-height: 1.65;
}

.coverage__showcase {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
	margin-bottom: 2.5rem;
	padding: 2rem 1.5rem 1.75rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background:
		radial-gradient(ellipse 75% 60% at 50% 42%, rgba(0, 174, 239, 0.12), transparent 72%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
		var(--bg-elevated);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.coverage__map {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.coverage__map img {
	width: 100%;
	height: auto;
	max-height: 340px;
	display: block;
	object-fit: contain;
	object-position: center;
}

.coverage__stats {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.coverage-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 6.5rem;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 174, 239, 0.28);
	background: rgba(0, 174, 239, 0.08);
}

.coverage-stat__value {
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--cyan);
	line-height: 1;
}

.coverage-stat__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 0.35rem;
}

.coverage-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
}

.coverage-chips--all {
	max-width: 36rem;
	margin: 0 auto;
}

.coverage-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.35rem 0.6rem;
	border-radius: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--text);
	background: rgba(0, 174, 239, 0.12);
	border: 1px solid rgba(0, 174, 239, 0.28);
}

/* Stats band */
.stats-band {
	padding: 3rem 1.5rem;
	background: linear-gradient(180deg, rgba(27, 43, 136, 0.15) 0%, transparent 100%);
	border-block: 1px solid var(--border);
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.stat strong,
.stat__num,
.stat__static {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	color: var(--cyan);
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.stat span {
	font-size: 0.88rem;
	color: var(--muted);
}

/* CargoDesk panel */
.cargodesk-panel {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2rem;
	align-items: start;
	margin-top: 0.5rem;
	padding: 2rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	border-left: 3px solid var(--cyan);
}

.cargodesk-panel__copy p {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 1.5rem;
}

.cargodesk-panel__features {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 1.25rem;
}

.cargodesk-panel__features li {
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.65rem 0.85rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 8px;
}

/* Contact CTA */
.contact-cta {
	position: relative;
	overflow: hidden;
	background: var(--bg);
}

.contact-cta__bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat url("../../images/banner.jpg");
	opacity: 0.45;
	transform: scale(1.05);
}

.contact-cta__vignette {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 80% 70% at 50% 50%, transparent 25%, rgba(10, 15, 26, 0.7) 100%),
		linear-gradient(to top, rgba(10, 15, 26, 0.95), rgba(10, 15, 26, 0.5));
}

.contact-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 26, 0.5);
	z-index: 0;
}

.contact-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	align-items: center;
}

.contact-cta__text h2 {
	margin-bottom: 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-block__logo {
	height: 200px;
	width: auto;
	max-width: 100%;
	margin-bottom: 1.5rem;
	display: block;
}

.contact-cta__details {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.8;
	margin-top: 0;
}

.contact-cta__details strong {
	color: var(--text);
}

/* Footer */
.site-footer {
	padding: 2.5rem 1.5rem;
	border-top: 1px solid var(--border);
	text-align: center;
	font-size: 0.85rem;
	color: var(--muted);
}

/* Contact page */
.page-hero {
	padding: 7.5rem 1.5rem 2rem;
	border-bottom: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(27, 43, 136, 0.2), transparent);
}

.page-hero__inner {
	max-width: var(--max);
	margin: 0 auto;
}

.page-hero h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 0.5rem;
}

.page-hero p {
	color: var(--muted);
	max-width: 32rem;
}

.contact-layout {
	max-width: var(--max);
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 3rem;
	align-items: start;
}

.contact-info {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
}

.contact-info h2 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.contact-info .contact-block__logo {
	height: 120px;
	margin-bottom: 1rem;
}

.contact-info p {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--bg-elevated);
	color: var(--text);
	font: inherit;
	transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: rgba(0, 174, 239, 0.5);
}

.contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.9rem;
	color: var(--muted);
}

.form-check input {
	width: auto;
	margin-top: 0.2rem;
	accent-color: var(--cyan);
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
	.about-grid,
	.gallery-layout,
	.services-grid,
	.services-grid--four,
	.stats,
	.cargodesk-panel,
	.cargodesk-panel__features,
	.contact-cta__inner,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.site-header__inner {
		flex-wrap: wrap;
		padding: 0.85rem 1.25rem;
		gap: 0.75rem;
	}

	.site-header__brand img {
		height: 3rem;
		max-width: min(200px, 48vw);
	}

	.site-header__inner > nav {
		order: 3;
		flex: 1 1 100%;
		justify-content: stretch;
	}

	.gallery__nav {
		opacity: 0.35;
	}

	.gallery__nav--prev {
		left: 0.15rem;
	}

	.gallery__nav--next {
		right: 0.15rem;
	}

	.services-grid {
		grid-template-columns: 1fr 1fr;
	}

	.stats {
		grid-template-columns: 1fr 1fr;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 1.25rem 1rem;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
	}

	.site-nav a:not(.btn) {
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--border);
	}

	.site-nav li:last-child a:not(.btn) {
		border-bottom: none;
	}

	.site-nav__contact {
		padding-top: 0.75rem;
	}

	.site-nav__contact .btn {
		width: 100%;
		justify-content: center;
	}

	.site-nav.is-open {
		display: flex;
	}

	.contact-cta__inner {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__bg,
	.hero__content,
	.reveal {
		animation: none;
		transition: none;
	}

	.gallery__track {
		transition: none;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}

	.stat__num {
		visibility: visible;
	}
}

@media (max-width: 600px) {
	.services-grid,
	.services-grid--four,
	.form-row,
	.stats {
		grid-template-columns: 1fr;
	}

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