/* ============================================================
   INOVA RESPI — Navbar & Footer
   ============================================================ */

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px var(--shadow);
}
.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar__logo img {
  height: 36px;
  width: auto;
}
.navbar__logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}
.navbar__logo-text span { color: var(--orange); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navbar__links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--orange);
  background: var(--orange-pale);
}
[data-theme="dark"] .navbar__links a:hover,
[data-theme="dark"] .navbar__links a.active {
  background: rgba(232,98,26,0.12);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 32px var(--shadow);
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.navbar__mobile a:hover { color: var(--orange); background: var(--orange-pale); }
.navbar__mobile .btn { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__actions .btn { display: none; }
  .navbar__hamburger { display: flex; }
}
@media (max-width: 600px) {
  .navbar__inner { padding: 0 16px; }
}

/* ── FOOTER ── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
  margin-top: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand {}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__brand-logo img { height: 32px; width: auto; }
.footer__brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer__brand-name span { color: var(--orange); }
.footer__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
  margin-bottom: 24px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  font-weight: 700;
}
.footer__social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--white); }

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
