:root {
  --ink: #101a22;
  --ink-soft: #43525d;
  --paper: #f6f8f4;
  --white: #ffffff;
  --line: rgba(16, 26, 34, 0.16);
  --green: #9cc620;
  --green-deep: #4d7600;
  --cyan: #00b7ef;
  --blue: #14568c;
  --navy: #10232f;
  --steel: #e7eef0;
  --shadow: 0 24px 70px rgba(7, 20, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.site-header {
  align-items: center;
  background: rgba(246, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(190px, 260px) 1fr auto;
  height: 82px;
  inset: 0 0 auto;
  padding: 0 clamp(20px, 4vw, 58px);
  position: fixed;
  width: 100%;
  z-index: 20;
}

.brand img {
  display: block;
  height: auto;
  width: 178px;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  justify-content: flex-end;
}

nav a {
  color: var(--ink-soft);
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.header-action,
.primary-action,
.secondary-action {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
}

.header-action,
.primary-action {
  background: var(--green);
  color: var(--ink);
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.section-shell {
  margin: 0 auto;
  max-width: 1240px;
  width: min(calc(100% - 48px), 1240px);
}

.hero {
  color: var(--white);
  min-height: min(900px, calc(100vh - 18px));
  overflow: hidden;
  padding-top: 82px;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(5, 16, 25, 0.94), rgba(5, 16, 25, 0.73) 55%, rgba(5, 16, 25, 0.25)),
    linear-gradient(180deg, rgba(5, 16, 25, 0.04), rgba(5, 16, 25, 0.86)),
    url("./assets/solar-roof.jpg") center / cover;
  inset: 0;
  position: absolute;
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: clamp(36px, 6vw, 90px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.48fr);
  isolation: isolate;
  min-height: calc(min(900px, 100vh) - 82px);
  padding: clamp(76px, 11vh, 130px) 0 96px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 950;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 5.8vw, 6.3rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 960px;
}

h2 {
  font-size: clamp(2.1rem, 3.7vw, 3.7rem);
  line-height: 1.06;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 760px;
}

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

.hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3vw, 36px);
}

.hero-panel span,
.brand-card span,
.solution-grid span,
.process-layout li span {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 0.98;
  margin: 14px 0 28px;
}

.hero-panel ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
  padding-top: 14px;
}

.solutions-band,
.funding-band,
.agri-band,
.group-band,
.process-band,
.contact-band {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-intro {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.36fr) 1fr;
  margin-bottom: 44px;
}

.section-intro.compact {
  margin-bottom: 34px;
}

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

.solution-grid article,
.brand-card,
.funding-cards article,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
}

.solution-grid article {
  min-height: 290px;
}

.solution-grid span {
  color: var(--blue);
  display: block;
  margin-bottom: 36px;
}

.solution-grid p,
.funding-layout p,
.agri-layout p,
.agri-grid p,
.brand-card p,
.process-layout p,
.contact-layout p {
  color: var(--ink-soft);
  line-height: 1.65;
}

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

.agri-layout {
  align-items: start;
  display: grid;
  gap: clamp(34px, 5vw, 86px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  margin-bottom: 30px;
}

.agri-copy p {
  font-size: 1.08rem;
  max-width: 820px;
}

.agri-proof {
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 18px;
  padding: clamp(26px, 3vw, 38px);
}

.agri-proof span {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.agri-proof strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.14;
}

.agri-proof p {
  color: rgba(255, 255, 255, 0.72);
}

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

.agri-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 240px;
  padding: clamp(24px, 3vw, 34px);
}

.funding-band {
  background: var(--steel);
}

.funding-layout {
  align-items: start;
  display: grid;
  gap: clamp(34px, 5vw, 86px);
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
}

.funding-layout > div:first-child p {
  font-size: 1.12rem;
  max-width: 760px;
}

.funding-cards {
  display: grid;
  gap: 14px;
}

.funding-cards article {
  display: grid;
  gap: 10px;
}

.group-band {
  background: var(--paper);
}

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

.brand-card {
  display: grid;
  min-height: 340px;
}

.brand-card.parent {
  background: var(--navy);
  color: var(--white);
}

.brand-card.parent p {
  color: rgba(255, 255, 255, 0.74);
}

.brand-card.gosolar {
  border-color: rgba(156, 198, 32, 0.7);
}

.brand-card.shop {
  border-color: rgba(0, 183, 239, 0.55);
}

.brand-card.altenergy {
  border-color: rgba(77, 118, 0, 0.36);
}

.brand-card a {
  align-self: end;
  border-top: 1px solid rgba(16, 26, 34, 0.16);
  color: var(--blue);
  font-weight: 950;
  padding-top: 18px;
}

.brand-card.parent a {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--green);
}

.process-band {
  background: var(--navy);
  color: var(--white);
}

.process-layout {
  display: grid;
  gap: clamp(34px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.58fr) 1fr;
}

.process-layout ol {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-layout li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 12px;
  grid-template-columns: 72px 1fr;
  padding: 24px 0;
}

.process-layout li strong,
.process-layout li p {
  grid-column: 2;
}

.process-layout p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-band {
  background: var(--steel);
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(32px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.82fr);
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a {
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 950;
}

.contact-card span {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 800;
  margin-top: 16px;
  padding-top: 18px;
}

.contact-info-panel {
  display: grid;
  gap: 24px;
}

.contact-info-panel > p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.68;
}

