@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
:root {
  --uc-blue: #0f76b8;
  --uc-blue-dark: #0a5e93;
  --uc-text: #253240;
  --uc-soft: #e8f3fa;
}

.site-body {
  /* Keep a soft gradient in the first viewport, then fall back to a solid base color on longer pages. */
  background:
    linear-gradient(0deg, #edf8ff 0%, #cfedff 70%) no-repeat top center / 100% 100vh,
    #edf8ff;
  color: var(--uc-text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

.site-header {
  /* background: white; */
  background: linear-gradient(180deg, #ffffff 80%, #cfedff 100%);
  border-bottom: 0px solid #d1e4f2 !important;
}

.header-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.cert-badge {
  color: #2b79ae;
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
}

.search-wrap {
  min-width: min(22rem, 100%);
}

.phone-link {
  color: var(--uc-blue);
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.cart-link {
  color: #486980;
  display: inline-flex;
  width: 100%;
  max-width: 3rem;
  justify-content: center;
}

.cart-link-wrap {
  display: flex;
  justify-content: center;
  text-align: center;
}

.main-nav-wrap {
  background: linear-gradient(180deg, #61b4df 0%, #1f86bf 60%, #0f76b8 100%);
  border-radius: 1rem;
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08rem;
  padding: 0.9rem 0.7rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.is-active,
.site-nav .nav-link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stage {
  min-height: clamp(24rem, 62vh, 46rem);
  background: #ddebf5;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.00) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-redivac-strip {
  position: absolute;
  right: 0;
  bottom: clamp(2.1rem, 10%, 5.2rem);
  z-index: 1;
  width: min(34rem, 58%);
  padding: 0.65rem 1.6rem 0.65rem 4.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.74) 42%, rgba(255, 255, 255, 0) 100%);
}

.hero-redivac-logo {
  width: clamp(11rem, 24vw, 19rem);
  height: auto;
  display: block;
}

.hero-redivac-caption {
  margin-top: 0.05rem;
  color: #2b79ae;
  font-size: clamp(0.72rem, 0.95vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.01rem;
  padding-right: 4rem;
}

.eyebrow {
  color: var(--uc-blue-dark);
  font-weight: 700;
  letter-spacing: 0.1rem;
  font-size: 0.78rem;
}

.btn-primary {
  background-color: var(--uc-blue);
  border-color: var(--uc-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--uc-blue-dark);
  border-color: var(--uc-blue-dark);
}

.btn-outline-primary {
  color: var(--uc-blue);
  border-color: var(--uc-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--uc-blue);
  border-color: var(--uc-blue);
}

.content-block {
  background: #fff;
  border: 1px solid #d1e4f2;
  border-radius: 1rem;
  box-shadow: 0 0.65rem 1.4rem rgba(16, 97, 145, 0.1);
}

.contact-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.contact-info-tile {
  background: #ffffff;
  border: 1px solid #d6e7f4;
  border-radius: 0.75rem;
  box-shadow: 0 0.35rem 0.9rem rgba(16, 97, 145, 0.08);
}

.contact-info-tile p {
  line-height: 1.45;
}

.catalog-main {
  padding-top: 2rem;
}

.slogan-text {
  font-family: 'Montserrat', sans-serif;
  color: var(--uc-blue);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300 !important;
}

.fastener-text {
  color: var(--uc-blue);
  font-weight: 700 !important;
  text-decoration: underline;
  letter-spacing: 4px;
}

.vent-text {
  color: var(--uc-blue);
  font-weight: 500 !important;
  text-transform: uppercase;
}

.because-box {
  display: inline-block;
  background-color: var(--uc-blue);
  border-radius: 0 1rem 1rem 0;
  border-style: double double double none;
  border-color: white;
  padding: 0.5rem 3rem 0.5rem 3.25rem;
  margin-bottom: 1.5rem;
  margin-left: -3rem;
}

.because-text {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 2px;
}

@media (max-width: 1199px) {
  .top-utility {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 1rem !important;
  }

  .top-utility > * {
    justify-self: center;
    width: 100%;
    text-align: center;
  }

  .top-utility .search-wrap {
    min-width: 0;
  }

  .top-utility .btn {
    width: auto;
  }
}

@media (max-width: 1400px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0.1) 100%);
  }
}

@media (max-width: 991px) {
  .hero-stage {
    min-height: clamp(22rem, 58vh, 38rem);
  }

  .main-nav-wrap {
    border-radius: 0.8rem;
  }

  .site-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-redivac-strip {
    width: min(26rem, 72%);
    bottom: 1.8rem;
    padding: 0.45rem 1rem 0.45rem 2.2rem;
  }

  .hero-redivac-caption {
     padding-right: 2.7rem;
  }
}

@media (max-width: 575px) {
  .hero-stage {
    min-height: clamp(20rem, 64vh, 34rem);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 90%, rgba(255, 255, 255, 0.3) 100%);
  }

  .hero-redivac-strip {
    width: min(19rem, 80%);
    padding-left: 1.5rem;
  }

  .hero-redivac-caption {
     padding-right: 0.5rem;
  }
}
