/* Shared site footer — loaded last via chrome.js so every page matches */

footer.site-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: var(--space-6, 2rem) !important;
  margin-inline: 0 !important;
  background: var(--footer-grad, linear-gradient(135deg, #1f2428, #2d3338)) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 3rem 0 1.5rem !important;
  border-radius: 28px 28px 0 0 !important;
  text-align: left !important;
  box-shadow: 0 -12px 40px rgba(31, 36, 40, 0.12) !important;
  border: none !important;
  position: relative !important;
  z-index: 2;
  overflow: hidden !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

footer.site-footer .container {
  width: min(100% - 1.25rem, var(--max, 1120px));
  margin-inline: auto;
  padding-inline: 0;
}

footer.site-footer .footer-grid {
  display: grid !important;
  gap: 1.75rem 1.5rem !important;
  grid-template-columns: 1fr !important;
  text-align: left !important;
  align-items: start !important;
  justify-items: stretch !important;
}

footer.site-footer .footer-brand {
  text-align: left !important;
  min-width: 0 !important;
  flex: none !important;
}

footer.site-footer .footer-brand .brand {
  margin-bottom: 0.85rem;
  display: inline-flex !important;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.75rem 0.28rem 0.35rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: none !important;
  filter: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

footer.site-footer .footer-brand .brand:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

footer.site-footer .footer-brand .brand-symbol {
  height: 48px !important;
  width: auto !important;
  max-width: 48px !important;
  object-fit: contain !important;
  flex-shrink: 0;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(0) invert(1) !important;
}

footer.site-footer .footer-brand .brand-name {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 1.42rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffd0e6 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  filter: none !important;
}

footer.site-footer .footer-brand .brand-tag {
  font-family: var(--font, Montserrat, "Segoe UI", sans-serif) !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  opacity: 0.92;
  line-height: 1.2 !important;
  text-shadow: none !important;
  filter: none !important;
}

footer.site-footer .footer-brand p {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 22rem;
  margin: 0 !important;
  line-height: 1.55 !important;
  text-align: left !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

footer.site-footer .footer-brand .footer-tagline {
  color: #ffd0e6 !important;
  font-weight: 650 !important;
  margin-bottom: 0.35rem !important;
}

footer.site-footer .footer-col {
  text-align: left !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  flex: none !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

footer.site-footer .footer-col h3 {
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 0.85rem !important;
  padding: 0 !important;
  color: #ffe0ee !important;
  font-weight: 700 !important;
  border: none !important;
  text-shadow: none !important;
}

footer.site-footer .footer-col ul {
  display: grid !important;
  gap: 0.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer.site-footer .footer-col li {
  margin: 0 !important;
  padding: 0 !important;
}

footer.site-footer .footer-col a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  text-shadow: none !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

footer.site-footer .footer-col a:hover {
  color: #fff !important;
  opacity: 1;
}

footer.site-footer .footer-col a:focus-visible {
  outline: 2px solid #ffb6d9;
  outline-offset: 3px;
  border-radius: 4px;
}

footer.site-footer .footer-col p {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 0.45rem !important;
  line-height: 1.5 !important;
}

footer.site-footer .social-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin-top: 1rem !important;
  align-items: center !important;
}

footer.site-footer .social-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem !important;
  min-height: 42px;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

footer.site-footer .social-btn:hover {
  color: #fff !important;
  opacity: 0.96;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

footer.site-footer .social-btn:active {
  transform: scale(0.97);
}

footer.site-footer .social-btn:focus-visible {
  outline: 2px solid #ffb6d9;
  outline-offset: 3px;
}

footer.site-footer .social-linkedin {
  background: #0a66c2 !important;
}

footer.site-footer .social-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888) !important;
}

footer.site-footer .social-whatsapp {
  background: #25d366 !important;
}

footer.site-footer .social-whatsapp-channel {
  background: #128c7e !important;
}

footer.site-footer .footer-bottom {
  margin-top: 2.25rem !important;
  padding-top: 1.35rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 0.45rem !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  text-align: center !important;
  background: transparent !important;
}

footer.site-footer .footer-bottom > span {
  display: block !important;
  max-width: 100% !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}

footer.site-footer .footer-portals {
  display: grid !important;
  gap: 1.5rem !important;
}

footer.site-footer .footer-portal {
  min-width: 0;
}

footer.site-footer .footer-portal-desc {
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  margin: 0 0 0.85rem !important;
  max-width: 16rem;
}

footer.site-footer .footer-portal-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 1rem !important;
  min-height: 44px;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, #fb7abf, #d63384) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  box-shadow:
    0 8px 20px rgba(214, 51, 132, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
}

footer.site-footer .footer-portal-btn:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 12px 26px rgba(214, 51, 132, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

footer.site-footer .footer-portal-btn:active {
  transform: translateY(0) scale(0.98);
}

footer.site-footer .footer-portal-btn:focus-visible {
  outline: 2px solid #ffb6d9;
  outline-offset: 3px;
}

footer.site-footer .footer-portal-icon {
  flex-shrink: 0;
  display: block;
}

footer.site-footer .footer-staff-note {
  margin-top: 0.65rem !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

footer.site-footer .footer-staff a {
  font-weight: 600 !important;
}

footer.site-footer .footer-payments {
  min-width: 0;
}

footer.site-footer .footer-payments-desc {
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  margin: 0 0 0.85rem !important;
}

footer.site-footer .footer-payment-qr {
  margin: 0 !important;
  padding: 0.35rem !important;
  max-width: 11rem;
  background: #fff !important;
  border-radius: 12px !important;
}

footer.site-footer .footer-payment-qr img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Tablet: two-column rhythm before full desktop grid */
@media (min-width: 640px) and (max-width: 899px) {
  footer.site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.75rem 2rem !important;
  }

  footer.site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  footer.site-footer .footer-payments {
    justify-self: start;
  }

  footer.site-footer .footer-portals {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem !important;
  }
}

@media (min-width: 900px) {
  footer.site-footer {
    margin-top: var(--space-8, 4rem) !important;
    padding: 3.5rem 0 2rem !important;
    border-radius: 40px 40px 0 0 !important;
  }

  footer.site-footer .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.95fr)) minmax(0, 0.85fr) minmax(0, 1fr) !important;
    gap: 2rem !important;
  }

  footer.site-footer .footer-payment-qr {
    max-width: 10.5rem;
  }

  footer.site-footer .footer-bottom {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    text-align: left !important;
    gap: 0.65rem 1.25rem !important;
  }

  footer.site-footer .footer-portal-desc {
    max-width: none;
  }

  footer.site-footer .footer-brand p {
    font-size: 0.95rem !important;
    max-width: 22rem;
    line-height: 1.55 !important;
  }

  footer.site-footer .container {
    width: min(100% - 2.5rem, var(--max, 1180px));
  }
}

@media (max-width: 899px) {
  footer.site-footer {
    padding-bottom: calc(1.5rem + 0.5rem) !important;
    border-radius: 22px 22px 0 0 !important;
  }

  footer.site-footer .footer-brand .brand-name {
    font-size: 1.22rem !important;
  }

  footer.site-footer .footer-brand .brand-tag {
    font-size: 0.58rem !important;
  }

  footer.site-footer .footer-brand .brand-symbol {
    height: 42px !important;
    max-width: 42px !important;
  }

  footer.site-footer .social-btn {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 8.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.site-footer .social-btn,
  footer.site-footer .footer-portal-btn,
  footer.site-footer .footer-brand .brand {
    transition: none !important;
  }
}
