/* =========================================================
   BYDECO · byd.eco — Premium EV service (LIGHT theme)
   Theme: light & airy + eco-electric emerald/cyan accents
   ========================================================= */

:root {
  --bg: #f4f8fa;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef4f6;
  --border: rgba(12, 45, 60, 0.10);
  --border-strong: rgba(12, 45, 60, 0.18);
  --text: #0a1a21;
  --muted: #4d6470;
  --muted-2: #7c919b;
  --eco: #0aa87a;
  --eco-2: #0891c4;
  --eco-3: #0f9d76;
  --grad: linear-gradient(120deg, #12c08e 0%, #0a9fd0 60%, #16d3a0 100%);
  --grad-solid: linear-gradient(120deg, #0fb98a 0%, #0894c4 100%);
  --shadow: 0 26px 60px -30px rgba(10, 45, 60, 0.32);
  --shadow-sm: 0 12px 30px -18px rgba(10, 45, 60, 0.28);
  --glow: 0 12px 30px -10px rgba(15, 185, 138, 0.5);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5 { font-family: "Sora", "Manrope", sans-serif; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

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

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Ambient orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.55; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(18,192,142,.35), transparent 70%); top: -160px; right: -120px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(10,159,208,.28), transparent 70%); top: 40%; left: -170px; }
.orb-3 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(22,211,160,.22), transparent 70%); bottom: -140px; right: 8%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary {
  background: var(--grad-solid); color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(15, 185, 138, 0.65); }
.btn-ghost {
  background: #fff; color: var(--text); border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--eco); color: var(--eco); }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all .35s var(--ease); }
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad-solid); color: #fff; box-shadow: var(--glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: "Sora", sans-serif; font-size: 19px; letter-spacing: .02em; color: var(--text); }
.brand-text small { font-size: 11px; color: var(--eco); letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; margin-right: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: all .25s var(--ease);
}
.nav-links a:hover { color: var(--eco); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px;
}
.lang-switch button {
  background: transparent; border: none; color: var(--muted); font-weight: 700; font-size: 12.5px;
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease);
  font-family: inherit;
}
.lang-switch button.active { background: var(--grad-solid); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 82% 8%, rgba(255,255,255,0.1) 0%, rgba(244,248,250,.75) 45%, var(--bg) 82%),
    linear-gradient(180deg, rgba(244,248,250,.92) 0%, rgba(244,248,250,.7) 42%, var(--bg) 100%);
}
.hero-content { position: relative; max-width: 800px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--eco);
  background: rgba(15,185,138,.10);
  border: 1px solid rgba(15,185,138,.28); padding: 8px 16px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--eco); box-shadow: 0 0 10px var(--eco); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .45; transform: scale(.75);} }

.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 22px 0 20px; font-weight: 800; color: #071318; }
.hero .lead { font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--muted); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 46px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; border-top: 1px solid var(--border); padding-top: 30px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Sora", sans-serif; font-size: clamp(1.7rem, 4vw, 2.4rem); background: var(--grad-solid); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 13.5px; color: var(--muted-2); margin-top: 4px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: #ffffff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; color: var(--muted-2); opacity: .55; white-space: nowrap; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--eco); opacity: .6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section base ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 20px 0 14px; }
.section-head .sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 100% at 50% -20%, rgba(18,192,142,.10), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(15,185,138,.4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(15,185,138,.10); border: 1px solid rgba(15,185,138,.22); color: var(--eco);
  margin-bottom: 20px; transition: all .4s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--grad-solid); color: #fff; border-color: transparent; box-shadow: var(--glow); }

.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.6px; }
.tag {
  display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--eco); background: rgba(15,185,138,.09); border: 1px solid rgba(15,185,138,.22);
  padding: 6px 13px; border-radius: 999px;
}

.cta-card {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--grad-solid); border-color: transparent; box-shadow: var(--glow);
}
.cta-card h3 { font-size: 1.35rem; color: #fff; }
.cta-card p { color: rgba(255,255,255,.92); margin-bottom: 22px; }
.cta-card .btn { align-self: flex-start; background: #fff; color: var(--eco); box-shadow: none; }

/* ---------- Split (charging) ---------- */
.split-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,20,25,.45)); }
.split-body h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 20px 0 16px; }
.split-body > p { color: var(--muted); font-size: 1.05rem; }

