:root {
  --green-900: #062d22;
  --green-700: #0d6a4c;
  --green-500: #20a36b;
  --gold: #c89b3c;
  --ink: #17231f;
  --muted: #66736e;
  --line: #dfe7e2;
  --soft: #f4f7f2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 45, 34, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-700), var(--gold));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: #31413b;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-900);
  background: #eaf3ec;
}

.nav-toggle {
  display: none;
  padding: 9px 12px;
  color: var(--green-900);
  font: inherit;
  font-weight: 700;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: clamp(590px, 82vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 25, 19, 0.92) 0%, rgba(3, 25, 19, 0.72) 38%, rgba(3, 25, 19, 0.2) 100%),
    url("assets/energy-hero.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 96px 0 132px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.cta-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.button.primary {
  color: var(--green-900);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-900);
  color: var(--white);
}

.stats-band div {
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-band strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: clamp(60px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 90px);
}

.stack {
  display: grid;
  gap: 16px;
  color: #42504b;
  font-size: 1.05rem;
}

.text-link {
  width: fit-content;
  color: var(--green-700);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card,
.project-card,
.contact-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  overflow: hidden;
}

.card-image {
  display: block;
  width: calc(100% + 52px);
  height: 178px;
  margin: -26px -26px 22px;
  object-fit: cover;
  background: var(--soft);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.card p,
.project-card p,
.news-list p {
  color: var(--muted);
}

.photo-credit {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.photo-credit:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-strip {
  justify-content: space-between;
  color: var(--white);
  background: var(--green-900);
}

.cta-strip h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(82px, 13vw, 148px) clamp(18px, 5vw, 72px) clamp(48px, 7vw, 86px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 45, 34, 0.95), rgba(13, 106, 76, 0.86)),
    url("assets/energy-hero.png") center / cover no-repeat;
}

.page-hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.timeline,
.service-list,
.news-list {
  display: grid;
  gap: 16px;
}

.timeline-item,
.service-list article,
.news-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong,
.service-list span,
.news-list time,
.project-card span {
  color: var(--green-700);
  font-weight: 900;
}

.service-list h2,
.news-list h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 240px;
  display: grid;
  align-content: space-between;
  background: linear-gradient(180deg, #ffffff, #f8fbf8);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #33443d;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #031913;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.site-footer div:last-child {
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .stats-band,
  .two-column,
  .card-grid,
  .project-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 18px;
    padding-top: 78px;
  }

  .timeline-item,
  .service-list article,
  .news-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(3, 25, 19, 0.94) 0%, rgba(3, 25, 19, 0.72) 100%),
      url("assets/energy-hero.png") center / cover no-repeat;
  }

  .stats-band div {
    padding: 24px 18px;
  }
}
