:root {
  --green-50: #e9f8f2;
  --green-100: #bdebd9;
  --green-200: #75d4b2;
  --green-400: #1d9e75;
  --green-600: #0f6e56;
  --green-800: #0a463b;
  --green-900: #062c27;
  --amber-100: #fff0c7;
  --amber-400: #ef9f27;
  --blue-100: #dff2ff;
  --blue-400: #378add;
  --gray-50: #f8fbfa;
  --gray-100: #eff5f2;
  --gray-200: #dce8e3;
  --gray-500: #6d7d78;
  --gray-700: #32433f;
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(10, 70, 59, .11);
  --shadow-card: 0 12px 36px rgba(10, 70, 59, .08);
  color-scheme: light;
  font-family: Inter, "Noto Sans Thai", "Sarabun", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--green-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
body[data-lang="th"] { font-family: "Noto Sans Thai", "Sarabun", Inter, sans-serif; }
body[data-lang="zh"] { font-family: "Microsoft YaHei", "Noto Sans SC", Inter, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.desktop-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: 270px 1fr 270px;
  align-items: center;
  gap: 24px;
  padding: 0 5vw;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(29,158,117,.12);
  backdrop-filter: blur(18px);
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--green-600);
}
.brand-lockup img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(10, 70, 59, .12);
}
.desktop-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--gray-500);
  font-weight: 850;
}
.desktop-links a {
  padding: 8px 14px;
  border-radius: 999px;
}
.desktop-links a:hover {
  color: var(--green-600);
  background: var(--green-50);
}
.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.language-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
}
.language-field select {
  border: 0;
  min-width: 72px;
  color: var(--green-800);
  background: transparent;
  font-weight: 900;
}
.line-button,
.primary-cta,
.secondary-cta,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--green-400);
  border-radius: 999px;
  color: var(--white);
  background: var(--green-400);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.line-button:hover,
.primary-cta:hover,
.lead-form button:hover {
  transform: translateY(-2px);
  background: var(--green-600);
  box-shadow: 0 14px 28px rgba(15,110,86,.22);
}
.secondary-cta {
  color: var(--green-600);
  background: transparent;
  border-color: var(--green-200);
}

.desktop-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 136px 5vw 82px;
  overflow: hidden;
  background: linear-gradient(115deg, #fbfffd 0%, #f0fbf6 52%, #fff6d8 100%);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.grid-dots {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: radial-gradient(circle, rgba(29,158,117,.16) 1px, transparent 1px);
  background-size: 30px 30px;
}
.soft-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.orbit-a {
  width: 680px;
  height: 680px;
  right: -160px;
  top: -180px;
  background: rgba(117,212,178,.22);
}
.orbit-b {
  width: 460px;
  height: 460px;
  left: 2vw;
  bottom: -120px;
  background: rgba(239,159,39,.11);
}
.desktop-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(440px, .88fr);
  gap: 70px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(64px, 7vw, 112px);
  line-height: .98;
  letter-spacing: 0;
}
body[data-lang="th"] h1,
body[data-lang="zh"] h1 {
  font-size: clamp(54px, 5.6vw, 84px);
  line-height: 1.1;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
}
h3 { margin-bottom: 8px; font-size: 22px; line-height: 1.22; }
.hero-lead,
.section-copy p,
.line-panel p,
.story-band p,
.contact-section p {
  max-width: 650px;
  color: var(--gray-500);
  font-size: 18px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}
.hero-pills,
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pills span,
.partner-tags span {
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--green-600);
  background: rgba(255,255,255,.78);
  font-weight: 900;
  font-size: 13px;
}

