@charset "utf-8";
/* CSS Document 

TemplateMo 603 Nexaverse

https://templatemo.com/tm-603-nexaverse

*/

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

:root {
	--primary: #19c6e8;
	--secondary: #2467d8;
	--accent: #b9c9df;
	--dark-1: #0a0a12;
	--dark-2: #12121f;
	--dark-3: #1a1a2e;
	--glass-bg: rgba(255, 255, 255, 0.03);
	--glass-border: rgba(255, 255, 255, 0.08);
	--glow-cyan: rgba(25, 198, 232, 0.4);
	--glow-magenta: rgba(36, 103, 216, 0.4);
}

body {
	font-family: 'Outfit', sans-serif;
	background: var(--dark-1);
	color: #ffffff;
	overflow-x: hidden;
	min-height: 100vh;
}

/* Four independent WebP layers crossfade for theme AND home/section changes. */
.ambient-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--dark-1);
}
.background-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 450ms ease;
}
.background-night-home {
  background-image: linear-gradient(to bottom, rgba(3, 8, 16, 0.40), rgba(3, 8, 16, 0.52)),
    url("assets/backgrounds/ekecar-bg-home-road-night.webp");
}
.background-night-section {
  background-image: linear-gradient(to bottom, rgba(3, 8, 16, 0.52), rgba(3, 8, 16, 0.68)),
    url("assets/backgrounds/ekecar-bg-subpages-road-night.webp");
}
.background-day-home {
  background-image: linear-gradient(to bottom, rgba(3, 8, 16, 0.58), rgba(3, 8, 16, 0.72)),
    url("assets/backgrounds/ekecar-bg-home-road-day.webp");
}
.background-day-section {
  background-image: linear-gradient(to bottom, rgba(3, 8, 16, 0.64), rgba(3, 8, 16, 0.76)),
    url("assets/backgrounds/ekecar-bg-subpages-road-day.webp");
}
html[data-theme="night"] body[data-view="home"] .background-night-home,
html[data-theme="night"] body[data-view="section"] .background-night-section,
html[data-theme="day"] body[data-view="home"] .background-day-home,
html[data-theme="day"] body[data-view="section"] .background-day-section {
  opacity: 1;
}

/* Persistent 84px control; all existing panels keep their dark appearance. */
.background-switch {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  z-index: 200;
  width: 84px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 5px;
  border: 1px solid rgba(150, 190, 220, 0.28);
  border-radius: 999px;
  background: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  color: #b9c9df;
  cursor: pointer;
  touch-action: manipulation;
}
.background-switch-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(25, 198, 232, 0.13);
  border: 1px solid rgba(25, 198, 232, 0.38);
  transform: translateX(40px);
  transition: transform 300ms ease;
}
.background-switch svg { position: relative; width: 19px; height: 19px; transition: color 300ms ease; }
html[data-theme="night"] .background-switch-moon,
html[data-theme="day"] .background-switch-sun { color: var(--primary); }
html[data-theme="day"] .background-switch-thumb { transform: translateX(0); }
.background-switch:hover { border-color: rgba(25, 198, 232, 0.55); }
.background-switch:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
/* Desktop back buttons reserve the switch width and a 16px gap. */
@media (min-width: 769px) {
  .content-section .back-btn { right: calc(max(20px, env(safe-area-inset-right)) + 100px); }
}
/* The existing mobile logo/back-button flow remains below a reserved top row. */
@media (max-width: 768px) {
  .background-switch { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
  body .container { padding-top: calc(max(12px, env(safe-area-inset-top)) + 56px); }
  .background-layer { background-position: 55% center; }
}

/* The photographic road background replaces the animated orbs and grid. */
.ambient-bg .orb,
.grid-overlay {
  display: none;
}

/* Loading Screen */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--dark-1);
	z-index: 10000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-ring {
	width: 80px;
	height: 80px;
	position: relative;
}

.loader-ring::before,
.loader-ring::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	border: 2px solid transparent;
}

.loader-ring::before {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-top-color: var(--primary);
	border-right-color: var(--primary);
	animation: spin 1.2s linear infinite;
}

.loader-ring::after {
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;
	border-bottom-color: var(--secondary);
	border-left-color: var(--secondary);
	animation: spin 0.8s linear infinite reverse;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.loading-text {
	margin-top: 30px;
	font-family: 'Syne', sans-serif;
	font-size: 12px;
	letter-spacing: 4px;
	color: var(--primary);
	text-transform: uppercase;
}

/* Main Container */
.container {
	position: relative;
	z-index: 10;
	padding: 40px 20px;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header */
.header {
	text-align: center;
	margin-bottom: 60px;
	opacity: 0;
	animation: fadeUp 0.8s ease-out 1s forwards;
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}

	from {
		transform: translateY(30px);
	}
}

.logo {
	width: 90px;
	height: 90px;
	margin: 0 auto 25px;
	position: relative;
}

.logo svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 20px var(--glow-cyan));
}

.brand-name {
	font-family: 'Syne', sans-serif;
	font-size: 52px;
	font-weight: 600;
	letter-spacing: 6px;
	margin-bottom: 12px;
	background: linear-gradient(135deg, var(--primary) 0%, #ffffff 50%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-transform: uppercase;
}

.tagline {
	font-size: 13px;
	letter-spacing: 5px;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	font-weight: 300;
}

/* Menu Grid */
.menu-grid {
	display: grid;
	grid-template-columns: repeat(3, 204px);
	gap: 25px;
	margin: 0 auto 40px;
	justify-content: center;
}

.menu-item {
	height: 170px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	opacity: 0;
	transform: translateY(30px) scale(0.9);
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glossy effect overlay */
.menu-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0.12) 0%,
			rgba(255, 255, 255, 0.05) 40%,
			transparent 100%);
	border-radius: 24px 24px 0 0;
	pointer-events: none;
}

/* Glow ring on hover - removed, using cleaner border style */
.menu-item::after {
	display: none;
}

.menu-item:hover {
	transform: translateY(-10px) scale(1.02);
	background: rgba(25, 198, 232, 0.08);
	border-color: var(--primary);
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.4),
		0 0 30px rgba(25, 150, 218, 0.2);
}

.menu-item.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.menu-item.initial-load {
	animation: menuAppear 0.5s ease-out forwards;
}

.menu-item.initial-load:nth-child(1) {
	animation-delay: 1.1s;
}

.menu-item.initial-load:nth-child(2) {
	animation-delay: 1.2s;
}

.menu-item.initial-load:nth-child(3) {
	animation-delay: 1.3s;
}

.menu-item.initial-load:nth-child(4) {
	animation-delay: 1.4s;
}

.menu-item.initial-load:nth-child(5) {
	animation-delay: 1.5s;
}

.menu-item.initial-load:nth-child(6) {
	animation-delay: 1.6s;
}

