/* ================================================================
   JESSY SAFETY INVISIBLE GRILLS
   Footer — footer.css
   ================================================================ */

/* ── Footer ─────────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.80);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

/* ── Col 1: Brand ───────────────────────────────────────────────── */
.footer-brand {}
.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 1.25rem;
  /* Logo has white background - use a rounded container */
  background: var(--white);
  border-radius: var(--r-md);
  padding: 6px 12px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  transition: all var(--t);
}
.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Footer Cols ────────────────────────────────────────────────── */
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.68);
  transition: all var(--tf);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-links a::before {
  content: '→';
  font-size: 0.72rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--tf);
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

/* ── Contact Items ──────────────────────────────────────────────── */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.fci-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.fci-text {
  display: flex;
  flex-direction: column;
}
.fci-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 2px;
}
.fci-value {
  font-size: 0.88rem;
  color: rgba(255,255,255,.85);
}
.fci-value a {
  color: rgba(255,255,255,.85);
  transition: color var(--tf);
}
.fci-value a:hover { color: var(--white); }

/* ── Footer Bottom Bar ──────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
  transition: color var(--tf);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ── WhatsApp Float (desktop) ───────────────────────────────────── */
.float-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.40);
  z-index: 950;
  transition: all var(--t);
  text-decoration: none;
  color: var(--white);
  font-size: 1.5rem;
}
.float-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,.50);
}
.float-whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tf);
}
.float-whatsapp:hover .float-whatsapp-tooltip { opacity: 1; }

/* ── Mobile Bottom Bar ──────────────────────────────────────────── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 950;
  box-shadow: 0 -4px 20px rgba(13,27,62,.25);
}
.mobile-bottom-bar-inner {
  display: flex;
  align-items: stretch;
  height: 64px;
}
.mbb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  border-right: 1px solid rgba(255,255,255,.1);
  transition: all var(--tf);
  cursor: pointer;
  text-decoration: none;
}
.mbb-btn:last-child { border-right: none; }
.mbb-btn:hover, .mbb-btn:active { background: rgba(255,255,255,.1); color: var(--white); }
.mbb-icon { font-size: 1.3rem; }
.mbb-btn.whatsapp { background: #25D366; }
.mbb-btn.whatsapp:hover { background: #1ebe5c; }
.mbb-btn.quote { background: var(--blue); }
.mbb-btn.quote:hover { background: var(--blue-light); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  #site-footer { padding: 3.5rem 0 0; padding-bottom: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .float-whatsapp { display: none; }
  .mobile-bottom-bar { display: block; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  #scrollTop { bottom: 5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: 100%; }
}
