:root {
  --forest: #047c2c;
  --forest-2: #08a332;
  --leaf: #12c928;
  --leaf-soft: #74f27e;
  --mint: #effff1;
  --ink: #102015;
  --text: #26372b;
  --muted: #64746a;
  --line: rgba(18, 201, 40, 0.18);
  --wash: #f5fff6;
  --paper: #ffffff;
  --white: #ffffff;
  --radius: 26px;
  --radius-lg: 38px;
  --shadow: 0 24px 70px -40px rgba(0, 132, 40, 0.46);
  --font-body: "Noto Sans Thai", "Manrope", system-ui, sans-serif;
  --font-display: "Manrope", "Noto Sans Thai", system-ui, sans-serif;
  --container: 1180px;
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--wash);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--ink);
}

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

.eyebrow {
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--dark { color: var(--forest-2); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand__logo {
  width: 236px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--leaf);
  color: var(--white);
}
.btn--primary:hover { background: #13df23; }
.btn--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}
.btn--light:hover {
  background: var(--white);
  color: var(--forest);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.nav.scrolled { background: rgba(8, 116, 46, 0.92); }
.nav__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}
.nav__links a:hover { color: var(--mint); }
.nav__cta {
  color: var(--forest) !important;
  background: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.35);
}
.nav__toggle, .nav__burger { display: none; }

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0c7d34;
  color: var(--white);
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(0.98) brightness(1.06);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 80, 30, 0.9), rgba(0, 130, 45, 0.5) 50%, rgba(0, 199, 14, 0.18)),
    linear-gradient(0deg, rgba(0, 80, 30, 0.88), rgba(0, 90, 34, 0.05) 58%);
}
.hero__content {
  position: relative;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: 42px;
  align-items: end;
}
.hero h1 {
  max-width: 840px;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(42px, 7vw, 84px);
  letter-spacing: -0.04em;
}
.hero__lead {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-card {
  align-self: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(225, 255, 231, 0.14)),
    rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 90px -44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-card__brand {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(18, 201, 40, 0.12);
}
.hero-card__brand img {
  width: min(100%, 430px);
}
.hero-card__brand p {
  color: var(--forest);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero-card__video {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  aspect-ratio: 4 / 5;
  max-height: 460px;
  box-shadow: inset 0 0 0 1px rgba(18, 201, 40, 0.12);
}
.hero-card__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-card__link {
  display: block;
  margin-top: 12px;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  position: relative;
  margin: 0 0 48px;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__facts div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
}
.hero__facts dt {
  color: var(--forest-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__facts dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.intro,
.services,
.solutions,
.brands,
.company {
  padding: 88px 0;
}
.intro {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.intro__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: end;
}
.intro h2,
.section-head h2,
.company h2,
.contact h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: -0.035em;
}
.intro p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.section-head h2 { margin-top: 10px; }
.section-head p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}
.section-head--light h2,
.section-head--light p:last-child {
  color: var(--white);
}
.section-head--light p:last-child { color: rgba(255, 255, 255, 0.72); }

.services { background: var(--wash); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  min-height: 360px;
  padding: 18px 18px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 18px 46px -34px rgba(0, 132, 40, 0.4);
}
.service__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)),
    linear-gradient(115deg, rgba(116, 242, 126, 0.55), rgba(116, 242, 126, 0) 48%),
    linear-gradient(140deg, #eaffee, #bff8c8);
  box-shadow: inset 0 0 0 1px rgba(18, 201, 40, 0.12);
}
.service__visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(4, 124, 44, 0.12);
}
.service__visual::after {
  content: none;
}
.service__sun {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f4ff85;
  box-shadow: 0 0 0 14px rgba(244, 255, 133, 0.24);
}
.service__panel {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 190px;
  height: 92px;
  border-radius: 18px;
  transform: translate(-50%, -50%) skewX(-14deg);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px) 0 0 / 28px 100%,
    linear-gradient(0deg, rgba(255,255,255,0.22) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(135deg, #047c2c, #12c928);
  box-shadow: 0 18px 34px -24px rgba(4, 124, 44, 0.65);
}
.service__battery {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 94px;
  height: 126px;
  border: 8px solid var(--forest);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%);
}
.service__battery::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 28px;
  height: 14px;
  border-radius: 8px 8px 0 0;
  background: var(--forest);
  transform: translateX(-50%);
}
.service__battery::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 42px;
  border-radius: 14px;
  background: var(--leaf);
}
.service__bolt {
  position: absolute;
  right: 58px;
  top: 54px;
  width: 40px;
  height: 72px;
  clip-path: polygon(48% 0, 100% 0, 66% 42%, 100% 42%, 33% 100%, 48% 56%, 10% 56%);
  background: var(--leaf);
}
.service__inverter {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 120px;
  height: 128px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 20px 42px -26px rgba(4, 124, 44, 0.6);
  transform: translate(-50%, -50%);
}
.service__inverter::before {
  content: "";
  position: absolute;
  inset: 18px 24px auto;
  height: 10px;
  border-radius: 999px;
  background: rgba(4, 124, 44, 0.18);
}
.service__inverter::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 12px;
  height: 48px;
  border-radius: 999px;
  background: var(--leaf);
  transform: translateX(-50%);
}
.service__wave {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 176px;
  height: 54px;
  border-radius: 50%;
  border-top: 8px solid var(--forest-2);
  transform: translate(-50%, -50%);
}
.service__chart {
  position: absolute;
  left: 58px;
  right: 58px;
  bottom: 50px;
  height: 112px;
  border-left: 5px solid var(--forest);
  border-bottom: 5px solid var(--forest);
  border-radius: 0 0 0 12px;
}
.service__chart::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 0;
  top: 24px;
  height: 42px;
  border-radius: 999px;
  border-top: 8px solid var(--leaf);
  transform: rotate(-8deg);
}
.service__grid-dot {
  position: absolute;
  right: 70px;
  top: 62px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow:
    -36px 22px 0 var(--leaf),
    -80px 12px 0 rgba(4, 124, 44, 0.28),
    -28px 72px 0 rgba(18, 201, 40, 0.54);
}
.service__num {
  display: block;
  margin-top: 22px;
  color: var(--forest-2);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.service h3 {
  margin-top: 12px;
  font-size: 23px;
}
.service p {
  margin-top: 12px;
  color: var(--muted);
}

.solutions { background: var(--paper); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px -34px rgba(0, 132, 40, 0.45);
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  z-index: 10;
}
.filter-bar__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pill:hover,
.pill.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.filter-bar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.filter-bar__sort label { font-weight: 800; color: var(--text); }
.filter-bar__sort select {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.result-count {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.35);
}
.product-card__media {
  aspect-ratio: 4 / 3;
  background: var(--mint);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.product-card__tag {
  align-self: flex-start;
  border: 1px solid rgba(57, 201, 121, 0.42);
  color: var(--forest-2);
  background: rgba(57, 201, 121, 0.12);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-card__name {
  font-size: 17px;
  line-height: 1.35;
}
.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
}
.product-card__specs li {
  background: var(--wash);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}
.product-card__brands {
  color: var(--muted);
  font-size: 13px;
}

.process {
  padding: 88px 0;
  background: var(--forest);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline li {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}
.timeline span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--forest);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
}
.timeline h3 {
  margin-top: 34px;
  color: var(--white);
  font-size: 20px;
}
.timeline p { margin-top: 10px; }

.brands {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brands__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  align-items: stretch;
  gap: 18px;
}
.brands__list li {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 36px -30px rgba(0, 132, 40, 0.4);
}
.brands__list img {
  max-width: 128px;
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.company {
  background: var(--wash);
}
.company__grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
}
.company p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}
.company__details {
  margin: 0;
  border-top: 1px solid var(--line);
}
.company__details div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.company__details dt {
  color: var(--forest-2);
  font-weight: 800;
}
.company__details dd {
  margin: 0;
  color: var(--text);
}

