/* ===================================================================
   COMFORT BATTERY — HEADER, NAV, FOOTER, WHATSAPP CTA
   =================================================================== */

/* ── Top info bar ── */
.topbar {
  background: var(--indigo-deep); color: rgba(255,255,255,0.75);
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 9px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Main nav ── */
header.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav-logo img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 10px 16px; border-radius: 100px; transition: all .2s;
}
.nav-links > li > a:hover, .nav-links > li.active > a { background: var(--indigo-pale); color: var(--indigo); }
.nav-links .chev { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.nav-links li:hover .chev { transform: rotate(225deg); margin-top: 3px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s ease;
}
.nav-links li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: all .18s; }
.dropdown a:hover { background: var(--indigo-pale); color: var(--indigo); padding-left: 18px; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-call {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--indigo);
}
.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 10px; margin: -10px; }
.burger span { width: 22px; height: 2px; background: var(--indigo-deep); border-radius: 2px; }

@media (max-width: 980px) {
  .nav-links, .nav-call { display: none; }
  .burger { display: flex; }
  .nav-right .btn { display: none; }
}

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed; inset: 0; width: 100%; max-width: 100vw; z-index: 300; background: var(--indigo-deep);
  transform: translateX(100%); transition: transform .35s ease, visibility .35s;
  padding: 24px; overflow-y: auto; overflow-x: hidden;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu-top img { height: 30px; display: block; }
.mobile-menu-top .mm-logo-chip { background: var(--white); padding: 8px 14px; border-radius: 10px; display: inline-block; }
.mm-close { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; font-size: 22px; }
.mobile-menu a.mm-link { display: block; font-family: var(--font-display); font-size: 24px; color: white; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu .mm-sub { padding-left: 16px; }
.mobile-menu .mm-sub a { font-size: 16px; font-family: var(--font-body); color: rgba(255,255,255,0.7); padding: 10px 4px; border-bottom: none; }
.mm-cta { margin-top: 24px; }

/* ── WhatsApp floating CTA ── */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 250;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}
.wa-float:hover { transform: scale(1.07); }

/* ── Sticky mobile call/whatsapp bar ── */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 240;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(26,19,48,0.08);
}
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
  .mobile-cta-bar { display: grid; grid-template-columns: 1fr 1fr; }
  .wa-float { bottom: 78px; right: 16px; width: 52px; height: 52px; }
}
.mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-weight: 700; font-size: 14px; }
.mobile-cta-bar a:first-child { background: var(--indigo); color: white; }
.mobile-cta-bar a:last-child { background: var(--gold); color: var(--indigo-deep); }

/* ── CTA band (before footer) ── */
.cta-band {
  background: var(--indigo-deep); position: relative; overflow: hidden;
  padding: 72px 0;
}
.cta-band::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 100% at 90% 50%, rgba(238,171,66,0.16) 0%, transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); color: white; max-width: 560px; line-height: 1.2; }
.cta-band h2 .accent { color: var(--gold); }
.cta-band-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Footer ── */
footer.site-footer { background: #180F35; color: rgba(255,255,255,0.6); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: inline-block; background: var(--white); padding: 10px 16px; border-radius: 10px; margin-bottom: 18px; }
.footer-logo img { height: 34px; display: block; }
.footer-about { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-about strong { color: rgba(255,255,255,0.85); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--gold); color: var(--indigo-deep); }
.f-head { font-family: var(--font-display); color: white; font-size: 16px; margin-bottom: 20px; letter-spacing: 0.3px; }
.f-links li { margin-bottom: 12px; }
.f-links a { font-size: 14px; transition: color .2s; display: inline-flex; align-items: center; gap: 8px; }
.f-links a:hover { color: var(--gold-light); }
.f-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; align-items: flex-start; line-height: 1.6; }
.f-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 12.5px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left span:nth-child(2) { display: none; }
}
