/* ==========================================================================
   Rotalar — Premium routes archive
   Scoped: .iuk-routes
   ========================================================================== */

.iuk-routes {
	--av-bg: #020617;
	--av-surface: #0b1120;
	--av-surface-2: #111827;
	--av-line: rgba(255, 255, 255, 0.07);
	--av-text: #f8fafc;
	--av-muted: rgba(255, 255, 255, 0.52);
	--av-blue: #2563eb;
	--av-cyan: #06b6d4;
	--av-green: #10b981;
	--av-wa: #25d366;
	--av-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--av-header: 72px;
	--rt-pad: clamp(3.5rem, 6vw, 5.5rem);
	background: var(--av-bg);
	color: var(--av-text);
}

.iuk-routes .iuk-main {
	padding-top: 0;
	background: var(--av-bg);
}

.iuk-routes .iuk-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(2, 6, 23, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--av-line);
}

.iuk-routes .iuk-nav__list a {
	color: rgba(255, 255, 255, 0.78);
}

.iuk-routes .iuk-nav__list a:hover,
.iuk-routes .iuk-nav__list .current-menu-item a,
.iuk-routes .iuk-nav__list .current_page_item a {
	color: #fff;
}

.iuk-routes .iuk-header .brand-main {
	color: #fff;
}

.iuk-routes .iuk-header .brand-sub {
	background: linear-gradient(95deg, #fff 0%, #f2efe6 25%, #e8d28a 52%, #c8d8eb 82%, #afbbe8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.iuk-routes .iuk-header .iuk-brand-mark {
	color: #d8e2ef;
	opacity: 0.9;
}

.iuk-routes .iuk-header__actions .iuk-btn--whatsapp {
	box-shadow: 0 2px 16px rgba(37, 211, 102, 0.32);
}

.iuk-routes .iuk-footer {
	margin-top: 0;
}

.iuk-routes .av-reveal {
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition: opacity 0.85s var(--av-ease), transform 0.85s var(--av-ease);
	transition-delay: var(--delay, 0s);
}

.iuk-routes .av-reveal.is-in {
	opacity: 1;
	transform: none;
}

.iuk-routes .av-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.35s var(--av-ease), border-color 0.35s, background 0.35s;
}

.iuk-routes .av-btn svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.iuk-routes .av-btn--wa {
	background: var(--av-wa);
	color: #fff;
}

.iuk-routes .av-btn--wa:hover {
	transform: translateY(-2px);
}

.iuk-routes .av-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
}

.iuk-routes .av-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}

.iuk-routes .av-btn--xl {
	padding: 0.9rem 1.65rem;
	font-size: 0.9375rem;
}

.iuk-routes .av-pulse-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--av-green);
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
	animation: rt-pulse 2s infinite;
}

@keyframes rt-pulse {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
	70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero */
.iuk-routes .rt-hero.av-hero {
	position: relative;
	min-height: min(78vh, 720px);
	padding: calc(var(--av-header) + 2.5rem) 0 3.5rem;
	overflow: hidden;
	background: var(--av-bg);
}

.iuk-routes .av-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.iuk-routes .av-hero__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	will-change: transform;
}

.iuk-routes .rt-hero__photo {
	object-position: center 35%;
	filter: contrast(1.06) saturate(0.92) brightness(0.78);
}

.iuk-routes .rt-hero__overlay {
	background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.72) 50%, rgba(2, 6, 23, 0.95) 100%);
}

.iuk-routes .av-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.iuk-routes .av-hero__vignette {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: radial-gradient(ellipse 80% 70% at 50% 40%, transparent 25%, rgba(2, 6, 23, 0.6) 100%);
	pointer-events: none;
}

.iuk-routes .av-hero__inner {
	position: relative;
	z-index: 5;
}

.iuk-routes .av-hero__eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(126, 231, 255, 0.85);
	margin: 0 0 1rem;
}

.iuk-routes .rt-hero__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #fff;
}

