:root {
  --accent:    #1D7F7E;
  --accent-dk: #1D7F7E;
  --danger:    #e53e3e;
  --danger-dk: #c53030;
  --text:      #414651;
  --muted:     #64748b;
  --line:      rgba(15,23,42,.10);
  --shadow-sm: 0 4px 12px rgba(2,6,23,.08);
  --shadow-lg: 0 20px 60px rgba(2,6,23,.14);
  --header-h:  68px;
  --radius:    12px;
  --pad:       48px;
  --transition:180ms cubic-bezier(.4,0,.2,1);
  --maxw:      1440px;
}
 
/* ===================== RESET / BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; background: none; border: none; padding: 0; }
ul { list-style: none; }
 
/* ===================== HEADER SHELL ===================== */
.nh {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  font-family: 'Poppins', sans-serif;
}
 
.nh__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

}
 
/* ===================== BRAND ===================== */
.nh__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nh__brand img {
  width: 130px;
  display: block;
}
 
/* ===================== NAV ===================== */
.nh__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: center;
}
 
/* Each nav item wrapper */
.nh__item {
  position: relative;
}
 
.nh__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .3px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nh__link:hover,
.nh__item.open .nh__link {
  background: rgba(15,23,42,.05);
  color: var(--accent);
}
 
/* chevron */
.nh__chevron {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform var(--transition);
  color: var(--muted);
  flex-shrink: 0;
}
.nh__item.open .nh__chevron {
  transform: rotate(180deg);
}
 
/* ===================== RIGHT ACTIONS ===================== */
.nh__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  flex-shrink: 0;
}
 
.nh__icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text);
  transition: all var(--transition);
}
.nh__icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
 
.nh__lang {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.nh__lang:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(28,170,172,.06);
}
 
/* Danger CTA */
.nh__cta--danger {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nh__cta--danger:hover {
  background: var(--danger-dk);
  transform: translateY(-1px);
}
.nh__cta--danger i { font-size: 13px; }
 
/* Primary CTA */
.nh__cta--primary {
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nh__cta--primary:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
}
 
/* ===================== DROPDOWN ===================== */
.nh__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 220px;
 
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
 .nh__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nh__dd-links,
.nh__dd-feature {
  overflow: hidden;
}

.nh__dd-links {
  border-radius: 0 0 0 18px;
}

.nh__dd-feature {
  border-radius: 0 18px 18px 0;
}
/* Clamp to viewport edges */
 
.nh__item.open .nh__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
 
/* Left column — links */
.nh__dd-links {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
 
.nh__dd-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background var(--transition);
  color: var(--text);
}
.nh__dd-link:hover {
  background: #f1f5f9;
}
 
.nh__dd-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--transition);
}
.nh__dd-link:hover .nh__dd-icon {
  background: rgba(28,170,180,.12);
}
 
.nh__dd-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.nh__dd-text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
 
/* Right column — featured card */
.nh__dd-feature {
  background: #f8fafc;
  border-left: 1px solid var(--line);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
 
.nh__dd-feature-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(28,170,172,.15), rgba(28,170,172,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
}
 
.nh__dd-feature-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.35;
}
.nh__dd-feature-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
 
.nh__dd-feature-links {
  display: flex;
  gap: 10px;
}
.nh__dd-feature-links a {
  font-size: 12px;
  font-weight: 600;
}
.nh__dd-feature-links a:first-child { color: var(--muted); }
.nh__dd-feature-links a:last-child  { color: var(--accent); }
 
/* ===================== MOBILE BURGER ===================== */
.nh__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: 10px;
}
.nh__burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.nh__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nh__burger.open span:nth-child(2) { opacity: 0; }
.nh__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
/* ===================== MOBILE PANEL ===================== */
/* ===================== MOBILE PANEL ===================== */
.nh__mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  font-family: 'Poppins', sans-serif;
}
.nh__mobile.open { transform: translateX(0); }

/* nav accordion */
.nh__mob-nav { padding: 8px 0; border-bottom: 1px solid var(--line); }

.nh__mob-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: color var(--transition);
}
.nh__mob-trigger:hover { color: var(--accent); }
.nh__mob-trigger svg {
  width: 16px; height: 16px;
  transition: transform var(--transition);
  color: var(--muted);
  flex-shrink: 0;
}
.nh__mob-item.open .nh__mob-trigger { color: var(--accent); }
.nh__mob-item.open .nh__mob-trigger svg { transform: rotate(180deg); }