.checklist { margin: 26px 0; display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 36px; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-solid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat, linear-gradient(#000,#000);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat, none;
}

/* ---------- Why grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: all .35s var(--ease);
}
.mini:hover { border-color: rgba(15,185,138,.4); transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-num { font-family: "Sora", sans-serif; font-size: 1.6rem; font-weight: 800; background: var(--grad-solid); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.mini h4 { font-size: 1.08rem; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 28px 22px; box-shadow: var(--shadow-sm); transition: all .35s var(--ease);
}
.steps li:hover { border-color: rgba(15,185,138,.4); transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font-family: "Sora", sans-serif; font-weight: 800; color: #fff; background: var(--grad-solid);
}
.steps h4 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14px; }

/* ---------- Location ---------- */
.location-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: stretch; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); min-height: 380px; background: var(--surface-2);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(1.05); }
.loc-info {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px;
}
.loc-item { display: flex; gap: 14px; align-items: flex-start; }
.loc-item .cc-icon { width: 46px; height: 46px; }
.loc-item .cc-body small { color: var(--muted-2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.loc-item .cc-body strong, .loc-item .cc-body span { display: block; font-size: 1.02rem; margin-top: 2px; }
.loc-info .btn { margin-top: auto; justify-content: center; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.g-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin: 0; }
.g-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px;
  font-weight: 700; font-size: 14.5px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 25, .78));
}

/* ---------- Prices ---------- */
.price-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; }
.price-table thead th { font-family: "Sora", sans-serif; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--border); }
.price-table tbody tr { border-bottom: 1px solid var(--border); transition: background .25s var(--ease); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody tr:hover { background: var(--surface-2); }
.price-table td { font-size: 15px; color: var(--muted); }
.price-table td:first-child { font-weight: 700; color: var(--text); }
.price-table .price { font-weight: 700; color: var(--eco); white-space: nowrap; }
.price-note { padding: 16px 18px 8px; color: var(--muted-2); font-size: 13.5px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); margin: 0; transition: all .35s var(--ease); }
.quote:hover { transform: translateY(-5px); border-color: rgba(15, 185, 138, .4); box-shadow: var(--shadow); }
.stars { color: #f6b73c; letter-spacing: 2px; font-size: 16px; margin-bottom: 14px; }
.quote blockquote { font-size: 15.5px; color: var(--text); line-height: 1.6; }
.quote figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.quote figcaption strong { font-size: 15px; }
.quote figcaption small { color: var(--muted-2); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .3s var(--ease); }
.faq-item[open] { border-color: rgba(15, 185, 138, .4); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 54px 20px 22px; font-weight: 700; font-size: 15.5px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--eco); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 14.6px; }

/* ---------- Map banner ---------- */
.map-banner { margin-top: 26px; max-width: 1000px; margin-left: auto; margin-right: auto; min-height: 300px; }
.map-banner iframe { min-height: 300px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, transparent, rgba(15,185,138,.06)); border-top: 1px solid var(--border); }
.contact-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.contact-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 20px 0 14px; }
.contact-head .sub { color: var(--muted); font-size: 1.05rem; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all .35s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(15,185,138,.45); box-shadow: var(--shadow); }
.cc-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(15,185,138,.10); border: 1px solid rgba(15,185,138,.22); color: var(--eco); flex-shrink: 0; }
.cc-body { display: flex; flex-direction: column; }
.cc-body small { color: var(--muted-2); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.cc-body strong { font-size: 1.08rem; margin-top: 3px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: #ffffff; padding: 64px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 380px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h5 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--eco); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13px; }

/* ---------- Floating button ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--grad-solid); color: #fff; box-shadow: 0 14px 34px -10px rgba(15,185,138,.7);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(15,185,138,.5); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .split-inner { grid-template-columns: 1fr; gap: 34px; }
  .location-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    padding: 20px 24px 28px; border-bottom: 1px solid var(--border);
    transform: translateY(-140%); transition: transform .4s var(--ease); margin: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 140px 0 70px; }
  .cards, .grid-4, .steps, .contact-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nav-actions .btn-sm { display: none; }
  .map, .map iframe { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
