/* M&E Logistics CZ */
:root {
	--accent: #0180d9;
	--accent-soft: #4da3e8;
	--navy: #1a2f4a;
	--bg: #0b1018;
	--bg-elevated: #121a28;
	--border: rgba(255, 255, 255, 0.08);
	--text: #f8fafc;
	--muted: #94a3b8;
	--radius: 12px;
	--max: 1080px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", -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(--accent-soft);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:not(.btn):hover {
	color: #93c9f8;
}

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

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

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(11, 16, 24, 0.9);
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
	background: rgba(11, 16, 24, 0.97);
	border-bottom-color: var(--border);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	margin-left: auto;
}

.site-header__contact {
	flex-shrink: 0;
}

.site-header__inner > nav {
	margin-left: 0;
	margin-right: auto;
}

.lang-switch {
	display: inline-flex;
	border: 1px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
}

.lang-switch__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.5rem;
	background: transparent;
	border: none;
	cursor: pointer;
	opacity: 0.45;
	transition: opacity 0.2s ease, background 0.2s ease;
	border-radius: 4px;
	line-height: 0;
}

.lang-switch__btn img {
	display: block;
	border-radius: 2px;
}

.lang-switch__btn:hover {
	opacity: 0.85;
}

.lang-switch__btn.is-active {
	opacity: 1;
	background: rgba(255, 255, 255, 0.08);
}

.lang-switch--footer {
	margin-bottom: 0.75rem;
}

.brand {
	display: inline-flex;
	align-items: baseline;
	gap: 0.15rem;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: var(--text);
}

.brand span {
	color: var(--accent);
}

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

.site-nav a:not(.btn) {
	color: #cbd5e1;
	font-weight: 500;
	font-size: 0.95rem;
}

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

.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(--accent);
	color: #0b1018;
}

.btn--primary:hover {
	background: var(--accent-soft);
	color: #0b1018;
	transform: translateY(-1px);
}

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

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

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

.hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	padding: 7rem 1.5rem 4rem;
	overflow: hidden;
	isolation: isolate;
}

.hero__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	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(11, 16, 24, 0.96) 0%, rgba(11, 16, 24, 0.72) 42%, rgba(11, 16, 24, 0.82) 100%),
		linear-gradient(105deg, rgba(26, 47, 74, 0.55) 0%, rgba(11, 16, 24, 0.35) 55%);
}

.hero__lines {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0.2;
	background: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 48px,
		rgba(1, 128, 217, 0.04) 48px,
		rgba(1, 128, 217, 0.04) 49px
	);
}

.hero__content {
	position: relative;
	z-index: 3;
	max-width: var(--max);
	margin: 0 auto;
	width: 100%;
}

.hero__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(96vw, 680px);
	max-height: clamp(7.5rem, 20vw, 11.5rem);
	margin: 0 0 1.5rem;
	object-fit: contain;
	object-position: left center;
	mix-blend-mode: lighten;
}

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

.hero h1 {
	font-size: clamp(2.4rem, 5.5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	max-width: 14ch;
	margin-bottom: 1.25rem;
}

.hero__lead {
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	color: #cbd5e1;
	max-width: 36rem;
	margin-bottom: 2rem;
}

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

.hero__disclaimer {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-top: 2rem;
	max-width: 36rem;
	font-size: 0.88rem;
	line-height: 1.65;
	color: #cbd5e1;
}

.hero__disclaimer-icon {
	flex-shrink: 0;
	color: #f87171;
	margin-top: 0.12rem;
}

.hero__disclaimer-icon svg {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
}

.hero__disclaimer-body {
	min-width: 0;
}

.hero__disclaimer-body p + p {
	margin-top: 0.65rem;
}

.hero__disclaimer strong {
	color: var(--text);
	font-weight: 600;
}

.hero__disclaimer-emails {
	margin-top: 0.5rem;
	padding-left: 1.1rem;
	list-style: disc;
}

.hero__disclaimer-emails li {
	margin-top: 0.15rem;
}

.hero__disclaimer-emails a {
	font-weight: 500;
}

.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 h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}

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

.about-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.about-columns--two {
	grid-template-columns: 1fr 1fr;
	max-width: 52rem;
}

.about-columns p {
	color: var(--muted);
	font-size: 0.98rem;
}

.about-copy {
	max-width: 42rem;
}

