/* ═══════════════════════════════════════════════════════════
   LAYOUT — Topbar, Navbar, Drawer, Footer, Floating WA
   ═══════════════════════════════════════════════════════════ */

/* ── Topbar ───────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  padding: 8px 0;
  font-size: .8rem;
  height: 37px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: none;
}
@media (min-width: 1024px) { .topbar { display: block; } }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
}
.tb-left { display: flex; align-items: center; gap: 22px; }
.tb-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.62); }
.tb-item i { color: var(--orange); font-size: .72rem; }
.tb-right { display: flex; align-items: center; gap: 18px; }
.tb-right a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.68); transition: var(--ease); }
.tb-right a:hover { color: var(--org-l); }
.tb-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34,197,94,.25);
  animation: tb-pulse 2.2s infinite;
}
@keyframes tb-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.25); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,.07); }
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 14px 0;
  transition: var(--ease);
}
@media (min-width: 1024px) { .navbar { top: 37px; } }
  .navbar.solid {
  background: rgba(10, 22, 40, 0.98);
  padding: 10px 0;
  box-shadow: 0 4px 28px rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; gap: 16px; min-height: 44px; }

/* Links */
.nav-links { display: none; align-items: center; gap: 2px; margin-left: 0; flex: 1; }
@media (min-width: 1120px) {
  .nav-links { display: flex; justify-content: center; }
}
.nav-links > li { position: relative; }
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-xs);
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--org-l); }
.nav-links .drop-toggle i { font-size: .65rem; transition: transform .25s; }
.nav-links li.has-drop:hover .drop-toggle i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  pointer-events: none;
  transition: var(--ease);
  box-shadow: var(--sh-lg);
  z-index: 200;
}
.has-drop:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
}
.dropdown li a:hover { background: rgba(255,255,255,.06); color: #fff; }
.dropdown li a i { color: var(--orange); width: 16px; font-size: .9rem; }

/* CTA */
.nav-cta { display: none; margin-left: 8px; }
@media (min-width: 1120px) { .nav-cta { display: flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
  margin-left: auto;
}
@media (min-width: 1120px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Drawer (Mobile) ──────────────────────────────────────── */
.drawer {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) + 10);
  display: flex;
  pointer-events: none;
}
.drawer.open { pointer-events: all; }
.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .3s;
}
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(88vw, 330px);
  background: var(--ink2);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 68px 24px 32px;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,.08);
  border: 0;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--ease);
}
.drawer-close:hover { background: rgba(255,255,255,.15); }
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.drawer-links a {
  color: rgba(255,255,255,.72);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--ease);
}
.drawer-links a:hover { color: #fff; padding-left: 4px; }
.drawer-links a i { font-size: .75rem; color: var(--orange); }
.drawer-foot {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (min-width: 640px)  { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

.f-brand { margin-bottom: 4px; }
.f-brand-name {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  line-height: 1.15;
}
.f-brand-tag {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--org-l);
}
.f-desc {
  color: rgba(255,255,255,.58);
  font-size: .86rem;
  line-height: 1.75;
  margin: 18px 0 22px;
  max-width: 280px;
}
.f-social { display: flex; gap: 8px; }
.f-soc {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  font-size: .88rem;
  transition: var(--ease);
}
.f-soc:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.f-col h4 {
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Barlow', sans-serif;
}
.f-col ul { display: flex; flex-direction: column; gap: 9px; }
.f-col a {
  color: rgba(255,255,255,.58);
  font-size: .87rem;
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 7px;
}
.f-col a:hover { color: var(--org-l); padding-left: 3px; }
.f-col a i { color: var(--orange); font-size: .74rem; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.42); font-size: .78rem; }

/* ── Floating WhatsApp ────────────────────────────────────── */
.fwa {
  position: fixed;
  bottom: 22px; right: 18px;
  z-index: var(--z-fwa);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
@media (min-width: 768px) { .fwa { bottom: 28px; right: 28px; } }
.fwa-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px) scale(.95);
  pointer-events: none;
  transition: var(--ease);
  transform-origin: bottom right;
}
.fwa-menu.show { opacity: 1; transform: none; pointer-events: all; }
.fwa-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 50px;
  padding: 9px 18px 9px 9px;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
  transition: var(--ease);
  white-space: nowrap;
}
.fwa-opt:hover { transform: scale(1.02); }
.fwa-opt-ico {
  width: 38px; height: 38px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fwa-opt-ico i { color: #fff; font-size: 1rem; }
.fwa-opt-info span  { font-size: .7rem; color: var(--muted); display: block; }
.fwa-opt-info strong { font-size: .9rem; color: var(--ink); }
.fwa-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  position: relative;
  transition: var(--ease);
  flex-shrink: 0;
}
.fwa-btn:hover { transform: scale(1.08); }
.fwa-btn i { color: #fff; font-size: 1.6rem; }
.fwa-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: wa-ring 2.4s ease-out infinite;
}
@keyframes wa-ring {
  0%   { transform: scale(1);    opacity: .7; }
  100% { transform: scale(1.55); opacity: 0;  }
}
