@font-face {
  font-family: "Gloock";
  src: url("/assets/fonts/gloock-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --red: #cf071e;
  --ink: #2e2e2e;
  --muted: #7a7a7a;
  --white: #ffffff;
  --content: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.section-title {
  margin: 0;
  color: #000;
  font-family: "Gloock", Georgia, serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition: opacity 800ms ease, transform 800ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero {
  position: relative;
  min-height: 95vh;
  overflow: hidden;
  background: #171717;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  width: min(100%, 1550px);
  min-height: 95vh;
  margin-inline: auto;
  padding-left: 0;
  padding-right: 100px;
}

.hero__brand {
  display: flex;
  min-width: 0;
  min-height: 618px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -15px;
  text-align: center;
}

.hero__brand img {
  width: 100%;
  height: 234px;
  margin-bottom: 25px;
  object-fit: contain;
  object-position: center;
}

.hero__brand h1 {
  max-width: 635px;
  margin: 0;
  padding-inline: 50px;
  color: var(--white);
  font-family: "Gloock", Georgia, serif;
  font-size: clamp(42px, 3.55vw, 51px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.form-card {
  width: 100%;
  min-width: 0;
  margin: 30px 0;
  padding: 30px;
  border-radius: 10px;
  background: var(--white);
}

.form-card fieldset {
  padding: 0;
  border: 0;
}

.status-field {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 300;
}

.status-field legend {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 0;
}

.status-field legend span {
  color: var(--red);
}

.status-field label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.status-field input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--ink);
}

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

.field {
  display: block;
  min-width: 0;
  line-height: 0;
}

.field--half {
  grid-column: span 5;
}

.field--full {
  grid-column: 1 / -1;
}

.field--city {
  grid-column: span 6;
}

.field--postal {
  grid-column: span 4;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #737373;
  border-radius: 5px;
  background: var(--white);
  color: var(--muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input {
  height: 47px;
  padding: 0 16px;
}

.field textarea {
  height: 81px;
  min-height: 81px;
  padding: 6px 16px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a2a2a2;
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(207, 7, 30, 0.12);
}

.submit-button {
  display: inline-flex;
  width: min(240px, 100%);
  height: 47px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 1px;
  padding: 0 30px;
  border: 1px solid var(--red);
  border-radius: 10px;
  background: var(--white);
  color: #000;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  transition: transform 300ms ease, background-color 180ms ease, color 180ms ease;
}

.submit-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-8px);
}

.submit-button:focus-visible,
.cta-button:focus-visible,
.legal-nav a:focus-visible,
.legal-footer > a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.benefits-section {
  padding: 100px 0;
  background: var(--white);
}

.benefits-section .section-title {
  max-width: 720px;
  margin-bottom: 100px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.benefit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  text-align: center;
}

.benefit img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.benefit h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.cta-section {
  position: relative;
  display: flex;
  min-height: 494px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--red);
  background-image: url("/assets/images/cta-solar.webp");
  background-position: top center;
  background-size: cover;
  text-align: center;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.79);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.cta-section h2 {
  margin: 0;
  color: var(--white);
  font-family: "Gloock", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding: 15px 20px;
  border-radius: 5px;
  background: var(--white);
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 300ms ease;
}

.float-button:hover,
.float-button:focus-visible {
  transform: translateY(-8px);
}

.certifications-section {
  min-height: 508px;
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.carousel {
  width: 100%;
  margin-top: 50px;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  align-items: center;
  gap: 75px;
  will-change: transform;
  transition: transform 500ms ease;
}

.carousel__slide {
  flex: 0 0 calc((100% - 150px) / 3);
  min-width: 0;
}

.carousel__slide img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  object-position: center;
}

.legal-header {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  overflow: hidden;
  background: #171717 url("/assets/images/cta-solar.webp") center / cover no-repeat;
  text-align: center;
}

.legal-header::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  content: "";
}

.legal-header > * {
  position: relative;
  z-index: 1;
}

.legal-header img {
  width: 260px;
  height: 150px;
  object-fit: contain;
}

.legal-header h1 {
  margin: 18px 0 0;
  color: var(--white);
  font-family: "Gloock", Georgia, serif;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.legal-content {
  width: min(calc(100% - 48px), 920px);
  margin-inline: auto;
  padding: 90px 0;
}

.legal-content > p {
  font-weight: 500;
}

.legal-content section + section {
  margin-top: 52px;
}

.legal-content h2 {
  margin: 0 0 18px;
  color: #000;
  font-family: "Gloock", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.legal-content p {
  margin: 0 0 16px;
  color: #474747;
  font-size: 16px;
  line-height: 1.8;
}

.legal-footer {
  padding: 36px 24px;
  border-top: 1px solid #e6e6e6;
  text-align: center;
}

.legal-footer > a {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.legal-nav a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--red);
}

.message-page {
  min-height: 100vh;
  padding: 40px 20px;
  background: #171717 url("/assets/images/cta-solar.webp") center / cover no-repeat fixed;
}

.message-page::before {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  content: "";
}

.message-card {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  margin: 8vh auto 0;
  padding: 54px;
  border-radius: 10px;
  background: var(--white);
  text-align: center;
}

.message-card img {
  width: 230px;
  height: 150px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.message-card h1 {
  margin: 0;
  font-family: "Gloock", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.message-card p {
  margin: 24px 0 0;
}

.message-card .cta-button {
  margin-top: 32px;
  border: 1px solid var(--red);
}

.message-card .error-code {
  margin: 0;
  color: var(--red);
  font-family: "Gloock", Georgia, serif;
  font-size: 70px;
  line-height: 1;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero__grid {
    gap: 32px;
    padding-inline: 25px;
  }

  .hero__brand h1 {
    padding-inline: 25px;
    font-size: 35px;
  }

  .form-card {
    padding: 26px;
  }

  .benefit h3 {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .section-inner {
    width: min(calc(100% - 50px), var(--content));
  }

  .section-title {
    font-size: 35px;
  }

  .hero {
    min-height: auto;
    overflow: visible;
    background: var(--white);
  }

  .hero__media,
  .hero__overlay {
    bottom: auto;
    height: 70vh;
    min-height: 520px;
  }

  .hero__overlay {
    background: rgba(0, 0, 0, 0.55);
  }

  .hero__grid {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .hero__brand {
    min-height: max(70vh, 520px);
    margin: 0;
    padding: 15px 0 25px;
  }

  .hero__brand img {
    width: 100%;
    height: 152px;
    margin-bottom: 25px;
  }

  .hero__brand h1 {
    max-width: 390px;
    padding-inline: 25px;
    font-size: 35px;
  }

  .form-card {
    width: calc(100% - 20px);
    margin: 30px 10px;
    padding: 30px;
  }

  .status-field,
  .field input,
  .field textarea,
  .submit-button {
    font-size: 13px;
  }

  .field--half,
  .field--city,
  .field--postal,
  .field--full {
    grid-column: 1 / -1;
  }

  .field textarea {
    height: 90px;
    min-height: 90px;
  }

  .benefits-section {
    padding: 100px 0;
  }

  .benefits-section .section-title {
    margin-bottom: 80px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .benefit img {
    width: 80px;
    height: 80px;
  }

  .benefit h3 {
    font-size: 15px;
  }

  .cta-section {
    min-height: 528px;
  }

  .cta-section__content {
    padding-inline: 25px;
  }

  .cta-section h2 {
    font-size: 25px;
  }

  .cta-button {
    font-size: 13px;
  }

  .certifications-section {
    min-height: 434px;
    padding: 100px 0;
  }

  .carousel {
    margin-top: 50px;
  }

  .carousel__track {
    gap: 45px;
  }

  .carousel__slide {
    flex-basis: calc((100% - 45px) / 2);
  }

  .carousel__slide img {
    height: 120px;
  }

  .legal-header {
    min-height: 330px;
  }

  .legal-header img {
    width: 210px;
    height: 120px;
  }

  .legal-content {
    width: min(calc(100% - 40px), 920px);
    padding: 64px 0;
  }

  .legal-content section + section {
    margin-top: 42px;
  }

  .legal-content h2 {
    font-size: 28px;
  }

  .message-card {
    margin-top: 2vh;
    padding: 36px 22px;
  }

  .message-card h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero__media video {
    visibility: hidden;
  }

  .hero__media {
    background: url("/assets/video/hero-poster.jpg") center / cover no-repeat;
  }
}
