:root {
  --ink: #1c0b19;
  --green: #216869;
  --mint: #5dcaa5;
  --soft: #f5f7f5;
  --muted: #5f6866;
  --line: rgba(33, 104, 105, 0.14);
  --dark: #071815;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Red Hat Display", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 110px;
  width: min(1040px, calc(100% - 48px));
  left: calc(50% + 23px);
  right: auto;
  transform: translateX(-50%);
  margin: 0 auto;
  padding: 47px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.brand img {
  width: 240px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.nav a.active {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 118px 24px 72px;
  background: #174f4f;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-video {
  left: 0;
  width: 100%;
  transform: none;
  object-fit: cover;
  background: transparent;
  opacity: 0.76;
}

.hero-shade {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(20, 77, 76, 0.70) 0%, rgba(20, 77, 76, 0.70) 58%, rgba(20, 77, 76, 0.84) 100%),
    linear-gradient(90deg, rgba(20, 77, 76, 0.34), rgba(20, 77, 76, 0.18), rgba(20, 77, 76, 0.34));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 86px;
  background: rgba(236, 244, 243, 0.72);
  clip-path: polygon(0 51%, 100% 0, 100% 100%, 0% 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  transform: translateY(18px);
  display: grid;
  justify-items: center;
  gap: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: #1d9e75;
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 3.55vw, 60px);
  line-height: 1.2;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
  letter-spacing: 0;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  color: var(--green);
  background: transparent;
  border-color: rgba(33, 104, 105, 0.28);
}

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

.stats-band {
  width: min(1120px, calc(100% - 48px));
  margin: -1px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 8px;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.section-wrap + .stats-band {
  margin-top: 0;
}

.stat {
  padding: 32px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--mint);
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
}

.stat span,
.stat small {
  display: block;
}

.stat span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.split-section {
  width: min(1120px, calc(100% - 48px));
  margin: 104px auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.split-section.soft {
  margin-top: 84px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--soft);
  border-radius: 8px;
}

.split-section h2,
.clients h2,
.cta-band h2,
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 650;
  margin-bottom: 0;
}

.copy p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 18px;
}

.feature-grid,
.division-grid,
.project-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article,
.division-card,
.project-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-grid h3,
.division-card h3,
.project-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.22;
}

.feature-grid p,
.division-card p,
.project-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.clients {
  width: min(1120px, calc(100% - 48px));
  margin: 104px auto;
  text-align: center;
}

.clients h2 {
  margin-bottom: 34px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.logo-grid img {
  width: 100%;
  min-height: 86px;
  object-fit: contain;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  filter: grayscale(1);
  opacity: 0.78;
}

.cta-band {
  margin-top: 80px;
  padding: clamp(64px, 9vw, 110px) 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #071815 0%, #216869 100%);
}

.cta-band p {
  max-width: 680px;
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.site-footer {
  padding: 54px clamp(24px, 5vw, 72px) 24px;
  color: rgba(255, 255, 255, 0.62);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-grid h2 {
  color: var(--mint);
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-grid h3 {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.page-hero {
  padding: 150px 24px 74px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(7,24,21,0.95), rgba(33,104,105,0.88));
  background-size: cover;
  background-position: center;
}

.page-hero p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.section-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 82px auto;
}

.section-wrap h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.division-block {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.division-block:first-child {
  padding-top: 0;
}

.division-head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  margin-bottom: 28px;
}

.division-head p,
.division-head li {
  color: var(--muted);
}

.metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.metric-pill {
  min-width: 138px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
  font-weight: 800;
}

.metric-pill span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

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

.about-layout,
.contact-layout {
  width: min(1120px, calc(100% - 48px));
  margin: 82px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.about-panel {
  padding: 34px;
  border-radius: 8px;
  background: var(--soft);
}

.about-panel ul {
  padding-left: 20px;
  color: var(--muted);
}

.contact-card {
  background: var(--soft);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
}

.check input {
  width: auto;
  margin-top: 4px;
}

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

.products-wrap h2 {
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card h3 {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.22;
}

.product-card a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid rgba(33, 104, 105, 0.10);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.product-card a:hover {
  color: var(--green);
}

.product-detail {
  width: min(1120px, calc(100% - 48px));
  margin: 82px auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.product-detail.visual {
  grid-template-columns: 1fr 0.8fr;
}

.product-detail.visual.wide-visual {
  grid-template-columns: 0.9fr 1.1fr;
}

.product-detail.visual.storage-visual {
  grid-template-columns: 0.85fr 1.15fr;
}

.product-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid.compact {
  width: 100%;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
}

.spec-panel,
.product-image-card {
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.spec-panel h3 {
  margin-bottom: 14px;
  color: var(--green);
}

.spec-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.spec-panel li {
  margin-bottom: 10px;
}

.product-image-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.product-image-card.wide {
  display: flex;
  align-items: center;
}

.product-image-card.wide img {
  object-fit: contain;
}

.product-image-card.storage-card {
  padding: 0;
  overflow: hidden;
}

.product-image-card.storage-card img {
  display: block;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.product-image-card.portrait {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-card.portrait img {
  max-height: 560px;
  object-fit: contain;
}

.battery-table {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.battery-table div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.battery-table strong,
.battery-table span {
  display: block;
}

.battery-table strong {
  color: var(--green);
}

.battery-table span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding-top: 22px;
  }

  .nav {
    width: auto;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-header {
    width: min(94%, calc(100% - 28px));
  }

  .hero {
    min-height: 720px;
    padding-top: 140px;
  }

  .stats-band,
  .split-section,
  .division-head,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .division-grid,
  .project-grid,
  .product-grid,
  .product-detail,
  .product-detail.visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail,
  .product-detail.visual {
    grid-template-columns: 1fr;
  }

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

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 700px;
  }

  .hero-panel {
    padding: 22px;
  }

  .stats-band {
    width: calc(100% - 28px);
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .feature-grid,
  .division-grid,
  .project-grid,
  .product-grid,
  .feature-grid.compact,
  .battery-table,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .product-detail {
    width: calc(100% - 28px);
  }

  .split-section,
  .section-wrap,
  .about-layout,
  .contact-layout,
  .clients,
  .feature-grid,
  .division-grid,
  .project-grid {
    width: calc(100% - 28px);
  }
}
