:root {
  --ink: #13201d;
  --muted: #5f6d68;
  --line: #dce4dd;
  --surface: #f6f8f4;
  --white: #ffffff;
  --green: #1f7a5d;
  --teal: #0f9a9b;
  --gold: #c8902e;
  --coral: #e66956;
  --shadow: 0 24px 70px rgba(25, 45, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 244, 0.88);
  border-bottom: 1px solid rgba(220, 228, 221, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 122, 93, 0.24);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-menu a {
  padding: 5px 8px;
  background: #d9dcd6;
  border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--green);
  background: #edf2ec;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(31, 122, 93, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.signal {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.signal-one {
  inset: 34px 18px auto auto;
  width: 210px;
  height: 210px;
  background: rgba(230, 105, 86, 0.2);
}

.signal-two {
  inset: auto auto 26px 24px;
  width: 170px;
  height: 170px;
  background: rgba(200, 144, 46, 0.23);
}

.signal-three {
  inset: 42% auto auto 12%;
  width: 120px;
  height: 120px;
  background: rgba(15, 154, 155, 0.18);
}

.hero-photo-stack {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(100%, 520px);
  transform: translateY(-50%);
}

.solution-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.solution-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(19, 32, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.solution-photo figcaption strong {
  font-size: 18px;
}

.solution-photo figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.solar-photo {
  height: 330px;
}

.concrete-photo {
  width: 72%;
  height: 245px;
  margin-top: -64px;
  margin-left: auto;
  border: 8px solid var(--surface);
}

.section,
.split-section,
.contact-section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

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

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

.service-card {
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reference-card {
  min-height: 330px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card p,
.reference-card li,
.project-list p,
.contact-section p,
.timeline span {
  color: var(--muted);
}

.reference-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 18px 0 0;
}

.reference-card li::marker {
  color: var(--green);
}

.reference-visual {
  margin: 22px 0 0;
  overflow: hidden;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reference-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.reference-visual figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.reference-document {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  color: var(--ink);
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reference-document:hover,
.reference-document:focus-visible {
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(31, 122, 93, 0.12);
}

.document-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--coral);
  border-radius: 8px;
  font-weight: 900;
}

.reference-document strong,
.reference-document small {
  display: block;
}

.reference-document small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--gold);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  background: #17231f;
  color: var(--white);
}

.split-section .eyebrow {
  color: #7cd3bc;
}

.timeline {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.timeline span {
  color: rgba(255, 255, 255, 0.68);
}

.products-section {
  overflow: hidden;
  background: #eef3ef;
}

.products-marquee {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.products-marquee::before,
.products-marquee::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 70px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.products-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #eef3ef, rgba(238, 243, 239, 0));
}

.products-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #eef3ef, rgba(238, 243, 239, 0));
}

.products-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: product-scroll 36s linear infinite;
}

.products-marquee:hover .products-track {
  animation-play-state: paused;
}

.product-card {
  display: grid;
  grid-template-rows: 190px auto;
  width: 280px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(25, 45, 39, 0.08);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f9faf7;
}

.product-card div {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.product-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
}

@keyframes product-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

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

.project-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.project-list article {
  display: grid;
  grid-template-columns: 70px 0.75fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: var(--white);
}

.project-list span {
  color: var(--coral);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-details a {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(31, 122, 93, 0.1);
}

.contact-details span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details strong {
  color: var(--ink);
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(25, 45, 39, 0.08);
}

.partners-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 22px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-card img {
  display: block;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.partner-card.wide-logo img {
  max-height: 68px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .service-grid,
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 13px;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-media {
    min-height: 500px;
    order: -1;
  }

  .hero-photo-stack {
    left: 0;
    margin: 0 auto;
  }

  .section-heading {
    display: block;
  }

  .project-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .solar-photo,
  .concrete-photo {
    width: 100%;
    height: 230px;
    margin: 0;
  }

  .concrete-photo {
    margin-top: 14px;
    border-width: 0;
  }

  .contact-form {
    padding: 20px;
  }

  .service-grid,
  .references-grid {
    grid-template-columns: 1fr;
  }

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

  .partner-card {
    min-height: 112px;
    padding: 16px;
  }

  .product-card {
    grid-template-rows: 160px auto;
    width: 235px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-track {
    animation: none;
    overflow-x: auto;
  }
}
