/* EnerXCo Net-Zero and energy-modeling homepage service sections — v97 */
.netzero-service-section {
  width: min(1480px, calc(100% - 2 * var(--ex-right)));
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(54px, 6vw, 88px) 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 5vw, 84px);
  border-bottom: 1px solid #e4e7ec;
}

.netzero-service-copy {
  max-width: 610px;
}

.netzero-service-copy h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.netzero-service-copy p {
  margin: 20px 0 28px;
  max-width: 570px;
  color: #475467;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
}

.netzero-service-copy .btn {
  margin-top: 0;
}

.netzero-service-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.netzero-service-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.energy-modeling-service-section {
  width: min(1480px, calc(100% - 2 * var(--ex-right)));
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(54px, 6vw, 88px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 5vw, 84px);
  border-bottom: 1px solid #e4e7ec;
}

.energy-modeling-service-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.energy-modeling-service-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.energy-modeling-service-copy {
  max-width: 610px;
}

.energy-modeling-service-copy h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.energy-modeling-service-copy p {
  margin: 20px 0 28px;
  max-width: 590px;
  color: #475467;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .netzero-service-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .netzero-service-copy {
    order: 1;
    max-width: 680px;
  }

  .netzero-service-image {
    order: 2;
  }

  .energy-modeling-service-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .energy-modeling-service-copy {
    order: 1;
    max-width: 680px;
  }

  .energy-modeling-service-image {
    order: 2;
  }
}

@media (max-width: 720px) {
  .netzero-service-section {
    width: calc(100% - 32px);
    padding: 48px 0;
  }

  .netzero-service-copy h2 {
    font-size: clamp(32px, 9.2vw, 44px);
  }

  .energy-modeling-service-section {
    width: calc(100% - 32px);
    padding: 48px 0;
  }

  .energy-modeling-service-copy h2 {
    font-size: clamp(32px, 9.2vw, 44px);
  }
}

@media (max-width: 560px) {
  .netzero-service-copy .btn {
    width: 100%;
  }

  .energy-modeling-service-copy .btn {
    width: 100%;
  }
}
