:root {
  --ink: #18221c;
  --ink-2: #2b382f;
  --muted: #647268;
  --green: #0f6b3b;
  --green-2: #0a4d2b;
  --blue: #103b5f;
  --sky: #e5eef2;
  --sun: #d0ab3c;
  --cream: #f3f0e7;
  --paper: #fbfaf4;
  --white: #ffffff;
  --line: rgba(20, 34, 28, 0.14);
  --shadow: 0 24px 60px rgba(8, 16, 12, 0.28);
  --sans: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 12px 56px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand img {
  height: 46px;
  object-fit: contain;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--ink-2);
}

.nav-links a:hover {
  color: var(--sun);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  display: none;
  height: 42px;
  padding: 0 11px;
  width: 42px;
}

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

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(4, 18, 12, 0.88) 0%, rgba(8, 35, 25, 0.76) 48%, rgba(5, 22, 36, 0.52) 100%),
    url("assets/isolar-modern-city-2020.jpg") center / cover no-repeat;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  min-height: 86svh;
  padding: 150px 64px 64px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(243, 240, 231, 0.98) 100%);
  bottom: 0;
  content: "";
  height: 96px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-mark {
  height: 104px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

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

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  font-size: 5.8rem;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

h2 {
  font-size: 3.35rem;
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lede {
  color: var(--ink-2);
  font-size: 1.25rem;
  max-width: 740px;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.9);
  max-width: 710px;
}

.hero-actions,
.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

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

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

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

.hero-media {
  align-self: end;
  margin: 0 0 46px;
  min-width: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-media img {
  aspect-ratio: 1.25 / 1;
  box-shadow: var(--shadow);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hero-media figcaption {
  background: rgba(255, 255, 255, 0.94);
  border-left: 4px solid var(--sun);
  bottom: 18px;
  display: grid;
  gap: 2px;
  left: 18px;
  padding: 14px 16px;
  position: absolute;
  right: 18px;
}

.hero-media figcaption strong {
  font-size: 0.95rem;
}

.hero-media figcaption span {
  color: var(--muted);
  font-size: 0.86rem;
}

.legacy-strip {
  align-items: center;
  background: #0d2618;
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 22px 64px;
}

.legacy-strip p {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  max-width: 860px;
}

.legacy-strip strong {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--sun);
  flex: 0 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0;
  padding: 9px 12px;
  text-transform: uppercase;
}

.signal-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-band div {
  border-right: 1px solid var(--line);
  min-height: 164px;
  padding: 28px 32px;
}

.signal-band div:last-child {
  border-right: 0;
}

.signal-band span,
.offer-grid span,
.process-steps span {
  color: var(--sun);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.signal-band strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.signal-band p,
.offer-grid p,
.process p,
.audience-list span,
.site-footer p,
.form-actions p {
  color: var(--muted);
}

.section {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  padding: 92px 64px;
}

.intro {
  background: var(--paper);
}

.section-copy p {
  color: var(--ink-2);
  font-size: 1.14rem;
  max-width: 760px;
}

.offer-grid {
  background: var(--paper);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 64px 96px;
}

.offer-grid article,
.process-steps article {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 270px;
  padding: 28px;
}

.dark {
  background:
    linear-gradient(90deg, rgba(13, 38, 24, 0.92), rgba(12, 43, 64, 0.9)),
    url("assets/isolar-modern-city-2020.jpg") center / cover no-repeat;
  color: var(--white);
}

.dark .eyebrow {
  color: var(--sun);
}

.dark h2 {
  color: var(--white);
}

.audience-list {
  display: grid;
  gap: 12px;
}

.audience-list div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 5px;
  padding: 18px 20px;
}

.audience-list strong {
  color: var(--white);
}

.audience-list span {
  color: rgba(255, 255, 255, 0.7);
}

.process {
  background:
    linear-gradient(180deg, rgba(243, 240, 231, 0.92), rgba(243, 240, 231, 0.98)),
    url("assets/isolar-hero.png") center / cover no-repeat;
  padding: 92px 64px;
}

.process-head {
  max-width: 850px;
}

.process-head p:last-child {
  color: var(--ink-2);
  font-size: 1.12rem;
  max-width: 720px;
}

.process-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.process-steps span {
  align-items: center;
  border: 1px solid var(--line);
  color: var(--green);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 42px;
  width: 34px;
}

.request {
  background: var(--white);
}

.request-form {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-form label {
  color: var(--ink-2);
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 7px;
}

.request-form input,
.request-form select,
.request-form textarea {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

.request-form textarea {
  min-height: 132px;
  resize: vertical;
}

.request-form .full,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions p {
  font-size: 0.9rem;
  margin: 0;
  max-width: 430px;
}

.site-footer {
  align-items: end;
  background: #0d2618;
  color: var(--white);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: 40px 64px;
}

.site-footer div {
  max-width: 720px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 800;
}

.legal-main {
  background: var(--paper);
  min-height: 78svh;
  padding: 140px 64px 90px;
}

.legal-wrap {
  max-width: 920px;
}

.legal-wrap h1 {
  font-size: 4rem;
  margin-bottom: 26px;
}

.legal-content {
  color: var(--ink-2);
  font-size: 1.05rem;
}

.legal-content a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 1020px) {
  .site-header {
    padding: 14px 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 116px 28px 46px;
  }

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

  .hero-media {
    max-width: 620px;
  }

  .legacy-strip {
    padding-left: 28px;
    padding-right: 28px;
  }

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

  .section,
  .process,
  .offer-grid,
  .site-footer,
  .legal-main {
    padding-left: 28px;
    padding-right: 28px;
  }

  .section,
  .process-steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    align-items: center;
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 38px;
    max-width: 190px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 28px 24px;
    position: absolute;
    right: 0;
    top: 70px;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    width: 100%;
  }

  .hero {
    gap: 32px;
    overflow: hidden;
    padding-top: 104px;
    width: 100%;
  }

  .hero-mark {
    height: 78px;
  }

  .hero-copy,
  .hero-media,
  .lede {
    max-width: calc(100vw - 56px);
    width: 100%;
  }

  .hero-media img,
  .button {
    max-width: calc(100vw - 56px);
  }

  .hero-media {
    margin-bottom: 24px;
  }

  .legacy-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .legacy-strip strong {
    align-self: flex-start;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lede,
  .section-copy p,
  .process-head p:last-child {
    font-size: 1.02rem;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signal-band,
  .offer-grid,
  .request-form {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 142px;
    padding: 24px 28px;
  }

  .offer-grid {
    padding-bottom: 68px;
  }

  .section,
  .process {
    gap: 30px;
    padding-bottom: 68px;
    padding-top: 68px;
  }

  .offer-grid article,
  .process-steps article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-wrap h1 {
    font-size: 3rem;
  }
}
