:root {
  --ink: #10212b;
  --muted: #51636d;
  --line: #d9e3e7;
  --panel: #f6faf9;
  --white: #ffffff;
  --green: #22a66a;
  --green-dark: #12764a;
  --blue: #176b9a;
  --blue-dark: #0f3d5c;
  --shadow: 0 18px 50px rgba(16, 33, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 227, 231, 0.8);
  backdrop-filter: blur(16px);
}

.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), var(--blue));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-cta {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/altenergy-hero.png") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 38%, rgba(255, 255, 255, 0.18) 72%),
    linear-gradient(0deg, rgba(16, 33, 43, 0.26), rgba(16, 33, 43, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 64px) 54px;
  padding-top: 110px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 650px;
  color: #33454d;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 11px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(217, 227, 231, 0.9);
  border-radius: 6px;
}

.section {
  padding: 82px clamp(18px, 5vw, 64px);
}

.intro,
.group {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.intro p,
.group p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.solutions {
  background: var(--panel);
}

.solution-grid,
.solution-grid,
.brand-grid {
  display: grid;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card,
.brand-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 33, 43, 0.05);
}

.solution-card.accent {
  border-color: rgba(34, 166, 106, 0.55);
  box-shadow: var(--shadow);
}

.solution-card p,
.solution-card li,
.brand-grid p,
.timeline p {
  color: var(--muted);
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

li + li {
  margin-top: 8px;
}

.subsidy-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #124f6b 44%, var(--green-dark));
}

.subsidy-band .eyebrow {
  color: #b8f2d5;
}

.subsidy-points {
  display: grid;
  gap: 12px;
}

.subsidy-points article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.subsidy-points strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--white);
  border-radius: 6px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  position: relative;
  padding-top: 18px;
  border-top: 3px solid var(--line);
}

.timeline span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-weight: 850;
}

.brand-grid {
  grid-template-columns: 1fr;
}

.brand-grid article {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.brand-grid h3,
.brand-grid p {
  margin-bottom: 0;
}

.brand-grid article.current {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.brand-grid article.current p {
  color: #d9e3e7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--panel);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfd;
  border: 1px solid #c8d6dc;
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(34, 166, 106, 0.18);
  border-color: var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: #d9e3e7;
  background: var(--ink);
}

@media (max-width: 980px) {
  .solution-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .group,
  .subsidy-band,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 69px;
    left: 12px;
    right: 12px;
    display: none;
    align-items: stretch;
    padding: 14px;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.92) 49%, rgba(255, 255, 255, 0.74) 100%),
      rgba(255, 255, 255, 0.32);
  }

  .hero-content {
    margin-bottom: 32px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .solution-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .brand-grid article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