.desktop-showcase {
  position: relative;
  min-height: 560px;
  border-radius: 42px;
}
.desktop-showcase::before {
  content: "";
  position: absolute;
  inset: 18px 26px;
  border-radius: 40px;
  background: linear-gradient(150deg, rgba(255,255,255,.86), rgba(234,248,242,.8));
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}
.service-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(29,158,117,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-card);
}
.card-map {
  top: 64px;
  left: 38px;
  right: 38px;
  padding: 18px;
}
.map-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 900;
}
.map-head span {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green-600);
  background: var(--green-50);
  font-size: 12px;
}
.map-board,
.mini-map {
  position: relative;
  height: 245px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15,110,86,.92), rgba(10,70,59,.98)),
    var(--green-800);
}
.map-road {
  position: absolute;
  border-radius: 999px;
  background: rgba(117,212,178,.34);
}
.road-one { width: 115%; height: 7px; left: -7%; top: 34%; transform: rotate(7deg); }
.road-two { width: 115%; height: 7px; left: -7%; top: 70%; transform: rotate(-9deg); }
.road-three { width: 7px; height: 125%; left: 52%; top: -10%; transform: rotate(2deg); }
.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 9px;
  transform: rotate(-45deg);
  color: var(--white);
  background: var(--green-400);
  box-shadow: 0 12px 22px rgba(6,44,39,.22);
}
.pin i {
  transform: rotate(45deg);
  font-style: normal;
  font-weight: 950;
}
.pin-open { top: 72px; left: 96px; }
.pin-busy { top: 128px; left: 260px; background: var(--green-600); }
.pin-note { top: 55px; right: 96px; background: var(--amber-400); }
.driver-dot {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 12px rgba(55,138,221,.2);
}
.station-card,
.report-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  left: 84px;
  right: 78px;
  padding: 18px;
}
.station-card { bottom: 138px; }
.report-card { bottom: 48px; }
.charge-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--green-600);
  background: var(--green-50);
  font-size: 24px;
}
.charge-icon.heart { color: var(--amber-400); }
.service-card b { display: block; font-size: 18px; }
.service-card small { color: var(--gray-500); }
.service-card em {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-600);
  background: var(--green-50);
  font-style: normal;
  font-weight: 900;
}
.float-note {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: var(--green-800);
  font-weight: 950;
}
.note-one { right: 6px; top: 90px; }
.note-two { left: 0; bottom: 95px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 5vw;
  background: var(--green-900);
}
.metric-strip article {
  min-height: 190px;
  padding: 36px 26px;
  background: var(--green-900);
}
.metric-strip b {
  display: block;
  color: var(--green-200);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 12px;
}
.metric-strip p {
  color: rgba(233,248,242,.78);
  margin: 0;
}

.split-section,
.driver-section,
.contact-section,
.story-band,
.line-panel {
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 92px 0;
}
.split-section,
.line-panel,
.contact-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: center;
}
.vision-stack {
  display: grid;
  gap: 16px;
}
.vision-stack article,
.driver-grid article,
.lead-form,
.qr-card {
  border: 1px solid var(--gray-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.vision-stack article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px;
}
.vision-stack span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--green-600);
  background: var(--green-50);
  font-weight: 950;
}
.vision-stack p { margin: 0; color: var(--gray-500); }
.line-panel {
  width: 100%;
  max-width: none;
  padding: 80px 5vw;
  background: linear-gradient(135deg, var(--green-50), #fff7db);
}
.qr-card {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 330px;
  padding: 26px;
}
.qr-card img {
  width: 210px;
  height: 210px;
  border-radius: 18px;
}
.center-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.driver-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.driver-grid article {
  padding: 28px;
}
.driver-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--green-600);
  background: var(--green-50);
  font-weight: 950;
}
.driver-grid small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green-600);
  font-weight: 950;
}
.driver-grid p { color: var(--gray-500); margin-bottom: 0; }
.partner-section { align-items: start; }
.story-band {
  padding: 56px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(233,248,242,.94), rgba(255,246,216,.82));
  box-shadow: var(--shadow-soft);
}
.story-band b {
  display: block;
  margin-top: 24px;
  color: var(--green-600);
  font-size: 42px;
}
.story-band span { color: var(--gray-500); }
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}
.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--gray-500);
  font-weight: 900;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--green-900);
  background: var(--gray-50);
}
.lead-form textarea { resize: vertical; }
.lead-form .wide { grid-column: 1 / -1; }
.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.lead-form .consent input { width: auto; margin-top: 6px; }
.form-message { margin: 0; min-height: 24px; color: var(--green-600); font-weight: 900; }
.form-message.error { color: #b94242; }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 5vw;
  color: rgba(233,248,242,.76);
  background: var(--green-900);
}
.site-footer b,
.site-footer a { color: var(--green-50); }

