/* ==========  XtraEV  ========== */
:root {
  --primary: #4caf2f;
  --primary-dark: #2f7d1f;
  --accent: #a6dc4f;
  --dark: #10223b;
  --dark-2: #182f4d;
  --text: #334155;
  --muted: #64748b;
  --light: #f4faf7;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(16, 34, 59, .08);
  --shadow-lg: 0 20px 50px rgba(16, 34, 59, .15);
  --grad: linear-gradient(135deg, var(--primary), var(--accent));
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.muted-light { color: #b6c3d1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: .95rem;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: var(--dark); box-shadow: 0 8px 20px rgba(76, 175, 47, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(76, 175, 47, .5); }
.btn-ghost { background: var(--white); color: var(--dark); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary-dark); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.link { color: var(--primary-dark); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Topbar */
.topbar { background: var(--dark); color: #cbd5e1; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.topbar strong { color: var(--accent); }
.topbar-call { color: var(--white); font-weight: 500; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(16, 34, 59, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: var(--dark);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { font-size: 1.45rem; font-weight: 800; color: var(--dark); letter-spacing: -.5px; }
.logo-text span { font-weight: 500; color: var(--primary-dark); margin-left: 2px; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 500; font-size: .95rem; position: relative; padding: 4px 0; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--primary); transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary-dark); }

.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 60px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(166, 220, 79, .25), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(76, 175, 47, .18), transparent 45%),
    var(--light);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: var(--white); border-radius: 50px; font-size: .85rem; font-weight: 600;
  color: var(--primary-dark); box-shadow: var(--shadow);
}
.pill svg { width: 16px; height: 16px; color: var(--primary); }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; margin: 20px 0 18px; letter-spacing: -1px; }
.hero-sub { font-size: 1.07rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--dark); font-weight: 500; }

.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero-circle {
  position: absolute; width: 380px; height: 380px; max-width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); opacity: .9;
  animation: pulse 6s ease-in-out infinite;
}
.hero-scooter {
  position: relative; width: 100%; max-width: 480px; height: auto; aspect-ratio: 400/260;
  color: var(--primary); filter: drop-shadow(0 30px 30px rgba(16, 34, 59, .25));
  animation: float 4s ease-in-out infinite;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--white); padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--dark); font-size: .98rem; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .75rem; }
.fc-icon { font-size: 1.4rem; }
.fc-1 { top: 8%; left: 0; }
.fc-2 { bottom: 10%; right: 0; animation-delay: 1s; }
.fc-3 { top: 4%; right: 6%; animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--white); border-radius: var(--radius); padding: 28px; margin-top: 50px; box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--primary-dark); }
.stat p { color: var(--muted); font-size: .9rem; }

/* Partners */
.partners { padding: 40px 0; text-align: center; }
.partners-title { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 25s linear infinite; }
.marquee-track span { font-size: 1.5rem; font-weight: 800; color: #b8c4d0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 90px 0; }
.section-dark { background: var(--dark); color: #b6c3d1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-soft { background: var(--light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2, .section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 10px 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: #94a3b8; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--primary-dark); background: rgba(76, 175, 47, .12); padding: 5px 14px; border-radius: 50px;
}
.section-dark .eyebrow { color: var(--accent); background: rgba(166, 220, 79, .12); }
.eyebrow.light { color: var(--dark); background: rgba(255, 255, 255, .5); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 32px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.f-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(76, 175, 47, .15), rgba(166, 220, 79, .2)); margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; padding: 30px 24px; border-radius: var(--radius);
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06); transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--primary); }
.step-no {
  display: inline-block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .93rem; }

/* Plans */
.toggle {
  display: flex; width: fit-content; margin: 0 auto 40px; padding: 6px;
  background: var(--light); border-radius: 50px; border: 1px solid var(--border);
}
.toggle-btn { padding: 10px 22px; border-radius: 50px; font-weight: 600; color: var(--muted); transition: .3s; }
.toggle-btn em { font-style: normal; font-size: .7rem; background: var(--accent); color: var(--dark); padding: 2px 8px; border-radius: 50px; margin-left: 4px; }
.toggle-btn.active { background: var(--dark); color: var(--white); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-popular { background: var(--dark); border: none; color: #b6c3d1; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.plan-popular:hover { transform: scale(1.03) translateY(-6px); }
.plan-popular h3 { color: var(--white); }
.plan-popular .price { color: var(--white); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: var(--dark); font-size: .78rem; font-weight: 700; padding: 6px 16px; border-radius: 50px;
}
.plan h3 { font-size: 1.35rem; }
.plan-desc { font-size: .9rem; margin: 6px 0 20px; color: inherit; opacity: .85; }
.price { display: flex; align-items: baseline; color: var(--dark); margin-bottom: 24px; }
.price .cur { font-size: 1.4rem; font-weight: 700; }
.price .amt { font-size: 3rem; font-weight: 800; line-height: 1; transition: opacity .2s; }
.price .per { color: var(--muted); margin-left: 4px; }
.plan ul { flex: 1; margin-bottom: 28px; }
.plan li { padding: 8px 0 8px 28px; position: relative; font-size: .93rem; border-bottom: 1px dashed rgba(148, 163, 184, .3); }
.plan li::before {
  content: '✓'; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(76, 175, 47, .15); color: var(--primary-dark); font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}
.plan-popular li::before { background: var(--primary); color: var(--dark); }
.plans-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 30px; }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.calc-box { background: var(--white); border-radius: var(--radius); padding: 28px; margin-top: 26px; box-shadow: var(--shadow); }
.calc-box label { display: block; font-weight: 500; color: var(--dark); margin-bottom: 12px; }
.calc-box input[type=range] {
  width: 100%; height: 8px; -webkit-appearance: none; appearance: none; border-radius: 10px; outline: none;
  background: linear-gradient(90deg, var(--primary) var(--fill, 33%), var(--border) var(--fill, 33%));
  margin-bottom: 20px;
}
.calc-box input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 5px solid var(--primary); cursor: pointer; box-shadow: var(--shadow);
}
.calc-box input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 5px solid var(--primary); cursor: pointer;
}
.calc-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.calc-row strong { color: var(--dark); }
.calc-row.total { border: none; padding-top: 16px; }
.calc-row.total strong { font-size: 1.5rem; color: var(--primary-dark); }
.calc-visual { display: grid; place-items: center; }
.leaf-card {
  width: 100%; max-width: 340px; aspect-ratio: 1; border-radius: 50%; background: var(--grad);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
  box-shadow: 0 30px 60px rgba(76, 175, 47, .35);
}
.leaf-card .big { font-size: 3.5rem; }
.leaf-card h3 { font-size: 3rem; font-weight: 800; }
.leaf-card p { color: var(--dark); font-weight: 500; }

