/* ============================================================
   LAYOUT — Topbar, header, nav, footer
   ============================================================ */

/* ---- Top bar ---- */
.topbar {
  background: var(--navy);
  color: #EDE1CC;
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-info { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 14px; height: 14px; flex: none; }

/* Hide topbar on very small screens — key info is in footer */
@media (max-width: 599px) { .topbar { display: none; } }

/* ---- Sticky header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 52, 35, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

/* ---- Brand ---- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text .en-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
}
.brand-text .hi-name {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--teal-dark);
}

/* ---- Nav links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--navy);
  opacity: 0.80;
  position: relative;
  padding: 4px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover,
.nav-links a.active-link { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0%;
  background: var(--coral);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active-link::after { width: 100%; }

/* ---- Nav right ---- */
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  background: var(--steel-light);
  border-radius: 999px;
  padding: 3px;
  font-weight: 700;
  font-size: 0.82rem;
}
.lang-toggle button {
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--navy);
  transition: all 0.2s ease;
  min-height: 36px;
}
.lang-toggle button.active {
  background: var(--navy);
  color: #fff;
}

.call-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: 0 6px 16px rgba(193, 89, 47, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.call-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(193, 89, 47, 0.45); }
.call-pill svg { width: 16px; height: 16px; flex: none; }

.menu-btn { display: none; background: none; padding: 8px; min-height: 44px; min-width: 44px; }
.menu-btn svg { width: 26px; height: 26px; color: var(--navy); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
}

/* ---- Footer ---- */
footer {
  background: var(--navy-2);
  color: #C9B99C;
  padding: 46px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .en-name {
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
footer p { font-size: 0.87rem; line-height: 1.7; }
footer h4 { color: #fff; font-size: 0.94rem; margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul li a, footer ul li span { font-size: 0.87rem; color: #C9B99C; min-height: 44px; display: inline-flex; align-items: center; }
footer ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #8A7860;
}
