/* ════════════════════════════════════════════════════════════
   PEREGO CARS — Footer (canonical, single source of truth)
   v1.0.0 — 2026-05-22
   Loaded AFTER brand-overlay.css + after any inline page CSS so
   these rules win the cascade on every page. Use !important to
   beat older inline footer rules from legacy GHL-exported pages.
   ════════════════════════════════════════════════════════════ */

/* ── Container ─────────────────────────────────────────────── */
.pc-footer {
  margin-top: auto !important;
  background: linear-gradient(135deg, #0A0A0A 0%, #1C1C1C 100%) !important;
  color: #FFFFFF !important;
  padding: 4rem 0 2rem !important;
  border-top: 3px solid #FF4605 !important;
  position: relative !important;
}
.pc-footer-container {
  max-width: 75rem !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

/* ── Brand row (logo + tagline | social) ──────────────────── */
.pc-footer-brand {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 2rem !important;
  padding-bottom: 2.5rem !important;
  margin-bottom: 2.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  flex-wrap: wrap !important;
}
.pc-footer-brand-block { max-width: 380px !important; }
.pc-footer-wordmark {
  font-family: "Lato", sans-serif !important;
  font-size: 22px !important;
  letter-spacing: .5px !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.pc-footer-wordmark .bold { font-weight: 800 !important; color: #FFFFFF !important; }
.pc-footer-wordmark .light { font-weight: 300 !important; color: rgba(255, 255, 255, .65) !important; }
.pc-footer-tagline {
  font-family: "Lato", sans-serif !important;
  font-size: .875rem !important;
  color: rgba(255, 255, 255, .55) !important;
  margin: .65rem 0 0 !important;
  line-height: 1.55 !important;
}

/* ── Link grid (4 columns) ───────────────────────────────── */
.pc-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2.5rem !important;
  margin-bottom: 3rem !important;
}
.pc-footer-title {
  font-family: "Lato", sans-serif !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  margin: 0 0 1.25rem !important;
  color: #FFFFFF !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
}
.pc-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .7rem !important;
}
.pc-footer-link {
  font-family: "Lato", sans-serif !important;
  color: rgba(255, 255, 255, .6) !important;
  text-decoration: none !important;
  font-size: .875rem !important;
  transition: color .2s ease, transform .2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
}
.pc-footer-link svg { opacity: .6 !important; flex-shrink: 0 !important; transition: opacity .2s ease !important; }
.pc-footer-link:hover { color: #FF4605 !important; transform: translateX(4px) !important; }
.pc-footer-link:hover svg { opacity: 1 !important; }

/* ── Social icons ────────────────────────────────────────── */
.pc-footer-social {
  display: flex !important;
  gap: .65rem !important;
  margin-top: 1.25rem !important;
  flex-wrap: wrap !important;
}
.pc-footer-social-link {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  color: #FFFFFF !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .25s ease !important;
}
.pc-footer-social-link:hover {
  transform: translateY(-3px) !important;
  background: #FF4605 !important;
  border-color: #FF4605 !important;
  color: #FFFFFF !important;
}
.pc-footer-social-link--linkedin:hover { background: #0077B5 !important; border-color: #0077B5 !important; }
.pc-footer-social-link--whatsapp:hover { background: #25D366 !important; border-color: #25D366 !important; }
.pc-footer-social-link svg { fill: currentColor !important; }

/* ── Bottom copyright row ─────────────────────────────────── */
.pc-footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  padding-top: 1.75rem !important;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
  font-size: .78rem !important;
  color: rgba(255, 255, 255, .35) !important;
  font-family: "Lato", sans-serif !important;
}
.pc-footer-bottom a { color: rgba(255, 255, 255, .45) !important; text-decoration: none !important; transition: color .2s !important; }
.pc-footer-bottom a:hover { color: #FF4605 !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 64rem) {
  .pc-footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 48rem) {
  .pc-footer-brand { flex-direction: column !important; align-items: flex-start !important; }
  .pc-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1.75rem !important; }
  .pc-footer-bottom { justify-content: center !important; text-align: center !important; }
}

/* ── Floating WhatsApp ───────────────────────────────────── */
.pc-whatsapp-float {
  position: fixed !important;
  bottom: 1.5rem !important;
  left: 1.5rem !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35) !important;
  transition: transform 200ms ease, box-shadow 200ms ease !important;
}
.pc-whatsapp-float:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45) !important;
}
.pc-whatsapp-float svg { width: 22px !important; height: 22px !important; flex-shrink: 0 !important; fill: currentColor !important; }
