/* ═══════════════════════════════════════════════
   brand.css  –  Brand Navigation Page Styles
   Extracted from brand.html
   ═══════════════════════════════════════════════ */

:root{--bg:#f0ede8;--white:#fff;--border:#e0dbd2;--accent:#1a3a5c;--accent-light:#e8edf3;--text:#1a1a1a;--muted:#888;--radius:14px;}
*{margin:0;padding:0;box-sizing:border-box;}
body{background:var(--bg);font-family:'Sora',sans-serif;color:var(--text);min-height:100vh;}

/* ── TOPBAR ──────────────────────────────────── */
.topbar{
  background:var(--accent);
  padding:0;
  display:flex;
  align-items:stretch;
  min-height:60px;
  position:relative;
}

/* LEFT: logo/brand */
.topbar-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 24px 10px 24px;
  border-right:1px solid rgba(255,255,255,.15);
  flex-shrink:0;
  order:0;
}
.topbar-logo{width:auto;height:40px;max-width:220px;border-radius:0;object-fit:contain;border:none;display:block;}
.topbar-name{color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em;white-space:nowrap;}
.topbar-sub{color:rgba(255,255,255,.55);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;margin-top:2px;}

/* MIDDLE: nav items */
.topbar-nav{
  display:flex;
  align-items:stretch;
  flex:1 1 auto;
  justify-content:flex-end;
  overflow:hidden;
  order:1;
}
.nav-item{
  display:flex;
  align-items:center;
  padding:0 18px;
  color:rgba(255,255,255,.8);
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  letter-spacing:.05em;
  text-transform:uppercase;
  border-bottom:3px solid transparent;
  transition:all .2s;
  white-space:nowrap;
  user-select:none;
  position:relative;
}
.nav-item:hover,.nav-item.active-nav{color:#fff;border-bottom-color:#fff;}

/* RIGHT: icons + lang */
.topbar-right{
  display:flex;
  align-items:center;
  gap:4px;
  padding-right:22px;
  flex-shrink:0;
  order:2;
  border-left:1px solid rgba(255,255,255,.15);
  margin-left:4px;
}
.topbar-bell{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
  transition:background .2s;
  color:rgba(255,255,255,.85);
  font-size:16px;
  position:relative;
}
.topbar-bell:hover{background:rgba(255,255,255,.15);color:#fff;}
.bell-dot{
  position:absolute;
  top:6px;right:6px;
  width:7px;height:7px;
  background:#ff5c5c;
  border-radius:50%;
  border:2px solid var(--accent);
}

/* EXTRA TOPBAR ICONS */
.topbar-icon-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
  transition:background .2s;
  color:rgba(247,246,246,.85);
  font-size:15px;
  flex-shrink:0;
}
.topbar-icon-btn:hover{
  background:rgba(255,255,255,.15);
  color:#ff4d4d;
}

/* MEMBER BUTTON */
.member-btn{
  height:36px;
  border:none;
  border-radius:999px;
  padding:0 18px;
  background:#fff;
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  cursor:pointer;
  transition:.2s;
  font-family:inherit;
  white-space:nowrap;
  flex-shrink:0;
}
.member-btn:hover{
  transform:translateY(-1px);
  opacity:.92;
}

/* LANG SWITCHER */
.lang-switcher{display:flex;align-items:center;padding:0 4px;}
.lang-select{height:32px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:rgba(255,255,255,.12);color:#fff;padding:0 10px;font-size:12px;font-weight:600;font-family:inherit;outline:none;cursor:pointer;transition:background .2s;}
.lang-select:hover{background:rgba(255,255,255,.22);}
.lang-select option{background:#1a3a5c;color:#fff;}

/* ── MEGA PANEL ──────────────────────────────── */
.mega-wrap{position:relative;background:#edf0f4;}
.mega-panel{display:none;background:#fff;border-top:3px solid var(--accent);box-shadow:0 8px 32px rgba(0,0,0,.12);padding:28px 32px;animation:fadeSlide .18s ease;margin:0 auto;}
.mega-panel.visible{display:block;}
@keyframes fadeSlide{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.mega-grid{display:grid;gap:0;}
.prev-col{padding:0 24px 0 0;border-right:1px solid #eee;margin-right:24px;}
.prev-col:last-child{border-right:none;margin-right:0;padding-right:0;}

.prev-section{margin-bottom:24px;}
.prev-section:last-child{margin-bottom:0;}

.prev-sec-title{font-size:11px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px;}
.prev-sub-link{font-size:13px;color:#333;margin-bottom:7px;cursor:pointer;line-height:1.4;transition:color .15s;}
.prev-sub-link:last-child{margin-bottom:0;}
.prev-sub-link:hover{color:var(--accent);text-decoration:underline;}
.prev-img-card{border-radius:8px;overflow:hidden;position:relative;margin-bottom:14px;}
.prev-img-card img{width:100%;height:130px;object-fit:cover;display:block;}
.prev-img-placeholder{width:100%;height:130px;background:linear-gradient(135deg,#b8c8d5,#8aacbf);display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;font-weight:600;}
.prev-img-caption{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.45);color:#fff;padding:8px 12px;font-size:13px;font-weight:600;}
.prev-icon-row{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.prev-icon-row:last-child{margin-bottom:0;}

.prev-icon-circle{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:18px;}
.prev-icon-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.prev-horiz-wrap{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:12px;}
.prev-horiz-item{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:52px;}
.prev-horiz-item .prev-icon-circle{width:44px;height:44px;font-size:20px;}
.prev-horiz-item .prev-icon-label{font-size:10px;letter-spacing:.03em;text-align:center;line-height:1.3;}
.prev-divider{height:1px;background:#e8e8e8;margin:12px 0;}
.prev-extra-title{font-size:11px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.06em;margin-bottom:7px;}
.prev-extra-body{font-size:12px;color:#555;line-height:1.6;margin-bottom:3px;}
.prev-extra-link{font-size:12px;color:var(--accent);font-weight:700;text-decoration:underline;cursor:pointer;}
.prev-social-row{display:flex;gap:10px;margin-top:6px;}
.soc-circle{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;color:#fff;flex-shrink:0;cursor:pointer;}

/* ── EMPTY STATE ─────────────────────────────── */
.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:14px;color:var(--muted);}
.empty h2{font-size:20px;font-weight:700;color:var(--text);}
.empty p{font-size:14px;max-width:340px;text-align:center;line-height:1.6;}
.empty a{padding:10px 24px;background:var(--accent);color:#fff;border-radius:9px;font-size:13px;font-weight:600;text-decoration:none;margin-top:8px;}
.empty a:hover{background:#0f2740;}

/* ── HAMBURGER BUTTON ────────────────────────── */
.topbar-hamburger{
  display:none;
  align-items:center;
  justify-content:center;
  width:40px;height:40px;
  border-radius:8px;
  cursor:pointer;
  color:rgba(255,255,255,.85);
  font-size:18px;
  margin-left:auto;
  flex-shrink:0;
  transition:background .2s;
}
.topbar-hamburger:hover{background:rgba(255,255,255,.15);}

/* ── MOBILE DRAWER ───────────────────────────── */
.mobile-drawer{
  display:none;
  flex-direction:column;
  background:var(--accent);
  border-top:1px solid rgba(255,255,255,.15);
  overflow:hidden;
  max-height:0;
  transition:max-height .3s ease;
}
.mobile-drawer.open{max-height:600px;}
.mobile-nav-item{
  padding:14px 20px;
  color:rgba(255,255,255,.85);
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.1);
  cursor:pointer;
  transition:background .15s;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.mobile-nav-item:hover,.mobile-nav-item.active{background:rgba(255,255,255,.1);color:#fff;}
.mobile-nav-item i{font-size:11px;opacity:.6;}
.mobile-panel{
  display:none;
  background:rgba(0,0,0,.15);
  padding:16px 20px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.mobile-panel.open{display:block;}
.mobile-panel .prev-sec-title{color:rgba(255,255,255,.6)!important;font-size:10px;}
.mobile-panel .prev-sub-link{color:rgba(255,255,255,.85)!important;font-size:12px;padding:3px 0;}
.mobile-panel .prev-sub-link:hover{color:#fff!important;text-decoration:none;}

.mobile-section-block{
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.mobile-section-block:last-child{border-bottom:none;padding-bottom:0;}
.mobile-section-block:first-child{padding-top:0;}
.mobile-sec-title{
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-bottom:8px;
}
.mobile-sec-link{
  font-size:14px;
  font-weight:500;
  color:rgba(255,255,255,.9);
  padding:5px 0;
  display:block;
  line-height:1.4;
}
.mobile-icon-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:6px 0;
}
.mobile-icon-label{
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.9);
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* ── MEGA PANEL RESPONSIVE ───────────────────── */
@media(max-width:1024px){
  .mega-panel{width:100%!important;padding:20px 24px;}
  .mega-grid{grid-template-columns:repeat(2,1fr)!important;}
  .prev-col{padding:0 16px 0 0;margin-right:16px;}
  .topbar-nav{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-content:flex-start!important;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .topbar-nav::-webkit-scrollbar{display:none;}
}

@media(max-width:768px){
  .topbar-nav{display:none!important;}
  .topbar-right{display:none!important;}
  .topbar-hamburger{display:flex;}
  .mobile-drawer{display:flex;}
  .topbar-brand{border-right:none;}
  .mega-wrap{display:none!important;}
  .topbar{flex-wrap:wrap;min-height:56px;}
  .topbar-brand{flex:1;}
}

@media(max-width:480px){
  .topbar-brand{padding:8px 14px;}
  .topbar-name{font-size:13px;}
  .topbar-sub{font-size:9px;}
  .topbar-logo{height:32px;max-width:160px;}
  .mobile-nav-item{font-size:12px;padding:12px 16px;}
  .mobile-panel img{width:100%;height:100px;object-fit:cover;border-radius:8px;display:block;margin-bottom:8px;}
  .mobile-panel .prev-img-placeholder{width:100%;height:80px;background:linear-gradient(135deg,#b8c8d5,#8aacbf);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff;font-weight:600;margin-bottom:8px;}
  .mobile-panel .prev-img-caption{font-size:12px;color:rgba(255,255,255,.8);font-weight:600;margin-bottom:10px;}
}

/* ── MOBILE STICKY NAVBAR ────────────────────── */
.msn-sticky-bar{
  display:none;
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:9999;
  animation:msnSlideUp .35s cubic-bezier(.25,.8,.25,1) both;
}
@media(max-width:768px){
  .msn-sticky-bar{ display:flex!important; }
}
@keyframes msnSlideUp{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}

/* ── DESKTOP LEFT STICKY NAV ─────────────────── */
.fsn-left-nav{
  display:none;
  position:fixed;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:9000;
  flex-direction:column;
  gap:12px;
  animation:fsnFadeIn .4s ease both;
}
@keyframes fsnFadeIn{from{opacity:0;transform:translateY(-50%) translateX(-14px)}to{opacity:1;transform:translateY(-50%) translateX(0)}}
@media(min-width:769px){
  .fsn-left-nav{ display:flex; }
}
.fsn-btn{
  display:flex;
  align-items:center;
  gap:0;
  cursor:pointer;
  transition:width .28s cubic-bezier(.4,0,.2,1), padding .28s cubic-bezier(.4,0,.2,1), box-shadow .2s;
  overflow:hidden;
  border-radius:50px;
  background:rgba(255,255,255,0.93);
  box-shadow:0 4px 18px rgba(0,0,0,.18);
  width:50px;
  height:50px;
  white-space:nowrap;
  text-decoration:none;
  border:none;
  outline:none;
}
.fsn-btn:hover{
  width:auto;
  padding-right:18px;
  box-shadow:0 6px 28px rgba(0,0,0,.28);
}
.fsn-btn-icon{
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:19px;
}
.fsn-btn-label{
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  padding-left:10px;
  padding-right:2px;
  color:#1a2a3a;
  opacity:0;
  pointer-events:none;
  overflow:hidden;
  max-width:0;
  white-space:nowrap;
  transition:opacity .22s .05s, max-width .3s cubic-bezier(.4,0,.2,1);
}
.fsn-btn:hover .fsn-btn-label{
  opacity:1;
  max-width:200px;
}

/* ── BOTTOM BAR ──────────────────────────────── */
.msn-bar-inner{display:flex;align-items:flex-start;justify-content:space-around;width:100%;}
.msn-bi{display:flex;flex-direction:column;align-items:center;gap:2px;flex:1;padding:4px 2px;cursor:pointer;transition:transform .18s;}
.msn-bi:active{transform:scale(.92);}
.msn-bi-circle{border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .22s;}
.msn-bi-label{font-weight:700;letter-spacing:.04em;transition:color .2s;}
.msn-bi-dot{border-radius:50%;margin:1px auto 0;transition:background .2s;}

/* ── DOCK ────────────────────────────────────── */
.msn-dock-inner{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:6px 12px;}
.msn-di{display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;transition:transform .2s;}
.msn-di:active{transform:scale(.9);}
.msn-di-circle{border-radius:50%;display:flex;align-items:center;justify-content:center;}
.msn-di-label{font-weight:700;letter-spacing:.04em;}

/* ── ICON ONLY ───────────────────────────────── */
.msn-io-inner{display:flex;align-items:center;justify-content:space-around;width:100%;padding:8px 4px;}
.msn-io-item{display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;transition:transform .18s;}
.msn-io-item:active{transform:scale(.88);}