/* ============================================================
   GoFoodCart — Global Food Cart Trading
   Design System & Stylesheet (Lifestyle Edition)
   ============================================================ */

:root {
  /* Palette — warm, inviting, lifestyle */
  --bg: #fdfbf7;
  --bg2: #f7f2eb;
  --bg3: #fff5ef;
  --ink: #2d2419;
  --muted: #7a6e62;
  --rule: #e8dfd3;
  --accent: #e8590c;      /* warm street-food orange */
  --accent-d: #c44109;
  --accent2: #2b8a3e;     /* eco green for manual/pedal */
  --accent2-d: #1f6b2e;
  --gold: #f59f00;
  --cream: #faf4ed;

  /* Typography */
  --fh: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fb: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radius & shadow — softer, warmer */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --r-xl: 36px;
  --sh: 0 8px 30px rgba(45, 36, 25, 0.07);
  --sh-lg: 0 24px 60px rgba(45, 36, 25, 0.13);
  --sh-warm: 0 12px 40px rgba(232, 89, 12, 0.12);

  /* Layout */
  --maxw: 1180px;
  --nav-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--fh); font-weight: 700; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-d); }
img { max-width: 100%; display: block; }

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

.section { padding: 90px 0; }
.section.tight { padding: 56px 0; }
.bg2 { background: var(--bg2); }
.bg3 { background: var(--bg3); }

.eyebrow {
  display: inline-block;
  font-family: var(--fh);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 640px; font-size: 1.05rem; line-height: 1.75; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }
.center .eyebrow { padding-left: 0; }
.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fh); font-weight: 600; font-size: .98rem;
  padding: 14px 30px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(232,89,12,.32); }
.btn-primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,89,12,.4); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--rule); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--bg3); }
.btn-green { background: var(--accent2); color: #fff; box-shadow: 0 8px 20px rgba(43,138,62,.3); }
.btn-green:hover { background: var(--accent2-d); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s, background .3s;
}
header.site.scrolled { box-shadow: 0 4px 24px rgba(45, 36, 25, .06); background: rgba(253, 251, 247, .97); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.logo .mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: grid; place-items: center; color: #fff; font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(232,89,12,.3);
}
.logo b { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .97rem; position: relative; }
.nav-links a::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--accent); transition:width .25s; border-radius:2px; }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg2); border: 1px solid var(--rule); border-radius: 50px;
  padding: 8px 14px; font-family: var(--fh); font-weight: 600; font-size: .85rem;
  cursor: pointer; color: var(--ink); transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--accent); background: var(--bg3); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm);
  box-shadow: var(--sh-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: none; padding: 9px 12px; border-radius: 8px;
  cursor: pointer; font-family: var(--fb); font-size: .9rem; color: var(--ink);
}
.lang-menu button:hover { background: var(--bg2); }
.lang-menu button .flag { font-size: 1.1rem; }
.lang-menu button.active { background: var(--bg3); color: var(--accent); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--ink); }

/* ---------- Hero — immersive lifestyle ---------- */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px;
  background: linear-gradient(170deg, var(--cream) 0%, var(--bg) 60%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 22px; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--accent); position: relative; display: inline-block; }
.hero h1 .hl::after {
  content: '';
  position: absolute; left: 0; bottom: 4px; width: 100%; height: 8px;
  background: rgba(232, 89, 12, .15); border-radius: 4px; z-index: -1;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 32px; max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--fh); font-size: 2rem; color: var(--ink); display: block; }
.hero-stats .stat span { font-size: .88rem; color: var(--muted); }
.hero-img { position: relative; }
.hero-img img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); width: 100%; height: auto; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: 16px 22px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--rule);
}
.hero-badge .ic { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent2), #3cb050); display: grid; place-items: center; color: #fff; font-size: 1.3rem; box-shadow: 0 4px 14px rgba(43,138,62,.3); }
.hero-badge b { display: block; font-family: var(--fh); font-size: 1rem; }
.hero-badge span { font-size: .8rem; color: var(--muted); }
.hero-blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(232,89,12,.10), transparent 70%); top: 8%; right: -140px; z-index: -1; }
.hero-blob2 { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(245,159,0,.08), transparent 70%); bottom: -60px; left: -80px; z-index: -1; }

