/* ===========================================
   BRANDS PAGE — shared styles (TR + EN)
   Inherits root vars from index.html style block
   These are duplicated here so the page can stand alone.
   =========================================== */
:root{
  --white:#FFFFFF;
  --yellow:#FCB017;
  --black:#010101;
  --ink:#010101;
  --n-100:#F5F5F5;
  --n-500:#666666;
  --rule:rgba(1,1,1,0.12);
  --rule-dark:rgba(255,255,255,0.14);
  --max:1440px;
  --pad:56px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--black);color:var(--white);font-family:'Khand',sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-feature-settings:"ss01"}
body{font-size:18px;line-height:1.35;min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
img{max-width:100%;display:block}
::selection{background:var(--yellow);color:var(--black)}

/* ========== LOGO ========== */
.logo{display:inline-flex;align-items:center;line-height:1}
.logo img{display:block;height:36px;width:auto;filter:none !important;mix-blend-mode:normal !important;opacity:1 !important}

/* ========== NAV (matches index.html) ========== */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  height:72px;
  padding:0 var(--pad);
  display:flex;align-items:center;justify-content:space-between;
  background:var(--black);
  color:var(--white);
  border-bottom:1px solid var(--rule-dark);
}
.nav-links{display:flex;gap:36px;align-items:center}
.nav-links a{
  font-weight:500;font-size:15px;letter-spacing:0.06em;text-transform:uppercase;
  position:relative;padding:6px 0;
}
.nav-links a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--yellow);
  transform:scaleX(0);transform-origin:left;transition:transform .25s ease;
}
.nav-links a:hover::after{transform:scaleX(1)}
.nav-links a.is-active::after{transform:scaleX(1)}
.nav-right{display:flex;align-items:center;gap:24px}
.lang{
  display:inline-flex;align-items:center;gap:6px;
  font-weight:600;font-size:14px;letter-spacing:0.08em;
  border:1px solid currentColor;padding:8px 12px;line-height:1;
}
.lang a,.lang button{color:inherit;font:inherit;opacity:.4;transition:opacity .2s;background:none;border:none;cursor:pointer;padding:0}
.lang a.active,.lang button.active{opacity:1}
.lang span{opacity:.4}

/* ========== PAGE SHELL ========== */
.brands-page{
  flex:1 0 auto;
  background:var(--black);
  padding-top:72px; /* clear sticky nav */
}

/* ========== PAGE HEADER ========== */
.page-head{
  padding:130px var(--pad) 36px;
}
.page-head .eyebrow{
  font-size:12px;letter-spacing:0.25em;text-transform:uppercase;font-weight:500;
  color:rgba(255,255,255,0.55);margin-bottom:24px;
  display:flex;align-items:center;gap:18px;
}
.page-head .eyebrow::before{content:"";width:28px;height:1px;background:var(--yellow)}
.page-head h1{
  font-family:'Khand',sans-serif;font-weight:700;
  font-size:clamp(44px, 5vw, 76px);
  line-height:0.95;letter-spacing:-0.01em;
  margin:0 0 28px;text-wrap:balance;
  max-width:900px;
}
.page-head .lede{
  font-family:'Khand',sans-serif;font-weight:400;
  font-size:22px;line-height:1.4;
  color:rgba(255,255,255,0.7);
  max-width:1000px;margin:0;
}

/* ========== SECTION SHELL ========== */
.b-section{
  padding:36px var(--pad) 110px;
  border-bottom:1px solid var(--rule-dark);
}
.b-section-head{
  margin-bottom:48px;
}
.b-eyebrow{
  font-size:12px;letter-spacing:0.25em;text-transform:uppercase;font-weight:500;
  color:rgba(255,255,255,0.55);
  display:flex;align-items:center;gap:18px;
}
.b-eyebrow::before{content:"";width:22px;height:1px;background:var(--yellow)}