/* Mobile page: intentionally separate from desktop layout. */
.page-mobile {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding-bottom: 82px;
  background: linear-gradient(180deg, #f5fffb 0%, #ffffff 38%, #f8fbfa 100%);
  overflow-x: hidden;
}
.mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 64px;
  padding: 10px 28px 10px 16px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(16px);
}
.page-mobile .brand-lockup img {
  width: 40px;
  height: 40px;
}
.page-mobile .brand-lockup span { font-size: 15px; }
.language-field.compact {
  width: 72px;
  flex: 0 0 72px;
  justify-content: center;
  padding: 0 8px;
  overflow: hidden;
}
.language-field.compact select {
  min-width: 54px;
  width: 54px;
  padding: 0;
}
.mobile-main {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding: 18px 28px 28px 16px;
  overflow-x: hidden;
}
.mobile-main > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.mobile-main *,
.mobile-topbar * {
  min-width: 0;
}
.mobile-hero,
.mobile-card-section,
.mobile-line-card {
  border: 1px solid var(--gray-200);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-card);
}
.mobile-hero {
  padding: 24px 18px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 8%, rgba(239,159,39,.12), transparent 34%),
    linear-gradient(160deg, #f0fbf6, #fffdf7);
}
.mobile-hero h1 {
  max-width: 100%;
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}
.page-mobile[data-lang="th"] .mobile-hero h1,
.page-mobile[data-lang="zh"] .mobile-hero h1 {
  font-size: 31px;
  line-height: 1.18;
}
.page-mobile[data-lang="zh"] .mobile-hero h1 {
  word-break: break-all;
}
.mobile-hero p {
  max-width: 100%;
  color: var(--gray-500);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.page-mobile[data-lang="zh"] p {
  word-break: break-all;
}
.primary-cta.full { width: 100%; }
.mobile-service-preview {
  margin-top: 18px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  overflow: hidden;
}
.mini-map {
  height: 160px;
  margin-bottom: 12px;
}
.mini-map .pin { width: 32px; height: 32px; }
.mini-map .pin-open { top: 46px; left: 64px; }
.mini-map .pin-busy { top: 82px; left: auto; right: 68px; }
.mini-map .driver-dot { top: 46%; left: 48%; }
.mobile-preview-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}
.mobile-preview-row span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--green-600);
  background: var(--green-50);
}
.mobile-preview-row b { display: block; }
.mobile-preview-row small { color: var(--gray-500); }
.mobile-line-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 16px;
  align-items: center;
}
.mobile-line-card img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
}
.mobile-line-card h2,
.mobile-card-section h2 {
  font-size: 23px;
  line-height: 1.18;
}
.mobile-card-section {
  padding: 20px 18px;
}
.mobile-card-section p {
  color: var(--gray-500);
}
.mobile-pill-list,
.mobile-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.mobile-pill-list span {
  padding: 11px 13px;
  border-radius: 16px;
  color: var(--green-600);
  background: var(--green-50);
  font-weight: 900;
}
.mobile-feature-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-feature-list article:last-child { border-bottom: 0; }
.mobile-feature-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: var(--green-600);
  background: var(--green-50);
  font-weight: 950;
}
.mobile-feature-list h3 { margin-bottom: 4px; font-size: 18px; }
.mobile-feature-list p { margin-bottom: 0; font-size: 14px; }
.mobile-form {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.mobile-bottom-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 22px calc(8px + env(safe-area-inset-bottom)) 10px;
  border-top: 1px solid var(--gray-200);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.mobile-bottom-nav a {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 900;
}
.mobile-bottom-nav a:hover {
  color: var(--green-600);
}

@media (max-width: 1100px) {
  .desktop-hero-inner,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .driver-grid,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
