/* ============================================================
   Pruners International — Footer (scoped: .pi-footer)
   ============================================================ */

/* THEME A — Slate + Teal (ARCHIVED)
.pi-footer {
  --pi-ft-ink: #141c26;
  --pi-ft-accent: #0f5c56;
  --pi-ft-accent-soft: #9fd0cb;
  --pi-ft-white: #ffffff;
  --pi-ft-muted: rgba(255, 255, 255, 0.65);
  --pi-ft-font: "Manrope", system-ui, sans-serif;
  --pi-ft-font-display: "Outfit", system-ui, sans-serif;
}
*/

/* THEME B — Deep Corporate Blue (ARCHIVED)
.pi-footer {
  --pi-ft-ink: #091421;
  --pi-ft-accent: #1a5f9e;
  --pi-ft-accent-soft: #9dbddc;
  --pi-ft-white: #ffffff;
  --pi-ft-muted: rgba(255, 255, 255, 0.65);
  --pi-ft-font: "Manrope", system-ui, sans-serif;
  --pi-ft-font-display: "Outfit", system-ui, sans-serif;
}
*/

/* THEME D — Brand-Matched (ACTIVE) */
.pi-footer {
  --pi-ft-ink: #060f0a;
  --pi-ft-accent: #d3a125;
  --pi-ft-accent-soft: #f0cf7a;
  --pi-ft-on-accent: #0c1f16;
  --pi-ft-white: #ffffff;
  --pi-ft-muted: rgba(255, 255, 255, 0.65);
  --pi-ft-font: "Manrope", system-ui, sans-serif;
  --pi-ft-font-display: "Outfit", system-ui, sans-serif;
  position: relative;
  background: var(--pi-ft-ink);
  color: var(--pi-ft-muted);
  font-family: var(--pi-ft-font);
  overflow: hidden;
  border-top: 3px solid var(--pi-ft-accent);
}

.pi-footer .pi-footer__glow {
  display: none;
}

.pi-footer .pi-footer__main {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 2.25rem;
}

.pi-footer .pi-footer__brand {
  max-width: 340px;
}

.pi-footer .pi-footer__logo-link {
  display: inline-block;
  margin-bottom: 1.1rem;
  text-decoration: none;
}

.pi-footer .pi-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.pi-footer .pi-brand__mark {
  display: block;
  height: 2.25rem;
  overflow: hidden;
  line-height: 0;
}

.pi-footer .pi-brand__tagline {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--pi-ft-accent);
  font-family: var(--pi-ft-font-display);
  font-size: 0.52rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pi-ft-white);
  line-height: 1.25;
  white-space: nowrap;
}

.pi-footer .pi-footer__logo {
  height: 3.1rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: top center;
  filter: brightness(0) invert(1);
}

.pi-footer .pi-footer__about {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--pi-ft-muted);
}

.pi-footer .pi-footer__socials {
  display: flex;
  gap: 0.85rem;
}

.pi-footer .pi-footer__social {
  color: var(--pi-ft-muted);
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.pi-footer .pi-footer__social:hover {
  color: var(--pi-ft-accent-soft);
}

.pi-footer .pi-footer__heading {
  margin: 0 0 1rem;
  font-family: var(--pi-ft-font-display);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--pi-ft-white);
  letter-spacing: 0.02em;
}

.pi-footer .pi-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pi-footer .pi-footer__links li {
  margin-bottom: 0.5rem;
}

.pi-footer .pi-footer__links a {
  color: var(--pi-ft-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.pi-footer .pi-footer__links a:hover {
  color: var(--pi-ft-accent-soft);
}

.pi-footer .pi-footer__contact {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}

.pi-footer .pi-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.pi-footer .pi-footer__contact i {
  color: var(--pi-ft-accent-soft);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pi-footer .pi-footer__contact a {
  color: var(--pi-ft-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pi-footer .pi-footer__contact a:hover {
  color: var(--pi-ft-white);
}

.pi-footer .pi-footer__sep {
  margin: 0 0.25rem;
  opacity: 0.5;
}

.pi-footer .pi-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.05rem;
  border-radius: 3px;
  background: var(--pi-ft-accent);
  color: var(--pi-ft-on-accent);
  text-decoration: none;
  font-family: var(--pi-ft-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--pi-ft-accent);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pi-footer .pi-footer__whatsapp:hover {
  color: var(--pi-ft-on-accent);
  background: #b88400;
  border-color: #b88400;
}

.pi-footer .pi-footer__branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pi-footer .pi-footer__branch span {
  line-height: 1.5;
}

.pi-footer .pi-footer__branch {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.pi-footer .pi-footer__branch strong {
  color: var(--pi-ft-accent-soft);
  font-family: var(--pi-ft-font-display);
  font-weight: 600;
  font-size: 0.82rem;
}

.pi-footer .pi-footer__branch a,
.pi-footer .pi-footer__branch span {
  color: var(--pi-ft-muted);
  text-decoration: none;
}

.pi-footer .pi-footer__branch a:hover {
  color: var(--pi-ft-white);
}

.pi-footer .pi-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
}

.pi-footer .pi-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pi-footer .pi-footer__copy,
.pi-footer .pi-footer__note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.pi-footer .pi-footer__back-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1040;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pi-ft-accent);
  border-radius: 3px;
  background: var(--pi-ft-accent);
  color: var(--pi-ft-on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
  cursor: pointer;
}

.pi-footer .pi-footer__back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pi-footer .pi-footer__back-top:hover {
  background: #b88400;
  border-color: #b88400;
}

@media (max-width: 991.98px) {
  .pi-footer .pi-footer__branches {
    grid-template-columns: repeat(2, 1fr);
  }

  .pi-footer .pi-footer__main {
    padding: 3.5rem 0 2rem;
  }
}

@media (max-width: 575.98px) {
  .pi-footer .pi-footer__branches {
    grid-template-columns: 1fr;
  }

  .pi-footer .pi-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .pi-footer .pi-footer__back-top {
    right: 1rem;
    bottom: 1rem;
  }
}
