/* =========================================================
   EV MOTORS — Theme Stylesheet
   Design tokens
   ========================================================= */
:root {
	--bg: #0B0F14;
	--panel: #121820;
	--panel-alt: #161E27;
	--text: #EAF0F2;
	--muted: #8FA0AB;
	--accent: #35E08C;      /* EV green */
	--accent-dim: #1F8F5C;
	--volt: #C6FF3D;        /* voltage highlight */
	--line: rgba(255,255,255,0.09);
	--radius: 10px;
	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'IBM Plex Mono', monospace;
	--container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
p { color: var(--muted); margin: 0 0 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eyebrow {
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .78rem;
	color: var(--accent);
	display: inline-block;
	margin-bottom: 10px;
}
.section { padding: 88px 0; }
.section.alt-bg { background: var(--panel); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .02em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn-accent { background: var(--accent); color: #06130C; }
.btn-accent:hover { transform: translateY(-2px); background: var(--volt); }
.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: .78rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11,15,20,0.85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 16px 24px; }
.site-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 6px; }
.bolt { color: var(--accent); }
.main-navigation { margin-left: auto; }
#primary-menu, #footer-menu { display: flex; gap: 28px; }
#primary-menu a, #footer-menu a { font-size: .92rem; color: var(--muted); }
#primary-menu a:hover { color: var(--text); }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider { position: relative; height: 86vh; min-height: 560px; overflow: hidden; clip-path: polygon(0 0,100% 0,100% 96%,0 100%); }
.slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity .8s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,20,.92) 10%, rgba(11,15,20,.55) 55%, rgba(11,15,20,.25) 100%); }
.slide-content { position: relative; z-index: 2; max-width: 620px; }
.slide-text p { color: #C7D2D8; font-size: 1.05rem; }
.slide-fallback { background: radial-gradient(circle at 75% 30%, #182531, var(--bg)); }
.slide-fallback-2 { background: radial-gradient(circle at 25% 70%, #14261f, var(--bg)); }
.slide-fallback-3 { background: radial-gradient(circle at 60% 80%, #201a2c, var(--bg)); }
.slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 3; background: rgba(255,255,255,0.08); border: 1px solid var(--line);
	color: var(--text); width: 44px; height: 44px; border-radius: 50%;
	cursor: pointer; font-size: 1.1rem;
}
.slider-arrow:hover { background: var(--accent); color: #06130C; }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 26px; height: 4px; background: rgba(255,255,255,.25); border: 0; border-radius: 2px; cursor: pointer; padding: 0; }
.slider-dots button.is-active { background: var(--accent); }

/* Charge bar — signature decorative divider */
.charge-bar { height: 6px; width: 100%; max-width: 340px; background: rgba(255,255,255,0.08); border-radius: 4px; margin: 6px 0 44px; overflow: hidden; }
.charge-bar span { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--volt)); }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-icon-spacer { display: none; }
.feature-card, .service-card {
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 24px; transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover, .service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon { font-size: 1.7rem; margin-bottom: 14px; }
.feature-card h3, .service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p, .service-card p { font-size: .92rem; margin: 0; }

/* =========================================================
   ABOUT TEASER
   ========================================================= */
.about-teaser-grid { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.spec-ring {
	width: 260px; height: 260px; border-radius: 50%;
	border: 2px dashed var(--line);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: radial-gradient(circle, var(--panel-alt), var(--bg));
	font-family: var(--font-mono);
}
.spec-ring-value { font-size: 2.6rem; color: var(--accent); font-weight: 600; }
.spec-ring-label { font-size: .8rem; color: var(--muted); text-align: center; max-width: 160px; margin-top: 6px; }

/* =========================================================
   VEHICLE CARDS
   ========================================================= */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.vehicle-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.vehicle-card-media { display: block; aspect-ratio: 4/3; background: var(--panel-alt); overflow: hidden; }
.vehicle-card-media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--muted); }
.vehicle-placeholder-lg { min-height: 340px; font-size: 4rem; border-radius: var(--radius); border: 1px solid var(--line); }
.vehicle-card-body { padding: 20px; }
.vehicle-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.vehicle-specs { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.vehicle-price { color: var(--volt); }
.section-cta { text-align: center; margin-top: 44px; }

/* Single vehicle */
.vehicle-single-hero { padding: 60px 0 20px; }
.vehicle-single-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.vehicle-single-price { font-family: var(--font-mono); color: var(--volt); font-size: 1.4rem; margin-bottom: 22px; }
.spec-readout { display: flex; gap: 26px; margin-bottom: 28px; flex-wrap: wrap; }
.spec-item { display: flex; flex-direction: column; font-family: var(--font-mono); }
.spec-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec-value { font-size: 1.2rem; color: var(--accent); }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.services-teaser-inner { text-align: center; max-width: 640px; margin: 0 auto; }

/* =========================================================
   PAGE HERO (about/services/contact)
   ========================================================= */
.page-hero { padding: 100px 0 50px; background: linear-gradient(180deg, var(--panel), var(--bg)); border-bottom: 1px solid var(--line); }

/* About page */
.about-content-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 50px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.stat-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-number { display: block; font-family: var(--font-mono); font-size: 1.6rem; color: var(--accent); }
.stat-label { font-size: .8rem; color: var(--muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.contact-details { margin: 20px 0; font-family: var(--font-mono); font-size: .92rem; }
.contact-details li { margin-bottom: 10px; color: var(--muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 220px; border: 0; filter: grayscale(1) invert(0.92); }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { margin-bottom: 18px; }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-size: .85rem; margin-bottom: 6px; color: var(--muted); }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line);
	border-radius: 6px; color: var(--text); font-family: var(--font-body); font-size: .95rem;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.form-notice { padding: 14px 16px; border-radius: 6px; margin-bottom: 18px; font-size: .9rem; }
.form-success { background: rgba(53,224,140,0.12); border: 1px solid var(--accent); color: var(--accent); }
.form-error { background: rgba(255,80,80,0.1); border: 1px solid #ff5050; color: #ff8b8b; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.footer-col h4, .footer-widget-title { font-family: var(--font-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; color: var(--muted); }
.footer-col a, #footer-menu a { display: block; margin-bottom: 10px; font-size: .9rem; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { margin-bottom: 8px; font-size: .88rem; color: var(--muted); }
.social-links { display: flex; gap: 10px; }
.social-links a { border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: .75rem; margin: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: .82rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
	.feature-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
	.vehicle-grid { grid-template-columns: repeat(2, 1fr); }
	.about-teaser-grid, .about-content-grid, .contact-grid, .vehicle-single-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.main-navigation { position: fixed; inset: 64px 0 0 0; background: var(--bg); padding: 30px 24px; transform: translateX(100%); transition: transform .25s ease; }
	.main-navigation.is-open { transform: translateX(0); }
	#primary-menu { flex-direction: column; gap: 20px; }
	.menu-toggle { display: flex; }
	.header-cta { display: none; }
	.feature-grid, .services-grid, .vehicle-grid, .about-stats, .footer-grid, .form-row-half { grid-template-columns: 1fr; }
	.hero-slider { height: 80vh; }
}

@media (prefers-reduced-motion: reduce) {
	*, .slide, .btn { transition: none !important; }
}
