:root {
  --ink: #13211f;
  --muted: #5a6864;
  --line: #d7ded9;
  --paper: #f7f7f1;
  --white: #ffffff;
  --forest: #0e5b45;
  --teal: #087f7f;
  --leaf: #8fb94a;
  --sun: #d89b3a;
  --sky: #cfe6ee;
  --shadow: 0 18px 48px rgba(16, 35, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.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: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(4, 30, 25, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 104px;
  height: auto;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
}

.site-nav a {
  color: #2f423d;
  font-size: 0.91rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--forest);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--forest);
}

.header-cta:hover,
.button.primary:hover,
.header-cta:focus-visible,
.button.primary:focus-visible {
  background: #073d30;
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #10231f;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 25, 23, 0.88) 0%, rgba(7, 34, 31, 0.72) 38%, rgba(7, 35, 31, 0.12) 72%),
    linear-gradient(0deg, rgba(10, 31, 28, 0.7) 0%, rgba(10, 31, 28, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  padding-top: 86px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.section {
  width: min(1180px, calc(100% - 40px));
  padding: 96px 0;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 90px);
}

.section-kicker {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 28px;
  align-self: start;
}

.section-kicker span {
  display: inline-block;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-logo {
  width: min(100%, 245px);
  height: auto;
  mix-blend-mode: multiply;
}

.section-copy h2,
.section-heading h2,
.vision-content h2,
.gcc-section h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy p,
.vision-content p,
.gcc-section p,
.contact-copy p {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.business-section {
  padding-top: 48px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

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

.business-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(16, 35, 31, 0.06);
}

.business-card.rivopack {
  border-top: 5px solid var(--teal);
}

.business-card.nature {
  border-top: 5px solid var(--leaf);
}

.business-card.solar {
  border-top: 5px solid var(--sun);
}

.business-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.business-brand-logo {
  width: 100%;
  height: 112px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.business-card h3 {
  margin: 32px 0 0;
  font-size: clamp(1.65rem, 2.2vw, 2.3rem);
  line-height: 1.04;
}

.business-card p {
  margin: 22px 0 28px;
  color: var(--muted);
}

.business-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  font-weight: 800;
}

.business-card a:hover,
.business-card a:focus-visible {
  border-color: var(--forest);
  background: #eef5ea;
}

.vision-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 38px;
  align-items: center;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14, 91, 69, 0.95), rgba(8, 127, 127, 0.92)),
    linear-gradient(45deg, #12312c, #087f7f);
}

.vision-content {
  max-width: 790px;
}

.vision-content .eyebrow {
  color: #d7eea7;
}

.vision-content p {
  color: rgba(255, 255, 255, 0.83);
}

.vision-stats {
  display: grid;
  gap: 12px;
}

.vision-stats div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.vision-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.vision-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.reason-item {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.reason-item span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.reason-item p {
  margin: 42px 0 0;
  color: #334640;
  font-size: 1.02rem;
  font-weight: 650;
}

.gcc-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  padding: 78px 0 100px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  width: min(1180px, calc(100% - 40px));
  padding: 78px 0 96px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.email-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--forest);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form span {
  color: #2c3c37;
  font-size: 0.83rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cdd8d3;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcf9;
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(14, 91, 69, 0.13);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-main {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-bottom {
  flex: 0 1 auto;
  justify-content: flex-end;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 250px;
  gap: 12px;
  min-width: 0;
}

.footer-logo {
  width: 92px;
  height: auto;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
}

.footer-tagline {
  max-width: 150px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  color: var(--ink);
  font-size: 0.86rem;
  white-space: nowrap;
}

.footer-links a,
.footer-meta a,
.footer-meta span {
  color: var(--ink);
  font-weight: 750;
}

.footer-copyright {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-open {
    align-items: start;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    width: 100%;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 25, 23, 0.88), rgba(7, 34, 31, 0.38)),
      linear-gradient(0deg, rgba(10, 31, 28, 0.78), rgba(10, 31, 28, 0.08));
  }

  .section-grid,
  .business-grid,
  .vision-band,
  .reason-grid,
  .gcc-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .section-kicker {
    position: static;
    gap: 20px;
  }

  .about-logo {
    width: 190px;
  }

  .business-card {
    min-height: 330px;
  }

  .business-card h3 {
    margin-top: 34px;
  }

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

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

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links,
  .footer-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 9px 10px;
  }

  .brand-logo {
    width: 92px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .section,
  .gcc-section,
  .contact-section {
    width: calc(100% - 28px);
    padding: 62px 0;
  }

  .business-card {
    min-height: auto;
    padding: 22px;
  }

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

  .reason-item {
    min-height: 170px;
  }

  .vision-band {
    padding: 66px 14px;
  }

  .contact-form {
    padding: 18px;
  }
}
