:root {
  --background: #f7f8f6;
  --foreground: #151515;
  --muted: #666f6a;
  --panel: #ffffff;
  --ink: #101211;
  --red: #d92129;
  --green: #20c35a;
  --green-dark: #128c3c;
  --line: rgba(16, 18, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

main {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  background:
    linear-gradient(110deg, rgba(15, 17, 16, 0.96) 0%, rgba(15, 17, 16, 0.9) 42%, rgba(15, 17, 16, 0.3) 100%),
    #151515;
  color: #fff;
  min-height: 94vh;
  padding: 22px clamp(18px, 4vw, 64px) 54px;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--red);
  border-radius: 6px;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  margin-top: 4px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  margin: 74px auto 0;
  max-width: 1180px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 720px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  max-width: 620px;
}

.hero-actions,
.service-card .whatsapp-button,
.battery-panel .whatsapp-button {
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.whatsapp-button,
.call-button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.whatsapp-button.primary {
  background: var(--green);
  box-shadow: 0 18px 42px rgba(32, 195, 90, 0.28);
  color: #07130b;
}

.whatsapp-button.secondary {
  background: #fff;
  border: 1px solid rgba(16, 18, 17, 0.12);
  color: var(--green-dark);
}

.whatsapp-button.dark {
  background: var(--ink);
  color: #fff;
}

.whatsapp-button:hover,
.call-button:hover {
  transform: translateY(-2px);
}

.call-button {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.wa-dot {
  background: currentColor;
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  position: relative;
  width: 10px;
}

.wa-dot::after {
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
  inset: -5px;
  opacity: 0.34;
  position: absolute;
}

.hero-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  max-width: 520px;
}

.hero-stats span {
  border-left: 3px solid var(--red);
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 13px;
  padding-left: 14px;
}

.hero-stats strong {
  color: #fff;
  display: block;
  font-size: 22px;
}

.hero-media {
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  min-height: 420px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.quote-strip {
  align-items: center;
  background: var(--red);
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 64px);
}

.quote-strip p,
.quote-strip strong {
  display: block;
  margin: 0;
}

.quote-strip p {
  opacity: 0.82;
}

.quote-strip strong {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.08;
  margin-top: 4px;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 86px clamp(18px, 4vw, 34px);
}

.section-heading {
  max-width: 720px;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 284px;
  padding: 24px;
}

.service-card p,
.split p,
.battery-panel p,
.final-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.service-icon {
  background:
    linear-gradient(90deg, transparent 18%, rgba(255, 255, 255, 0.45) 18% 24%, transparent 24%),
    linear-gradient(135deg, var(--ink), #3a3f3c);
  border-radius: 7px;
  height: 34px;
  margin-bottom: 26px;
  position: relative;
  width: 68px;
}

.service-icon::after {
  background: var(--red);
  border-radius: 0 4px 4px 0;
  content: "";
  height: 15px;
  position: absolute;
  right: -8px;
  top: 9px;
  width: 8px;
}

.split {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.split > div:first-child {
  max-width: 680px;
}

.reason-list {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 0;
  overflow: hidden;
}

.reason {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 16px;
  padding: 22px;
}

.reason:last-child {
  border-bottom: 0;
}

.reason span {
  background: var(--green);
  border-radius: 999px;
  flex: 0 0 auto;
  height: 14px;
  width: 14px;
}

.reason p {
  color: #fff;
  font-weight: 800;
  margin: 0;
}

.battery-types {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.battery-panel {
  background: #fff;
  border-radius: 8px;
  color: #fff;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 44px);
  position: relative;
}

.battery-panel::before {
  background:
    linear-gradient(115deg, rgba(16, 18, 17, 0.9), rgba(16, 18, 17, 0.58)),
    var(--panel);
  content: "";
  inset: 0;
  position: absolute;
}

.battery-panel::after {
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  content: "";
  height: 96px;
  position: absolute;
  right: 34px;
  top: 34px;
  width: 168px;
}

.bike-panel::after {
  height: 72px;
  width: 122px;
}

.battery-panel > * {
  position: relative;
  z-index: 1;
}

.battery-panel span {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.battery-panel h2 {
  max-width: 520px;
}

.battery-panel p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 510px;
}

.final-cta {
  background: #fff;
  margin: 28px auto 0;
  max-width: 1060px;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  padding: 34px 20px 94px;
}

.footer strong {
  color: var(--foreground);
}

.footer a {
  color: var(--green-dark);
  font-weight: 900;
}

.sticky-whatsapp {
  align-items: center;
  background: var(--green);
  border-radius: 7px;
  bottom: 18px;
  box-shadow: 0 18px 40px rgba(18, 140, 60, 0.34);
  color: #07130b;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  position: fixed;
  right: 18px;
  z-index: 20;
}

.lead-popup {
  align-items: center;
  background: rgba(9, 10, 10, 0.66);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: fixed;
  transition: opacity 220ms ease;
  z-index: 50;
}

.lead-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup-card {
  background:
    linear-gradient(145deg, rgba(217, 33, 41, 0.1), transparent 42%),
    #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  max-width: 470px;
  overflow: hidden;
  padding: 34px;
  position: relative;
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
  width: min(100%, 470px);
}

.lead-popup.is-visible .lead-popup-card {
  transform: translateY(0) scale(1);
}

.lead-popup-card::before {
  background:
    linear-gradient(90deg, transparent 18%, rgba(255, 255, 255, 0.35) 18% 24%, transparent 24%),
    linear-gradient(135deg, var(--ink), #373d39);
  border-radius: 7px;
  content: "";
  display: block;
  height: 42px;
  margin-bottom: 24px;
  width: 84px;
}

.lead-popup-card::after {
  background: var(--red);
  border-radius: 0 4px 4px 0;
  content: "";
  height: 18px;
  left: 110px;
  position: absolute;
  top: 46px;
  width: 9px;
}

.popup-close {
  align-items: center;
  background: #f1f2ef;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  font-weight: 400;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
}

.popup-badge {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lead-popup h2 {
  color: var(--ink);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.02;
  margin-bottom: 14px;
  max-width: 390px;
}

.lead-popup p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.popup-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.popup-points span {
  background: #f4f5f2;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.popup-whatsapp {
  width: 100%;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .battery-types {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: 52px;
  }

  .hero-media,
  .hero-media img {
    min-height: 340px;
  }

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

@media (max-width: 720px) {
  .nav-links a:not(.whatsapp-button) {
    display: none;
  }

  .hero {
    padding-bottom: 34px;
  }

  .hero-grid {
    margin-top: 42px;
  }

  .hero-actions,
  .quote-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .section {
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .service-card {
    min-height: auto;
  }

  .sticky-whatsapp {
    bottom: 12px;
    justify-content: center;
    left: 12px;
    right: 12px;
  }

  .lead-popup {
    align-items: flex-end;
    padding: 14px;
  }

  .lead-popup-card {
    padding: 28px 22px 24px;
  }
}
