:root {
  color-scheme: light;
  --ink: #111814;
  --muted: #5f6c65;
  --line: #dce4df;
  --surface: #f6f8f6;
  --panel: #ffffff;
  --green: #0d7652;
  --green-dark: #07372e;
  --gold: #d8ac45;
  --blue: #1d678d;
  --cream: #fbfaf3;
  font-family:
    Inter, "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 14px;
  left: clamp(12px, 3vw, 40px);
  right: clamp(12px, 3vw, 40px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(7, 55, 46, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

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

.brand-symbol {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid rgba(13, 118, 82, 0.2);
  border-radius: 10px;
  background: #fff;
}

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

nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  justify-content: center;
  flex: 1;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
}

nav a:hover {
  color: var(--ink);
  background: rgba(15, 122, 82, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(720px, calc(84vh - 70px));
  padding: clamp(92px, 10vw, 128px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 86px);
  color: #fff;
  background:
    linear-gradient(270deg, rgba(7, 47, 37, 0.92), rgba(7, 63, 48, 0.68) 46%, rgba(17, 24, 20, 0.12)),
    url("./assets/solar-field.jpg") center / cover;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 900px;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.07;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.hero .eyebrow {
  color: #f2c961;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--green-dark);
}

.metrics div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  padding: 22px clamp(20px, 5vw, 72px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics strong,
.metrics small,
.metrics span {
  display: block;
}

.metrics strong {
  color: #fff;
  font-size: 24px;
}

.metrics small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.metrics span {
  color: var(--gold);
  font-weight: 900;
}

.split,
.services,
.contact,
.image-band,
.project-band {
  padding: clamp(54px, 7.4vw, 88px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.catalog,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.catalog article,
.service-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog article img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: contain;
  margin-bottom: 18px;
}

.catalog span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 36px;
  align-items: center;
  background: #edf3ef;
}

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

.service-grid {
  margin-top: 22px;
}

.image-band img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.project-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: end;
  background: #fff;
}

.project-band img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--green-dark);
  color: #fff;
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 860px) {
  .topbar,
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    top: 10px;
    gap: 8px;
    padding: 10px;
  }

  nav {
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .split,
  .image-band,
  .project-band,
  .metrics,
  .catalog,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 590px;
    align-items: center;
    padding-top: 150px;
    background-position: 42% center;
  }

  h1 {
    font-size: clamp(31px, 9.4vw, 46px);
  }

  p,
  li {
    font-size: 15.5px;
  }

  .metrics div {
    grid-template-columns: auto 1fr;
    padding: 22px 20px;
  }

  .hero-tags span {
    min-height: 32px;
    font-size: 12px;
  }
}
