html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

#site-header {
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

#site-header.nav-transparent {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

#site-header.nav-transparent .site-title,
#site-header.nav-transparent .site-subtitle,
#site-header.nav-transparent .nav-link,
#site-header.nav-transparent .menu-toggle {
  color: #ffffff;
}

#site-header .site-title,
#site-header .site-subtitle {
  transition: opacity 0.3s ease, transform 0.3s ease, max-width 0.3s ease;
}

#site-header.nav-transparent .site-title,
#site-header.nav-transparent .site-subtitle {
  opacity: 0;
  transform: translateX(-8px);
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

#site-header.nav-scrolled .site-title,
#site-header.nav-scrolled .site-subtitle {
  opacity: 1;
  transform: translateX(0);
  max-width: 14rem;
}

#site-header.nav-transparent .menu-toggle {
  border-color: rgba(255, 255, 255, 0.28);
}

#site-header.nav-transparent .menu-toggle:hover,
#site-header.nav-transparent .nav-link:hover {
  color: #f2c94c;
}

#site-header.nav-transparent .menu-toggle:hover {
  border-color: #f2c94c;
}

#site-header.nav-transparent .site-logo {
  filter: brightness(0) invert(1);
}

#site-header.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -22px rgba(17, 17, 17, 0.32);
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.35s ease;
}

.hero-section {
  background:
    radial-gradient(circle at top left, rgba(242, 201, 76, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(193, 18, 31, 0.12), transparent 32%),
    #ffffff;
}

.hero-orb,
.contact-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(56px);
  pointer-events: none;
}

.hero-orb-left {
  left: 0;
  top: 5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(242, 201, 76, 0.28);
}

.hero-orb-right {
  right: 0;
  top: 2.5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(193, 18, 31, 0.14);
}

.contact-orb-left {
  left: 0;
  top: 0;
  width: 11rem;
  height: 11rem;
  background: rgba(193, 18, 31, 0.22);
}

.contact-orb-right {
  right: 0;
  bottom: 0;
  width: 12rem;
  height: 12rem;
  background: rgba(242, 201, 76, 0.18);
}

.primary-cta,
.wa-button,
.floating-wa {
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.primary-cta:hover,
.wa-button:hover,
.floating-wa:hover {
  transform: translateY(-2px);
  background-color: #8e0e18;
}

.product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 55px -28px rgba(17, 17, 17, 0.28);
  border-color: rgba(193, 18, 31, 0.12);
}

.hp-stack-card {
  position: absolute;
  width: 56%;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.9rem 0.75rem;
  box-shadow: 0 18px 40px -24px rgba(17, 17, 17, 0.28);
  transition: transform 0.35s ease;
}

.hp-stack-front {
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  transform: rotate(6deg);
}

.hp-stack-back {
  left: 1rem;
  top: 1rem;
  z-index: 1;
  transform: rotate(-7deg);
}

.product-card:hover .hp-stack-front {
  transform: rotate(3deg) translateY(-4px);
}

.product-card:hover .hp-stack-back {
  transform: rotate(-4deg) translateY(2px);
}

.brand-strip {
  position: relative;
}

.brand-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: brandScroll 18s linear infinite;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 96px;
  padding: 1rem 1.5rem;
  background: transparent;
}

.brand-strip .brand-logo {
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.brand-item:hover .brand-logo {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: #c1121f;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.faq-item {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -24px rgba(17, 17, 17, 0.28);
}

.faq-icon {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  background: #c1121f;
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-item.is-open .faq-trigger {
  border-left: 4px solid #f2c94c;
}

.faq-content {
  animation: fadeSlide 0.28s ease;
}

.floating-wa {
  animation: pulseFloat 2.6s ease-in-out infinite;
}

.floating-wa.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseFloat {
  0%,
  100% {
    box-shadow: 0 18px 45px -18px rgba(193, 18, 31, 0.48);
  }

  50% {
    box-shadow: 0 24px 52px -16px rgba(193, 18, 31, 0.3);
  }
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .faq-item.is-open .faq-trigger {
    border-left-width: 3px;
  }

  .hp-stack {
    height: 15rem;
  }

  .hp-stack-card {
    width: 60%;
  }
}
