/* ========================================
   ECARRO - Electric Vehicles Website
   Blue Theme: #3475A4 / #0a84c9 / #1A3A5C
   ======================================== */

/* CSS Variables */
:root {
  --primary: #3475A4;
  --primary-light: #4a9fd4;
  --primary-lighter: #e8f4fc;
  --primary-dark: #1A3A5C;
  --primary-gradient: linear-gradient(135deg, #0a84c9 0%, #3475A4 50%, #1A3A5C 100%);
  --accent: #00b4d8;
  --accent-light: #90e0ef;
  --text-dark: #1F2329;
  --text-body: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --bg-light: #f7fafc;
  --bg-section: #f0f7ff;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(52, 117, 164, 0.08);
  --shadow-md: 0 4px 20px rgba(52, 117, 164, 0.12);
  --shadow-lg: 0 8px 40px rgba(52, 117, 164, 0.16);
  --shadow-xl: 0 20px 60px rgba(26, 58, 92, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left i {
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  gap: 16px;
}

.top-bar-right a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.top-bar-right a:hover {
  color: var(--accent);
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(52, 117, 164, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 180, 216, 0.2);
  color: var(--accent-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 180, 216, 0.3);
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Color Selector Buttons */
.color-selector {
  display: flex;
  gap: 18px;
  margin-top: -40px;
  z-index: 10;
  position: relative;
}

.color-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.color-btn:hover {
  transform: scale(1.2);
  border-color: rgba(255, 255, 255, 0.9);
}

.color-btn.active {
  border-color: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
  transform: scale(1.15);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  /* z-index: 2; */
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(52, 117, 164, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(52, 117, 164, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-card {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  padding: 12px 24px;
}

.btn-card:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-lighter);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header h2 .highlight {
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== VEHICLES ========== */
.vehicles {
  padding: 100px 0;
  background: var(--white);
}

.vehicle-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.vehicle-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 10;
  letter-spacing: 0.5px;
}

.vehicle-card-badge.badge-new {
  background: #2d9f4e;
}

.vehicle-card-badge.badge-hot {
  background: #e74c3c;
}

.vehicle-card-badge.badge-premium {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.vehicle-card-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--white) 100%);
  overflow: hidden;
}

.vehicle-card-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.vehicle-card:hover .vehicle-card-image img {
  transform: scale(1.05);
}

.vehicle-card-content {
  padding: 24px;
}

.vehicle-card-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.vehicle-type {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.spec i {
  color: var(--primary);
  font-size: 0.82rem;
  width: 16px;
}

/* ========== FEATURES ========== */
.features {
  padding: 100px 0;
  background: var(--bg-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.feature-icon i {
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
}

.feature-card:hover .feature-icon i {
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== CALCULATOR ========== */
.calculator {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.calculator-bg {
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  z-index: 0;
}

.calculator-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(0, 180, 216, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.calculator .container {
  position: relative;
  z-index: 1;
}

.section-header-light {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header-light h2 {
  color: var(--white);
}

.section-header-light .highlight-light {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.7);
}

/* Slider Section */
.calc-slider-section {
  max-width: 700px;
  margin: 0 auto 56px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 36px 44px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.slider-label span:first-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.slider-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
  min-width: 120px;
  text-align: right;
}

.slider-track-wrapper {
  position: relative;
}

/* Range Slider Styling */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  position: relative;
}

.calc-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.4);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.6);
}

.calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.4);
}

.calc-slider::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: transparent;
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Comparison Cards Row */
.calc-compare-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.calc-compare-card {
  flex: 1;
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.calc-compare-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.compare-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}

.compare-card-amount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.compare-card-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Petrol Card */
.petrol-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
}

.petrol-card .compare-card-icon {
  background: #fee2e2;
  color: #dc2626;
}

.petrol-card .compare-card-amount {
  color: #dc2626;
}

.petrol-card .compare-card-label {
  color: var(--text-light);
}

/* Electric Card */
.electric-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
}

.electric-card .compare-card-icon {
  background: #d1fae5;
  color: #059669;
}

.electric-card .compare-card-amount {
  color: #059669;
}

.electric-card .compare-card-label {
  color: var(--text-light);
}

/* VS Middle Section */
.calc-compare-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  min-width: 140px;
}

.vs-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.vs-savings {
  text-align: center;
}

.vs-savings span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.vs-savings strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-light);
  margin: 4px 0;
}

/* Savings Summary Row */
.calc-savings-row {
  display: flex;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.savings-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: var(--transition);
}

.savings-box:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.savings-box-highlight {
  background: rgba(0, 180, 216, 0.2);
  border-color: rgba(0, 180, 216, 0.3);
}

.savings-box-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-light);
}

.savings-box-content span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 4px;
}

.savings-box-content strong {
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 800;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--bg-section);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.badge-text {
  font-size: 0.78rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text h2 .highlight {
  color: var(--primary);
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}

.highlight-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ========== SPECS SHOWCASE ========== */
.specs-showcase {
  padding: 100px 0;
  background: var(--white);
}

.specs-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table thead {
  background: var(--primary-gradient);
}

.specs-table th {
  padding: 18px 24px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.specs-table td {
  padding: 14px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}

.specs-table td i {
  color: var(--primary);
  margin-right: 10px;
  width: 18px;
}

.specs-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.specs-table tbody tr:hover {
  background: var(--primary-lighter);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--bg-section);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 117, 164, 0.15);
}

.btn-submit {
  width: 100%;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
  min-width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.6rem;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .calc-card {
    grid-template-columns: 1fr;
  }

  .calc-compare-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .calc-compare-vs {
    flex-direction: row;
    gap: 16px;
    padding: 10px 0;
    min-width: auto;
  }

  .calc-compare-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image img {
    max-width: 340px;
  }

  .hero-slideshow {
    height: 300px;
  }

  .color-btn {
    width: 20px;
    height: 20px;
  }

  .color-selector {
    gap: 10px;
    margin-top: -15px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .calc-savings-row {
    flex-direction: row;
    gap: 10px;
  }

  .savings-box {
    padding: 12px 14px;
    gap: 10px;
  }

  .savings-box-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  .savings-box-content span {
    font-size: 0.72rem;
  }

  .savings-box-content strong {
    font-size: 1rem;
  }

  /* Compact calculator for mobile */
  .calculator {
    padding: 48px 0;
  }

  .calculator .section-header {
    margin-bottom: 24px;
  }

  .calculator .section-header p {
    display: none;
  }

  .section-header-light h2 {
    font-size: 1.6rem;
  }

  .calc-slider-section {
    padding: 18px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
  }

  .slider-label {
    margin-bottom: 12px;
  }

  .slider-label span:first-child {
    font-size: 0.85rem;
  }

  .slider-value {
    font-size: 1.1rem;
    min-width: 90px;
  }

  .slider-range-labels {
    margin-top: 6px;
    font-size: 0.72rem;
  }

  /* Horizontal compact comparison row */
  .calc-compare-row {
    flex-direction: row;
    gap: 0;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .calc-compare-card {
    padding: 16px 10px;
    border-radius: 0;
    flex: 1;
  }

  .compare-card-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .calc-compare-card h3 {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }

  .compare-card-amount {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }

  .compare-card-label {
    font-size: 0.68rem;
  }

  .calc-compare-vs {
    min-width: auto;
    padding: 8px 6px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
  }

  .vs-circle {
    width: 30px;
    height: 30px;
    font-size: 0.65rem;
    margin-bottom: 2px;
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }

  .vs-savings {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .specs-table-wrapper {
    overflow-x: auto;
  }

  .specs-table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}