@keyframes menuAppear {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Menu Badge - Replaces Icons */
.menu-badge {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Syne', sans-serif;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
	position: relative;
	background: linear-gradient(135deg,
			rgba(25, 198, 232, 0.15) 0%,
			rgba(36, 103, 216, 0.15) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--primary);
	text-shadow: 0 0 20px var(--glow-cyan);
	transition: all 0.4s ease;
	overflow: hidden;
}

/* Inner glossy shine */
.menu-badge::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 10%;
	right: 10%;
	height: 45%;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0.3) 0%,
			transparent 100%);
	border-radius: 50%;
	pointer-events: none;
}

/* Animated ring */
.menu-badge::after {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px solid transparent;
	border-top-color: var(--primary);
	border-right-color: rgba(25, 150, 218, 0.5);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.menu-item:hover .menu-badge {
	background: linear-gradient(135deg,
			rgba(25, 198, 232, 0.2) 0%,
			rgba(25, 150, 218, 0.15) 100%);
	transform: scale(1.1);
	box-shadow: 0 0 25px rgba(25, 150, 218, 0.25);
}

.menu-item:hover .menu-badge::after {
	opacity: 1;
	animation: badgeSpin 2s linear infinite;
}

@keyframes badgeSpin {
	to {
		transform: rotate(360deg);
	}
}

.menu-title {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	transition: all 0.3s ease;
}

.menu-item:hover .menu-title {
	color: #ffffff;
	letter-spacing: 4px;
}

/* Content Sections */
.content-section {
	display: none;
	opacity: 0;
	padding: 80px 20px;
	position: relative;
}

.content-section.active {
	display: block;
	animation: sectionIn 0.6s ease-out forwards;
}

@keyframes sectionIn {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Section Header Small */
.section-header-small {
	position: fixed;
	top: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 100;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 12px 20px;
	border-radius: 50px;
	border: 1px solid var(--glass-border);
}

.small-logo {
	width: 32px;
	height: 32px;
}

.small-logo svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.small-brand h3 {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--primary);
}

.small-brand p {
	font-size: 9px;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 2px;
}

/* Back Button */
.back-btn {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 12px 24px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 50px;
	color: rgba(255, 255, 255, 0.8);
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 100;
}

.back-btn:hover {
	background: rgba(25, 198, 232, 0.1);
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: 0 0 20px var(--glow-cyan);
}

/* Section Content */
.section-header {
	text-align: center;
	margin-bottom: 50px;
}

.section-title {
	font-family: 'Syne', sans-serif;
	font-size: 42px;
	font-weight: 600;
	margin-bottom: 15px;
	background: linear-gradient(135deg, var(--primary) 0%, #ffffff 50%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 2px;
}

/* Glass Cards */
.glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	padding: 30px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.glass-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== NEW INTRODUCTION SECTION STYLES ===== */

/* Hero Banner */
.intro-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	margin-bottom: 60px;
	padding: 40px 0;
}

.intro-hero-content {
	max-width: 550px;
}

.intro-badge {
	display: inline-block;
	padding: 8px 18px;
	background: rgba(25, 198, 232, 0.1);
	border: 1px solid rgba(25, 198, 232, 0.3);
	border-radius: 50px;
	font-size: 12px;
	letter-spacing: 2px;
	color: var(--primary);
	margin-bottom: 25px;
}

.intro-headline {
	font-family: 'Syne', sans-serif;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 25px;
	color: #ffffff;
}

.intro-headline span {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.intro-subtext {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 35px;
}

.intro-cta-group {
	display: flex;
	gap: 15px;
}

.intro-cta-primary {
	padding: 14px 32px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--primary);
	border-radius: 50px;
	color: var(--primary);
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.intro-cta-primary:hover {
	background: rgba(25, 198, 232, 0.15);
	box-shadow: 0 0 25px rgba(25, 150, 218, 0.3);
	transform: translateY(-2px);
}

.intro-cta-secondary {
	padding: 14px 32px;
	background: transparent;
	border: 1px solid var(--glass-border);
	border-radius: 50px;
	color: rgba(255, 255, 255, 0.7);
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.intro-cta-secondary:hover {
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}

/* Hero Visual */
.intro-hero-visual {
	position: relative;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.intro-orb {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(25, 198, 232, 0.3), rgba(185, 201, 223, 0.2) 50%, transparent 70%);
	filter: blur(40px);
	animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 0.7;
	}

	50% {
		transform: scale(1.1);
		opacity: 1;
	}
}

.intro-floating-card {
	position: absolute;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
	animation: floatCard 6s ease-in-out infinite;
}

.intro-floating-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
	border-radius: 14px 14px 0 0;
	pointer-events: none;
}

.card-icon {
	font-size: 20px;
}

.card-text {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.5px;
}

.card-1 {
	top: 30px;
	left: 10%;
	animation-delay: 0s;
}

.card-2 {
	top: 50%;
	right: 5%;
	transform: translateY(-50%);
	animation-delay: -2s;
}

.card-3 {
	bottom: 30px;
	left: 20%;
	animation-delay: -4s;
}

@keyframes floatCard {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-15px);
	}
}

.card-2 {
	animation-name: floatCardAlt;
}

@keyframes floatCardAlt {

	0%,
	100% {
		transform: translateY(-50%);
	}

	50% {
		transform: translateY(calc(-50% - 15px));
	}
}

/* Metrics Strip */
.intro-metrics {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	padding: 40px 50px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	margin-bottom: 60px;
	position: relative;
	overflow: hidden;
}

.intro-metrics::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.metric-item {
	text-align: center;
}

.metric-value {
	font-family: 'Syne', sans-serif;
	font-size: 42px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline;
}

.metric-suffix {
	font-family: 'Syne', sans-serif;
	font-size: 28px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.metric-label {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 8px;
	letter-spacing: 1px;
}

.metric-divider {
	width: 1px;
	height: 50px;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* Core Values */
.intro-values {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-bottom: 60px;
}

.value-card {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	padding: 35px 30px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.value-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.value-card:hover {
	transform: translateY(-8px);
	border-color: rgba(25, 198, 232, 0.2);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.value-card h3 {
	font-family: 'Syne', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 12px;
}

.value-card p {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
}

/* Tech Stack */
.intro-tech {
	text-align: center;
}

.tech-label {
	font-size: 12px;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
	margin-bottom: 20px;
}

.tech-marquee {
	overflow: hidden;
	position: relative;
	padding: 20px 0;
}

.tech-marquee::before,
.tech-marquee::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 2;
	pointer-events: none;
}

.tech-marquee::before {
	left: 0;
	background: linear-gradient(90deg, var(--dark-1), transparent);
}

.tech-marquee::after {
	right: 0;
	background: linear-gradient(-90deg, var(--dark-1), transparent);
}

.tech-track {
	display: flex;
	gap: 40px;
	animation: marquee 20s linear infinite;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.tech-item {
	font-family: 'Syne', sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.3);
	white-space: nowrap;
	transition: color 0.3s ease;
}

.tech-item:hover {
	color: var(--primary);
}

/* Services Row Layout */
.services-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 30px;
}

.service-row {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.service-row::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.service-row::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--primary), var(--accent));
	border-radius: 20px 0 0 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.service-row:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(25, 198, 232, 0.2);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-row:hover::after {
	opacity: 1;
}

.service-row-icon {
	width: 240px;
	height: 180px;
	min-width: 140px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(25, 198, 232, 0.1), rgba(185, 201, 223, 0.1));
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.service-row-icon::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 10%;
	right: 10%;
	height: 40%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
	border-radius: 12px 12px 50% 50%;
}

