:root {
  --blue: #303e9f;
  --cyan: #0097d3;
  --text: #282828;
  --muted-bg: rgba(205, 205, 205, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--muted-bg);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: 100vw;
  max-width: none;
  min-height: 90px;
  padding: 25px max(15px, calc((100vw - 1110px) / 2));
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  background-color: #fff;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: 128px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 46px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.hero,
.services-banner,
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero {
  min-height: 560px;
  padding-top: 120px;
}

.hero-copy,
.services-banner > div,
.contact-copy {
  flex: 0 0 350px;
}

.eyebrow,
.contact h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 300;
  line-height: 24px;
}

.hero h1,
.services-banner h2 {
  width: 340px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 34px;
  font-weight: 300;
  line-height: 44px;
}

.accent-line {
  width: 100px;
  height: 2px;
  margin-top: 16px;
  background-color: var(--cyan);
}

.schedule-button {
  display: block;
  width: 250px;
  margin-top: 40px;
  padding: 15px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.25s ease;
}

.schedule-button:hover {
  opacity: 0.8;
}

.products-band {
  width: 100vw;
  min-height: 280px;
  margin: 30px calc(50% - 50vw) 0;
  padding: 0.25rem max(15px, calc((100vw - 1110px) / 2)) 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  background-color: var(--blue);
}

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

.product-card {
  margin-top: -36px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.product-card .product-image {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-card h2 {
  margin: 16px 0 0;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
}

.product-card p {
  width: min(358px, 100%);
  margin: 16px 0 0;
  padding: 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.carousel-nav {
  position: relative;
  top: 70px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  line-height: 44px;
  transition: opacity 0.25s ease;
}

.carousel-nav:hover {
  opacity: 0.6;
}

.carousel-nav:disabled {
  cursor: default;
  opacity: 0.2;
}

.btu-calculator {
  width: calc(100vw - 70px);
  max-width: 500px;
  margin: 30px auto 0;
  padding: 20px;
  background-color: #fff;
}

.btu-calculator h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
}

.form-row {
  display: flex;
  padding: 10px;
}

.form-row label {
  flex: 1;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-row span:first-child {
  display: block;
  width: 220px;
  margin-bottom: 3px;
  font-size: 13px;
}

.form-row input {
  width: 75%;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
  font: inherit;
}

.stepper-field > span:first-child {
  text-align: center;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper button {
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 50%;
  outline: none;
  background-color: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.stepper input {
  width: 50px;
  margin: 0 10px;
  text-align: center;
}

.calculate-button {
  display: block;
  margin: 20px auto;
  padding: 10px 110px;
  border: 0;
  border-radius: 5px;
  outline: none;
  background-color: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.btu-result {
  text-align: center;
}

.btu-result strong {
  display: block;
  margin: 20px 0;
  font-size: 38px;
}

.services-banner {
  margin-top: 90px;
}

.features {
  margin-top: 90px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-box {
  flex: 1 1 280px;
  min-height: 180px;
  margin: 5px;
  padding: 35px;
  background-color: #fff;
}

.feature-box h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
}

.feature-box p {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
  line-height: 17px;
}

.brand-grid {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
}

.client-logo {
  flex: 1 0 21%;
  width: 200px;
  height: 120px;
  margin: 5px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact {
  margin-top: 100px;
  justify-content: space-around;
}

.contact h2 {
  margin-bottom: 0;
}

.phone-link {
  display: block;
  width: 350px;
  margin-top: 48px;
  color: var(--text);
  font-size: 36px;
  font-weight: 300;
  line-height: 44px;
}

.whatsapp-icon {
  position: relative;
  top: 8px;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background-image: url("assets/images/whatsapp.png");
  background-size: contain;
}

.email-link {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
}

.contact .schedule-button {
  width: 100%;
  max-width: 290px;
}

.site-footer {
  height: 50px;
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f7f7f;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

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

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  .main-nav {
    gap: 20px;
  }

  .brand img {
    width: 100px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  .products-list {
    grid-template-columns: 1fr;
  }

  .client-logo {
    flex-basis: 33%;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: static;
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 25px 15px;
    transform: none;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .services-banner,
  .contact {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    min-height: 0;
    padding-top: 10px;
  }

  .hero-image,
  .services-banner img {
    order: -1;
  }

  .hero-copy,
  .services-banner > div,
  .contact-copy {
    flex: 0 1 auto;
    width: 100%;
  }

  .eyebrow,
  .contact h2 {
    font-size: 18px;
  }

  .hero h1,
  .services-banner h2 {
    width: 300px;
    font-size: 28px;
    line-height: 38px;
  }

  .products-band {
    margin-top: 70px;
  }

  .form-row {
    flex-direction: column;
  }

  .calculate-button {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .features {
    margin-top: 60px;
  }

  .contact {
    margin-top: 20px;
  }

  .contact-copy {
    padding-left: 50px;
  }

  .phone-link {
    width: 100%;
    font-size: 36px;
  }
}