/* ---------- Trust bar ---------- */
.trust { padding: 32px 0; border-bottom: 1px solid var(--rule); background: var(--bg); }
.trust-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.trust-item .ic { color: var(--accent2); font-size: 1.3rem; }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 36px 30px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0; transition: opacity .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-card .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.feature-card .ic.orange { background: var(--bg3); color: var(--accent); }
.feature-card .ic.green { background: #e9f7ee; color: var(--accent2); }
.feature-card .ic.gold { background: #fff8e6; color: var(--gold); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .96rem; line-height: 1.7; }

/* ---------- Product cards ---------- */
.cat-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 44px; flex-wrap: wrap; }
.cat-tab {
  font-family: var(--fh); font-weight: 600; font-size: .95rem; padding: 11px 26px;
  border-radius: 50px; border: 2px solid var(--rule); background: #fff; cursor: pointer;
  color: var(--ink); transition: all .2s;
}
.cat-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232,89,12,.3); }
.cat-tab:hover:not(.active) { border-color: var(--accent); color: var(--accent); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.product-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg2); }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .img-wrap img { transform: scale(1.07); }
.tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 13px; border-radius: 50px;
  font-family: var(--fh); font-weight: 600; font-size: .76rem; color: #fff;
  backdrop-filter: blur(8px);
}
.tag.electric { background: rgba(232,89,12,.92); }
.tag.manual { background: rgba(43,138,62,.92); }
.product-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-body .desc { color: var(--muted); font-size: .93rem; margin-bottom: 16px; flex: 1; }
.spec-list { list-style: none; margin-bottom: 20px; }
.spec-list li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink); padding: 4px 0; }
.spec-list li::before { content: '✓'; color: var(--accent2); font-weight: 700; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-foot .price { font-family: var(--fh); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.product-foot .price small { font-size: .72rem; color: var(--muted); font-weight: 500; display: block; }

/* ---------- Split / about preview ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--sh); width: 100%; }
.check-list { list-style: none; margin: 24px 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 1rem; }
.check-list li .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #e9f7ee; color: var(--accent2); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; text-align: center; }
.step .num {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff; font-family: var(--fh); font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(232,89,12,.3);
}
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(135deg, #2d2419, #3d3128); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(232,89,12,.1), transparent 50%);
}
.stats-band .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; position: relative; }
.stats-band .stat b { font-family: var(--fh); font-size: 2.6rem; color: var(--accent); display: block; }
.stats-band .stat span { color: #b6a99a; font-size: .95rem; }

/* ---------- Cert badges ---------- */
.certs-wrap { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  background: #fff; border: 1px solid var(--rule); border-radius: 50px;
  font-family: var(--fh); font-weight: 600; font-size: .92rem; color: var(--ink);
  box-shadow: var(--sh);
}
.cert-badge::before { content: '✓'; color: var(--accent2); font-weight: 800; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px){ .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .values-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band { position: relative; padding: 70px 0; background: linear-gradient(135deg, var(--accent), var(--gold)); overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.3rem); }
.cta-inner p { color: rgba(255,255,255,.92); margin-top: 8px; }
.cta-band .btn-white { background: #fff; color: var(--accent); }
.cta-band .btn-white:hover { background: var(--ink); color: #fff; }

/* ---------- Page header (subpages) ---------- */
.page-head { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 50px; background: var(--bg3); text-align: center; }
.page-head h1 { font-size: clamp(2rem,4vw,2.8rem); margin-bottom: 14px; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.breadcrumb a { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info .info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.contact-info .info-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--bg3); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-info .info-item b { display: block; font-family: var(--fh); margin-bottom: 4px; }
.contact-info .info-item span, .contact-info .info-item a { color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--sh); }
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-family: var(--fh); font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  font-family: var(--fb); font-size: .96rem; color: var(--ink); background: var(--bg2); transition: border-color .2s, background .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-msg { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: #e9f7ee; color: var(--accent2-d); border: 1px solid #b7e4c7; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--rule); border-radius: var(--r-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-family: var(--fh); font-weight: 600; font-size: 1.02rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg3); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s; }
.faq-q.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site { background: #2d2419; color: #b6a99a; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
footer .logo { color: #fff; margin-bottom: 18px; }
footer p { font-size: .92rem; line-height: 1.7; }
footer h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--fh); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #b6a99a; font-size: .92rem; }
footer ul li a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 12px; color: #b6a99a; }
.footer-contact li .ic { color: var(--accent); flex-shrink: 0; }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #b6a99a; font-size: 1rem; transition: background .2s; }
.social-row a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; max-width: 560px; margin: 0 auto; }
  .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--rule); box-shadow: var(--sh);
  }
  .menu-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .features-grid, .products-grid, .steps-grid, .stats-band .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero-stats { gap: 24px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
}
