/* ============================================
   EcoEnergy — CSS Design System
   Premium EV Charging Landing Page
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --max-w: 1200px;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F6F9F7;
  --bg-tertiary: #EDF5EF;
  --text-primary: #111827;
  --text-secondary: #5F6B7A;
  --text-muted: #9CA3AF;
  --accent: #22C55E;
  --accent-hover: #16A34A;
  --accent-light: rgba(34,197,94,0.10);
  --accent-glow: rgba(34,197,94,0.25);
  --card-bg: rgba(255,255,255,0.75);
  --card-border: rgba(34,197,94,0.12);
  --header-bg: rgba(255,255,255,0.82);
  --header-border: rgba(0,0,0,0.06);
  --divider: rgba(0,0,0,0.06);
  --logo-dark: #1A1A2E;
  --hero-orb1: rgba(34,197,94,0.18);
  --hero-orb2: rgba(16,185,129,0.14);
  --hero-orb3: rgba(56,189,248,0.10);
  --grid-dot: rgba(0,0,0,0.04);
  --map-shadow: 0 4px 30px rgba(0,0,0,0.10);
  --promo-bg: linear-gradient(135deg, #22C55E 0%, #10B981 50%, #059669 100%);
  --faq-hover: #F0FDF4;
  --footer-bg: #111827;
  --footer-text: #D1D5DB;
  color-scheme: light;
}

/* --- Dark Theme --- */
[data-theme="dark"] {
  --bg-primary: #0B1110;
  --bg-secondary: #111B18;
  --bg-tertiary: #172320;
  --text-primary: #F0FDF4;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent: #34D399;
  --accent-hover: #22C55E;
  --accent-light: rgba(52,211,153,0.10);
  --accent-glow: rgba(52,211,153,0.20);
  --card-bg: rgba(17,27,24,0.75);
  --card-border: rgba(52,211,153,0.10);
  --header-bg: rgba(11,17,16,0.85);
  --header-border: rgba(255,255,255,0.06);
  --divider: rgba(255,255,255,0.06);
  --logo-dark: #F0FDF4;
  --hero-orb1: rgba(34,197,94,0.12);
  --hero-orb2: rgba(16,185,129,0.10);
  --hero-orb3: rgba(56,189,248,0.06);
  --grid-dot: rgba(255,255,255,0.03);
  --map-shadow: 0 4px 30px rgba(0,0,0,0.30);
  --promo-bg: linear-gradient(135deg, #065F46 0%, #047857 50%, #059669 100%);
  --faq-hover: rgba(52,211,153,0.06);
  --footer-bg: #060D0B;
  --footer-text: #6B7280;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--header-border);
  transition: background var(--transition), border var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition);
}

/* Dark mode: invert the dark part of the logo to white */
[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1) brightness(1.4) sepia(1) saturate(5) hue-rotate(90deg) brightness(0.9);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Scroll offset for sticky header */
section[id] {
  scroll-margin-top: 88px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.lang-switcher {
  display: flex;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
  transition: background var(--transition);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.lang-btn:hover:not(.active) { color: var(--text-primary); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: var(--accent-light);
  color: var(--accent);
}

[data-theme="light"] .theme-icon.moon { display: none; }
[data-theme="dark"] .theme-icon.sun { display: none; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  transition: background var(--transition);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hide mobile lang on desktop */
.mobile-lang { display: none !important; }

/* Nav Overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
}
.nav-overlay.active { display: block; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--hero-orb1);
  top: -15%;
  right: -10%;
  animation: orbFloat1 18s ease-in-out infinite;
}

.hero-orb-2 {
  width: 450px;
  height: 450px;
  background: var(--hero-orb2);
  bottom: -10%;
  left: -8%;
  animation: orbFloat2 22s ease-in-out infinite;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: var(--hero-orb3);
  top: 40%;
  left: 50%;
  animation: orbFloat3 15s ease-in-out infinite;
}

/* Dot grid pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-light);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent), #10B981, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--text-muted);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============ STATS ============ */
.stats {
  padding: 80px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.stat-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
}

.stat-value {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1;
}

.stat-unit {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ============ SECTION COMMON ============ */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ FEATURES ============ */
.features {
  padding: 80px 0;
  background: var(--bg-secondary);
  transition: background var(--transition);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(16px);
  transition: all var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.feature-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ PROMO ============ */
.promo {
  padding: 80px 0;
}

.promo-card {
  background: var(--promo-bg);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.promo-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.promo-content { position: relative; z-index: 1; }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.18);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.promo-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.promo-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 480px;
}

.promo-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.btn-promo {
  background: #fff;
  color: #059669;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}

/* ============ MAP ============ */
.map-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  transition: background var(--transition);
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--map-shadow);
  border: 1px solid var(--card-border);
  height: 480px;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Custom map popup */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  font-family: var(--font) !important;
}

.map-popup {
  padding: 20px;
  min-width: 240px;
}

.map-popup h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.map-popup p {
  font-size: 0.85rem;
  color: #6B7280;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-popup .popup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #22C55E;
  margin-top: 8px;
}

.map-popup .popup-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Custom leaflet marker */
.custom-marker {
  background: none !important;
  border: none !important;
}

/* ============ FAQ ============ */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.faq-item:hover { border-color: var(--accent); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 24px;
  color: var(--footer-text);
  transition: background var(--transition);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

/* Invert footer logo to white since footer bg is dark */
.footer-logo-img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--footer-text);
  max-width: 340px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #E5E7EB;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--footer-text);
  transition: color var(--transition);
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  color: var(--footer-text);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.social-link svg { width: 20px; height: 20px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--footer-text);
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100dvh;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 88px 28px 28px;
    gap: 4px;
    transition: right 0.35s ease, background var(--transition);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }

  .nav.active { right: 0; }

  .nav-link {
    font-size: 1rem;
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .menu-toggle { display: flex; }

  .hero { padding: 100px 0 60px; min-height: 90vh; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-value { font-size: 2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }

  .promo-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .promo-content p { margin: 0 auto; }

  .map-wrapper { height: 360px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .lang-switcher { display: none !important; }
  .nav .mobile-lang {
    display: flex !important;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--divider);
  }
  .nav .mobile-lang .lang-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.6rem, 9vw, 2.2rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 20px 12px; }
  .stat-value { font-size: 1.7rem; }
  .promo-card { padding: 32px 20px; }
}