/* ========== FEATURED GRID (4×3) ========== */
.featured-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}
.brand-card{
  position:relative;
  aspect-ratio:1 / 1;
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,0.06);
  display:flex;align-items:center;justify-content:center;
  transition:transform .3s ease, border-color .3s ease, background .3s ease;
  overflow:hidden;
}
.brand-card .label{
  font-family:'Khand',sans-serif;font-weight:500;
  font-size:18px;letter-spacing:0.02em;
  color:rgba(255,255,255,0.7);
  text-align:center;padding:0 20px;
  transition:color .3s ease, transform .3s ease;
  text-wrap:balance;line-height:1.15;
}
.brand-card .label .sub{
  display:block;font-size:11px;letter-spacing:0.18em;
  text-transform:uppercase;color:rgba(255,255,255,0.35);
  margin-top:8px;font-weight:500;
}
.brand-card:hover{
  border-color:var(--yellow);
  transform:scale(1.02);
  background:#0e0e0e;
}
.brand-card:hover .label{color:var(--yellow)}
.brand-card:hover .label .sub{color:rgba(252,176,23,0.55)}

/* ========== FILTERS ========== */
.filters{
  display:flex;gap:0;align-items:center;flex-wrap:wrap;
  margin-bottom:40px;
  border-bottom:1px solid var(--rule-dark);
  overflow-x:auto;
  scrollbar-width:none;
}
.filters::-webkit-scrollbar{display:none}
.filter-btn{
  position:relative;
  padding:18px 22px 18px 0;
  margin-right:22px;
  font-family:'Khand',sans-serif;font-weight:500;
  font-size:15px;letter-spacing:0.04em;
  color:rgba(255,255,255,0.6);
  white-space:nowrap;
  transition:color .25s ease;
  display:inline-flex;align-items:baseline;gap:8px;
}
.filter-btn .count{
  font-size:12px;color:rgba(255,255,255,0.35);
  font-weight:400;letter-spacing:0;
}
.filter-btn:hover{color:var(--white)}
.filter-btn:hover .count{color:rgba(255,255,255,0.6)}
.filter-btn.is-active{color:var(--yellow)}
.filter-btn.is-active .count{color:rgba(252,176,23,0.6)}
.filter-btn.is-active::after{
  content:"";position:absolute;
  left:0;right:22px;bottom:-1px;height:2px;
  background:var(--yellow);
}

/* ========== ALL GRID (5 cols) ========== */
.all-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
}
.brand-chip{
  position:relative;
  height:96px;
  background:#0a0a0a;
  border:1px solid rgba(255,255,255,0.06);
  display:flex;align-items:center;justify-content:center;
  padding:0 16px;
  transition:transform .3s ease, border-color .3s ease, background .3s ease;
}
.brand-chip .label{
  font-family:'Khand',sans-serif;font-weight:500;
  font-size:14px;letter-spacing:0.02em;
  color:rgba(255,255,255,0.7);
  text-align:center;line-height:1.2;
  transition:color .3s ease;
  text-wrap:balance;
}
.brand-chip:hover{
  border-color:var(--yellow);
  transform:scale(1.02);
  background:#0e0e0e;
}
.brand-chip:hover .label{color:var(--yellow)}

/* Brand chip with real logo (replaces text label) */
.brand-chip .chip-logo{
  display:block;
  max-height:56px;
  max-width:80%;
  width:auto;height:auto;
  object-fit:contain;
  opacity:0.7;
  transition:opacity .3s ease, transform .3s ease;
}
.brand-chip:hover .chip-logo{
  opacity:1;
  transform:scale(1.03);
}

/* hidden by filter */
.brand-chip[hidden]{display:none}

