/* ================== Header Only (Desktop + Mobile) ================== */

.mobile-menu {
  background:#fff;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:15px;
}
.mobile-menu a {
  font-size:18px;
  color:#333;
}

/* Header */
.site-header {
  position:sticky; top:0;
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.86);
  border-bottom:1px solid #e5e7eb;
  z-index:999;
}

.nav {
  height:80px;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}

.brand { display:flex; align-items:center; gap:12px; }
.brand img { width:42px; height:42px; object-fit:contain; }
.brand .title { font-weight:800; font-size:20px; }

/* Desktop Menu */
.menu {
  display:flex; align-items:center; gap:8px;
  list-style:none; margin:0; padding:0;
}
.menu > li { position:relative; }

.link, .menubtn {
  padding:10px 12px;
  border-radius:10px;
  font-weight:600;
  color:#475467;
  background:transparent;
  border:0;
  cursor:pointer;
  font-size:15px;
}
.link:hover, .menubtn:hover { background:#f1f5f9; }

.caret {
  width:0; height:0; margin-top:2px;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid #667085;
}

/* Dropdown */
.dropdown {
  position:absolute; top:calc(100% + 8px); left:0;
  min-width:240px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  padding:8px;
  opacity:0; pointer-events:none;
  transform:translateY(6px);
  transition:.18s;
  visibility:hidden;
}
.dropdown a {
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:10px;
  color:#344054; font-weight:600;
}
.dropdown a small { margin-left:auto; color:#667085; }
.dropdown a:hover { background:#f7fafc; }

.menu > li:hover > .dropdown {
  opacity:1; transform:translateY(0);
  pointer-events:auto; visibility:visible;
}

/* Actions */
.actions { display:flex; align-items:center; gap:10px; }
.lang {
  border:1px solid #e5e7eb;
  border-radius:10px; padding:8px 10px;
  color:#475467; background:#fff; font-weight:600;
}

/* Burger */
.burger {
  display:none; width:42px; height:42px;
  border:1px solid #e5e7eb; border-radius:10px;
  background:#fff; place-items:center;
}
.bar { width:18px; height:2px; background:#0f172a; position:relative; }
.bar::before, .bar::after {
  content:""; position:absolute; left:0;
  width:18px; height:2px; background:#0f172a;
}
.bar::before { top:-6px; }
.bar::after { top:6px; }

/* Mobile Panel */
.mobile-panel {
  display:none;
  padding:14px 0;
  border-top:1px solid #e5e7eb;
}
.mobile-menu {
  list-style:none; padding:0; margin:0;
  display:grid; gap:6px;
}

.mobile-item {
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}

.mobile-toggle {
  width:100%; text-align:left;
  padding:12px 14px;
  background:transparent; border:0;
  display:flex; justify-content:space-between;
  font-weight:700; cursor:pointer;
}

.mobile-sub { display:none; padding:10px; }
.mobile-sub a { display:block; padding:8px; border-radius:8px; color:#475467; }
.mobile-sub a:hover { background:#f7fafc; }

/* Responsive */
@media (max-width:980px){
  .menu, .actions .btn-primary { display:none; }
  .burger { display:grid; }
  .mobile-panel { display:block; }
}
