/* ============================= */
/*        BRAND SECTION          */
/* ============================= */

#brands{
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-content-wrapper{
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- BRAND STRIP ---------- */

.brand-strip{
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.brand-strip-item{
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: .4;
  transition: opacity .3s ease, transform .3s ease;
}

.brand-strip-item img{
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-strip-item span{
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.brand-strip-item.active{
  opacity: 1;
  transform: translateY(-4px);
}

/* ---------- BRAND PANEL ---------- */

.brand-panel{
  display: none;
  align-items: center;
  gap: 80px;
}

.brand-panel.active{
  display: flex;
}

/* ---------- LEFT CARD ---------- */

.brand-left{
  background: #ffffff;
  padding: 64px 60px;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(15,23,42,.08);
  max-width: 560px;
}

.brand-left h2{
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 18px;
}

.brand-desc{
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 40px;
}

/* ---------- STATS ---------- */

.brand-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}

.stat-box{
  background: #f8fafc;
  border-radius: 18px;
  padding: 22px 14px;
  text-align: center;
}

.stat-box strong{
  font-size: 28px;
  font-weight: 700;
}

.stat-box span{
  font-size: 14px;
  color: #64748b;
}

/* ---------- BUTTON ---------- */

.brand-btn{
  padding: 16px 42px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- VIDEO ---------- */

.brand-right video{
  width: 800px;
  height: 640px;
  object-fit: cover;
  border-radius: 26px;
}

/* ================= MOBILE ================= */

.brand-swipe-hint{
  display: none;
  opacity: 0;
}

.brand-swipe-hint.show{
  display: flex;
  opacity: 1;
}

@media (max-width: 768px){

  #brands{
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .brand-content-wrapper{
    display: flex;
    flex-direction: row;
    width: max-content;
  }

  .brand-panel{
    display: flex !important;
    flex-direction: column;
    gap: 32px;
    flex: 0 0 100vw;
    width: 100vw;
    scroll-snap-align: center;
  }

  .brand-right video{
    width: 100%;
    height: 280px;
  }

  .brand-left{
    padding: 48px 28px;
    max-width: 100%;
  }

  .brand-left h2{
    font-size: 32px;
  }

  .brand-strip{
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
    padding: 24px 0;
    margin-bottom: 24px;
  }

  .brand-swipe-hint{
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    z-index: 9999;
    pointer-events: none;
  }

  .brand-swipe-hint span:first-child,
  .brand-swipe-hint span:last-child{
    font-size: 18px;
    animation: arrowPulse 1.2s ease-in-out infinite;
  }
}

@keyframes arrowPulse{
  0%{ transform: translateX(0); }
  50%{ transform: translateX(4px); }
  100%{ transform: translateX(0); }
}