/* ========== CTA STRIP ========== */
.cta-strip{
  padding:110px var(--pad);
  background:var(--black);
  border-bottom:1px solid var(--rule-dark);
  text-align:center;
}
.cta-strip h2{
  font-family:'Khand',sans-serif;font-weight:700;
  font-size:clamp(36px, 4vw, 56px);
  line-height:1;letter-spacing:-0.01em;
  margin:0 0 36px;color:var(--white);
  text-wrap:balance;
  max-width:900px;margin-left:auto;margin-right:auto;
  margin-bottom:36px;
}
.cta-strip .btn{
  display:inline-flex;align-items:center;gap:12px;
  padding:18px 28px;
  font-weight:600;font-size:15px;letter-spacing:0.08em;text-transform:uppercase;
  line-height:1;border:1px solid var(--yellow);
  background:var(--yellow);color:var(--black);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.cta-strip .btn .arrow{
  width:22px;height:10px;display:inline-block;position:relative;
  transition:transform .25s ease;
}
.cta-strip .btn .arrow::before{content:"";position:absolute;left:0;right:0;top:50%;height:1.5px;background:currentColor}
.cta-strip .btn .arrow::after{content:"";position:absolute;right:0;top:50%;width:10px;height:10px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translateY(-50%) rotate(45deg)}
.cta-strip .btn:hover{background:var(--white);border-color:var(--white)}
.cta-strip .btn:hover .arrow{transform:translateX(4px)}

/* ========== FOOTER (matches index) ========== */
.footer{
  background:var(--black);color:var(--white);
  padding:80px var(--pad) 28px;
  flex-shrink:0;
}
.footer-top{display:grid;grid-template-columns: auto 1fr;gap:60px;align-items:center;padding-bottom:48px;border-bottom:1px solid var(--rule-dark)}
.footer-top .logo img{height:40px}
.footer-top .socials{justify-self:end}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:24px;font-size:13px;color:rgba(255,255,255,0.55);gap:30px;flex-wrap:wrap}
.footer-bottom .legal{display:flex;gap:24px}
.footer-bottom .legal a:hover{color:var(--yellow)}

.socials{display:inline-flex;gap:8px;align-items:center}
.socials a{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;color:currentColor;
  transition:color .2s ease;
}
.socials a svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.socials a:hover{color:var(--yellow)}

/* ========== WHATSAPP FAB ========== */
.wa{
  position:fixed;right:28px;bottom:28px;z-index:60;
  width:56px;height:56px;border-radius:50%;
  background:var(--black);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 24px rgba(0,0,0,0.25);
  transition:transform .2s ease, background .2s ease;
  border:1px solid rgba(255,255,255,0.18);
}
.wa:hover{background:var(--yellow);color:var(--black);transform:translateY(-2px)}
.wa svg{width:26px;height:26px}
.wa-tip{
  position:absolute;right:70px;top:50%;transform:translateY(-50%);
  background:var(--black);color:var(--white);
  font-size:12px;letter-spacing:0.1em;text-transform:uppercase;font-weight:500;
  padding:8px 12px;white-space:nowrap;
  opacity:0;pointer-events:none;transition:opacity .2s ease, transform .2s ease;
  border:1px solid rgba(255,255,255,0.12);
}
.wa:hover .wa-tip{opacity:1;transform:translateY(-50%) translateX(-4px)}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px){
  :root{--pad:36px}
  .featured-grid{grid-template-columns:repeat(3, 1fr)}
  .all-grid{grid-template-columns:repeat(4, 1fr)}
  .page-head{padding:110px var(--pad) 24px}
  .b-section{padding:24px var(--pad) 80px}
}
@media (max-width: 760px){
  :root{--pad:24px}
  .nav{padding:0 var(--pad);height:64px}
  .nav-links{display:none}
  .brands-page{padding-top:64px}
  .featured-grid{grid-template-columns:repeat(2, 1fr);gap:12px}
  .all-grid{grid-template-columns:repeat(3, 1fr);gap:10px}
  .brand-chip{height:84px}
  .brand-chip .label{font-size:12px}
  .brand-card .label{font-size:14px}
  .footer-top{grid-template-columns:1fr;gap:24px;text-align:center;justify-items:center}
  .footer-top .socials{justify-self:center}
  .page-head h1{font-size:40px}
  .page-head .lede{font-size:18px}
}
/* Fix 2 — On small phones, brands grid drops to 2 columns so logos stay legible */
@media (max-width: 480px){
  .all-grid{grid-template-columns:repeat(2, 1fr)}
}
