.pie {
  background: #2c2c2c;
  color: #c9c7c2;
  font: 400 0.95rem/1.65 "Inter", system-ui, sans-serif;
}
.pie__columnas {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 1.1fr;
  gap: 40px;
  padding: 72px var(--margen) 56px;
}
.pie h2 {
  margin-bottom: 18px;
  color: #fff;
  font: 700 0.9rem "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pie a { color: #c9c7c2; text-decoration: none; }
.pie a:hover { color: var(--oro); }
.pie__lista { display: grid; gap: 10px; justify-items: start; }
.pie__logo { width: auto; height: 44px; margin-bottom: 20px; }
@media (max-width: 820px) { .pie__logo { height: 38px; } }
.pie__red {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 20px;
  border-radius: 50%;
  background: #3c3c3c;
}
.pie table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pie th, .pie td { padding: 10px 6px 10px 0; border-bottom: 1px solid #444; text-align: left; }
.pie thead th { color: #a5a39e; font-size: 0.75rem; text-transform: uppercase; }
.pie td, .pie tbody th { font-weight: 400; }
.pie__fuente { margin-top: 12px; color: #a5a39e; font-size: 0.8rem; }
.pie__base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  padding: 24px var(--margen);
  border-top: 1px solid #444;
  font-size: 0.85rem;
  align-items: center;
}
.pie__credito { text-align: center; }
.pie__credito a { color: #fff; font-weight: 600; }
.pie__credito a:hover, .pie__credito a:focus-visible { color: var(--oro); text-decoration: underline; }
/* Ingreso del equipo para cargar propiedades; el margen deja libre el botón de WhatsApp */
.pie a.pie__portal { display: inline-flex; justify-self: end; align-items: center; min-height: 44px; margin-right: 72px; padding: 0 20px; border: 1px solid #5a5a56; border-radius: 10px; color: #fff; font-weight: 600; }
.pie a.pie__portal:hover, .pie a.pie__portal:focus-visible { border-color: var(--oro); color: var(--oro); }
.flotante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1faa59;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.3);
}

@media (max-width: 900px) { .pie__columnas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .pie__base { grid-template-columns: minmax(0, 1fr); }
  .pie a.pie__portal { justify-self: start; margin-right: 0; }
}
@media (max-width: 560px) {
  .pie__columnas { grid-template-columns: minmax(0, 1fr); }
  .pie__base { padding-bottom: 92px; }
}
.pie a.pie__legal { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
