html,
body,
body * {
  font-family: "Prompt", sans-serif !important;
}

code,
pre,
kbd,
samp,
code *,
pre *,
kbd *,
samp * {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace !important;
}

/* Hide the top navigation bar. */
body header {
  display: none !important;
}

/* Hero image supplied for the server version. */
body section:first-of-type > .absolute.inset-0 {
  background-image: url("/assets/hero-factory-solar.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Hero typography and composition. */
body section:first-of-type .hero-copy {
  gap: 2rem !important;
}

body section:first-of-type .hero-copy > div {
  gap: 1.75rem !important;
}

body section:first-of-type .hero-copy h1 {
  font-size: clamp(3rem, 5.6vw, 6.75rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em !important;
  max-width: 760px;
}

body section:first-of-type .hero-copy h1 .hero-kicker,
body section:first-of-type .hero-copy h1 .hero-closing {
  display: block;
  font-size: 0.58em;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

body section:first-of-type .hero-copy h1 .hero-main {
  display: block;
  margin: 0.22em 0;
}

body section:first-of-type .hero-copy h1::after {
  content: "";
  display: block;
  width: min(310px, 48%);
  height: 5px;
  margin-top: 0.38em;
  background: #fff;
}

body section:first-of-type .hero-copy p {
  max-width: 720px !important;
  font-size: clamp(1.35rem, 2.15vw, 2.25rem) !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
}

body section:first-of-type .hero-copy > button {
  display: none !important;
}

@media (max-width: 767px) {
  body section:first-of-type .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 5rem) !important;
  }

  body section:first-of-type .hero-copy p {
    font-size: 1.25rem !important;
  }
}

/* Supplied installation process cards. */
.original-installation-grid {
  display: none !important;
}

.installation-image-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  width: 100%;
}

.installation-image-grid img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .installation-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .installation-image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Quotation section with the supplied solar-home background. */
#contact {
  width: calc(100% - 2.5rem);
  max-width: 1880px;
  margin: 5rem auto;
  padding-block: clamp(3rem, 5vw, 5.5rem) !important;
  overflow: hidden;
  border-radius: 1.5rem;
  background-image: url("/assets/quotation-background.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#contact > .container > .grid {
  gap: clamp(2rem, 5vw, 5rem) !important;
}

#contact h2 {
  font-size: clamp(2.25rem, 4vw, 4rem) !important;
  line-height: 1.05 !important;
}

#contact [data-slot="card"] {
  background: rgba(255, 255, 255, 0.94) !important;
  border-radius: 1.5rem !important;
}

@media (max-width: 767px) {
  #contact {
    width: calc(100% - 1rem);
    margin: 3rem auto;
    padding-block: 3rem !important;
    border-radius: 1rem;
    background-position: 38% center !important;
  }
}

/* Contact buttons directly below the hero. */
.social-contact-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  width: min(100%, 760px);
  margin: -2.6rem auto 4.25rem;
  position: relative;
  z-index: 10;
}

.social-contact-bar img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .social-contact-bar {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    gap: 0.75rem;
    margin: -2.25rem auto 3rem;
  }
}

/* Supplied image cards for the Why Nexora section. */
.original-feature-grid {
  display: none !important;
}

.feature-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
  width: 100%;
}

.feature-image-grid img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .feature-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .feature-image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Inverter brand logos above the recommended packages. */
#services {
  display: none !important;
}

#packages {
  background: #fff !important;
}

.package-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  width: min(100%, 980px);
  margin: -1.5rem auto 3.5rem;
}

.brand-logo-item {
  appearance: none;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-item:hover {
  transform: translateY(-2px);
}

.brand-logo-item.is-active {
  border-color: #173b91;
  box-shadow: 0 0 0 3px rgba(23, 59, 145, 0.12);
}

.brand-logo-item:focus-visible {
  outline: 3px solid rgba(0, 166, 255, 0.45);
  outline-offset: 3px;
}

.original-package-grid {
  display: none !important;
}

.package-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  width: 100%;
  transition: opacity 160ms ease, transform 160ms ease;
}

.package-image-grid.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

.package-image-grid img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .package-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -1.25rem auto 2.5rem;
  }

  .package-image-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