/* Fleet */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.vehicle:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.v-img { padding: 30px; display: grid; place-items: center; }
.v-img svg { width: 100%; max-width: 260px; aspect-ratio: 400/260; height: auto; transition: transform .4s; }
.vehicle:hover .v-img svg { transform: scale(1.06) translateX(6px); }
.v-green { background: linear-gradient(135deg, #e7fbf2, #f3fde0); color: var(--primary); }
.v-blue { background: linear-gradient(135deg, #e6f0ff, #eef7ff); color: #3b82f6; }
.v-orange { background: linear-gradient(135deg, #fff1e6, #fff8ec); color: #f97316; }
.v-body { padding: 24px; }
.v-body h3 { font-size: 1.2rem; margin-bottom: 14px; }
.v-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.v-specs span { background: var(--light); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: .78rem; color: var(--muted); }
.v-specs b { display: block; color: var(--dark); font-size: .98rem; }

/* Swap */
.swap-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.swap-visual { display: grid; place-items: center; }
.battery {
  position: relative; width: 180px; height: 300px; border: 8px solid var(--white); border-radius: 28px; padding: 10px;
}
.battery::before {
  content: ''; position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 16px; background: var(--white); border-radius: 8px 8px 0 0;
}
.battery-level {
  position: absolute; left: 10px; right: 10px; bottom: 10px; border-radius: 16px; background: var(--grad);
  animation: charge 3s ease-in-out infinite;
}
.battery-bolt { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; color: var(--dark); z-index: 1; }
@keyframes charge { 0% { height: 15%; } 70%, 100% { height: calc(100% - 20px); } }
.swap-list { margin: 26px 0 32px; }
.swap-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.swap-list span { min-width: 110px; font-weight: 800; font-size: 1.2rem; color: var(--accent); }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.city {
  text-align: center; padding: 26px 14px; border-radius: var(--radius); border: 1px solid var(--border);
  transition: transform .3s, background .3s;
}
.city:hover { transform: translateY(-5px); background: var(--light); }
.city span { font-size: 2.2rem; }
.city h3 { font-size: 1.02rem; margin: 8px 0 2px; }
.city p { font-size: .85rem; color: var(--primary-dark); font-weight: 600; }
.city-soon { border-style: dashed; }
.city-soon p { color: var(--muted); }

/* Testimonials */
.slider { max-width: 800px; margin: 0 auto; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.testimonial {
  flex: 0 0 100%; background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center;
}
.stars { color: #f59e0b; font-size: 1.3rem; letter-spacing: 3px; }
.testimonial blockquote { font-size: 1.12rem; color: var(--dark); margin: 18px 0 26px; font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.testimonial figcaption strong { display: block; color: var(--dark); }
.testimonial figcaption small { color: var(--muted); }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: var(--dark); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow);
  font-size: 1.6rem; line-height: 1; color: var(--dark); transition: .3s;
}
.slider-btn:hover { background: var(--primary); color: var(--white); }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50px; background: #cbd5e1; transition: .3s; }
.dot.active { width: 28px; background: var(--primary); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; text-align: left; font-weight: 600; color: var(--dark); font-size: 1rem;
}
.faq-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--light);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s, background .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* Contact */
.section-cta { background: var(--grad); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.contact-info h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.contact-info > p { color: var(--dark); opacity: .85; font-size: 1.05rem; }
.contact-list { margin: 26px 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--dark); font-weight: 500; }
.contact-list li span {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .55); display: grid; place-items: center; flex-shrink: 0;
}
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.app-badge {
  display: flex; align-items: center; gap: 10px; background: var(--dark); color: var(--white);
  padding: 10px 18px; border-radius: 12px; font-weight: 600; line-height: 1.2; transition: transform .3s;
}
.app-badge:hover { transform: translateY(-3px); }
.app-badge span { font-size: 1.4rem; }
.app-badge small { display: block; font-size: .65rem; font-weight: 400; opacity: .8; }

.form { background: var(--white); border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.5rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--border);
  font: inherit; font-size: .95rem; color: var(--dark); background: var(--white); transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(76, 175, 47, .15); }
.field.invalid input, .field.invalid select { border-color: #ef4444; }
.error { display: block; color: #ef4444; font-size: .78rem; min-height: 1em; margin-top: 4px; }
.form-success { margin-top: 14px; text-align: center; color: var(--primary-dark); font-weight: 600; }

/* Footer */
.footer { background: var(--dark); color: #94a3b8; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 36px; }
.footer .logo-text { color: var(--white); }
.footer-brand p { margin: 16px 0 20px; font-size: .92rem; max-width: 300px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-grid > div > a:not(.logo) { display: block; padding: 5px 0; font-size: .92rem; transition: color .3s, padding .3s; }
.footer-grid > div > a:not(.logo):hover { color: var(--accent); padding-left: 4px; }
.footer-grid p { font-size: .92rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--dark-2); display: grid; place-items: center;
  font-size: .75rem; font-weight: 700; color: var(--white); transition: .3s;
}
.socials a:hover { background: var(--primary); color: var(--dark); }
.newsletter { display: flex; margin-top: 12px; background: var(--dark-2); border-radius: 50px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: none; padding: 8px 14px; color: var(--white); font: inherit; font-size: .9rem; outline: none; }
.newsletter button { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--dark); font-weight: 700; flex-shrink: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding: 22px 0; font-size: .85rem;
}

/* Floating buttons */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .3s;
}
.whatsapp:hover { transform: scale(1.1); }
.whatsapp svg { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 28px; bottom: 88px; z-index: 90; width: 42px; height: 42px; border-radius: 50%;
  background: var(--dark); color: var(--white); font-size: 1.1rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ==========  Preloader  ========== */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--dark-2), var(--dark) 70%);
  transition: opacity .6s ease, visibility .6s ease, clip-path .8s cubic-bezier(.77, 0, .18, 1);
  clip-path: inset(0 0 0 0);
  animation: plFallback .6s 7s forwards; /* safety net if JS fails */
}
body.loaded .preloader { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); }
body.leaving .preloader { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition-duration: .35s; animation: none; }
body:not(.loaded) { overflow: hidden; }
@keyframes plFallback { to { opacity: 0; visibility: hidden; } }

.pl-inner { width: min(340px, 80vw); text-align: center; }
.pl-logo { display: inline-flex; align-items: center; gap: 10px; animation: plPop .6s ease both; }
.pl-logo .logo-text { color: var(--white); font-size: 1.7rem; }
.pl-logo .logo-mark { animation: plGlow 1.4s ease-in-out infinite; }
.pl-road { position: relative; height: 90px; margin: 26px 0 14px; overflow: hidden; }
.pl-road::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 26px, transparent 26px 46px);
  background-size: 46px 4px; animation: plRoad .5s linear infinite;
}
.pl-scooter {
  position: absolute; bottom: 10px; left: 50%; width: 120px; height: auto; aspect-ratio: 400/260;
  color: var(--primary); translate: -50% 0; animation: plBounce .35s ease-in-out infinite alternate;
}
.pl-wind { position: absolute; left: 12%; bottom: 40px; display: grid; gap: 8px; }
.pl-wind span { display: block; height: 3px; border-radius: 3px; background: var(--accent); opacity: .7; animation: plWind .8s linear infinite; }
.pl-wind span:nth-child(1) { width: 34px; }
.pl-wind span:nth-child(2) { width: 22px; animation-delay: .25s; }
.pl-wind span:nth-child(3) { width: 28px; animation-delay: .5s; }
.pl-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pl-bar span { display: block; width: 0; height: 100%; border-radius: 6px; background: var(--grad); transition: width .25s ease; box-shadow: 0 0 12px var(--primary); }
.pl-text { margin-top: 12px; color: #94a3b8; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; }
.pl-text b { color: var(--accent); font-weight: 600; }

@keyframes plPop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes plGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(166, 220, 79, .6); } 50% { box-shadow: 0 0 0 12px rgba(166, 220, 79, 0); } }
@keyframes plRoad { to { background-position: -46px 0; } }
@keyframes plBounce { to { transform: translateY(-4px) rotate(-1.5deg); } }
@keyframes plWind { from { transform: translateX(30px); opacity: 0; } 30% { opacity: .8; } to { transform: translateX(-40px); opacity: 0; } }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========  Reveal animations  ========== */
/* use individual translate/scale so element hover transforms keep working */
.reveal { opacity: 0; translate: 0 40px; transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1), scale .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.reveal-left { translate: -50px 0; }
.reveal.reveal-right { translate: 50px 0; }
.reveal.reveal-zoom { translate: none; scale: .88; }
.reveal.visible { opacity: 1; translate: none; scale: none; }

/* Hero entrance (runs after preloader) */
.hero-content > *, .page-hero .container > * { opacity: 0; }
body.loaded .hero-content > *, body.loaded .page-hero .container > * { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) forwards; }
body.loaded .hero-content > :nth-child(2), body.loaded .page-hero .container > :nth-child(2) { animation-delay: .12s; }
body.loaded .hero-content > :nth-child(3), body.loaded .page-hero .container > :nth-child(3) { animation-delay: .24s; }
body.loaded .hero-content > :nth-child(4) { animation-delay: .36s; }
body.loaded .hero-content > :nth-child(5) { animation-delay: .48s; }
.hero-visual { opacity: 0; }
body.loaded .hero-visual { animation: zoomIn 1s .2s cubic-bezier(.2, .7, .2, 1) forwards; }
body.loaded .hero-visual .float-card { animation: popIn .6s cubic-bezier(.3, 1.5, .5, 1) both, float 5s 1.6s ease-in-out infinite; }
body.loaded .hero-visual .fc-1 { animation-delay: .9s, 1.5s; }
body.loaded .hero-visual .fc-2 { animation-delay: 1.1s, 2.5s; }
body.loaded .hero-visual .fc-3 { animation-delay: 1.3s, 3.5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.85) translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* Typing words */
.type-words { position: relative; }
.type-caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.05em; background: var(--primary); animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Speed lines behind hero scooter */
.speed-lines { position: absolute; left: 0; top: 45%; display: grid; gap: 14px; z-index: 0; }
.speed-lines span { display: block; height: 4px; border-radius: 4px; background: var(--dark); opacity: 0; animation: speed 1.4s linear infinite; }
.speed-lines span:nth-child(1) { width: 70px; }
.speed-lines span:nth-child(2) { width: 110px; animation-delay: .4s; }
.speed-lines span:nth-child(3) { width: 50px; animation-delay: .8s; }
@keyframes speed { 0% { transform: translateX(80px); opacity: 0; } 30% { opacity: .35; } 100% { transform: translateX(-60px); opacity: 0; } }

/* Button shine + ripple */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::before { left: 130%; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Ambient motion */
.page-hero::before { animation: drift 10s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.15) translate(2%, -3%); } }
.f-icon { transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.feature:hover .f-icon, .c-card:hover .f-icon { transform: rotate(-8deg) scale(1.12); }
.logo-mark { transition: transform .4s; }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.hero-bg::after {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: 10%; left: 40%;
  background: rgba(76, 175, 47, .12); filter: blur(40px); animation: blob 9s ease-in-out infinite alternate;
}
@keyframes blob { to { transform: translate(-120px, 160px) scale(1.4); } }
.badge { animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(166, 220, 79, .6); } 50% { box-shadow: 0 0 0 8px rgba(166, 220, 79, 0); } }
.whatsapp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPing 2s ease-out infinite;
}
@keyframes waPing { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.status:not(.busy) { position: relative; padding-left: 18px; }
.status:not(.busy)::before {
  content: ''; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--primary); animation: blink 1.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-content > *, .page-hero .container > *, .hero-visual { opacity: 1 !important; translate: none !important; scale: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========  Responsive  ========== */
@media (max-width: 1100px) {
  .nav-menu { gap: 20px; }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 24px;
    background: var(--white); box-shadow: 0 20px 30px rgba(16, 34, 59, .1);
    transform: translateY(-120%); opacity: 0; visibility: hidden; transition: .35s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; }

  .hero-grid, .calc-grid, .swap-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-checks { justify-content: center; }
  .hero-visual { min-height: 360px; }
  .features, .plans, .fleet { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plan-popular { transform: none; }
  .plan-popular:hover { transform: translateY(-6px); }
  .swap-visual { order: 2; }
  .section-head.left { text-align: center; margin: 0 auto; }
  .contact-info { text-align: center; }
  .contact-list li { justify-content: center; }
  .app-badges { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-call { display: none; }
  .logo-text { font-size: 1.25rem; }
  .logo-mark { width: 36px; height: 36px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 290px; }
  .hero-circle { width: 260px; height: 260px; }
  .float-card { padding: 7px 11px; gap: 6px; }
  .float-card strong { font-size: .82rem; }
  .float-card small { font-size: .66rem; }
  .fc-icon { font-size: 1.1rem; }
  .fc-3 { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 18px 10px; }
  .stat + .stat { border-left: none; }
  .features, .plans, .fleet, .steps { grid-template-columns: 1fr; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .toggle { width: 100%; }
  .toggle-btn { flex: 1; padding: 10px 8px; font-size: .85rem; }
  .toggle-btn em { display: none; }
  .form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .testimonial { padding: 28px 20px; }
  .testimonial blockquote { font-size: 1rem; }
  .battery { width: 140px; height: 230px; }
  .leaf-card { max-width: 260px; }
  .leaf-card h3 { font-size: 2.3rem; }
  .swap-list span { min-width: 90px; font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: span 2; }
  .footer-bottom { justify-content: center; text-align: center; }
  .marquee-track span { font-size: 1.2rem; }
}

/* ==========  Inner pages  ========== */
.page-hero { position: relative; padding: 80px 0 70px; text-align: center; overflow: hidden; background: var(--dark); color: #b6c3d1; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(76, 175, 47, .28), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(166, 220, 79, .18), transparent 40%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; margin: 14px 0 12px; letter-spacing: -.5px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .88rem; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { opacity: .6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split p { color: var(--muted); margin-bottom: 14px; }
.split-visual {
  position: relative; border-radius: 28px; padding: 40px; aspect-ratio: 5/4;
  background: linear-gradient(135deg, #e7fbf2, #f3fde0); display: grid; place-items: center; color: var(--primary);
}
.split-visual svg { width: 100%; max-width: 420px; aspect-ratio: 400/260; height: auto; animation: float 4s ease-in-out infinite; }
.split-visual .float-card { animation: none; }
.split-visual .fc-1 { top: 20px; left: 20px; }
.split-visual .fc-2 { bottom: 20px; right: 20px; }
.checklist { margin-top: 20px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: var(--dark); font-weight: 500; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: var(--dark); font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}

.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card { padding: 40px 34px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06); }
.mv-card .f-icon { background: rgba(166, 220, 79, .12); }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 10px; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--grad); transform: translateX(-50%); border-radius: 3px; }
.tl-item { position: relative; width: 50%; padding: 0 40px 40px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
  content: ''; position: absolute; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--primary);
}
.tl-item:nth-child(odd)::before { right: -9px; }
.tl-item:nth-child(even)::before { left: -9px; }
.tl-year { display: inline-block; font-weight: 800; font-size: 1.3rem; color: var(--primary-dark); }
.tl-item h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: .93rem; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; padding: 30px 20px; border-radius: var(--radius); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member .avatar { width: 90px; height: 90px; font-size: 1.6rem; margin: 0 auto 16px; }
.member h3 { font-size: 1.08rem; }
.member p { color: var(--primary-dark); font-size: .88rem; font-weight: 600; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 50px; border-radius: 28px; background: var(--grad);
}
.cta-band h2 { margin: 0 0 6px !important; }
.cta-band p { color: var(--dark); opacity: .85; }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { box-shadow: var(--shadow-lg); }

/* Blog */
.blog-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 50px; border: 1.5px solid var(--border); font-weight: 600; font-size: .88rem; color: var(--muted); transition: .3s; }
.chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.chip.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.search { position: relative; width: min(320px, 100%); }
.search input {
  width: 100%; padding: 12px 18px 12px 44px; border-radius: 50px; border: 1.5px solid var(--border); font: inherit; font-size: .93rem;
}
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(76, 175, 47, .15); }
.search::before { content: '\1F50D'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: .9rem; }

