:root {
  --yellow: #f8be12;
  --green: #1fad5f;
  --green-dark: #22874f;
  --green-deeper: #165a35;
  --brown: #494331;
  --gold: #876d22;
  --cream: #f3eace;
  --mint: #cef3df;
  --mint-light: #a1e8c1;
  --off-white: #fcfff5;
  --white: #ffffff;
  --font-heading: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Sarabun", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow: 0 10px 28px rgba(73, 67, 49, 0.08);
  --header-offset: 6.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 12.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--brown);
  background: var(--off-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--brown);
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green-deeper);
}

a:hover {
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--green-deeper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--brown);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--off-white);
  border-top: 6px solid var(--yellow);
  border-bottom: 1px solid var(--mint-light);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0;
}

.logo-link img {
  height: 56px;
  width: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--brown);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.nav-list a:hover {
  background: var(--mint);
  color: var(--green-deeper);
}

.band {
  padding: 3.25rem 0;
}

.band-mint {
  background: var(--mint);
}

.band-cream {
  background: var(--cream);
}

.band-white {
  background: var(--white);
}

.hero-inner {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green-deeper);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede,
.section-lead {
  font-size: 1.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  background: var(--green-deeper);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.button-accent {
  background: var(--yellow);
  color: var(--brown);
}

.button-accent:hover {
  background: var(--yellow);
  color: var(--brown);
  border-color: var(--brown);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card,
.contact-card,
.info-band {
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deeper);
}

.icon-badge svg {
  width: 2.25rem;
  height: 2.25rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.service-note {
  margin-top: auto;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.service-note {
  background: var(--mint);
}

.service-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green-deeper);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.about-layout {
  display: grid;
  gap: 1.5rem;
}

.info-band {
  padding: 1.5rem;
  background: var(--mint);
  border-left: 8px solid var(--yellow);
}

.contact-card {
  max-width: 40rem;
  padding: 1.5rem;
}

.contact-list {
  margin: 0 0 1.25rem;
}

.contact-list div {
  padding: 0.75rem 0;
  border-top: 1px solid var(--mint-light);
}

.contact-list dt {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deeper);
}

.contact-list dd {
  margin: 0.15rem 0 0;
}

.site-footer {
  background: var(--green-deeper);
  color: var(--off-white);
  padding: 2.5rem 0 1.5rem;
}

.site-footer a {
  color: var(--off-white);
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer :focus-visible {
  outline-color: var(--yellow);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-name {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-domain {
  margin: 0.25rem 0 0;
  color: var(--mint-light);
}

.footer-heading {
  margin: 0 0 0.5rem;
  color: var(--yellow);
  font-size: 1.1rem;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(252, 255, 245, 0.25);
}

.footer-bottom p {
  margin: 0;
  color: var(--mint-light);
}


.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-photo,
.card-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-photo {
  aspect-ratio: 3 / 2;
}

.card-photo {
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.step-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.step-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--brown);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.explainer-layout {
  margin-top: 2rem;
}

.info-band p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-top: 1.5rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--mint);
  padding: 1rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-deeper);
}

.faq-item p {
  margin: 0.75rem 0 0;
}

.footer-social {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(252, 255, 245, 0.25);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 600;
}

@media (min-width: 720px) {
  .hero-layout {
    grid-template-columns: 1.1fr 1fr;
  }

  .step-grid,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  html {
    scroll-padding-top: 7.5rem;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-list a {
    padding: 0.35rem 0.85rem;
  }

  .logo-link img {
    height: 68px;
  }

  .band {
    padding: 4.5rem 0;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .about-layout {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .step-grid,
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}



/* Lead form (Zoho CRM web form) */
.contact-layout { display: grid; gap: 1.5rem; align-items: start; }
.contact-layout .contact-card { max-width: none; }
.lead-form .form-row { display: grid; gap: 0 1rem; }
.lead-form .form-field { margin-bottom: 1rem; }
.lead-form label { display: block; margin-bottom: 0.3rem; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--green-deeper); }
.lead-form .req { color: #a3261b; }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form textarea {
  width: 100%; padding: 0.7rem 0.85rem; font: inherit; font-size: 16px; color: var(--brown);
  background: var(--white); border: 1px solid #8a8470; border-radius: 12px; }
.lead-form textarea { resize: vertical; min-height: 7rem; }
.lead-form input:focus, .lead-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--green-dark); }
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.captcha-row img { min-height: 40px; border: 1px solid var(--mint-light); border-radius: 8px; background: var(--white); }
.link-button { padding: 0; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--green-deeper); text-decoration: underline; cursor: pointer; }
.link-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form-error { color: #a3261b; font-size: 0.95rem; }
.form-note { margin: 0 0 1rem; font-size: 0.95rem; }
.form-consent { margin: 1rem 0 0; font-size: 0.95rem; }
.form-thanks { margin-bottom: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--mint); border-left: 6px solid var(--green); font-weight: 600; color: var(--green-deeper); }
.lead-form .formsubmit { border: 0; cursor: pointer; font-size: 1rem; }
.lead-form .formsubmit[disabled] { opacity: 0.6; cursor: wait; }
@media (min-width: 640px) { .lead-form .form-row-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 2fr 3fr; } }

/* Renewable energy photo strip (How it works) */
.photo-strip .card-photo { margin-bottom: 0; }
