html,
body {
  overflow-x: clip;
}

main {
  width: 100%;
  overflow-x: clip;
}

.site-header nav {
  gap: 24px;
  font-size: 14px;
}

.brand,
.header-btn {
  flex: 0 0 auto;
}

.brand {
  width: 100px;
}

.hero {
  min-height: 680px;
  height: auto;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media .hero-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.82);
  z-index: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(3, 21, 38, .96) 0%, rgba(4, 25, 45, .86) 43%, rgba(4, 23, 41, .34) 66%, rgba(3, 18, 31, .08) 100%);
}

.hero-content {
  width: min(650px, 52vw);
  padding: 76px 0 62px;
}

.hero h1 {
  font-size: clamp(40px, 4.1vw, 60px);
}

.hero-content > p {
  max-width: 610px;
}

.hero-actions {
  flex-wrap: wrap;
}

.hero-facts {
  margin-top: 42px;
  background: rgba(5, 25, 44, .32);
  backdrop-filter: blur(9px);
}

.hero-facts > div {
  padding: 17px 18px;
}

.brands {
  padding: 35px 0 40px;
  overflow: hidden;
}

.brands-title {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 28px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .15em;
  font-weight: 900;
  color: #687387;
  white-space: normal;
}

.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brands .brand-track {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: max-content;
  gap: 0;
  flex-wrap: nowrap;
  color: inherit;
  animation: brandScroll 30s linear infinite;
  will-change: transform;
}

.brands .brand-set {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 46px;
  flex: 0 0 auto;
  padding-right: 46px;
  flex-wrap: nowrap;
  color: inherit;
}

.brands .brand-item {
  width: 180px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.brands .brand-item img {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 52px;
  object-fit: contain;
}

.brands .brand-lg img,
.brands .brand-daikin img { max-height: 58px; }

.brands .brand-carrier img { max-height: 50px; }

@keyframes brandScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-intro h2,
.work-section h2,
.solutions h2,
.about h2,
.clients h2,
.process h2,
.faq h2,
.final-cta h2,
.testimonials h2 {
  font-size: clamp(33px, 3.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
  margin-bottom: 0;
}

.clients {
  padding: 92px max(4vw, 50px) 100px;
  background: #f4f7fb;
}

.clients-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.clients-heading .blue-kicker {
  margin-bottom: 15px;
}

.client-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.client-card {
  width: calc(20% - 15px);
  min-width: 190px;
  height: 126px;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3eaf2;
  border-radius: 15px;
  box-shadow: 0 9px 26px rgba(7, 27, 49, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: #cbdbea;
  box-shadow: 0 15px 34px rgba(7, 27, 49, .09);
}

.client-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.client-card-wide img {
  max-height: 76px;
}

.client-card-dark {
  background: #0a2540;
  border-color: #183c5d;
}

.client-card-dark:hover {
  border-color: #2d5d86;
}

.client-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #0b3154;
  line-height: 1;
}

.client-wordmark strong {
  font-size: 25px;
  letter-spacing: -.045em;
}

.client-wordmark span {
  margin-top: 6px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
}

.testimonials {
  padding: 96px max(4vw, 50px);
  background: linear-gradient(135deg, #071b31, #0d3153);
  color: white;
}

.testimonials-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.testimonials-heading > p {
  color: #b8c8d8;
  font-size: 17px;
  line-height: 1.65;
  margin: 18px auto 0;
  max-width: 650px;
}

.google-reviews-link {
  display: inline-flex;
  margin-top: 18px;
  color: #8bc5ff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.testimonial-carousel {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: testimonialScroll 52s linear infinite;
}

.testimonial-set {
  display: flex;
  gap: 22px;
  flex: 0 0 auto;
  padding-right: 22px;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  width: clamp(310px, 29vw, 390px);
  min-height: 290px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  color: #ffd35a;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 26px;
  color: #eef5fb;
  font-size: 17px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testimonial-author > span {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  font-weight: 900;
}

.testimonial-author div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-author strong { font-size: 15px; }
.testimonial-author small { color: #aebfd0; font-size: 13px; }

.work-section > h2 {
  margin-bottom: 66px;
}

.solutions {
  width: min(1180px, calc(100% - 80px));
  min-height: 0;
  margin: 82px auto;
  grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(7, 27, 49, .18);
}

.solution-image {
  height: auto;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: #0b2946;
}

.solution-copy {
  padding: 44px 58px;
}

.solution-image img {
  height: 360px;
  object-position: center 34%;
  border-radius: 16px;
}

.solution-copy h2 {
  font-size: clamp(31px, 3vw, 45px);
}

.solution-types {
  margin: 16px 0 22px;
}

.solution-types > div {
  padding: 12px 0;
}

@media (max-width: 1120px) {
  .site-header nav { display: none; }
  .hero { min-height: 650px; }
  .hero-content { width: min(600px, 56vw); }
  .solutions { width: calc(100% - 48px); grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr); }
  .solution-image { height: auto; min-height: 430px; padding: 28px; }
  .solution-copy { padding: 40px; }
  .testimonial-card { width: 340px; }
  .client-card { width: calc(25% - 14px); }
}

@media (max-width: 760px) {
  .brand { width: 86px; }
  .hero { min-height: 735px; background: var(--navy); }
  .hero-media .hero-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; -webkit-mask-image: none; mask-image: none; opacity: .78; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3, 21, 38, .97), rgba(4, 25, 45, .78)); }
  .hero-content { width: calc(100% - 36px); padding: 70px 0 48px; }
  .brands { padding-top: 30px; }
  .brands .brand-set { gap: 28px; padding-right: 28px; }
  .brands .brand-item { width: 154px; height: 58px; }
  .brands .brand-item img { max-width: 132px; max-height: 48px; }
  .brands .brand-lg img,
  .brands .brand-daikin img { max-height: 52px; }
  .clients { padding: 68px 18px 74px; }
  .clients-heading { margin-bottom: 34px; }
  .client-grid { gap: 12px; }
  .client-card { width: calc(50% - 6px); min-width: 0; height: 108px; padding: 18px; border-radius: 13px; }
  .client-card img { max-height: 62px; }
  .testimonials { padding: 68px 18px; }
  .testimonial-card { width: min(82vw, 330px); min-height: 310px; padding: 26px; }
  .work-section > h2 { margin-bottom: 42px; }
  .solutions { width: calc(100% - 28px); margin: 52px auto; grid-template-columns: 1fr; border-radius: 18px; }
  .solution-image { height: auto; min-height: 0; padding: 18px; }
  .solution-image img { height: 230px; border-radius: 12px; }
  .solution-copy { padding: 38px 22px 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-track { animation-duration: 90s; }
  .testimonial-track { animation-play-state: paused; }
  .testimonial-carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