.contact-highlight {
  border-bottom: 1px solid rgba(16, 26, 34, 0.16);
  border-top: 1px solid rgba(16, 26, 34, 0.16);
  display: grid;
  gap: 10px;
  padding: 24px 0;
}

.contact-highlight a {
  color: var(--blue);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

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

.contact-data-grid section {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 30px);
}

.contact-data-grid p {
  margin-bottom: 0;
}

address {
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 750;
  line-height: 1.65;
}

.map-embed {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 12px;
}

.map-embed iframe {
  aspect-ratio: 16 / 11;
  border: 0;
  display: block;
  min-height: 260px;
  width: 100%;
}

.map-route-link {
  align-items: center;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.contact-form-card {
  background: #eef2f2;
  border: 1px solid rgba(16, 26, 34, 0.12);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.form-card-heading {
  margin-bottom: 28px;
}

.form-card-heading h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.6rem);
}

.form-card-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.6;
}

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

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

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

input,
select,
textarea {
  background: #f8faf9;
  border: 1px solid rgba(16, 26, 34, 0.22);
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
}

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

.gdpr-consent {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 22px 1fr;
  line-height: 1.45;
}

.gdpr-consent input {
  min-height: 20px;
  margin: 2px 0 0;
  width: 20px;
}

.spam-field {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.spam-note {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  margin: -8px 0 0;
}

.form-status {
  background: #eaf2f3;
  border-left: 4px solid var(--green);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.45;
  margin: 0;
  min-height: 0;
  padding: 0;
}

.form-status:not(:empty) {
  padding: 14px 16px;
}

.contact-form button {
  cursor: pointer;
  font: inherit;
  width: fit-content;
}

.contact-band {
  padding: clamp(86px, 9vw, 128px) 0;
}

.intersolar-contact-info {
  display: grid;
  gap: 24px;
}

.intersolar-contact-info > p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.68;
  max-width: 720px;
}

.intersolar-contact-highlight {
  border-bottom: 1px solid rgba(16, 26, 34, 0.16);
  border-top: 1px solid rgba(16, 26, 34, 0.16);
  display: grid;
  gap: 10px;
  padding: 24px 0;
}

.intersolar-contact-highlight a {
  color: var(--blue);
  display: block;
  font-size: clamp(1.32rem, 2vw, 1.8rem);
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.intersolar-contact-data-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.intersolar-contact-data-grid section {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 30px);
}

.intersolar-contact-data-grid h3 {
  margin-bottom: 14px;
}

.intersolar-contact-data-grid p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0;
}

.intersolar-map-embed {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 12px;
}

.intersolar-map-embed iframe {
  aspect-ratio: 16 / 11;
  border: 0;
  display: block;
  min-height: 260px;
  width: 100%;
}

.intersolar-map-route-link {
  align-items: center;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-align: center;
}

.intersolar-form-card {
  background: #eef2f2;
  border: 1px solid rgba(16, 26, 34, 0.12);
  box-shadow: 0 26px 70px rgba(7, 20, 29, 0.14);
  padding: clamp(24px, 4vw, 42px);
}

.intersolar-form-heading {
  margin-bottom: 28px;
}

.intersolar-form-heading h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.65rem);
}

.intersolar-form-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.6;
}

.intersolar-contact-form {
  display: grid;
  gap: 18px;
  width: 100%;
}

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

.intersolar-contact-form label {
  color: var(--ink-soft);
  display: grid;
  font-weight: 850;
  gap: 8px;
}

.intersolar-contact-form input,
.intersolar-contact-form select,
.intersolar-contact-form textarea {
  background: #f8faf9;
  border: 1px solid rgba(16, 26, 34, 0.22);
  color: var(--ink);
  display: block;
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}

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

.intersolar-gdpr-consent {
  align-items: start;
  display: grid !important;
  gap: 12px;
  grid-template-columns: 22px 1fr;
  line-height: 1.45;
}

.intersolar-gdpr-consent input {
  height: 20px;
  margin: 2px 0 0;
  min-height: 20px;
  width: 20px;
}

.intersolar-spam-field {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.intersolar-spam-note {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  margin: -8px 0 0;
}

.intersolar-contact-form button {
  cursor: pointer;
  font: inherit;
  width: fit-content;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(16, 26, 34, 0.2);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    min-height: 44px;
    padding: 0 14px;
  }

  nav {
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 46px rgba(7, 20, 29, 0.16);
    display: none;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    left: 0;
    padding: 12px 16px 18px;
    position: absolute;
    right: 0;
    top: 100%;
  }

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

  nav a {
    border-bottom: 1px solid rgba(16, 26, 34, 0.1);
    color: var(--ink);
    min-height: 48px;
    padding: 14px 4px;
  }

  .header-action {
    display: none;
  }

  .hero-inner,
  .funding-layout,
  .agri-layout,
  .process-layout,
  .contact-layout,
  .section-intro {
    grid-template-columns: 1fr;
  }

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

  .contact-data-grid,
  .form-grid,
  .intersolar-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 74px;
    padding: 0 16px;
  }

  .brand img {
    width: 142px;
  }

  .section-shell {
    width: min(calc(100% - 32px), 1240px);
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-inner {
    min-height: auto;
    padding: 48px 0 58px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.08rem;
  }

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

  .primary-action,
  .secondary-action,
  .contact-form button,
  .intersolar-contact-form button {
    width: 100%;
  }

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