/* ============================================================
   HOPEBRIDGE — FOOTER.CSS
   WhatsApp float, back-to-top, footer layout
   ============================================================ */

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 950;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  text-decoration: none;
  animation: waBounce 0.7s var(--ease) 2.5s both;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 42px rgba(37, 211, 102, 0.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waRipple 2.5s ease infinite;
}
.wa-tooltip {
  position: absolute; right: calc(100% + 12px);
  background: var(--navy); color: var(--white);
  font-size: 0.78rem; font-weight: 600;
  padding: 7px 14px; white-space: nowrap;
  border-radius: 4px;
  opacity: 0; visibility: hidden;
  transform: translateX(8px);
  transition: all var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--navy);
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1; visibility: visible; transform: translateX(0);
}

@keyframes waBounce {
  0%   { transform: scale(0) translateY(20px); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes waRipple {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 100px; right: 30px; z-index: 940;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  background: var(--jungle); transform: translateY(-3px);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: var(--white);
}

/* Accent bar */
.footer-accent-bar {
  display: flex; height: 5px;
}
.fab-segment { flex: 1; }
.fab-jungle  { background: var(--jungle); }
.fab-gold    { background: var(--gold); }
.fab-navy    { background: var(--navy-mid); }

/* Main area */
.footer-main {
  padding: 56px 0 44px;
}
.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── GRID — four columns ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 36px;
}

/* ── BRAND COL ── */
.footer-brand-link {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer-logo-mark {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--white);
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  line-height: 1.2;
}
.footer-brand-sub {
  font-size: 0.65rem; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase;
  margin-top: 2px;
}
.footer-tagline {
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.55);
  line-height: 1.8; margin-bottom: 24px;
}

/* Social icons */
.footer-social { display: flex; gap: 10px; }
.fsb {
  width: 40px; height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6); font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
}
.fsb:hover {
  background: var(--jungle); color: var(--white); transform: translateY(-3px);
}

/* ── LINK COLS ── */
.footer-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--gold); margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  transition: all var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--jungle-light); font-size: 1.1rem;
  transition: transform var(--transition);
}
.footer-links a:hover {
  color: var(--white); padding-left: 4px;
}
.footer-links a:hover::before {
  color: var(--gold);
}

/* ── CONTACT COL ── */
.footer-contact-list {
  display: flex; flex-direction: column; gap: 16px;
}
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 13px;
  color: inherit; text-decoration: none;
}
.footer-contact-link {
  transition: opacity var(--transition);
}
.footer-contact-link:hover { opacity: 0.85; }
.fci-icon {
  font-size: 0.95rem; color: var(--gold);
  margin-top: 3px; flex-shrink: 0;
}
.footer-contact-item strong {
  display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 500; margin-bottom: 2px;
}
.footer-contact-item span {
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); line-height: 1.55;
}

/* ── NEWSLETTER STRIP ── */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 0;
}
.newsletter-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.newsletter-sub {
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.5);
}
.newsletter-form {
  display: flex; gap: 0; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px; overflow: hidden;
}
.newsletter-input {
  width: 280px; padding: 13px 20px;
  background: rgba(255, 255, 255, 0.06); color: var(--white);
  border: none; outline: none; font-size: 0.88rem;
}
.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.newsletter-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: var(--jungle); color: var(--white);
  border: none; cursor: pointer;
  font-weight: 600; font-size: 0.88rem;
  transition: all var(--transition); white-space: nowrap;
}
.newsletter-btn:hover { background: var(--jungle-light); }

/* ── BOTTOM BAR ── */
.footer-bottom {
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.2);
}
.footer-bottom .footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.35);
}
.footer-bottom-links {
  display: flex; gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-inner {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .footer-inner { padding: 0 20px; }
  .footer-main { padding: 40px 0 32px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .newsletter-content { flex-direction: column; gap: 20px; }
  .newsletter-form { width: 100%; }
  .newsletter-input { flex: 1; width: auto; }
  .footer-bottom .footer-inner { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
  .footer-main { padding: 36px 0 28px; }
  .footer-inner { padding: 0 16px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 88px; right: 20px; }
}