.featured-post {
  display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 24px; overflow: hidden; margin-bottom: 50px;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); transition: box-shadow .3s;
}
.featured-post:hover { box-shadow: var(--shadow-lg); }
.featured-post .post-thumb { aspect-ratio: auto; min-height: 320px; font-size: 6rem; }
.featured-post .post-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.5rem, 3vw, 2rem) !important; margin: 12px 0 !important; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card[hidden] { display: none; }
.post-thumb { aspect-ratio: 16/10; display: grid; place-items: center; font-size: 4rem; }
.t-green { background: linear-gradient(135deg, #d9f9ea, #eefcd6); }
.t-blue { background: linear-gradient(135deg, #dceaff, #ecf5ff); }
.t-orange { background: linear-gradient(135deg, #ffe7d4, #fff4e3); }
.t-purple { background: linear-gradient(135deg, #ece3ff, #f6f0ff); }
.t-dark { background: linear-gradient(135deg, var(--dark), var(--dark-2)); }
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.tag { background: rgba(76, 175, 47, .12); color: var(--primary-dark); font-weight: 700; padding: 3px 10px; border-radius: 50px; font-size: .74rem; text-transform: uppercase; letter-spacing: .5px; }
.post-card h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.post-card h3 a:hover, .featured-post h2 a:hover { color: var(--primary-dark); }
.post-card p, .featured-post p { color: var(--muted); font-size: .93rem; flex: 1; }
.post-card .link, .featured-post .link { margin-top: 16px; }
.blog-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--border); font-weight: 600; transition: .3s; }
.pagination a:hover, .pagination a.active { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* Blog post */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.article-cover { border-radius: 24px; aspect-ratio: 16/8; display: grid; place-items: center; font-size: 6rem; margin-bottom: 34px; }
.article { color: var(--text); font-size: 1.04rem; }
.article h2 { font-size: 1.6rem !important; margin: 34px 0 12px !important; }
.article p { margin-bottom: 18px; }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article li { margin-bottom: 8px; }
.article blockquote { border-left: 4px solid var(--primary); background: var(--light); padding: 20px 24px; border-radius: 0 14px 14px 0; margin: 26px 0; font-style: italic; color: var(--dark); }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: .95rem; }
.article th, .article td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.article th { background: var(--light); color: var(--dark); }
.table-wrap { overflow-x: auto; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--border); font-weight: 600; color: var(--dark); }
.share a { padding: 7px 14px; border-radius: 50px; background: var(--light); font-size: .85rem; font-weight: 500; transition: .3s; }
.share a:hover { background: var(--primary); color: var(--white); }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 24px; }
.side-box { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); }
.side-box h4 { margin-bottom: 14px; }
.side-box.dark { background: var(--dark); border: none; color: #b6c3d1; }
.side-box.dark h4 { color: var(--white); }
.side-box.dark p { margin-bottom: 16px; font-size: .93rem; }
.side-post { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.side-post:last-child { border: none; }
.side-post span { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; }
.side-post strong { font-size: .9rem; color: var(--dark); line-height: 1.35; }
.side-post:hover strong { color: var(--primary-dark); }

/* Presence */
.presence-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.p-stat { background: var(--white); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-lg); }
.p-stat h3 { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.p-stat p { color: var(--muted); font-size: .9rem; }
.city-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.city-tab { padding: 11px 22px; border-radius: 50px; border: 1.5px solid var(--border); font-weight: 600; color: var(--muted); transition: .3s; }
.city-tab:hover { border-color: var(--primary); color: var(--primary-dark); }
.city-tab.active { background: var(--grad); border-color: transparent; color: var(--dark); }
.presence-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: stretch; }
.map-box { border-radius: 24px; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: var(--light); }
.map-box iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.station-panel { display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--border); padding: 26px; max-height: 520px; }
.station-panel h3 { font-size: 1.35rem; }
.city-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.city-mini div { background: var(--light); border-radius: 12px; padding: 10px; text-align: center; font-size: .75rem; color: var(--muted); }
.city-mini b { display: block; font-size: 1.1rem; color: var(--dark); }
.station-panel .search { width: 100%; margin-bottom: 14px; }
.stations { overflow-y: auto; flex: 1; padding-right: 4px; }
.station { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.station[hidden] { display: none; }
.station-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: rgba(76, 175, 47, .12); display: grid; place-items: center; }
.station strong { display: block; color: var(--dark); font-size: .95rem; }
.station small { color: var(--muted); font-size: .8rem; }
.status { margin-left: auto; flex-shrink: 0; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 50px; background: rgba(76, 175, 47, .12); color: var(--primary-dark); }
.status.busy { background: #fff4e3; color: #c2410c; }
.expansion { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.exp-card { padding: 26px; border-radius: var(--radius); background: var(--dark-2); border: 1px dashed rgba(166, 220, 79, .3); text-align: center; }
.exp-card span { font-size: 2rem; }
.exp-card h3 { margin: 8px 0 4px; font-size: 1.1rem; }
.exp-card p { font-size: .85rem; color: var(--accent); font-weight: 600; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.c-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-lg); transition: transform .3s; }
.c-card:hover { transform: translateY(-6px); }
.c-card .f-icon { margin: 0 auto 14px; }
.c-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.c-card p, .c-card a { color: var(--muted); font-size: .9rem; word-break: break-word; }
.c-card a:hover { color: var(--primary-dark); }
.contact-page-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-page-grid .form { box-shadow: var(--shadow); border: 1px solid var(--border); }
.field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--border); resize: vertical; min-height: 130px;
  font: inherit; font-size: .95rem; color: var(--dark); transition: border-color .3s, box-shadow .3s;
}
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(76, 175, 47, .15); }
.field.invalid textarea { border-color: #ef4444; }
.offices { display: grid; gap: 16px; }
.office { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); transition: border-color .3s; }
.office:hover { border-color: var(--primary); }
.office h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.office h4 em { font-style: normal; font-size: .7rem; background: var(--accent); color: var(--dark); padding: 2px 8px; border-radius: 50px; }
.office p { color: var(--muted); font-size: .9rem; }
.hours { background: var(--dark); color: #b6c3d1; border: none; }
.hours h4 { color: var(--white); }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours li:last-child { border: none; }
.contact-map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 400px; border: 0; display: block; }

@media (max-width: 1100px) {
  .team, .expansion { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; }
}
@media (max-width: 960px) {
  .split, .presence-grid, .contact-page-grid, .post-layout, .featured-post { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .presence-stats, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
  .station-panel { max-height: 480px; }
  .featured-post .post-thumb { min-height: 220px; }
  .cta-band { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .page-hero { padding: 60px 0 70px; }
  .mv-grid, .blog-grid, .team, .contact-cards, .expansion { grid-template-columns: 1fr; }
  .presence-stats { gap: 12px; }
  .p-stat { padding: 18px 10px; }
  .p-stat h3 { font-size: 1.5rem; }
  .split-visual { padding: 24px; }
  .timeline::before { left: 9px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 32px 40px; }
  .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .featured-post .post-body { padding: 26px 22px; }
  .cta-band { padding: 34px 22px; }
  .map-box, .map-box iframe { min-height: 320px; }
  .contact-map iframe { height: 300px; }
  .article-cover { font-size: 4rem; }
  .mv-card { padding: 30px 24px; }
}

/* ==========  Graphics  ========== */
.f-icon svg { width: 28px; height: 28px; color: var(--primary-dark); }
.mv-card .f-icon svg { color: var(--accent); }
.fc-icon svg { width: 24px; height: 24px; color: var(--primary-dark); }
.fc-icon:has(svg) { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(76, 175, 47, .14); }
.station-icon svg { width: 20px; height: 20px; color: var(--primary-dark); }

/* Wave dividers */
.section-dark, .footer { position: relative; z-index: 1; }
.section-dark::before, .footer::before, .section-dark::after, .page-hero::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 60px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40C150 80 350 0 600 30S1050 10 1200 35V60H0Z' fill='%2310223b'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section-dark::before, .footer::before { top: -59px; }
.section-dark::after { bottom: -59px; transform: scaleY(-1); }
.page-hero::after {
  bottom: -1px; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40C150 80 350 0 600 30S1050 10 1200 35V60H0Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.page-hero { padding-bottom: 110px; }
.section-dark + .section { padding-top: 130px; }

/* Dot patterns */
.section-soft { background-image: radial-gradient(rgba(76, 175, 47, .16) 1.3px, transparent 1.4px); background-size: 24px 24px; }
.page-hero .container::before, .page-hero .container::after {
  content: ''; position: absolute; width: 120px; height: 120px; pointer-events: none;
  background: radial-gradient(rgba(166, 220, 79, .5) 1.5px, transparent 1.6px) 0 0 / 16px 16px;
}
.page-hero .container::before { top: -40px; left: 0; }
.page-hero .container::after { bottom: -60px; right: 0; border-radius: 50%; }

/* Hero skyline + road + decorations */
.hero-skyline { position: absolute; left: 50%; bottom: 52px; width: 120%; max-width: 640px; height: auto; transform: translateX(-50%); z-index: 0; }
.hero-road {
  position: absolute; left: -5%; right: -5%; bottom: 30px; height: 26px; border-radius: 30px; z-index: 0;
  background: #1e293b;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25);
}
.hero-road::after {
  content: ''; position: absolute; left: 4%; right: 4%; top: 50%; height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, #fde047 0 30px, transparent 30px 56px); background-size: 56px 3px;
  animation: plRoad .6s linear infinite reverse;
}
.hero-scooter { z-index: 2; }
.hero-scooter { margin-bottom: 30px; }
.speed-lines { z-index: 2; }
.float-card { z-index: 3; }
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco-dots { top: 0; left: 10%; width: 110px; height: 110px; background: radial-gradient(var(--primary) 1.6px, transparent 1.7px) 0 0 / 14px 14px; opacity: .45; }
.deco-leaf { width: 46px; height: 46px; right: 4%; top: 38%; color: var(--primary); animation: float 6s ease-in-out infinite; }
.deco-bolt { width: 38px; height: 38px; left: 2%; bottom: 35%; color: #eab308; animation: float 5s 1s ease-in-out infinite; }

/* Steps graphics */
.steps { position: relative; }
.steps::before {
  content: ''; position: absolute; top: 58px; left: 10%; right: 10%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(166, 220, 79, .5) 0 10px, transparent 10px 20px);
}
.step { z-index: 1; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-top .step-no { margin: 0; font-size: 2rem; }
.step-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); color: var(--dark); box-shadow: 0 10px 24px rgba(76, 175, 47, .35);
  transition: transform .4s cubic-bezier(.3, 1.5, .5, 1);
}
.step-icon svg { width: 28px; height: 28px; }
.step:hover .step-icon { transform: rotate(-8deg) scale(1.08); }

/* Swap kiosk */
.kiosk { width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.kiosk .cell { transform-box: fill-box; transform-origin: left center; animation: cellCharge 3s ease-in-out infinite; }
.kiosk .c2 { animation-delay: .5s; } .kiosk .c3 { animation-delay: 1s; } .kiosk .c4 { animation-delay: 1.5s; } .kiosk .c5 { animation-delay: 2s; }
@keyframes cellCharge { 0% { transform: scaleX(.2); } 60%, 100% { transform: scaleX(1); } }
.kiosk-battery { animation: swapIn 4s ease-in-out infinite; }
@keyframes swapIn {
  0% { transform: translate(120px, -40px); opacity: 0; }
  20% { opacity: 1; }
  45%, 80% { transform: none; opacity: 1; }
  100% { transform: translate(120px, -40px); opacity: 0; }
}
.slot-open { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.kiosk-led { animation: blink 1s ease-in-out infinite; }

/* App section */
.app-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.phone-wrap { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone-glow { position: absolute; width: 360px; max-width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); opacity: .35; filter: blur(30px); }
.phone {
  position: relative; width: 270px; max-width: 100%; border-radius: 40px; padding: 12px; background: var(--dark);
  box-shadow: 0 40px 80px rgba(16, 34, 59, .35), inset 0 0 0 2px #334155; animation: float 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 12px; left: 50%; width: 100px; height: 22px; transform: translateX(-50%); background: var(--dark); border-radius: 0 0 14px 14px; z-index: 2; }
.app-screen { background: var(--white); border-radius: 30px; padding: 38px 16px 18px; display: grid; gap: 12px; font-size: .8rem; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top small { display: block; color: var(--muted); font-size: .7rem; }
.app-top strong { color: var(--dark); font-size: .95rem; }
.app-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: .7rem; color: var(--dark); }
.app-battery-card { display: flex; align-items: center; gap: 12px; background: var(--dark); color: #94a3b8; border-radius: 18px; padding: 12px; }
.app-battery-card small { display: block; font-size: .65rem; }
.app-battery-card strong { display: block; color: var(--white); font-size: .9rem; }
.app-battery-card em { font-style: normal; font-size: .62rem; }
.ring {
  --p: 80; flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0);
}
.ring span { width: 46px; height: 46px; border-radius: 50%; background: var(--dark); display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: .78rem; }
.app-map { position: relative; border-radius: 16px; overflow: hidden; }
.app-map svg { width: 100%; height: auto; }
.app-map .route { animation: dash 1.2s linear infinite; }
.map-pin circle:first-child { transform-box: fill-box; transform-origin: center; animation: pinPulse 1.6s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }
.app-map-label { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--white); border-radius: 10px; padding: 6px 10px; box-shadow: var(--shadow); }
.app-map-label strong { display: block; color: var(--dark); font-size: .72rem; }
.app-map-label small { color: var(--primary-dark); font-size: .65rem; font-weight: 600; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-stats div { background: var(--light); border-radius: 12px; padding: 8px 4px; text-align: center; }
.app-stats b { display: block; color: var(--dark); font-size: .82rem; }
.app-stats small { color: var(--muted); font-size: .6rem; }
.app-btn { background: var(--grad); color: var(--dark); text-align: center; font-weight: 700; padding: 10px; border-radius: 50px; font-size: .78rem; }
.app-fc { top: 18%; right: 0; animation: float 5s 1s ease-in-out infinite; }
.app-features { display: grid; gap: 16px; margin: 26px 0 30px; }
.app-features li { display: flex; gap: 14px; align-items: flex-start; }
.app-features li > span {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow); color: var(--primary-dark);
}
.app-features li > span svg { width: 22px; height: 22px; }
.app-features strong { display: block; color: var(--dark); }
.app-features small { color: var(--muted); }

/* Testimonial quote mark */
.testimonial { position: relative; overflow: hidden; }
.quote-mark { position: absolute; top: 18px; left: 22px; width: 70px; height: 70px; color: var(--primary); opacity: .15; }

/* Blog & article thumbnails */
.post-thumb, .article-cover { position: relative; overflow: hidden; }
.post-thumb::before, .post-thumb::after, .article-cover::before, .article-cover::after {
  content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); pointer-events: none;
}
.post-thumb::before, .article-cover::before { width: 160px; height: 160px; top: -60px; right: -40px; }
.post-thumb::after, .article-cover::after { width: 90px; height: 90px; bottom: -30px; left: 20px; background: rgba(255, 255, 255, .35); border: none; }
.t-dark::before { border-color: rgba(166, 220, 79, .35); }
.t-dark::after { background: rgba(76, 175, 47, .2); }
.post-thumb { transition: font-size .4s; }
.post-card:hover .post-thumb { font-size: 4.6rem; }

/* CTA section rings */
.section-cta { position: relative; overflow: hidden; }
.section-cta::before {
  content: ''; position: absolute; width: 700px; height: 700px; right: -250px; top: -200px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 40px, rgba(255, 255, 255, .22) 40px 42px);
}
.section-cta .container { position: relative; }

/* Split visual skyline (about) */
.split-visual { overflow: hidden; }
.split-visual::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to top, rgba(76, 175, 47, .18), transparent);
}

@media (max-width: 960px) {
  .app-grid { grid-template-columns: 1fr; gap: 50px; }
  .app-grid > .reveal:last-child, .app-grid > div:last-child { text-align: center; }
  .app-features { max-width: 420px; margin-inline: auto; text-align: left; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .section-dark::before, .footer::before, .section-dark::after, .page-hero::after { height: 34px; }
  .section-dark::before, .footer::before { top: -33px; }
  .section-dark::after { bottom: -33px; }
  .section-dark + .section { padding-top: 90px; }
  .page-hero { padding-bottom: 90px; }
  .hero-road { bottom: 20px; height: 20px; }
  .hero-skyline { bottom: 36px; }
  .hero-scooter { margin-bottom: 20px; }
  .deco-dots { width: 70px; height: 70px; }
  .phone { width: 240px; }
  .app-fc { right: -4px; top: 8%; }
  .kiosk { max-width: 240px; }
}

/* ==========  XtraEV brand  ========== */
.logo-svg { display: block; height: 48px; width: auto; aspect-ratio: 250 / 84; overflow: visible; }
.footer .logo-svg, .pl-logo .logo-svg { --logo-ink: #ffffff; }
.pl-logo .logo-svg { height: 70px; }
.logo { transition: transform .3s; }
.logo:hover { transform: scale(1.03); }
.fine { margin-top: 12px; font-size: .75rem; color: var(--muted); line-height: 1.5; }

/* Partners */
.partners { background: var(--light); padding: 46px 0 34px; }
.marquee-track { gap: 22px; padding: 6px 0 12px; }
.marquee-track .brand-tile {
  display: inline-flex; align-items: center; gap: 10px; padding: 18px 30px; border-radius: 16px; background: var(--white);
  box-shadow: 0 6px 18px rgba(16, 34, 59, .06); font-size: 1.15rem; font-weight: 700; color: var(--dark); white-space: nowrap;
  transition: transform .3s, box-shadow .3s;
}
.brand-tile i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); transform: rotate(45deg); }
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.partners-note { text-align: center; color: var(--muted); font-size: .72rem; margin-top: 10px; }

/* Riders / Investors */
.aud-tabs {
  position: relative; display: flex; width: fit-content; margin: 0 auto 34px; padding: 6px;
  background: var(--white); border-radius: 50px; box-shadow: var(--shadow-lg);
}
.aud-indicator { position: absolute; top: 6px; left: 0; bottom: 6px; width: 0; border-radius: 50px; background: var(--dark); transition: transform .45s cubic-bezier(.6, 0, .2, 1), width .45s; }
.aud-tab { position: relative; z-index: 1; padding: 14px 30px; border-radius: 50px; font-weight: 700; font-size: 1.02rem; color: var(--muted); transition: color .3s; }
.aud-tab.active { color: var(--accent); }
.aud-card { border-radius: 30px; overflow: hidden; background: var(--white); box-shadow: 0 25px 60px rgba(16, 34, 59, .1); border: 1px solid var(--border); }
.aud-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.aud-panel[hidden] { display: none; }
.aud-panel.active .aud-content > * { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.aud-panel.active .aud-content > :nth-child(2) { animation-delay: .06s; }
.aud-panel.active .aud-content > :nth-child(3) { animation-delay: .12s; }
.aud-panel.active .aud-content > :nth-child(4) { animation-delay: .18s; }
.aud-panel.active .aud-visual { animation: zoomIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.aud-content { padding: 56px 54px; display: flex; flex-direction: column; justify-content: center; }
.aud-content h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0 26px; }
.aud-list { display: grid; gap: 22px; margin-bottom: 32px; }
.aud-list li { display: flex; gap: 18px; align-items: flex-start; }
.aud-ic {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(76, 175, 47, .14), rgba(166, 220, 79, .24)); color: var(--primary-dark);
}
.aud-ic svg { width: 28px; height: 28px; }
.aud-list strong { display: block; font-size: 1.15rem; color: var(--dark); }
.aud-list small { color: var(--muted); font-size: .95rem; }
.aud-visual { position: relative; min-height: 420px; background: var(--light); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-chip { animation: float 4s ease-in-out infinite; }
.scene-lead { animation: idle 1.6s ease-in-out infinite; transform-box: fill-box; }
@keyframes idle { 50% { translate: 0 -2px; } }
.growth-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.aud-panel.active .growth-line { animation: drawLine 1.6s .4s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.bars rect { transform-box: fill-box; transform-origin: bottom; }
.aud-panel.active .bars rect { animation: growBar .9s cubic-bezier(.2, .7, .2, 1) both; }
.aud-panel.active .bars rect:nth-child(2) { animation-delay: .1s; }
.aud-panel.active .bars rect:nth-child(3) { animation-delay: .2s; }
.aud-panel.active .bars rect:nth-child(4) { animation-delay: .3s; }
.aud-panel.active .bars rect:nth-child(5) { animation-delay: .4s; }
@keyframes growBar { from { transform: scaleY(0); } to { transform: none; } }

/* EV math */
.math-card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; overflow: hidden;
  padding: 64px; border-radius: 34px; color: #94a3b8;
  background: radial-gradient(circle at 80% 20%, rgba(76, 175, 47, .22), transparent 45%), linear-gradient(145deg, #10223b, #0a1626);
  box-shadow: 0 30px 70px rgba(16, 34, 59, .3);
}
.math-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px) 0 0 / 22px 22px; pointer-events: none; }
.math-text, .math-widget { position: relative; }
.math-text h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem) !important; }
.math-text > p { font-size: 1.05rem; margin-bottom: 26px; }
.math-points { display: grid; gap: 16px; }
.math-points li { display: flex; gap: 14px; align-items: center; }
.math-points li > span { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(166, 220, 79, .12); color: var(--accent); border: 1px solid rgba(166, 220, 79, .25); }
.math-points svg { width: 22px; height: 22px; }
.math-points strong { display: block; color: var(--white); font-size: .98rem; }
.math-points small { font-size: .85rem; }
.math-widget { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; padding: 30px; backdrop-filter: blur(6px); }
.mw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.mw-head-old { text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; font-weight: 700; color: #cbd5e1; }
.mw-head strong { color: var(--white); font-size: 1.9rem; font-weight: 800; }
.math-widget input[type=range] {
  width: 100%; height: 8px; -webkit-appearance: none; appearance: none; border-radius: 10px; outline: none;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(255, 255, 255, .12) var(--fill, 50%));
}
.math-widget input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid var(--dark); box-shadow: 0 0 0 4px rgba(166, 220, 79, .3); cursor: pointer; }
.math-widget input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid var(--dark); cursor: pointer; }
.mw-scale { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; color: #cbd5e1; margin: 10px 0 22px; }
.mw-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.mw-box { border-radius: 18px; padding: 18px; border: 1px solid; }
.mw-box small { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: .66rem; font-weight: 700; }
.mw-box strong { display: block; color: var(--white); font-size: 1.45rem; margin: 4px 0 2px; }
.mw-box em { font-style: normal; font-size: .7rem; }
.mw-box.petrol { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .3); }
.mw-box.petrol small { color: #f87171; }
.mw-box.ev { background: rgba(76, 175, 47, .12); border-color: rgba(166, 220, 79, .35); }
.mw-box.ev small { color: var(--accent); }
.mw-bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); margin-top: 12px; overflow: hidden; }
.mw-bar span { display: block; height: 100%; border-radius: 5px; transition: width .4s ease; }
.petrol .mw-bar span { background: #f87171; }
.ev .mw-bar span { background: var(--accent); }
.mw-result { text-align: center; border-radius: 20px; padding: 20px; margin-bottom: 18px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .15); }
.mw-result small { text-transform: uppercase; letter-spacing: 1.5px; font-size: .7rem; font-weight: 700; color: #cbd5e1; }
.mw-result strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mw-result em { font-size: .68rem; font-style: italic; }

/* Impact */
.impact { position: relative; padding: 90px 0; overflow: hidden; background-color: #eef2f5; }
.impact::before {
  content: ''; position: absolute; inset: -20%; opacity: .55; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23c3ccd6' stroke-width='3'%3E%3Cpath d='M0 120C120 100 160 220 400 180M0 300C150 280 220 360 400 320M120 0c20 140-60 260 0 400M290 0c-30 120 40 260 0 400'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d5dce4' stroke-width='1.5'%3E%3Cpath d='M0 60h400M0 240h400M60 0v400M200 0v400M340 0v400'/%3E%3C/g%3E%3Cg fill='%23d0d8e0'%3E%3Crect x='20' y='140' width='30' height='40'/%3E%3Crect x='220' y='40' width='40' height='30'/%3E%3Crect x='150' y='260' width='28' height='26'/%3E%3Crect x='310' y='210' width='36' height='28'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 400px 400px;
  animation: mapPan 40s linear infinite;
}
@keyframes mapPan { to { transform: translate(400px, 400px); } }
.impact .container { position: relative; }
.impact-card {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 20px;
  background: var(--white); border-radius: 34px; padding: 46px 50px; box-shadow: 0 30px 70px rgba(16, 34, 59, .15);
}
.impact-text h2 { font-size: clamp(2rem, 4vw, 2.9rem) !important; margin: 0 0 30px !important; }
.impact-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.i-stat { display: flex; align-items: center; gap: 12px; }
.i-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #e6f4dd; color: var(--primary-dark); }
.i-ic.blue { background: #e0ecff; color: #2563eb; }
.i-ic svg { width: 26px; height: 26px; }
.i-stat b { display: block; font-size: 1.6rem; color: var(--dark); line-height: 1.1; }
.i-stat small { text-transform: uppercase; letter-spacing: 1px; font-size: .68rem; font-weight: 700; color: var(--muted); }
.impact-visual { position: relative; display: grid; place-items: center; min-height: 260px; }
.sparkle { position: absolute; width: 320px; height: 320px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.impact-glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(166, 220, 79, .45); filter: blur(40px); }
.impact-scooter { position: relative; width: 100%; max-width: 330px; height: auto; aspect-ratio: 400 / 260; color: var(--primary); filter: drop-shadow(0 20px 20px rgba(16, 34, 59, .25)); animation: float 4s ease-in-out infinite; }

/* App coming soon */
.app-card {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; overflow: hidden;
  padding: 70px; border-radius: 34px; color: #94a3b8;
  background: radial-gradient(circle at 75% 50%, rgba(76, 175, 47, .25), transparent 45%), linear-gradient(145deg, #13283f, #0a1626);
}
.app-card-text h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem) !important; text-transform: uppercase; letter-spacing: -1px; line-height: 1.05; }
.app-card-text > p { font-size: 1rem; max-width: 460px; margin-bottom: 26px; }
.waitlist { display: flex; gap: 10px; max-width: 460px; padding: 6px; border-radius: 50px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.waitlist input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; padding: 0 16px; color: var(--white); font: inherit; }
.waitlist input::placeholder { color: #64748b; }
.waitlist-msg { min-height: 1.4em; margin: 10px 0 16px; font-size: .88rem; color: var(--accent); font-weight: 500; }
.waitlist-msg.err { color: #f87171; }
.store-soon { display: flex; flex-wrap: wrap; gap: 10px; }
.muted-badge { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); cursor: default; }
.muted-badge:hover { transform: none; }
.app-card-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.cs-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(76, 175, 47, .35); filter: blur(60px); animation: pulse 4s ease-in-out infinite; }
.cs-phone { width: 230px; background: #070f1a; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px #1e3a52; }
.cs-phone .phone-notch { background: #070f1a; }
.cs-screen {
  height: 430px; border-radius: 30px; background: radial-gradient(circle at 50% 35%, #12263c, #060d17 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 20px;
}
.cs-logo { width: 110px; height: auto; aspect-ratio: 250 / 84; --logo-ink: #ffffff; margin-bottom: 26px; }
.cs-clock { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(166, 220, 79, .12); color: var(--accent); margin-bottom: 18px; animation: plGlow 2s ease-in-out infinite; }
.cs-clock svg { width: 30px; height: 30px; }
.cs-hand { transform-origin: 12px 12px; animation: spin 4s linear infinite; }
.cs-screen strong { color: var(--white); font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.cs-screen strong.grad { font-size: 1.9rem; }
.cs-progress { width: 90px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin: 16px 0 12px; overflow: hidden; }
.cs-progress span { display: block; width: 40%; height: 100%; background: var(--accent); border-radius: 4px; animation: loadBar 2.4s ease-in-out infinite; }
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.cs-screen small { font-size: .62rem; letter-spacing: 3px; color: #64748b; }
.cs-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}
.cs-chip svg { width: 18px; height: 18px; color: var(--accent); }
.cs-chip.c1 { top: 14%; left: 0; }
.cs-chip.c2 { top: 46%; right: 0; animation-delay: 1s; }
.cs-chip.c3 { bottom: 12%; left: 6%; animation-delay: 2s; }

@media (max-width: 960px) {
  .aud-panel, .math-card, .impact-card, .app-card { grid-template-columns: 1fr; }
  .aud-content { padding: 40px 34px; }
  .aud-visual { min-height: 340px; order: -1; }
  .math-card, .app-card { padding: 46px 34px; }
  .impact-card { text-align: center; padding: 40px 30px; }
  .impact-stats { justify-content: center; }
  .app-card-text { text-align: center; }
  .app-card-text > p, .waitlist { margin-inline: auto; }
  .store-soon { justify-content: center; }
}
@media (max-width: 640px) {
  .logo-svg { height: 40px; }
  .aud-tabs { width: 100%; }
  .aud-tab { flex: 1; padding: 12px 8px; font-size: .86rem; }
  .aud-content { padding: 30px 22px; }
  .aud-list li { gap: 14px; }
  .aud-ic { width: 48px; height: 48px; }
  .aud-ic svg { width: 22px; height: 22px; }
  .aud-list strong { font-size: 1rem; }
  .aud-visual { min-height: 260px; }
  .math-card, .app-card { padding: 34px 20px; border-radius: 26px; }
  .math-widget { padding: 22px 16px; }
  .mw-compare { gap: 10px; }
  .mw-box { padding: 14px 12px; }
  .mw-box strong { font-size: 1.15rem; }
  .impact { padding: 60px 0; }
  .impact-card { padding: 32px 20px; border-radius: 26px; }
  .sparkle { width: 240px; height: 240px; }
  .marquee-track .brand-tile { padding: 14px 22px; font-size: 1rem; }
  .waitlist { flex-direction: column; border-radius: 20px; }
  .waitlist input { padding: 12px 14px; }
  .app-card-visual { min-height: 420px; }
  .cs-chip { font-size: .75rem; padding: 8px 12px; }
  .cs-chip.c1 { left: -6px; } .cs-chip.c2 { right: -6px; }
}

/* About: what we do, mission, commitment */
.wwd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wwd-card { position: relative; padding: 36px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.wwd-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.wwd-no { position: absolute; top: 18px; right: 24px; font-size: 3.4rem; font-weight: 800; line-height: 1; color: rgba(76, 175, 47, .12); }
.wwd-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.wwd-card p { color: var(--muted); font-size: .95rem; }
.mission-list { display: grid; gap: 10px; }
.mission-list li { position: relative; padding-left: 28px; }
.mission-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
.why-five { grid-template-columns: repeat(6, 1fr); }
.why-five .feature { grid-column: span 2; }
.why-five .feature:nth-child(4) { grid-column: 2 / span 2; }
.commit { position: relative; max-width: 900px; margin: 0 auto; text-align: center; background: var(--white); border-radius: 30px; padding: 56px 50px; box-shadow: var(--shadow-lg); overflow: hidden; }
.commit::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad); }
.commit-quote { position: absolute; top: 24px; left: 30px; width: 80px; height: 80px; color: var(--primary); opacity: .12; }
.commit-text { font-size: 1.2rem; color: var(--dark); margin: 20px 0; line-height: 1.7; }
.commit-tag { font-weight: 700; color: var(--dark); margin-bottom: 28px; }
.commit-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.disclaimer { max-width: 760px; margin: 30px auto 0; text-align: center; font-size: .8rem; color: var(--muted); font-style: italic; }
@media (max-width: 960px) {
  .why-five { grid-template-columns: repeat(2, 1fr); }
  .why-five .feature, .why-five .feature:nth-child(4) { grid-column: auto; }
}
@media (max-width: 640px) {
  .wwd-grid, .why-five { grid-template-columns: 1fr; }
  .wwd-card { padding: 28px 22px; }
  .commit { padding: 40px 22px; }
  .commit-text { font-size: 1.05rem; }
}
.mw-head > span { text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; font-weight: 700; color: #cbd5e1; }
.mw-head span#kmVal { font: inherit; letter-spacing: 0; color: inherit; text-transform: none; }
.scene-card { top: 22px; left: 22px; animation: float 4s ease-in-out infinite; }
.mw-head strong { white-space: nowrap; }
@media (max-width: 640px) { .mw-head strong { font-size: 1.5rem; } }

/* ==========  Home banner  ========== */
.banner { position: relative; background: var(--dark); }
.banner-media { position: relative; overflow: hidden; aspect-ratio: 1862 / 845; max-height: calc(100vh - var(--header-h) - 40px); min-height: 180px; width: 100%; }
.banner-media picture, .banner-media img { display: block; width: 100%; height: 100%; }
.banner-media img { object-fit: cover; object-position: 50% 45%; transform-origin: 30% 60%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.banner-media::after { /* soft fade into the strip below */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none;
  background: linear-gradient(to top, rgba(16, 34, 59, .55), transparent);
}
.banner-shine {
  position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg);
}
body.loaded .banner-shine { animation: bannerShine 1.6s .4s ease-out forwards; }
@keyframes bannerShine { to { left: 130%; } }
body:not(.loaded) .banner-media img { opacity: 0; }
body.loaded .banner-media img { animation: bannerIn 1.2s ease-out both, kenburns 22s 1.2s ease-in-out infinite alternate; }
@keyframes bannerIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }

.banner-actions { position: absolute; z-index: 2; right: 5.5%; top: 70%; display: flex; gap: 14px; }
body.loaded .banner-actions { animation: fadeUp .8s .9s cubic-bezier(.2, .7, .2, 1) both; }
.btn-glass { color: var(--white); background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }

.banner-strip { background: linear-gradient(90deg, var(--dark), var(--dark-2)); border-top: 1px solid rgba(166, 220, 79, .25); }
.banner-strip-inner { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; }
.banner-strip span { display: inline-flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 500; font-size: .93rem; white-space: nowrap; }
.banner-strip svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 1100px) {
  .banner-actions { top: auto; bottom: 9%; }
  .banner-actions .btn-lg { padding: 12px 22px; font-size: .92rem; }
}
@media (max-width: 860px) {
  .banner-media { max-height: none; aspect-ratio: auto; min-height: 0; }
  .banner-actions { position: static; justify-content: center; padding: 18px 16px 4px; background: var(--dark); }
  .banner-media { overflow: visible; }
  .banner-media picture { overflow: hidden; aspect-ratio: 1862 / 845; }
  .banner-media::after { display: none; }
  .banner-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .banner-strip { border-top: none; }
}
@media (max-width: 640px) {
  .banner-actions { flex-direction: column; gap: 10px; }
  .banner-actions .btn { width: 100%; }
  .banner-strip span { font-size: .8rem; white-space: normal; gap: 8px; }
  .banner-strip svg { width: 17px; height: 17px; }
}

/* ==========  Overflow fixes (mobile side-scroll)  ========== */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.banner { overflow: hidden; }
.post-layout { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 960px) {
  .post-layout, .contact-page-grid, .presence-grid, .split, .app-grid, .faq-wrap, .contact-grid, .hero-grid, .calc-grid, .swap-grid { grid-template-columns: minmax(0, 1fr); }
  /* side-slide reveals push content off-screen on phones: use vertical reveal only */
  .reveal.reveal-left, .reveal.reveal-right { translate: 0 40px; }
}
.article, .table-wrap { max-width: 100%; }

/* Riders panel photo */
.aud-photo { background: #eef1f4; overflow: hidden; }
.aud-photo picture, .aud-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.aud-photo img { object-fit: cover; object-position: 50% 40%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.aud-card:hover .aud-photo img { transform: scale(1.04); }
.aud-photo .scene-card { top: auto; left: 22px; bottom: 22px; z-index: 1; }
@media (max-width: 960px) {
  .aud-photo { min-height: 0; aspect-ratio: 1 / 1; max-height: 520px; }
}
@media (max-width: 640px) {
  .aud-photo { aspect-ratio: 4 / 4.2; }
  .aud-photo .scene-card { left: 14px; bottom: 14px; }
}

/* ==========  Built for Our Riders  ========== */
.built { background: linear-gradient(180deg, #fff, var(--light)); overflow: hidden; }
.rf-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: 10px; }
.rf-col { display: grid; gap: 34px; position: relative; z-index: 1; }
.rf-card {
  --cut: 16px; position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; max-width: 290px;
  background: var(--white); border-radius: 4px; filter: drop-shadow(0 10px 22px rgba(16, 34, 59, .1));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.rf-card::before { /* gradient corner frame */
  content: ''; position: absolute; inset: 0; pointer-events: none; padding: 2px; background: var(--grad);
  clip-path: inherit; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.rf-l { justify-self: end; }
.rf-l.rf-2 { margin-right: 46px; }
.rf-r.rf-2 { margin-left: 46px; }
.rf-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(76, 175, 47, .14), rgba(166, 220, 79, .26)); color: var(--primary-dark); }
.rf-ic svg { width: 22px; height: 22px; }
.rf-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.rf-card p { font-size: .84rem; color: var(--muted); line-height: 1.45; }
/* connector lines live outside the clipped card */
.rf-line { position: absolute; top: 50%; width: 60px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .6s .4s ease; }
.rf-line i { position: absolute; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); }
.rf-l .rf-line { left: 100%; transform-origin: left; } .rf-l .rf-line i { right: -8px; }
.rf-r .rf-line { right: 100%; transform-origin: right; } .rf-r .rf-line i { left: -8px; }
.rf-card { clip-path: none; } /* clip applied to a background layer instead so lines stay visible */
.rf-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.rf-card { background: transparent; isolation: isolate; }
.rf-card::before { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.rf-grid.in .rf-card { opacity: 1; transform: none; }
.rf-grid.in .rf-line { transform: scaleX(1); }
.rf-grid.in .rf-2 { transition-delay: .15s; } .rf-grid.in .rf-3 { transition-delay: .3s; }
.rf-grid.in .rf-2 .rf-line { transition-delay: .55s; } .rf-grid.in .rf-3 .rf-line { transition-delay: .7s; }
.rf-line i { animation: blink 1.6s ease-in-out infinite; }
.rf-center { position: relative; display: grid; place-items: center; min-height: 420px; }
.rf-ring { position: absolute; width: 360px; height: 360px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(166, 220, 79, .35), rgba(76, 175, 47, .08) 60%, transparent 70%); animation: pulse 5s ease-in-out infinite; }
.rf-ring-2 { width: 300px; height: 300px; background: none; border: 2px dashed rgba(76, 175, 47, .35); animation: spin 30s linear infinite; }
.rf-scooter { position: relative; z-index: 1; width: 100%; max-width: 440px; height: auto; aspect-ratio: 400 / 260; color: var(--primary); filter: drop-shadow(0 24px 24px rgba(16, 34, 59, .22)); animation: float 4.5s ease-in-out infinite; }
.rf-shadow { position: absolute; bottom: 70px; width: 60%; height: 18px; border-radius: 50%; background: rgba(16, 34, 59, .15); filter: blur(6px); }

/* ==========  Your ride. Your orders. Your earnings.  ========== */
.yr-card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: 30px; box-shadow: 0 25px 60px rgba(16, 34, 59, .08);
}
.yr-text { padding: 56px 0 56px 60px; }
.yr-text h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem) !important; line-height: 1.08; letter-spacing: -1px; margin: 14px 0 18px !important; }
.yr-text p { color: var(--muted); max-width: 420px; margin-bottom: 26px; }
.yr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.yr-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; padding-top: 30px; min-height: 420px;
  background: radial-gradient(circle at 60% 40%, rgba(166, 220, 79, .22), transparent 60%); }
.yr-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(76, 175, 47, .18); filter: blur(50px); top: 15%; }
.yr-visual img { position: relative; width: 100%; max-width: 440px; height: auto; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.yr-card:hover .yr-visual img { transform: translateY(-8px); }

@media (max-width: 960px) {
  .rf-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .rf-center { grid-column: 1 / -1; grid-row: 1; min-height: 300px; }
  .rf-col { gap: 18px; }
  .rf-l, .rf-r { justify-self: stretch; max-width: none; margin: 0 !important; }
  .rf-line { display: none; }
  .yr-card { grid-template-columns: 1fr; }
  .yr-text { padding: 44px 34px 0; text-align: center; }
  .yr-text p { margin-inline: auto; }
  .yr-actions { justify-content: center; }
  .yr-visual { min-height: 0; }
}
@media (max-width: 640px) {
  .rf-grid { grid-template-columns: 1fr; }
  .rf-center { min-height: 240px; }
  .rf-ring { width: 260px; height: 260px; } .rf-ring-2 { width: 220px; height: 220px; }
  .rf-shadow { bottom: 40px; }
  .yr-card { border-radius: 24px; }
  .yr-text { padding: 34px 20px 0; }
}

/* About intro photo */
.split-photo { padding: 0; aspect-ratio: 1 / 1; background: #e9eef2; box-shadow: 0 25px 60px rgba(16, 34, 59, .15); }
.split-photo::before { display: none; }
.split-photo picture, .split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.split-photo img { object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.split-photo:hover img { transform: scale(1.04); }
.split-photo .float-card { z-index: 1; }
@media (max-width: 640px) { .split-photo .fc-1 { top: 12px; left: 12px; } .split-photo .fc-2 { bottom: 12px; right: 12px; } }

/* Fleet photos + Built-for-riders photo */
.v-img { padding: 18px; }
.v-img img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.vehicle:hover .v-img img { transform: scale(1.06) rotate(-1.5deg); }
.v-grey { background: linear-gradient(135deg, #eef1f5, #f7f9fb); }
img.rf-scooter { max-width: 430px; aspect-ratio: 870 / 820; mix-blend-mode: multiply; filter: none; }
.rf-center { isolation: auto; }
.rf-shadow { bottom: 40px; z-index: 0; }

/* ==========  Preloader v2 (scooter rides the progress bar)  ========== */
.preloader { background: radial-gradient(circle at 50% 48%, #1c2a20 0%, #161b1d 45%, #111415 100%); }
.preloader::before { /* soft brand glow */
  content: ''; position: absolute; width: 720px; height: 720px; max-width: 130vw; max-height: 130vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 194, 66, .14), transparent 65%); pointer-events: none;
}
.pl-inner { position: relative; width: min(560px, 86vw); }
.pl-logo .logo-svg { height: 56px; }
.pl-track { --p: 0; position: relative; margin: 54px 0 0; padding-top: 160px; }
.pl-ride {
  position: absolute; bottom: 4px; left: calc(var(--p) * 1%); width: 170px; height: auto;
  transform: translateX(-88%); transition: left .35s cubic-bezier(.3, .7, .3, 1);
  filter: drop-shadow(0 0 22px rgba(124, 194, 66, .45)) drop-shadow(0 10px 10px rgba(0, 0, 0, .5));
  animation: rideBob .5s ease-in-out infinite alternate;
}
@keyframes rideBob { to { translate: 0 -2px; } }
.pl-ride::after { content: none; }
.pl-bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pl-bar span { width: calc(var(--p) * 1%); transition: width .35s cubic-bezier(.3, .7, .3, 1); background: linear-gradient(90deg, #2f7d1f, #7cc242); box-shadow: 0 0 14px rgba(124, 194, 66, .7); }
.pl-text { margin-top: 30px; font-size: .9rem; font-weight: 700; letter-spacing: 4px; color: #7cc242; animation: plPulse 1.6s ease-in-out infinite; }
.pl-dots i { font-style: normal; animation: blink 1.2s infinite; }
.pl-dots i:nth-child(2) { animation-delay: .2s; } .pl-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes plPulse { 50% { opacity: .55; } }
/* exit: the scooter zooms off towards the top-right and shrinks into the distance */
.preloader.pl-done .pl-ride { animation: rideAway .75s cubic-bezier(.55, 0, .7, .3) forwards; transition: none; }
@keyframes rideAway {
  0% { transform: translateX(-88%); opacity: 1; }
  100% { transform: translate(30%, -230px) scale(.12); opacity: 0; }
}
.preloader.pl-done .pl-text { animation: none; opacity: .4; transition: opacity .4s; }
body.loaded .preloader { clip-path: none; transition: opacity .6s ease, visibility .6s ease; }
@media (max-width: 640px) {
  .pl-logo .logo-svg { height: 46px; }
  .pl-track { margin-top: 40px; padding-top: 120px; }
  .pl-ride { width: 130px; }
  .pl-text { font-size: .75rem; letter-spacing: 3px; }
}
@media (prefers-reduced-motion: reduce) { .pl-ride { transform: translateX(-88%); } }

/* scooter rides inside a wrapper that grows with the bar, so both always move together */
.pl-rider { position: absolute; left: 0; bottom: 4px; height: 0; width: calc(var(--p) * 1%); min-width: 150px; transition: width .35s cubic-bezier(.3, .7, .3, 1); }
.pl-rider .pl-ride { left: auto; right: 0; bottom: 0; transform: translateX(12%); transition: none; }
.preloader.pl-done .pl-ride { animation-name: rideAway2; }
@keyframes rideAway2 {
  0% { transform: translateX(12%); opacity: 1; }
  100% { transform: translate(90%, -230px) scale(.12); opacity: 0; }
}
@media (max-width: 640px) { .pl-rider { min-width: 115px; } }

/* smaller preloader logo */
.pl-logo .logo-svg { height: 40px; }
@media (max-width: 640px) { .pl-logo .logo-svg { height: 32px; } }

/* smooth preloader: JS moves the scooter every frame, so no CSS transitions on width */
.pl-rider, .pl-bar span { transition: none; }
.preloader.pl-done .pl-ride { animation: rideOff .95s cubic-bezier(.5, 0, .75, .4) forwards; }
@keyframes rideOff {
  0% { transform: translateX(12%); opacity: 1; }
  15% { transform: translateX(8%) rotate(-1deg); }          /* tiny wind-up */
  100% { transform: translateX(170%) rotate(-2deg); opacity: 0; }
}
body.loaded .preloader { transition: opacity .7s ease, visibility .7s ease; }

/* real scooter photos in place of the illustrations */
img.hero-scooter { width: 100%; max-width: 410px; height: auto; aspect-ratio: 760 / 746; margin-bottom: 18px; filter: drop-shadow(0 28px 26px rgba(16, 34, 59, .3)); }
img.impact-scooter { max-width: 300px; aspect-ratio: 640 / 645; filter: drop-shadow(0 22px 20px rgba(16, 34, 59, .25)); }
@media (max-width: 640px) { img.hero-scooter { max-width: 280px; margin-bottom: 14px; } img.impact-scooter { max-width: 230px; } }

/* blog photos */
.post-thumb, .article-cover, .side-post span { background: #eef2f5; }
.post-thumb img, .article-cover img, .side-post span img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.post-thumb img.contain, .side-post span img.contain { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.post-thumb { background: linear-gradient(135deg, #eef7e8, #f6faf3); }
.post-card:hover .post-thumb img, .featured-post:hover .post-thumb img { transform: scale(1.06); }
.post-card:hover .post-thumb { font-size: inherit; }
.post-thumb::before, .post-thumb::after, .article-cover::before, .article-cover::after { display: none; }
.featured-post .post-thumb { min-height: 340px; }
.article-cover { aspect-ratio: 16 / 7.3; }
.side-post span { overflow: hidden; }
.post-thumb { position: relative; display: block; }
.post-thumb img { position: absolute; inset: 0; }
.post-thumb img:not(.contain) { object-position: 50% 30%; }

/* ==========  Investment plans  ========== */
.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.inv-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: 22px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); transition: transform .3s, border-color .3s; }
.inv-card:hover { transform: translateY(-6px); border-color: rgba(166, 220, 79, .5); }
.inv-pop { background: linear-gradient(160deg, #1d3b2a, #182f4d); border-color: rgba(166, 220, 79, .55); box-shadow: 0 25px 50px rgba(0, 0, 0, .3); }
.inv-top { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.inv-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(166, 220, 79, .14); color: var(--accent); }
.inv-ic svg { width: 26px; height: 26px; }
.inv-top h3 { color: var(--white); font-size: 1.25rem; }
.inv-top small { color: #94a3b8; }
.inv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #cbd5e1; font-size: .92rem; }
.inv-row strong { color: var(--white); font-size: 1.2rem; text-align: right; }
.inv-row strong em { display: block; font-style: normal; font-size: .72rem; font-weight: 500; color: #94a3b8; }
.inv-row.sub { font-size: .82rem; color: #94a3b8; border-top: 1px dashed rgba(255, 255, 255, .1); padding-top: 8px; }
.inv-return { margin: 8px 0 10px; padding: 18px; border-radius: 16px; text-align: center; background: rgba(166, 220, 79, .08); border: 1px solid rgba(166, 220, 79, .25); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.inv-return small { text-transform: uppercase; letter-spacing: 1.5px; font-size: .7rem; font-weight: 700; color: var(--accent); }
.inv-return b { font-size: 2.2rem; font-weight: 800; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-return span { font-size: .8rem; color: #cbd5e1; }
.inv-card .btn-outline { color: var(--accent); border-color: var(--accent); }
.inv-card .btn-outline:hover { background: var(--accent); color: var(--dark); }
.inv-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin: 36px 0 18px; color: #cbd5e1; font-size: .92rem; }
.inv-points li { display: flex; align-items: center; gap: 8px; }
.inv-points svg { width: 20px; height: 20px; color: var(--accent); }
.inv-points a { color: var(--accent); font-weight: 600; }
.inv-disclaimer { max-width: 820px; margin: 0 auto; text-align: center; font-size: .74rem; color: #94a3b8; font-style: italic; }
@media (max-width: 960px) { .inv-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.inv-more { text-align: center; margin: 0 0 18px; }

/* ==========  Header v2  ========== */
.topbar { background: linear-gradient(90deg, #0d1c30, #10223b 55%, #143322); font-size: .82rem; border-bottom: 1px solid rgba(166, 220, 79, .18); }
.topbar-inner { padding: 7px 0; }
.tb-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; white-space: nowrap; transition: color .25s; }
a.tb-item:hover { color: var(--accent); }
.tb-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.tb-social { display: flex; align-items: center; gap: 6px; }
.tb-follow { color: #94a3b8; font-size: .76rem; margin-right: 4px; letter-spacing: .5px; }
.tb-soc { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #e2e8f0; background: rgba(255, 255, 255, .07); transition: transform .25s, background .25s, color .25s; }
.tb-soc svg { width: 14px; height: 14px; }
.tb-soc:hover { transform: translateY(-2px); color: #fff; }
.s-instagram:hover { background: radial-gradient(circle at 30% 110%, #fdc468, #df4996 55%, #6a3fd1); }
.s-facebook:hover { background: #1877f2; }
.s-youtube:hover { background: #ff0000; }
.s-linkedin:hover { background: #0a66c2; }
.s-x:hover { background: #000; }
.s-whatsapp:hover { background: #25d366; }

.header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(16, 34, 59, .06); }
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.header.scrolled::after { transform: scaleX(1); }
.header.scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px rgba(16, 34, 59, .08); }
.nav { gap: 18px; }
.nav-menu { gap: 4px; }
.nav-link { padding: 9px 15px; border-radius: 50px; color: var(--dark); transition: background .25s, color .25s; }
.nav-link::after { display: none; }
.nav-link:hover { background: rgba(76, 175, 47, .1); color: var(--primary-dark); }
.nav-link.active { background: rgba(76, 175, 47, .14); color: var(--primary-dark); font-weight: 600; }
.nav-cta { margin-left: 10px; padding: 11px 22px; }
.header-call { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--border); color: var(--dark); flex-shrink: 0; }
.hc-ic { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--dark); }
.hc-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); animation: waPing 2s ease-out infinite; }
.hc-ic svg { width: 19px; height: 19px; }
.hc-txt small { display: block; font-size: .7rem; color: var(--muted); line-height: 1.1; }
.hc-txt b { font-size: .95rem; color: var(--dark); white-space: nowrap; }
.header-call:hover .hc-txt b { color: var(--primary-dark); }

@media (max-width: 1280px) { .hc-txt { display: none; } .header-call { padding-left: 12px; } .nav-link { padding: 9px 12px; } }
@media (max-width: 1100px) { .nav-link { padding: 8px 10px; font-size: .9rem; } .tb-hide-md { display: none; } }
@media (max-width: 960px) {
  .header-call { margin-left: auto; border-left: none; padding-left: 0; }
  .hc-ic { width: 40px; height: 40px; }
  .nav-link { border-radius: 10px; padding: 14px 12px; }
  .nav-cta { margin: 16px 0 0; }
}
@media (max-width: 640px) {
  .tb-hide-sm, .tb-follow { display: none; }
  .topbar-inner { justify-content: space-between; text-align: left; }
  .tb-soc { width: 26px; height: 26px; }
  .tb-social { gap: 4px; }
}
@media (max-width: 380px) { .tb-soc.s-x, .tb-soc.s-linkedin { display: none; } }

.socials .f-soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); color: #e2e8f0; transition: transform .25s, background .25s; }
.socials .f-soc svg { width: 17px; height: 17px; }
.socials .f-soc:hover { transform: translateY(-3px); color: #fff; }

/* ==========  Home hero slider  ========== */
.hs { position: relative; overflow: hidden; aspect-ratio: 1862 / 845; max-height: calc(100vh - var(--header-h) - 40px); min-height: 200px; background: var(--dark); }
.hs-track, .hs-slide { position: absolute; inset: 0; }
.hs-slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-slide picture, .hs-slide > picture img { display: block; width: 100%; height: 100%; }
.hs-slide > picture img { object-fit: cover; object-position: 50% 45%; }
.hs-slide.is-active > picture img { animation: kenburns 9s ease-out forwards; }
.hs-slide .banner-actions { opacity: 0; transform: translateY(16px); transition: opacity .6s .5s, transform .6s .5s; animation: none !important; }
.hs-slide.is-active .banner-actions { opacity: 1; transform: none; }

.hs-custom { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: 0 7%; overflow: hidden; }
.hs-invest { background: radial-gradient(circle at 75% 50%, rgba(76, 175, 47, .35), transparent 50%), linear-gradient(120deg, #0c1a2c, #10223b 55%, #16351f); color: #cbd5e1; }
.hs-ride { background: radial-gradient(circle at 72% 55%, rgba(166, 220, 79, .55), transparent 50%), linear-gradient(120deg, #f4faf0, #e3f3d6); }
.hs-custom::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px) 0 0 / 22px 22px; pointer-events: none; }
.hs-ride::before { background-image: radial-gradient(rgba(47, 125, 31, .12) 1px, transparent 1.2px); }
.hs-content { position: relative; z-index: 1; }
.hs-content > * { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hs-slide.is-active .hs-content > * { opacity: 1; transform: none; }
.hs-slide.is-active .hs-content > :nth-child(2) { transition-delay: .12s; }
.hs-slide.is-active .hs-content > :nth-child(3) { transition-delay: .24s; }
.hs-slide.is-active .hs-content > :nth-child(4) { transition-delay: .36s; }
.hs-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px; font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(166, 220, 79, .15); color: var(--accent); border: 1px solid rgba(166, 220, 79, .3); }
.hs-ride .hs-tag { background: rgba(47, 125, 31, .1); color: var(--primary-dark); border-color: rgba(47, 125, 31, .25); }
.hs-tag svg { width: 16px; height: 16px; }
.hs-content h2 { font-size: clamp(1.5rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -1px; margin: 16px 0 12px; }
.hs-invest h2 { color: #fff; }
.hs-content p { font-size: clamp(.8rem, 1.3vw, 1.1rem); margin-bottom: 24px; }
.hs-ride p { color: var(--muted); }
.hs-art { position: relative; z-index: 1; justify-self: center; width: 100%; max-width: 440px; max-height: 88%; height: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); opacity: 0; transform: translateX(80px) scale(.94); transition: opacity .9s .15s, transform 1.1s .15s cubic-bezier(.2, .7, .2, 1); }
.hs-slide.is-active .hs-art { opacity: 1; transform: none; }

.hs-arrow { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; font-size: 1.9rem; line-height: 1; color: #fff; background: rgba(16, 34, 59, .35); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s, background .3s; }
.hs:hover .hs-arrow, .hs-arrow:focus-visible { opacity: 1; }
.hs-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hs-prev { left: 22px; } .hs-next { right: 22px; }
.hs-dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px 10px; border-radius: 50px; background: rgba(16, 34, 59, .35); backdrop-filter: blur(6px); }
.hs-dot { width: 9px; height: 9px; border-radius: 50px; background: rgba(255, 255, 255, .55); transition: width .35s, background .35s; }
.hs-dot.active { width: 28px; background: var(--accent); }
.hs-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.hs-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

@media (max-width: 860px) {
  .hs { max-height: none; min-height: 0; }
  .hs-slide .banner-actions { display: none; }
  .hs-custom { padding: 0 5%; grid-template-columns: 1.25fr 1fr; }
  .hs-tag { padding: 4px 10px; font-size: .62rem; }
  .hs-tag svg { width: 12px; height: 12px; }
  .hs-content h2 { margin: 8px 0 6px; }
  .hs-content p { margin-bottom: 10px; }
  .hs-content .btn { padding: 8px 16px; font-size: .78rem; }
  .hs-arrow { opacity: 1; width: 34px; height: 34px; margin-top: -17px; font-size: 1.4rem; }
  .hs-prev { left: 8px; } .hs-next { right: 8px; }
  .hs-dots { bottom: 8px; padding: 4px 8px; }
}
@media (max-width: 520px) {
  .hs-content p, .hs-tag { display: none; }
  .hs-content h2 { font-size: 1.15rem; letter-spacing: -.3px; }
  .hs-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide, .hs-content > *, .hs-art { transition: none !important; } }

/* slider: always full width; height follows the banner ratio but is capped on tall/wide screens */
.hs { width: 100%; aspect-ratio: auto; height: min(calc(100vw * 845 / 1862), calc(100vh - var(--header-h) - 40px)); min-height: 200px; max-height: none; }
@media (max-width: 860px) { .hs { height: calc(100vw * 845 / 1862); min-height: 0; } }
.hs-custom { padding-inline: max(5%, calc((100vw - 1200px) / 2)); }

/* Privacy policy / legal pages */
.legal-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 50px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--light); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.legal-toc h4 { margin-bottom: 12px; }
.legal-toc ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.legal-toc a:hover { color: var(--primary-dark); }
.legal h2 { scroll-margin-top: calc(var(--header-h) + 20px); font-size: 1.35rem !important; margin: 36px 0 12px !important; padding-top: 18px; border-top: 1px solid var(--border); }
.legal h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.legal-contact { padding: 22px 24px; border-radius: var(--radius); background: var(--light); border-left: 4px solid var(--primary); }
.legal-contact p { margin-bottom: 8px; }
.made-by a { color: var(--accent); font-weight: 600; }
.made-by a:hover { text-decoration: underline; }
@media (max-width: 960px) { .legal-wrap { grid-template-columns: 1fr; } .legal-toc { position: static; max-height: none; } }