.iuk-routes .rt-hero__title-line {
	display: block;
	overflow: visible;
	padding-bottom: 0.04em;
	color: #fff;
}

.iuk-routes .rt-hero__title-line--accent {
	background: linear-gradient(95deg, #fff 0%, #c8d8eb 45%, #06b6d4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #fff;
}

.iuk-routes .rt-hero__lead {
	max-width: 42rem;
	margin: 0;
	font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
	line-height: 1.65;
	color: var(--av-muted);
}

.iuk-routes .av-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.iuk-routes .rt-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: 32rem;
	margin-top: 2.5rem;
}

.iuk-routes .rt-hero__stat {
	padding: 1rem 1.125rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.iuk-routes .rt-hero__stat-value {
	display: block;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.iuk-routes .rt-hero__stat-label {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--av-muted);
}

.iuk-routes .rt-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.iuk-routes .rt-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
}

.iuk-routes .rt-hero__trust-icon {
	display: flex;
	color: var(--av-cyan);
}

.iuk-routes .rt-hero__trust-icon svg {
	width: 1rem;
	height: 1rem;
}

/* Archive */
.iuk-routes .rt-archive {
	padding: var(--rt-pad) 0;
	background: linear-gradient(180deg, var(--av-bg) 0%, #030a18 100%);
}

.iuk-routes .rt-archive__head {
	margin-bottom: 2rem;
	max-width: 40rem;
}

.iuk-routes .rt-archive__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(126, 231, 255, 0.85);
}

.iuk-routes .rt-archive__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.iuk-routes .rt-archive__desc {
	margin: 0;
	color: var(--av-muted);
	line-height: 1.65;
	font-size: 0.9375rem;
}

.iuk-routes .rt-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 2rem;
	padding: 1.25rem 1.5rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--av-line);
	position: relative;
	overflow: hidden;
}

.iuk-routes .rt-toolbar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--av-blue), var(--av-cyan));
	opacity: 0.85;
}

.iuk-routes .rt-search {
	position: relative;
	flex: 1 1 18rem;
	max-width: 36rem;
}

.iuk-routes .rt-search__icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--av-muted);
	pointer-events: none;
}

.iuk-routes .rt-search__icon svg {
	width: 1.125rem;
	height: 1.125rem;
}