.contact {
  padding: 88px 0;
  background: var(--forest);
  color: var(--white);
}
.contact h2 { color: var(--white); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
}
.contact__info > p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}
.contact__list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}
.contact__list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.contact__label {
  color: var(--mint);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact__list a:hover { color: var(--mint); }
.contact__form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.contact__form h3 {
  color: var(--white);
  font-size: 24px;
}
.contact__form label {
  display: grid;
  gap: 6px;
}
.contact__form label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 18px;
  padding: 12px 13px;
  outline: none;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--leaf);
}
.contact__form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact__form button { justify-self: start; }
.contact__form-note {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.footer {
  padding: 34px 0;
  background: #043a1a;
  color: rgba(255, 255, 255, 0.62);
}
.footer__inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.brand--footer .brand__logo {
  width: 150px;
  max-height: 46px;
}
.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}
.footer a:hover { color: var(--mint); }
.footer__meta { font-size: 12px; color: rgba(255, 255, 255, 0.44); }

.legal {
  padding: calc(var(--nav-h) + 54px) 0 76px;
  background: var(--paper);
}
.legal__content {
  max-width: 860px;
}
.legal h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.04em;
}
.legal h2 {
  margin-top: 34px;
  font-size: 25px;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
}
.legal p { margin-top: 14px; }
.legal ul {
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
}

@media (max-width: 960px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__content {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-card {
    max-width: 460px;
  }
  .intro__grid,
  .company__grid,
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
  }
  .nav__burger span {
    height: 2px;
    width: 100%;
    background: var(--white);
  }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: grid;
    align-items: stretch;
    gap: 6px;
    padding: 16px 24px 24px;
    background: var(--forest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }
  .nav__links a { padding: 10px 0; }
  .nav__cta { text-align: center; padding: 10px 16px !important; }
  .nav__toggle:checked ~ .nav__links { transform: translateY(0); }
  .hero__facts { grid-template-columns: 1fr; }
  .filter-bar { position: static; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .brand__logo { width: 166px; }
  .hero {
    min-height: auto;
  }
  .hero__content {
    padding-bottom: 36px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-card {
    padding: 12px;
    border-radius: 26px;
  }
  .hero-card__brand,
  .hero-card__video {
    border-radius: 20px;
  }
  .hero-card__video {
    max-height: none;
  }
  .hero__actions .btn,
  .contact__form button {
    width: 100%;
  }
  .intro,
  .services,
  .solutions,
  .process,
  .brands,
  .company,
  .contact {
    padding: 66px 0;
  }
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
  .brands__list {
    grid-template-columns: 1fr;
  }
  .company__details div,
  .contact__list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
