.brand-logo {
  display: block;
  width: 250px;
  max-width: 38vw;
  height: auto;
}

/* HGT Med featured product */
.feature-media {
  position: relative;
}

.feature-media::after {
  content: "REAL PRODUCT DASHBOARD";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(109, 226, 202, 0.3);
  border-radius: 999px;
  background: rgba(6, 26, 52, 0.92);
  color: #d9fff7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.feature-media img {
  aspect-ratio: 1353 / 731;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.53);
}

.footer-brand .brand-logo {
  width: 260px;
  max-width: 100%;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  content: "";
  border: 1px solid rgba(36, 103, 235, .12);
  border-radius: 50%;
  transition: .25s ease;
}

.service-card:hover::after {
  border-color: rgba(92, 224, 195, .35);
  transform: scale(1.35);
}

.service-category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: linear-gradient(125deg, #071a36, #0c3262);
}

.service-category-strip article {
  min-height: 165px;
  padding: 35px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.service-category-strip article:last-child {
  border-right: 0;
}

.service-category-strip small {
  color: #65e0c5;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 900;
}

.service-category-strip strong {
  display: block;
  margin: 20px 0 8px;
  font-size: 18px;
}

.service-category-strip span {
  color: #aebfd2;
  font-size: 12px;
  line-height: 1.6;
}

.whatsapp-help {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .24));
}

.whatsapp-label {
  display: flex;
  flex-direction: column;
  order: 2;
  padding: 10px 15px;
  border: 1px solid rgba(17,181,140,.18);
  border-radius: 12px;
  color: #163126;
  background: #fff;
  line-height: 1.2;
}

.whatsapp-label b {
  font-size: 12px;
}

.whatsapp-label small {
  margin-top: 3px;
  color: #65766e;
  font-size: 10px;
}

.whatsapp-icon {
  position: relative;
  isolation: isolate;
  display: grid;
  order: 1;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  transition: transform .2s ease;
  animation: whatsapp-float 3s ease-in-out infinite;
}

.whatsapp-icon::before,
.whatsapp-icon::after {
  z-index: -1;
  position: absolute;
  width: 58px;
  height: 58px;
  content: "";
  border: 2px solid rgba(37, 211, 102, .55);
  border-radius: 50%;
  animation: whatsapp-ripple 2.4s ease-out infinite;
}

.whatsapp-icon::after {
  animation-delay: 1.2s;
}

.whatsapp-icon svg {
  width: 32px;
  height: 32px;
}

.whatsapp-help:hover .whatsapp-icon {
  transform: scale(1.08);
  animation-play-state: paused;
}

.whatsapp-help:focus-visible {
  border-radius: 16px;
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@keyframes whatsapp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes whatsapp-ripple {
  0% { opacity: .65; transform: scale(.9); }
  75%, 100% { opacity: 0; transform: scale(1.55); }
}

.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1);
}

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

.motion-ready .service-grid .reveal-on-scroll:nth-child(2),
.motion-ready .product-rows .reveal-on-scroll:nth-child(2) { transition-delay: .08s; }
.motion-ready .service-grid .reveal-on-scroll:nth-child(3),
.motion-ready .product-rows .reveal-on-scroll:nth-child(3) { transition-delay: .16s; }
.motion-ready .service-grid .reveal-on-scroll:nth-child(4),
.motion-ready .product-rows .reveal-on-scroll:nth-child(4) { transition-delay: .24s; }

.button,
.product-rows article,
.service-category-strip article {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.button:hover { transform: translateY(-3px); }
.product-rows article:hover { transform: translateX(8px); }
.service-category-strip article:hover { background: rgba(255,255,255,.04); transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .motion-ready .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .brand-logo {
    width: 225px;
    max-width: 52vw;
  }

  .service-category-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-category-strip article:nth-child(2) {
    border-right: 0;
  }

  .service-category-strip article {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 205px;
    max-width: 66vw;
  }

  .service-category-strip {
    grid-template-columns: 1fr;
  }

  .service-category-strip article {
    min-height: 130px;
    padding: 28px 22px;
    border-right: 0;
  }

  .whatsapp-help {
    bottom: 16px;
    left: 16px;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-icon {
    width: 56px;
    height: 56px;
  }
}