.iuk-routes .rt-search__input {
	width: 100%;
	padding: 0.875rem 2.75rem 0.875rem 2.75rem;
	font-size: 0.9375rem;
	color: #fff;
	background: rgba(2, 6, 23, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	outline: none;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.iuk-routes .rt-search__input::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

.iuk-routes .rt-search__input:focus {
	border-color: rgba(6, 182, 212, 0.55);
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

.iuk-routes .rt-search__input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.iuk-routes .rt-search__clear {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--av-muted);
	background: transparent;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.iuk-routes .rt-search__clear:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.iuk-routes .rt-count {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--av-muted);
	white-space: nowrap;
}

.iuk-routes .rt-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	.iuk-routes .rt-grid {
		gap: 1.125rem;
	}
}

/* Route cards */
.iuk-routes .av-route-mod {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.5rem;
	align-items: center;
	padding: 1.5rem 1.75rem;
	background: rgba(2, 6, 23, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: all 0.35s var(--av-ease);
}

.iuk-routes .av-route-mod:hover {
	border-color: rgba(6, 182, 212, 0.45);
	background: rgba(2, 6, 23, 0.92);
	transform: translateX(4px);
	box-shadow: -4px 0 0 var(--av-cyan), 0 12px 40px rgba(6, 182, 212, 0.14);
}

.iuk-routes .av-route-mod__codes {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.iuk-routes .av-route-mod__code {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.iuk-routes .av-route-mod__connector {
	position: relative;
	width: 48px;
	height: 2px;
}

.iuk-routes .av-route-mod__line {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--av-blue), var(--av-cyan));
}

.iuk-routes .av-route-mod__dot {
	position: absolute;
	right: -3px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: var(--av-cyan);
	box-shadow: 0 0 10px var(--av-cyan);
}

.iuk-routes .av-route-mod__cities {
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
	margin: 0 0 0.25rem;
}

.iuk-routes .av-route-mod__title {
	font-size: 0.8125rem;
	color: var(--av-muted);
	margin: 0;
}

.iuk-routes .av-route-mod__foot {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.375rem;
}

.iuk-routes .av-route-mod__status {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--av-green);
}

.iuk-routes .av-route-mod__time {
	font-size: 0.8125rem;
	color: var(--av-cyan);
	font-weight: 600;
}

.iuk-routes .av-route-mod__arrow {
	font-size: 1.25rem;
	color: var(--av-muted);
	transition: transform 0.25s, color 0.25s;
}

.iuk-routes .av-route-mod:hover .av-route-mod__arrow {
	transform: translateX(4px);
	color: var(--av-cyan);
}

.iuk-routes .av-route-mod--demo {
	cursor: default;
	pointer-events: none;
}

.iuk-routes .av-route-mod--demo:hover {
	transform: none;
	box-shadow: none;
	border-color: rgba(255, 255, 255, 0.09);
	background: rgba(2, 6, 23, 0.72);
}

.iuk-routes .av-route-mod__status--demo {
	color: rgba(126, 231, 255, 0.75);
}

.iuk-routes .av-route-mod--custom-title .av-route-mod__body,
.rt-page .av-route-mod--custom-title .av-route-mod__body {
	padding-block: 0.35rem 0.15rem;
}

.iuk-routes .av-route-mod__cities--solo,
.rt-page .av-route-mod__cities--solo {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.35;
	margin: 0;
}

/* Empty states */
.iuk-routes .rt-empty {
	text-align: center;
	padding: 3rem 1.5rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.12);
}

.iuk-routes .rt-empty--hidden[hidden] {
	display: none !important;
}

.iuk-routes .rt-empty__icon {
	display: inline-flex;
	margin-bottom: 1rem;
	color: var(--av-cyan);
	opacity: 0.85;
}

.iuk-routes .rt-empty__icon svg {
	width: 2rem;
	height: 2rem;
}

.iuk-routes .rt-empty h2 {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.iuk-routes .rt-empty p {
	margin: 0 auto 1.25rem;
	max-width: 28rem;
	color: var(--av-muted);
	line-height: 1.6;
}

/* CTA */
.iuk-routes .rt-cta.av-cta {
	position: relative;
	padding: var(--rt-pad) 0 calc(var(--rt-pad) + 1rem);
	overflow: hidden;
	background: var(--av-bg);
}

.iuk-routes .av-cta__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
}

.iuk-routes .av-cta__glow--1 {
	width: 420px;
	height: 420px;
	top: -120px;
	left: 10%;
	background: rgba(37, 99, 235, 0.18);
}

.iuk-routes .av-cta__glow--2 {
	width: 360px;
	height: 360px;
	bottom: -80px;
	right: 8%;
	background: rgba(6, 182, 212, 0.14);
}

.iuk-routes .rt-cta__panel {
	position: relative;
	z-index: 2;
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
	padding: 2.75rem 2rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.iuk-routes .rt-cta__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(126, 231, 255, 0.9);
}

.iuk-routes .av-cta__title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.iuk-routes .av-cta__text {
	margin: 0 auto 1.75rem;
	max-width: 34rem;
	color: var(--av-muted);
	line-height: 1.65;
}

.iuk-routes .av-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

@media (max-width: 767px) {
	.iuk-routes .rt-hero__stats {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.iuk-routes .rt-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.iuk-routes .rt-count {
		text-align: center;
	}

	.iuk-routes .av-route-mod {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.iuk-routes .av-route-mod__foot {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.iuk-routes .av-cta__actions .av-btn--xl {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.iuk-routes .av-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.iuk-routes .av-pulse-dot {
		animation: none;
	}

	.iuk-routes .av-route-mod:hover {
		transform: none;
	}
}