.service-row-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

.service-row-content {
	flex: 1;
}

.service-row-content h4 {
	font-family: 'Syne', sans-serif;
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--primary);
}

.service-row-content p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
}

.service-row-arrow {
	display: none;
}

/* Tabs */
.tabs-container {
	margin-bottom: 30px;
}

.tab-buttons {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.tab-btn {
	padding: 12px 28px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 50px;
	color: rgba(255, 255, 255, 0.6);
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.tab-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
	border-radius: 50px 50px 0 0;
}

.tab-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #ffffff;
}

.tab-btn.active {
	background: linear-gradient(135deg, rgba(25, 198, 232, 0.2), rgba(36, 103, 216, 0.2));
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: 0 0 20px var(--glow-cyan);
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
	animation: tabFade 0.4s ease-out;
}

@keyframes tabFade {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.gallery-item {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1;
	cursor: pointer;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	transition: all 0.4s ease;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-item:hover {
	transform: scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	border-color: var(--primary);
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent 40%, rgba(10, 10, 18, 0.9) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-overlay h4 {
	font-family: 'Syne', sans-serif;
	font-size: 16px;
	color: var(--primary);
	margin-bottom: 5px;
}

.gallery-overlay p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

/* Filter Buttons */
.filter-buttons {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 10px 20px;
	background: transparent;
	border: 1px solid var(--glass-border);
	border-radius: 30px;
	color: rgba(255, 255, 255, 0.6);
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
	background: rgba(25, 198, 232, 0.1);
	border-color: var(--primary);
	color: var(--primary);
}

/* Testimonials */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}

.testimonial-card {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	padding: 30px;
	position: relative;
	overflow: hidden;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 20px;
	right: 30px;
	font-family: 'Syne', sans-serif;
	font-size: 80px;
	color: rgba(25, 198, 232, 0.1);
	line-height: 1;
}

.testimonial-text {
	font-size: 15px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 15px;
}

.author-avatar {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--primary);
	box-shadow: 0 0 20px rgba(25, 198, 232, 0.2);
}

.author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-info h5 {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--primary);
}

.author-info p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

/* About Section */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.about-text h3 {
	font-family: 'Syne', sans-serif;
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 20px;
	color: var(--primary);
}

.about-text p {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.8;
	margin-bottom: 15px;
}

.about-text a {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.about-text a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.about-text a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(25, 198, 232, 0.5);
}

.about-text a:hover::after {
    width: 100%;
}

.about-image {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.about-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(25, 198, 232, 0.1), rgba(185, 201, 223, 0.1));
}

/* Contact Form */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	position: relative;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 16px 20px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	color: #ffffff;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 20px var(--glow-cyan);
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.submit-btn {
	padding: 16px 40px;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 50px;
	color: var(--primary);
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.submit-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
	border-radius: 50px 50px 0 0;
}

.submit-btn:hover {
	background: rgba(25, 198, 232, 0.1);
	border-color: var(--primary);
	transform: translateY(-3px);
	box-shadow:
		0 15px 30px rgba(0, 0, 0, 0.3),
		0 0 30px rgba(25, 150, 218, 0.25);
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.contact-item {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 16px;
	padding: 25px;
	display: flex;
	align-items: center;
	gap: 20px;
	transition: all 0.3s ease;
}

.contact-item:hover {
	border-color: var(--primary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(25, 198, 232, 0.2), rgba(185, 201, 223, 0.2));
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	color: var(--primary);
	position: relative;
	overflow: hidden;
}

.contact-icon::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 10%;
	right: 10%;
	height: 40%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
	border-radius: 50%;
}

.contact-details h4 {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 5px;
}

.contact-details p {
	color: #ffffff;
	font-size: 15px;
}

/* Exit animations */
.menu-item.exit-up {
	animation: exitDown 0.5s ease-out forwards !important;
	pointer-events: none;
}

@keyframes exitDown {
	to {
		transform: translateY(50px);
		opacity: 0;
	}
}

.menu-item.return {
	animation: menuReturn 0.4s ease-out forwards !important;
}

@keyframes menuReturn {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.9);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Footer */
.footer {
	margin-top: auto;
	padding: 30px 0;
	text-align: center;
	opacity: 0;
	animation: fadeUp 0.5s ease-out 1.7s forwards;
}

.footer p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 1px;
}