/* expanded sub-panel */
.nh__mob-sub {
  display: none;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}
.nh__mob-item.open .nh__mob-sub { display: block; }

/* sub-links reuse desktop styles, just smaller */
.nh__mob-sub .nh__dd-link {
  border-radius: 10px;
  padding: 10px 12px;
}
.nh__mob-sub .nh__dd-icon {
  width: 34px; height: 34px; font-size: 14px;
}
.nh__mob-sub .nh__dd-text strong { font-size: 13px; }
.nh__mob-sub .nh__dd-text span   { font-size: 11.5px; }

/* featured card inside mobile sub */
.nh__mob-feature {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.nh__mob-feature-img {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(28,170,172,.15), rgba(28,170,172,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 12px;
  overflow: hidden;
}
.nh__mob-feature strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.nh__mob-feature p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.nh__mob-feature a {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* language + bottom CTAs */
.nh__mob-footer {
  padding: 20px 24px 40px;
}
.nh__mob-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.nh__mob-lang span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.nh__mob-lang a {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: all var(--transition);
}
.nh__mob-lang a.active,
.nh__mob-lang a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(28,170,172,.06);
}
.nh__mob-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nh__mob-ctas a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.nh__mob-ctas a.primary { background: var(--accent);  color: #fff; }
.nh__mob-ctas a.danger  { background: var(--danger);  color: #fff; }
 /* ===================== SEARCH OVERLAY ===================== */
.nh__search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.nh__search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.nh__search-box {
  position: relative;
  width: min(680px, 92%);
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,.22);
  transform: scale(.96);
  transition: transform .22s ease;
}
.nh__search-overlay.open .nh__search-box { transform: scale(1); }
.nh__search-box label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.nh__search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1.5px solid transparent;
  transition: border-color var(--transition);
}
.nh__search-row:focus-within { border-color: var(--accent); }
.nh__search-row i { font-size: 17px; color: var(--muted); }
.nh__search-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
}
.nh__search-row input::placeholder { color: #94a3b8; font-weight: 400; }
.nh__search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
}
.nh__search-close:hover { color: var(--accent); transform: rotate(90deg); }
/* ===================== RESPONSIVE ===================== */
/* Large desktop — slight padding reduction */
@media (max-width: 1300px) {
  :root { --pad: 32px; }
  .nh__link { font-size: 13px; padding: 8px 10px; }
  .nh__actions { gap: 8px; }
}

/* Medium desktop — tighten everything */
@media (max-width: 1150px) {
  :root { --pad: 24px; }
  .nh__link { font-size: 12px; padding: 7px 8px; letter-spacing: 0; }
  .nh__brand img { width: 110px; }
  .nh__cta--danger span,
  .nh__cta--primary span { display: none; } /* hide button labels, keep icons */
  .nh__cta--danger,
  .nh__cta--primary { padding: 0 12px; }
  .nh__actions { gap: 6px; }
}

/* Small desktop / large tablet — hide lang, shrink more */
@media (max-width: 1024px) {
  .nh__lang { display: none; }
  .nh__link { font-size: 11.5px; padding: 6px 7px; }
  .nh__nav { gap: 0; }
}

/* Tablet — switch to burger */
@media (max-width: 860px) {
  .nh__nav,
  .nh__cta--danger,
  .nh__cta--primary,
  .nh__lang { display: none !important; }
  .nh__burger { display: flex; }
  .nh__mobile { display: block; }
  .nh__bar {
    display: flex;
    justify-content: space-between;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root { --pad: 16px; }
  .nh__brand img { width: 100px; }
}
/* ===================== FIXED SOCIAL ===================== */
.nh-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.nh-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  transition: all .2s ease;
}
.nh-social a:hover { color: var(--accent); transform: translateX(2px); }
.nh-social a.facebook:hover  { color: #1877f2; }
.nh-social a.instagram:hover { color: #e4405f; }
.nh-social a.twitter:hover   { color: #000; }
.nh-social a.youtube:hover   { color: #ff0000; }
@media (max-width: 768px) { .nh-social { display: none; } }