.about-copy p {
	color: var(--muted);
	font-size: 0.98rem;
	margin-bottom: 1rem;
}

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

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

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

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

.about-grid__image {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	aspect-ratio: 16 / 10;
	background: var(--bg-elevated);
}

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

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

.gallery-heading {
	text-align: center;
	margin-bottom: 1.25rem;
}

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

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

.gallery__viewport::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	border-radius: inherit;
	background: radial-gradient(
		ellipse 94% 90% at 50% 50%,
		transparent 42%,
		rgba(0, 0, 0, 0.22) 75%,
		rgba(0, 0, 0, 0.5) 100%
	);
}

.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 90% 86% at 50% 50%,
		transparent 38%,
		rgba(0, 0, 0, 0.25) 72%,
		rgba(0, 0, 0, 0.55) 100%
	);
}

.gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 4;
	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(11, 16, 24, 0.45);
}

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

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

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

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

.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;
}

.service-card:hover {
	border-color: rgba(1, 128, 217, 0.35);
	transform: translateY(-3px);
}

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

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

.coverage {
	text-align: center;
}

.coverage__header {
	margin-bottom: 2.5rem;
}

.coverage 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(1, 128, 217, 0.14), 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(1, 128, 217, 0.28);
	background: rgba(1, 128, 217, 0.08);
}

.coverage-stat__value {
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--accent);
	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__regions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
}

.coverage-region {
	padding: 1.35rem 1.15rem 1.25rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	border-top: 2px solid rgba(1, 128, 217, 0.55);
	background: linear-gradient(180deg, rgba(1, 128, 217, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.coverage-region:hover {
	transform: translateY(-3px);
	border-color: rgba(1, 128, 217, 0.35);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.coverage-region h3 {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-soft);
	margin-bottom: 1rem;
}

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

.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(1, 128, 217, 0.14);
	border: 1px solid rgba(1, 128, 217, 0.32);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.coverage-region:hover .coverage-chip {
	background: rgba(1, 128, 217, 0.2);
	border-color: rgba(1, 128, 217, 0.42);
}

.contact-cta {
	position: relative;
	overflow: hidden;
}

.contact-cta__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}

.contact-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 80% 70% at 50% 50%, rgba(1, 128, 217, 0.06), transparent 60%),
		rgba(11, 16, 24, 0.72);
}

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

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

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

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

.site-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: end;
}

.site-footer__col--end {
	text-align: right;
}

.site-footer__brand {
	margin-bottom: 0.35rem;
	color: var(--text);
}

.site-footer__address {
	font-size: 0.85rem;
	line-height: 1.6;
	margin-bottom: 0.35rem;
}

.site-footer__vat {
	font-size: 0.85rem;
	color: var(--muted);
}

.legal-note {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	font-size: 0.82rem;
	color: var(--muted);
	line-height: 1.7;
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.page-hero {
	padding: 7rem 1.5rem 2rem;
	border-bottom: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(26, 47, 74, 0.35), transparent);
}

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

.page-hero h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.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 p {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.contact-info dl {
	margin-top: 1.25rem;
	font-size: 0.88rem;
	color: var(--muted);
}

.contact-info dt {
	font-weight: 600;
	color: var(--text);
	margin-top: 0.75rem;
}

.contact-info dt:first-child {
	margin-top: 0;
}

.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(1, 128, 217, 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(--accent);
}

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

.form-status {
	margin: 0;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.form-status--success {
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #bbf7d0;
}

.form-status--error {
	background: rgba(248, 113, 113, 0.12);
	border: 1px solid rgba(248, 113, 113, 0.35);
	color: #fecaca;
}

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

@media (max-width: 900px) {
	.about-columns,
	.about-columns--two,
	.about-grid,
	.services-grid,
	.services-grid--four,
	.coverage__regions,
	.contact-cta__inner,
	.contact-layout,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__col--end {
		text-align: left;
	}

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

	.gallery__nav {
		opacity: 0.35;
	}

	.site-header__inner {
		position: relative;
	}

	.site-header__inner > nav {
		margin-left: 0;
		order: 10;
		width: 100%;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding: 1rem 0 0.25rem;
		gap: 0.75rem;
	}

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

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

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

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

	.gallery__track {
		transition: none;
	}

	.coverage-region:hover {
		transform: none;
	}

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