.footer a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer a:hover {
	color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
	.menu-grid {
		grid-template-columns: repeat(3, 170px);
	}

	.menu-item {
		height: 145px;
	}

	.intro-hero {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.intro-hero-content {
		text-align: center;
		max-width: 100%;
	}

	.intro-cta-group {
		justify-content: center;
	}

	.intro-hero-visual {
		height: 300px;
	}

	.intro-metrics {
		flex-wrap: wrap;
		gap: 30px;
	}

	.metric-divider {
		display: none;
	}

	.intro-values {
		grid-template-columns: 1fr;
	}

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

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

	.about-content,
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.brand-name {
		font-size: 36px;
		letter-spacing: 4px;
	}

	.menu-grid {
		grid-template-columns: repeat(2, 155px);
		gap: 15px;
	}

	.menu-item {
		height: 135px;
	}

	.menu-badge {
		width: 50px;
		height: 50px;
		font-size: 18px;
	}

	.section-title {
		font-size: 28px;
	}

	.intro-headline {
		font-size: 36px;
	}

	.intro-hero-visual {
		display: none;
	}

	.intro-metrics {
		padding: 30px 25px;
	}

	.metric-value {
		font-size: 32px;
	}

	.service-row {
		flex-direction: column;
		text-align: center;
	}

	.service-row-icon {
		width: 200px;
		height: 150px;
		min-width: 120px;
	}

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

	.section-header-small {
		position: relative;
		top: auto;
		left: auto;
		margin-bottom: 20px;
		justify-content: center;
	}

	.back-btn {
		position: relative;
		top: auto;
		right: auto;
		display: block;
		width: fit-content;
		margin: 0 auto 30px;
	}

	.content-section {
		padding-top: 20px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 20px 15px;
	}

	.brand-name {
		font-size: 28px;
		letter-spacing: 3px;
	}

	.tagline {
		font-size: 10px;
		letter-spacing: 3px;
	}

	.menu-grid {
		grid-template-columns: repeat(2, 130px);
		gap: 12px;
	}

	.menu-item {
		height: 120px;
	}

	.menu-badge {
		width: 45px;
		height: 45px;
		font-size: 16px;
	}

	.menu-title {
		font-size: 10px;
		letter-spacing: 2px;
	}

	.intro-headline {
		font-size: 28px;
	}

	.intro-subtext {
		font-size: 15px;
	}

	.intro-cta-group {
		flex-direction: column;
		align-items: center;
	}

	.intro-cta-primary,
	.intro-cta-secondary {
		width: 100%;
		max-width: 250px;
		text-align: center;
	}

	.intro-metrics {
		flex-direction: column;
		gap: 25px;
	}

	.metric-value {
		font-size: 36px;
	}

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

	.tab-buttons {
		flex-direction: column;
		align-items: center;
	}

	.tab-btn {
		width: 100%;
		max-width: 250px;
	}
}
/* EKECAR arculati és tartalmi kiegészítések; a Nexaverse elrendezése megmarad. */
:root {
  --primary: #19c6e8;
  --secondary: #2467d8;
  --accent: #b9c9df;
  --dark-1: #060b14;
  --dark-2: #0d1725;
  --dark-3: #172535;
  --glow-magenta: rgba(36, 103, 216, 0.3);
}
.brand-logo {
  display: block;
  width: min(360px, 80vw);
  height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 12px 28px rgba(25, 198, 232, 0.15));
}
.header .brand-name { font-size: clamp(30px, 5vw, 48px); margin-bottom: 2px; }
.opening-text {
  max-width: 640px;
  margin: 24px auto 0;
  color: #c7d5e3;
  line-height: 1.65;
  font-size: 16px;
}
.opening-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px auto 0;
}
.opening-actions button { min-width: 170px; }
.menu-item {
  font: inherit;
  color: inherit;
  text-align: center;
  appearance: none;
}
.menu-item:focus-visible, .back-btn:focus-visible, .intro-cta-primary:focus-visible,
.intro-cta-secondary:focus-visible, .tab-btn:focus-visible, .filter-btn:focus-visible {
  outline: 3px solid #b9c9df;
  outline-offset: 4px;
}
.small-logo-image { width: 42px; height: 42px; object-fit: contain; }
.intro-headline { line-height: 1.15; }
.intro-hero-content .intro-subtext { max-width: 630px; }
.section-action { display: flex; justify-content: center; margin: 30px 0; }
.content-note {
  color: #b9c9df;
  line-height: 1.55;
  margin: 18px 0;
}
.service-row-content { width: 100%; }
.service-row-content h3 { color: #e8f3fa; margin-bottom: 12px; }
/* Shared showroom stage for placeholders and future transparent vehicle cutouts. */
.vehicle-placeholder,
.vehicle-card {
  background-color: #101a27;
  background-image:
    linear-gradient(to bottom, rgba(3, 8, 16, 0.10), rgba(3, 8, 16, 0.28)),
    url("assets/backgrounds/ekecar-bg-vehicle-stage.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.vehicle-placeholder { cursor: default; }
.vehicle-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
}
.vehicle-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  padding: clamp(12px, 3vw, 28px);
}
.vehicle-card:hover img { transform: none; }
.vehicle-placeholder-icon {
  display: grid;
  place-items: center;
  height: 70%;
  color: rgba(185, 201, 223, 0.22);
  font: 700 clamp(64px, 10vw, 128px) 'Syne', sans-serif;
}
.vehicle-placeholder .gallery-overlay {
  opacity: 1;
  background: linear-gradient(transparent 25%, rgba(6, 11, 20, 0.97) 100%);
}
.vehicle-placeholder .gallery-overlay h3 {
  color: #e3f3ff;
  font-size: 18px;
  margin-bottom: 6px;
}
.vehicle-placeholder .gallery-overlay p { color: #b9c9df; font-size: 13px; line-height: 1.4; }
.step-number { display: block; font: 700 24px 'Syne', sans-serif; color: var(--primary); margin-bottom: 16px; }
.rental-steps h3 { margin-bottom: 12px; }
.rental-steps p { line-height: 1.6; color: #c7d5e3; }
.brand-image {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: #080d16;
}
.brand-image img { max-width: 90%; max-height: 360px; object-fit: contain; }
.contact-form label { display: block; margin-bottom: 9px; color: #dce9f4; }
.contact-form input:disabled, .contact-form textarea:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.submit-btn:disabled:hover { transform: none; box-shadow: none; }
@media (max-width: 480px) {
  .opening-actions { flex-direction: column; }
  .opening-actions button { width: min(100%, 300px); }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-title { letter-spacing: 0.5px; font-size: 11px; }
  .content-section { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* EKECAR főlogó és egységes menüikonok */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header .brand-logo { margin-bottom: 0; }
.header .opening-text { margin-top: 16px; }
.menu-badge .menu-icon {
  width: 27px;
  height: 27px;
  display: block;
  flex: none;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 7px rgba(25, 198, 232, 0.24));
}
.section-header-small {
  padding: 4px 12px;
  min-height: 72px;
}
.section-header-small .small-logo-image {
  display: block;
  width: 144px;
  height: auto;
  max-height: 81px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .menu-badge .menu-icon { width: 23px; height: 23px; }
  .section-header-small {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .section-header-small .small-logo-image { width: 132px; max-height: 74px; }
}

/* Text and glass contrast against the photographic background. */
:root { --glass-bg: rgba(5, 12, 22, 0.34); }
.opening-text,
.intro-subtext,
.section-subtitle { color: #d7e4ef; }
.menu-title { color: #e2eaf2; }
.intro-cta-secondary {
  background: rgba(5, 12, 22, 0.38);
  color: #e7f1f8;
}
@media (max-width: 768px) {
  .ambient-bg, .ambient-bg::after { background-position: 55% center; }
}

/* Subpage panels: keep the road visible around cards, not through their text. */
:root {
  --panel-bg-subpage: rgba(7, 13, 24, 0.80);
  --panel-border-subpage: rgba(150, 190, 220, 0.18);
  --panel-shadow-subpage: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.content-section .glass-card,
.content-section .value-card,
.content-section .testimonial-card,
.content-section .intro-metrics,
.content-section .service-row,
.content-section .contact-form,
.content-section .contact-item,
.content-section .about-text {
  background: var(--panel-bg-subpage);
  border: 1px solid var(--panel-border-subpage);
  box-shadow: var(--panel-shadow-subpage);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.content-section .tab-content {
  padding: 12px;
  border: 1px solid var(--panel-border-subpage);
  border-radius: 20px;
  background: rgba(7, 13, 24, 0.72);
  box-shadow: var(--panel-shadow-subpage);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.content-section .about-text,
.content-section .contact-form {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 20px;
}

.content-section .about-image,
.content-section .brand-image {
  border: 1px solid var(--panel-border-subpage);
  box-shadow: var(--panel-shadow-subpage);
  background-color: #080d16;
}

.content-section .gallery-item,
.content-section .vehicle-card {
  border: 1px solid rgba(150, 190, 220, 0.24);
  box-shadow: var(--panel-shadow-subpage);
  background-color: #101a27;
}

.content-section .gallery-overlay,
.content-section .vehicle-placeholder .gallery-overlay {
  background: linear-gradient(to bottom, transparent 22%, rgba(5, 10, 19, 0.72) 70%, rgba(5, 10, 19, 0.96) 100%);
}

.content-section .glass-card:hover,
.content-section .value-card:hover,
.content-section .service-row:hover {
  background: rgba(9, 16, 28, 0.82);
  border-color: var(--panel-border-subpage);
  box-shadow: var(--panel-shadow-subpage);
  transform: none;
}

.content-section .gallery-item:hover,
.content-section .vehicle-card:hover {
  border-color: rgba(25, 198, 232, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30), 0 0 18px rgba(25, 198, 232, 0.08);
}

.content-section .vehicle-placeholder:hover {
  transform: none;
  border-color: rgba(150, 190, 220, 0.24);
  box-shadow: var(--panel-shadow-subpage);
}

.content-section .value-card p,
.content-section .service-row-content p,
.content-section .testimonial-card p,
.content-section .about-text p { color: #c7d5e3; }

.content-section .tab-btn,
.content-section .filter-btn {
  background: rgba(7, 13, 24, 0.78);
  border-color: var(--panel-border-subpage);
  color: #d7e4ef;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.content-section .tab-btn:hover,
.content-section .filter-btn:hover {
  background: rgba(10, 21, 34, 0.84);
  border-color: rgba(25, 198, 232, 0.55);
}

.content-section .tab-btn.active,
.content-section .filter-btn.active {
  background: linear-gradient(135deg, rgba(8, 39, 51, 0.88), rgba(12, 32, 54, 0.88));
  border-color: rgba(25, 198, 232, 0.70);
  color: var(--primary);
  box-shadow: 0 0 18px rgba(25, 198, 232, 0.08);
}

.content-section .form-group input,
.content-section .form-group textarea {
  background: rgba(5, 10, 19, 0.82);
  border-color: rgba(150, 190, 220, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.content-section .form-group input::placeholder,
.content-section .form-group textarea::placeholder { color: #a9b9c9; }

.content-section .form-group input:focus,
.content-section .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 198, 232, 0.12);
}

.content-section .contact-form input:disabled,
.content-section .contact-form textarea:disabled { opacity: 1; }

.content-section .contact-item:hover {
  border-color: var(--panel-border-subpage);
  box-shadow: var(--panel-shadow-subpage);
}

.content-section .back-btn,
.content-section .section-header-small {
  background: rgba(7, 13, 24, 0.84);
  border-color: var(--panel-border-subpage);
  box-shadow: var(--panel-shadow-subpage);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.content-section .back-btn:hover {
  background: rgba(10, 24, 38, 0.88);
  border-color: rgba(25, 198, 232, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30), 0 0 18px rgba(25, 198, 232, 0.08);
}

@media (max-width: 480px) {
  .content-section .glass-card,
  .content-section .value-card,
  .content-section .testimonial-card,
  .content-section .about-text,
  .content-section .contact-form { padding: 18px; }
  .content-section .contact-item { padding: 18px; }
}

/* Fleet photos are cutouts in the existing EKECAR showroom stage. */
.fleet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; }
.fleet-grid .vehicle-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  aspect-ratio: auto;
  cursor: default;
  background: #0b1421;
}
.fleet-grid .vehicle-card:hover { transform: translateY(-4px); }
.fleet-grid .vehicle-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background-color: #101a27;
  background-image:
    linear-gradient(to bottom, rgba(3, 8, 16, 0.10), rgba(3, 8, 16, 0.28)),
    url("assets/backgrounds/ekecar-bg-vehicle-stage.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.fleet-grid .vehicle-media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.fleet-grid .vehicle-media img {
  width: 100%;
  height: 100%;
  padding: clamp(12px, 2vw, 24px);
  object-fit: contain;
  object-position: center bottom;
}
.fleet-grid .vehicle-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(5, 10, 19, 0.95), rgba(5, 10, 19, 0.99));
  border-top: 1px solid rgba(150, 190, 220, 0.20);
}
.fleet-grid .vehicle-details h3 {
  font: 600 20px/1.25 'Syne', sans-serif;
  color: #e3f3ff;
  min-height: 2.5em;
}
.fleet-grid .vehicle-specs {
  color: #b9c9df;
  font-size: 14px;
  line-height: 1.5;
}
.fleet-grid .vehicle-prices {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
}
.fleet-grid .vehicle-price-row,
.fleet-grid .vehicle-deposit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  line-height: 1.5;
}
.fleet-grid .vehicle-price-row dt,
.fleet-grid .vehicle-deposit dt { color: #b9c9df; }
.fleet-grid .vehicle-price-row dd,
.fleet-grid .vehicle-deposit dd {
  margin: 0;
  color: #e9f2f9;
  font-weight: 600;
}
.fleet-grid .vehicle-deposit {
  border-top: 1px solid rgba(150, 190, 220, 0.18);
  padding-top: 12px;
}
.fleet-grid .vehicle-deposit dd { color: var(--primary); }
.fleet-grid .vehicle-enquiry {
  margin-top: auto;
  min-height: 44px;
  padding: 12px 14px;
  width: 100%;
  border: 1px solid rgba(25, 198, 232, 0.55);
  border-radius: 12px;
  background: rgba(12, 51, 66, 0.64);
  color: #e3f3ff;
  font: 600 13px/1.4 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.fleet-grid .vehicle-enquiry:hover,
.fleet-grid .vehicle-enquiry:focus-visible {
  background: rgba(14, 73, 91, 0.78);
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(25, 198, 232, 0.08);
}
.fleet-grid .vehicle-enquiry:focus-visible {
  outline: 3px solid #b9c9df;
  outline-offset: 3px;
}
@media (max-width: 992px) {
  .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fleet-grid { grid-template-columns: minmax(0, 1fr); }
  .fleet-grid .vehicle-details { padding: 18px; }
}

/* Founder introduction stays within the existing About section and visual system. */
.content-section .founder-content {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--panel-border-subpage);
  border-radius: 24px;
  background: rgba(7, 13, 24, 0.84);
  box-shadow: var(--panel-shadow-subpage);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.content-section .founder-portrait {
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(150, 190, 220, 0.18);
  background: #080d16;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.content-section .founder-portrait::after { display: none; }
.content-section .founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.content-section .founder-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.content-section .founder-eyebrow {
  margin-bottom: 16px;
  color: var(--primary);
  font: 600 12px/1.4 'Outfit', sans-serif;
  letter-spacing: 2px;
}
.content-section .founder-text h2 {
  margin-bottom: 8px;
  color: #f0f6fb;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}
.content-section .founder-text .founder-role {
  margin-bottom: 24px;
  color: #a9c5d9;
  font-size: 15px;
  line-height: 1.5;
}
.content-section .founder-text p {
  color: #d5e1ed;
  line-height: 1.7;
}
.content-section .founder-text .founder-closing {
  margin: 6px 0 26px;
  padding-left: 14px;
  border-left: 2px solid var(--primary);
  color: #ecf6fb;
  font-weight: 600;
}
@media (max-width: 992px) {
  .content-section .founder-content { grid-template-columns: minmax(0, 1fr); }
  .content-section .founder-portrait { aspect-ratio: 16 / 10; max-height: 440px; }
}
@media (max-width: 480px) {
  .content-section .founder-content { gap: 20px; padding: 16px; }
  .content-section .founder-portrait { aspect-ratio: 4 / 3; max-height: 300px; }
  .content-section .founder-portrait img { object-position: center 25%; }
  .content-section .founder-text { padding: 0 2px 4px; }
  .content-section .founder-text h2 { font-size: 28px; }
  .content-section .founder-text .founder-role { margin-bottom: 18px; }
}

/* Keep the menu close to the introduction after removing the hero CTAs. */
#mainHeader { margin-bottom: clamp(26px, 4vw, 42px); }

/* Keep the entire cutout inside the showroom, including the bottom of the wheels. */
.fleet-grid .vehicle-media picture {
  transform: scale(0.8);
  transform-origin: center bottom;
}

/* The three rental-step cards use the same line icon language as the menu. */
.intro-values .value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.intro-values .value-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(10, 37, 62, 0.9), rgba(17, 45, 76, 0.72));
  border: 1px solid rgba(25, 198, 232, 0.32);
  box-shadow: 0 0 20px rgba(25, 198, 232, 0.12);
}
.intro-values .value-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}
.content-section .intro-values .value-card {
  border-color: rgba(25, 198, 232, 0.22);
}
.content-section .intro-values .value-card h3 {
  line-height: 1.35;
  padding-bottom: 0.14em;
  overflow: visible;
}
@media (max-width: 480px) {
  .intro-values .value-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-bottom: 16px;
  }
}

/* Home content follows the existing glass cards and cyan accent. */
.home-block { margin: 0 0 72px; }
.home-block > h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.2;
  color: #eaf7fc;
  margin-bottom: 18px;
}
.home-block > p { max-width: 800px; color: #c7d5e3; line-height: 1.75; margin-bottom: 26px; }
.home-block .intro-values { margin-bottom: 0; }
.home-grid, .home-fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-fleet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid .value-card { min-width: 0; }
.home-question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; padding-left: 24px; color: #d7e3ee; line-height: 1.6; }
.home-question-list li::marker { color: var(--primary); }
.home-vehicle { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.home-vehicle picture { display: block; width: 100%; height: 160px; }
.home-vehicle img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.home-vehicle p { flex: 1; }
.home-vehicle button { align-self: start; }
.home-faq { display: grid; gap: 12px; }
.home-faq details { border: 1px solid var(--glass-border); border-radius: 16px; background: var(--glass-bg); padding: 0 20px; }
.home-faq summary { cursor: pointer; padding: 18px 0; color: #edf7fb; font-weight: 600; }
.home-faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.home-faq details p { color: #c7d5e3; line-height: 1.7; padding-bottom: 20px; }
.home-end { padding: 30px; border: 1px solid var(--glass-border); border-radius: 20px; background: var(--glass-bg); }
.home-end .intro-cta-group { flex-wrap: wrap; }
@media (max-width: 992px) { .home-fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .home-grid, .home-fleet-grid, .home-question-list { grid-template-columns: minmax(0, 1fr); }
  .home-block { margin-bottom: 48px; }
  .home-end { padding: 20px; }
  .home-end .intro-cta-group { flex-direction: column; align-items: stretch; }
  .home-vehicle picture { height: 140px; }
}

/* Services: keep the existing glass card and tab treatment with room for the full copy. */
#services .service-row { padding: clamp(20px, 3vw, 32px); align-items: stretch; }
#services .service-row-content { min-width: 0; max-width: 850px; }
#services .service-row-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 20px;
}
#services .service-row-content p { font-size: 15px; line-height: 1.75; color: #c7d5e3; margin-bottom: 16px; }
#services .service-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#services .tab-btn { min-width: 0; white-space: normal; line-height: 1.3; padding: 12px 18px; }
#services .tab-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
#services .services-availability { margin-top: 16px; }
@media (max-width: 600px) {
  #services .tab-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  #services .tab-btn { width: 100%; max-width: none; padding: 10px 8px; font-size: 12px; letter-spacing: 0; }
  #services .service-actions { flex-direction: column; }
  #services .service-actions button { width: 100%; max-width: none; }
}

/* Rental process keeps the existing four glass cards and adds compact information blocks. */
#testimonials .rental-steps { align-items: stretch; }
#testimonials .rental-steps .testimonial-card { min-width: 0; display: flex; flex-direction: column; }
#testimonials .rental-steps .testimonial-card::before { content: none; }
#testimonials .rental-step-icon {
  width: 60px; height: 60px; flex: 0 0 60px; display: grid; place-items: center;
  margin-bottom: 18px; border-radius: 50%; color: var(--primary);
  background: linear-gradient(135deg, rgba(10, 37, 62, .9), rgba(17, 45, 76, .72));
  border: 1px solid rgba(25, 198, 232, .32); box-shadow: 0 0 20px rgba(25, 198, 232, .12);
}
#testimonials .rental-step-icon svg { display: block; width: 29px; height: 29px; }
#testimonials .rental-steps h3 { color: var(--primary); font: 600 clamp(20px, 2vw, 24px)/1.35 'Syne', sans-serif; margin-bottom: 16px; }
#testimonials .rental-steps p { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
#testimonials .rental-steps .intro-cta-secondary { align-self: flex-start; margin-top: auto; white-space: normal; }
#testimonials .rental-block { margin-top: clamp(45px, 6vw, 72px); }
#testimonials .rental-block h2 { color: #eaf7fc; font: 600 clamp(25px, 3vw, 34px)/1.3 'Syne', sans-serif; margin-bottom: 18px; }
#testimonials .rental-block > p { max-width: 800px; color: #c7d5e3; line-height: 1.75; margin-bottom: 25px; }
#testimonials .rental-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#testimonials .rental-info-grid .value-card { min-width: 0; }
#testimonials .rental-info-grid h3 { color: var(--primary); font: 600 19px/1.35 'Syne', sans-serif; margin-bottom: 12px; }
#testimonials .rental-info-grid p, #testimonials .rental-facts p { color: #c7d5e3; font-size: 15px; line-height: 1.7; }
#testimonials .rental-facts { display: grid; gap: 14px; max-width: 950px; }
#testimonials .rental-facts p { padding: 18px 22px; margin: 0; background: var(--panel-bg-subpage); border: 1px solid var(--panel-border-subpage); border-radius: 16px; }
#testimonials .rental-facts strong { color: #eaf7fc; }
#testimonials .rental-inline-link { color: var(--primary); font: inherit; text-decoration: underline; background: transparent; border: 0; padding: 0; cursor: pointer; }
#testimonials .rental-inline-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
#testimonials .rental-faq { max-width: 950px; }
#testimonials .rental-faq details { border-color: var(--panel-border-subpage); background: var(--panel-bg-subpage); }
#testimonials .rental-faq details[open] { border-color: rgba(25, 198, 232, .35); }
#testimonials .rental-faq summary { line-height: 1.4; }
#testimonials .rental-faq details p { padding-bottom: 20px; }
#testimonials .rental-final { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--panel-border-subpage); border-radius: 20px; background: var(--panel-bg-subpage); }
#testimonials .rental-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#testimonials .rental-actions button { white-space: normal; }
@media (max-width: 600px) {
  #testimonials .rental-info-grid { grid-template-columns: minmax(0, 1fr); }
  #testimonials .rental-steps .testimonial-card { padding: 20px; }
  #testimonials .rental-step-icon { width: 56px; height: 56px; flex-basis: 56px; }
  #testimonials .rental-actions { flex-direction: column; }
  #testimonials .rental-actions button, #testimonials .rental-steps .intro-cta-secondary { width: 100%; max-width: none; }
}

/* Contact details, form and optional Google modules use the existing dark glass system. */
#contact .contact-grid { align-items: start; gap: 28px; }
#contact .contact-form, #contact .contact-info { min-width: 0; }
#contact .contact-form-note { color: #c7d5e3; font-size: 14px; line-height: 1.6; }
#contact .submit-btn:focus-visible { outline: 3px solid #b9c9df; outline-offset: 4px; }
#contact .contact-form > h3 {
  color: #eaf7fc; font: 600 clamp(21px, 2.5vw, 28px)/1.3 'Syne', sans-serif; margin-bottom: 18px;
}
#contact .contact-info { gap: 0; }
#contact .contact-form { gap: 16px; }
#contact .contact-date-grid { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#contact .form-group { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; }
#contact .form-group label { margin: 0; line-height: 1.4; }
#contact .form-group input, #contact .form-group select, #contact .form-group textarea { width: 100%; min-width: 0; box-sizing: border-box; padding-inline: 18px; }
#contact .form-group input, #contact .form-group select { min-height: 52px; }
#contact .form-group select {
  width: 100%; min-height: 52px; padding: 14px 18px; color: #fff;
  font: 14px 'Outfit', sans-serif; background: #0b1727;
  border: 1px solid rgba(150, 190, 220, .24); border-radius: 12px;
}
#contact .form-group select:focus-visible, #contact .contact-consent input:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
}
#contact .form-group input[type="date"] { color-scheme: dark; min-width: 0; }
#contact .contact-consent { display: flex; align-items: flex-start; gap: 12px; color: #dce9f4; line-height: 1.5; }
#contact .contact-consent[hidden] { display: none; }
#contact .contact-consent input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
#contact .contact-consent label { margin: 0; }
#contact .contact-consent a, #contact .contact-details a { color: var(--primary); }
#contact .contact-details { min-width: 0; width: 100%; overflow-wrap: anywhere; }
#contact .contact-details h4 { color: #eaf7fc; font-size: 17px; line-height: 1.35; }
#contact .contact-details p { color: #c7d5e3; line-height: 1.6; margin: 8px 0 16px; }
#contact #contactDetails { display: grid; gap: 18px; margin-bottom: 18px; }
#contact .contact-item { margin: 0; }
#contact .contact-reveal-card, #contact .contact-assistant { padding: 18px; }
#contact .contact-assistant .intro-cta-secondary { display: inline-flex; }
#contact .contact-reveal-card, #contact .contact-assistant { align-items: flex-start; }
#contact .contact-line-icon {
  display: block; flex: 0 0 48px; width: 48px; height: 48px; padding: 11px;
  color: var(--primary); border: 1px solid rgba(25, 198, 232, .28);
  border-radius: 50%; background: rgba(10, 37, 62, .72);
  box-shadow: 0 0 16px rgba(25, 198, 232, .08);
}
#contact .contact-reveal-card h4 { margin: 0; }
#contact .contact-revealed-value { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-size: 17px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; text-decoration: none; border-bottom: 1px solid transparent; }
#contact .contact-revealed-value:hover, #contact .contact-revealed-value:focus-visible { color: #a7edfa; border-bottom-color: currentColor; }
#contact .contact-reveal-card a:focus-visible, #contact .contact-assistant button:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
}
#contact .contact-form-status { color: #b9cad9; line-height: 1.55; }
#contact .contact-info .contact-extra { margin-top: 24px; min-width: 0; }
#contact .contact-info .contact-hours-card { display: block; margin-top: 0; padding: 18px; }
#contact .contact-extra h3 { color: #eaf7fc; font: 600 clamp(20px, 2.4vw, 25px)/1.3 'Syne', sans-serif; margin-bottom: 12px; }
#contact .contact-extra > p { color: #c7d5e3; line-height: 1.6; margin-bottom: 14px; }
#contact .contact-map { width: 100%; height: 250px; overflow: hidden; border: 1px solid rgba(150,190,220,.24); border-radius: 20px; background: var(--panel-bg-subpage); }
#contact .contact-map[hidden], #contact .contact-extra[hidden], #contact .contact-rating[hidden], #contact .contact-review-empty[hidden], #contact .contact-form-status[hidden] { display: none; }
#contact .contact-map-empty { height: 100%; display: grid; place-items: center; padding: 24px; text-align: center; color: #c7d5e3; line-height: 1.6; }
#contact .contact-map > button { margin: 22px; }
#contact .contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
#contact .contact-review-shell { min-height: 98px; padding: 16px; background: var(--panel-bg-subpage); border: 1px solid var(--panel-border-subpage); border-radius: 18px; }
#contact .contact-review-empty { color: #c7d5e3; line-height: 1.6; }
#contact .contact-rating { color: #eaf7fc; font-size: 15px; line-height: 1.5; margin-bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#contact .contact-stars { color: #d7aa55; font-size: 19px; letter-spacing: 2px; line-height: 1; }
#contact .contact-review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) {
  #contact .contact-date-grid { grid-template-columns: minmax(0, 1fr); }
  #contact .contact-review-actions { flex-direction: column; }
  #contact .contact-review-actions a, #contact .contact-assistant button, #contact .contact-form .submit-btn { width: 100%; max-width: none; text-align: center; }
  #contact .contact-reveal-card, #contact .contact-assistant { gap: 14px; }
  #contact .contact-line-icon { width: 42px; height: 42px; flex-basis: 42px; padding: 9px; }
  #contact .contact-map { height: 220px; }
  #contact .contact-form { padding-bottom: 20px; }
}

/* Small screens: preserve the six tiles and the existing subpage layout. */
@media (max-width: 768px) {
  #mainHeader { margin-bottom: 26px; }
  .content-section { padding-top: 16px; }
  .content-section .section-header-small { min-height: 64px; margin-bottom: 12px; }
  .content-section .back-btn { min-height: 44px; margin-bottom: 24px; }
  .content-section .section-header { margin-bottom: 32px; }
  .content-section .section-title { line-height: 1.25; padding-bottom: .08em; }
  .content-section .section-subtitle { line-height: 1.55; letter-spacing: .5px; }
  .content-section .intro-hero { padding-top: 12px; margin-bottom: 44px; }
  .content-section .intro-badge { margin-bottom: 18px; }
  .content-section .intro-headline { line-height: 1.24; margin-bottom: 18px; }
  .content-section .intro-subtext { line-height: 1.65; margin-bottom: 24px; }
  .menu-item:hover .menu-title { letter-spacing: inherit; }
}
@media (max-width: 600px) {
  .brand-logo { width: min(280px, 78vw); }
  .header .opening-text { margin-top: 10px; font-size: 15px; line-height: 1.55; }
  .menu-grid { width: min(100%, 360px); gap: 12px; }
  .menu-item { min-width: 0; padding-inline: 8px; }
  .menu-badge { margin-bottom: 10px; }
  .menu-title { max-width: 100%; font-size: 11px; line-height: 1.3; letter-spacing: .35px; overflow-wrap: anywhere; }
  .menu-item:hover .menu-title { letter-spacing: .35px; }
  .intro-cta-primary, .intro-cta-secondary, .back-btn, .tab-btn, .filter-btn, .submit-btn { min-height: 44px; white-space: normal; line-height: 1.35; }
  #services .tab-btn { min-height: 48px; padding: 10px; font-size: 12px; }
  #testimonials .rental-steps h3 { line-height: 1.35; }
  #testimonials .rental-steps p { line-height: 1.65; }
  #contact .contact-map > button { margin: 12px; }
  #contact .contact-review-actions a { display: inline-flex; align-items: center; justify-content: center; }
  .home-vehicle button { max-width: 100%; }
  .home-end .intro-cta-group button { max-width: none; }
}

/* About: the founder portrait stays in place; the added text uses the same glass panels. */
#about .section-title { line-height: 1.25; padding-bottom: .08em; }
#about .about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#about .about-actions button { min-height: 44px; white-space: normal; line-height: 1.35; }
#about .about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 44px);
}
#about .about-story-card, #about .about-final {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--panel-border-subpage);
  border-radius: 20px;
  background: var(--panel-bg-subpage);
  box-shadow: var(--panel-shadow-subpage);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#about .about-story-wide { grid-column: 1 / -1; }
#about .about-story-card h2, #about .about-final h2 {
  color: #eaf7fc;
  font: 600 clamp(22px, 2.6vw, 28px)/1.3 'Syne', sans-serif;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
#about .about-story-card p, #about .about-final p {
  color: #c7d5e3;
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 14px;
}
#about .about-story-card p:last-child { margin-bottom: 0; }
#about .about-story-card a, #about .about-inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#about .about-inline-link {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
#about .about-story-card a:focus-visible, #about .about-inline-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
#about .about-final { margin-top: 20px; }
#about .about-final p { max-width: 760px; margin-bottom: 20px; }
@media (max-width: 700px) {
  #about .about-story-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #about .about-story-wide { grid-column: auto; }
  #about .about-final { margin-top: 16px; }
}
@media (max-width: 480px) {
  #about .about-actions { flex-direction: column; align-items: stretch; }
  #about .about-actions button { width: 100%; max-width: none; }
}

/* The <picture> wrappers added for WebP must not change the layout of the images inside them. */
.header picture,
.section-header-small picture,
.founder-portrait picture { display: contents; }

/* New entries use the same stage as the existing 11-car fleet. */
.home-vehicle .vehicle-media { position:relative; width:100%; aspect-ratio:4/3; overflow:hidden; background:url('assets/backgrounds/ekecar-bg-vehicle-stage.webp') center/cover; }
.home-vehicle .vehicle-media picture { display:block; width:100%; height:100%; }
.home-vehicle .vehicle-media img { padding:12px; }
.phantom-caption { position:absolute; left:8px; right:8px; bottom:6px; margin:0; padding:5px 8px; text-align:center; font-size:clamp(10px,1vw,12px); line-height:1.3; color:#e3e9ef; background:rgba(9,17,28,.82); border-radius:6px; pointer-events:none; }
.fleet-grid .phantom-media picture { inset:0 0 24px; }
.fleet-grid .phantom-media img { padding:clamp(10px,2vw,20px); }
.home-vehicle .phantom-media picture { height:calc(100% - 24px); }
.vehicle-description,.vehicle-equipment,.vehicle-minimum { font-size:14px; color:#b9c9df; overflow-wrap:anywhere; white-space:pre-line; }
.vehicle-card .vehicle-details > .vehicle-enquiry:first-of-type { margin-top:auto; }
.fleet-status { grid-column:1/-1; padding:20px; border:1px solid #334155; border-radius:12px; color:#d9e4f2; }
/* Body-specific offsets compensate for transparent margins in the supplied canvases. */
.fleet-grid .phantom-sedan picture { translate:0 7%; }
.fleet-grid .phantom-estate picture { translate:0 6%; }
.fleet-grid .phantom-flatbed picture { translate:0 4%; }
.fleet-grid .phantom-minibus picture { translate:0 3%; }

/* All public fleet states share the existing card layout. */
.fleet-grid .vehicle-card[hidden],.fleet-filter-empty[hidden] { display:none; }
.vehicle-status { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:#dbeaf4; }
.vehicle-status::before { content:''; width:9px; height:9px; border-radius:50%; background:#22c55e; flex-shrink:0; }
.vehicle-status.rented::before { background:#f59e0b; }
.vehicle-status.maintenance::before { background:#ef4444; }
#about .people-intro { grid-template-columns:minmax(0,1fr); }
.person-intro + .person-intro { border-top:1px solid rgba(150,190,220,.2); margin-top:24px; padding-top:24px; }
.contact-hours { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; margin-top:14px; }
.contact-hours dd { margin:0; font-weight:600; }
.fleet-grid .phantom-cargo picture { translate:0 3%; }
