/* iNSTALL SOUND Pro — homepage refinement v5
   Focused homepage update based on v4. Other pages and content remain unchanged. */

/* Hero lockup: move the title lower and align AV SYSTEMS under SOUND Pro. */
#slider .isp-hero-copy__inner {
  --isp-hero-title-size: clamp(38px, 4.6vw, 68px);
  transform: translateY(38px) !important;
}
#slider .isp-hero-lockup {
  width: max-content;
  max-width: 100%;
}
#slider .isp-hero-title {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 0 !important;
  white-space: nowrap !important;
  font-size: var(--isp-hero-title-size) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}
#slider .isp-hero-title__leading {
  display: inline-block;
  color: #f8fbff !important;
  margin-right: .18em;
}
#slider .isp-hero-title__brand {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  white-space: nowrap;
}
#slider .isp-hero-title__sound { color: #f8fbff !important; }
#slider .isp-hero-title__pro { color: #62baff !important; }
#slider .isp-hero-subtitle {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  width: calc(var(--isp-hero-title-size) * 5.58);
  max-width: calc(100% - (var(--isp-hero-title-size) * 3.95));
  margin: 8px 0 0 calc(var(--isp-hero-title-size) * 3.95) !important;
  padding: 0;
  font-size: clamp(22px, 2.35vw, 34px) !important;
  font-weight: 650 !important;
  line-height: 1.08 !important;
  letter-spacing: .10em !important;
  white-space: nowrap;
  color: #f4f9ff !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .8);
}
#slider .isp-hero-subtitle__accent { color: #62baff !important; }
#slider .isp-hero-subtitle__rest { color: #f4f9ff !important; }

/* Bottom menu: six useful destinations; larger type and balanced alignment. */
#footer-customer-2 .s-footer-customer-type-3__wrapper { align-items: center !important; }
#footer-customer-2 .s-footer-customer-type-3__menu { margin-top: 0 !important; }
#footer-customer-2 .s-footer-customer-type-3__links {
  align-items: center;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 1.2vw, 20px);
}
#footer-customer-2 .s-footer-customer-type-3__link + .s-footer-customer-type-3__link {
  margin-left: 0 !important;
  margin-top: 0 !important;
}
#footer-customer-2 .s-footer-customer-type-3__link {
  display: inline-block;
  padding: 7px 0 6px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  letter-spacing: .01em;
  white-space: nowrap;
}
@media screen and (min-width: 1360px) {
  #footer-customer-2 .s-footer-customer-type-3__link { font-size: 17px !important; }
  #footer-customer-2 .s-footer-customer-type-3__links { gap: 19px; }
}
@media (min-width: 960px) and (max-width: 1359px) {
  #footer-customer-2 .s-footer-customer-type-3__link { font-size: 14px !important; }
  #footer-customer-2 .s-footer-customer-type-3__links { gap: 11px; }
  #footer-customer-2 .s-footer-customer-type-3__image-wrapper { width: 176px; height: 44px; }
  #footer-customer-2 .s-footer-customer-type-3__image-wrapper + .s-footer-customer-type-3__menu { margin-left: 22px; }
}
@media (min-width: 640px) and (max-width: 959px) {
  #slider .isp-hero-copy__inner {
    --isp-hero-title-size: clamp(34px, 5vw, 48px);
    transform: translateY(28px) !important;
  }
  #slider .isp-hero-subtitle {
    font-size: clamp(18px, 2.6vw, 24px) !important;
    width: calc(var(--isp-hero-title-size) * 5.58);
    max-width: calc(100% - (var(--isp-hero-title-size) * 3.95));
  }
  #footer-customer-2 .s-footer-customer-type-3__links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 16px;
  }
  #footer-customer-2 .s-footer-customer-type-3__link { font-size: 15px !important; }
}
@media screen and (max-width: 639px) {
  #slider .isp-hero-copy__inner {
    --isp-hero-title-size: clamp(23px, 7.2vw, 34px);
    transform: translateY(16px) !important;
  }
  #slider .isp-hero-title { font-size: var(--isp-hero-title-size) !important; letter-spacing: -.04em !important; }
  #slider .isp-hero-title__leading { margin-right: .13em; }
  #slider .isp-hero-title__brand { gap: .13em; }
  #slider .isp-hero-subtitle {
    width: calc(var(--isp-hero-title-size) * 5.58);
    max-width: calc(100% - (var(--isp-hero-title-size) * 3.65));
    margin-left: calc(var(--isp-hero-title-size) * 3.65) !important;
    margin-top: 6px !important;
    font-size: 14px !important;
    letter-spacing: .06em !important;
  }
  #footer-customer-2 .s-footer-customer-type-3__wrapper {
    align-items: flex-start !important;
    padding-bottom: 18px !important;
  }
  #footer-customer-2 .s-footer-customer-type-3__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #footer-customer-2 .s-footer-customer-type-3__link { font-size: 16px !important; }
}
